Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Filament Resource Pages for Various Accounting Entities #395

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@


<?php

namespace App\Filament\App\Resources\PurchaseOrderResource\Pages;

use App\Filament\App\Resources\PurchaseOrderResource;
use Filament\Resources\Pages\CreateRecord;

class CreatePurchaseOrder extends CreateRecord
{
protected static string $resource = PurchaseOrderResource::class;
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@


<?php

namespace App\Filament\App\Resources\PurchaseOrderResource\Pages;

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

class EditPurchaseOrder extends EditRecord
{
protected static string $resource = PurchaseOrderResource::class;

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


<?php

namespace App\Filament\App\Resources\PurchaseOrderResource\Pages;

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

class ListPurchaseOrders extends ListRecords
{
protected static string $resource = PurchaseOrderResource::class;

protected function getHeaderActions(): array
{
return [
Actions\CreateAction::make(),
];
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@


<?php

namespace App\Filament\App\Resources\ReminderSettingResource\Pages;

use App\Filament\App\Resources\ReminderSettingResource;
use Filament\Resources\Pages\CreateRecord;

class CreateReminderSetting extends CreateRecord
{
protected static string $resource = ReminderSettingResource::class;
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@


<?php

namespace App\Filament\App\Resources\ReminderSettingResource\Pages;

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

class EditReminderSetting extends EditRecord
{
protected static string $resource = ReminderSettingResource::class;

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


<?php

namespace App\Filament\App\Resources\ReminderSettingResource\Pages;

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

class ListReminderSettings extends ListRecords
{
protected static string $resource = ReminderSettingResource::class;

protected function getHeaderActions(): array
{
return [
Actions\CreateAction::make(),
];
}
}
13 changes: 13 additions & 0 deletions app/Filament/App/Resources/TaxFormResource/Pages/CreateTaxForm.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@


<?php

namespace App\Filament\App\Resources\TaxFormResource\Pages;

use App\Filament\App\Resources\TaxFormResource;
use Filament\Resources\Pages\CreateRecord;

class CreateTaxForm extends CreateRecord
{
protected static string $resource = TaxFormResource::class;
}
21 changes: 21 additions & 0 deletions app/Filament/App/Resources/TaxFormResource/Pages/EditTaxForm.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@


<?php

namespace App\Filament\App\Resources\TaxFormResource\Pages;

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

class EditTaxForm extends EditRecord
{
protected static string $resource = TaxFormResource::class;

protected function getHeaderActions(): array
{
return [
Actions\DeleteAction::make(),
];
}
}
21 changes: 21 additions & 0 deletions app/Filament/App/Resources/TaxFormResource/Pages/ListTaxForms.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@


<?php

namespace App\Filament\App\Resources\TaxFormResource\Pages;

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

class ListTaxForms extends ListRecords
{
protected static string $resource = TaxFormResource::class;

protected function getHeaderActions(): array
{
return [
Actions\CreateAction::make(),
];
}
}
13 changes: 13 additions & 0 deletions app/Filament/App/Resources/TaxRateResource/Pages/CreateTaxRate.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@


<?php

namespace App\Filament\App\Resources\TaxRateResource\Pages;

use App\Filament\App\Resources\TaxRateResource;
use Filament\Resources\Pages\CreateRecord;

class CreateTaxRate extends CreateRecord
{
protected static string $resource = TaxRateResource::class;
}
21 changes: 21 additions & 0 deletions app/Filament/App/Resources/TaxRateResource/Pages/EditTaxRate.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@


<?php

namespace App\Filament\App\Resources\TaxRateResource\Pages;

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

class EditTaxRate extends EditRecord
{
protected static string $resource = TaxRateResource::class;

protected function getHeaderActions(): array
{
return [
Actions\DeleteAction::make(),
];
}
}
21 changes: 21 additions & 0 deletions app/Filament/App/Resources/TaxRateResource/Pages/ListTaxRates.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@


<?php

namespace App\Filament\App\Resources\TaxRateResource\Pages;

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

class ListTaxRates extends ListRecords
{
protected static string $resource = TaxRateResource::class;

protected function getHeaderActions(): array
{
return [
Actions\CreateAction::make(),
];
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@


<?php

namespace App\Filament\App\Resources\TimeEntryResource\Pages;

use App\Filament\App\Resources\TimeEntryResource;
use Filament\Resources\Pages\CreateRecord;

class CreateTimeEntry extends CreateRecord
{
protected static string $resource = TimeEntryResource::class;
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@


<?php

namespace App\Filament\App\Resources\TimeEntryResource\Pages;

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

class EditTimeEntry extends EditRecord
{
protected static string $resource = TimeEntryResource::class;

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


<?php

namespace App\Filament\App\Resources\TimeEntryResource\Pages;

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

class ListTimeEntries extends ListRecords
{
protected static string $resource = TimeEntryResource::class;

protected function getHeaderActions(): array
{
return [
Actions\CreateAction::make(),
];
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,16 @@ class CreateTransaction extends CreateRecord
{
protected static string $resource = TransactionResource::class;
}


<?php

namespace App\Filament\App\Resources\TransactionResource\Pages;

use App\Filament\App\Resources\TransactionResource;
use Filament\Resources\Pages\CreateRecord;

class CreateTransaction extends CreateRecord
{
protected static string $resource = TransactionResource::class;
}
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,24 @@ protected function getHeaderActions(): array
];
}
}


<?php

namespace App\Filament\App\Resources\TransactionResource\Pages;

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

class EditTransaction extends EditRecord
{
protected static string $resource = TransactionResource::class;

protected function getHeaderActions(): array
{
return [
Actions\DeleteAction::make(),
];
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,24 @@ protected function getHeaderActions(): array
];
}
}


<?php

namespace App\Filament\App\Resources\TransactionResource\Pages;

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

class ListTransactions extends ListRecords
{
protected static string $resource = TransactionResource::class;

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