wip
This commit is contained in:
@@ -21,14 +21,29 @@ use Illuminate\Database\Eloquent\SoftDeletingScope;
|
|||||||
|
|
||||||
class VisaMasterPaymentOrderResource extends Resource
|
class VisaMasterPaymentOrderResource extends Resource
|
||||||
{
|
{
|
||||||
protected static ?string $model = VisaMasterPaymentOrder::class;
|
protected static ?int $navigationSort = 1;
|
||||||
|
|
||||||
protected static string|BackedEnum|null $navigationIcon = Heroicon::OutlinedRectangleStack;
|
protected static ?string $model = VisaMasterPaymentOrder::class;
|
||||||
|
|
||||||
protected static ?string $cluster = VisaMasterPaymentsCluster::class;
|
protected static ?string $cluster = VisaMasterPaymentsCluster::class;
|
||||||
|
|
||||||
protected static ?string $recordTitleAttribute = 'id';
|
protected static ?string $recordTitleAttribute = 'id';
|
||||||
|
|
||||||
|
public static function getNavigationGroup(): ?string
|
||||||
|
{
|
||||||
|
return __('Visa/Master payments');
|
||||||
|
}
|
||||||
|
|
||||||
|
public static function getModelLabel(): string
|
||||||
|
{
|
||||||
|
return __('Visa/Master payment');
|
||||||
|
}
|
||||||
|
|
||||||
|
public static function getPluralModelLabel(): string
|
||||||
|
{
|
||||||
|
return __('Visa/Master payments');
|
||||||
|
}
|
||||||
|
|
||||||
public static function form(Schema $schema): Schema
|
public static function form(Schema $schema): Schema
|
||||||
{
|
{
|
||||||
return VisaMasterPaymentOrderForm::configure($schema);
|
return VisaMasterPaymentOrderForm::configure($schema);
|
||||||
|
|||||||
@@ -5,7 +5,6 @@ namespace App\Filament\Clusters\VisaMasterPayments;
|
|||||||
use BackedEnum;
|
use BackedEnum;
|
||||||
use Filament\Clusters\Cluster;
|
use Filament\Clusters\Cluster;
|
||||||
use Filament\Pages\Enums\SubNavigationPosition;
|
use Filament\Pages\Enums\SubNavigationPosition;
|
||||||
use Filament\Support\Icons\Heroicon;
|
|
||||||
|
|
||||||
class VisaMasterPaymentsCluster extends Cluster
|
class VisaMasterPaymentsCluster extends Cluster
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user