Skip to content

Commit

Permalink
Merge pull request #76 from liberu-billing/sweep/Add-Hosting-Account-…
Browse files Browse the repository at this point in the history
…Management-Pages_559bc

Add Hosting Account Management Pages
  • Loading branch information
curtisdelicata authored Jul 27, 2024
2 parents 00ef190 + de9cab0 commit 3f63abb
Show file tree
Hide file tree
Showing 3 changed files with 50 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?php

namespace App\Filament\Resources\HostingAccountResource\Pages;

use App\Filament\Resources\HostingAccountResource;
use Filament\Pages\Actions;
use Filament\Resources\Pages\CreateRecord;

class CreateHostingAccount extends CreateRecord
{
protected static string $resource = HostingAccountResource::class;
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<?php

namespace App\Filament\Resources\HostingAccountResource\Pages;

use App\Filament\Resources\HostingAccountResource;
use Filament\Pages\Actions;
use Filament\Resources\Pages\EditRecord;

class EditHostingAccount extends EditRecord
{
protected static string $resource = HostingAccountResource::class;

protected function getActions(): array
{
return [
Actions\DeleteAction::make(),
];
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<?php

namespace App\Filament\Resources\HostingAccountResource\Pages;

use App\Filament\Resources\HostingAccountResource;
use Filament\Pages\Actions;
use Filament\Resources\Pages\ListRecords;

class ListHostingAccounts extends ListRecords
{
protected static string $resource = HostingAccountResource::class;

protected function getActions(): array
{
return [
Actions\CreateAction::make(),
];
}
}

0 comments on commit 3f63abb

Please sign in to comment.