diff --git a/app/Filament/Clusters/VisaMasterPayments/Resources/VisaMasterPaymentOrders/VisaMasterPaymentOrderResource.php b/app/Filament/Clusters/VisaMasterPayments/Resources/VisaMasterPaymentOrders/VisaMasterPaymentOrderResource.php index 2107e80..1c4776b 100644 --- a/app/Filament/Clusters/VisaMasterPayments/Resources/VisaMasterPaymentOrders/VisaMasterPaymentOrderResource.php +++ b/app/Filament/Clusters/VisaMasterPayments/Resources/VisaMasterPaymentOrders/VisaMasterPaymentOrderResource.php @@ -21,14 +21,29 @@ use Illuminate\Database\Eloquent\SoftDeletingScope; 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 $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 { return VisaMasterPaymentOrderForm::configure($schema); diff --git a/app/Filament/Clusters/VisaMasterPayments/VisaMasterPaymentsCluster.php b/app/Filament/Clusters/VisaMasterPayments/VisaMasterPaymentsCluster.php index ed1d235..54aaa97 100644 --- a/app/Filament/Clusters/VisaMasterPayments/VisaMasterPaymentsCluster.php +++ b/app/Filament/Clusters/VisaMasterPayments/VisaMasterPaymentsCluster.php @@ -5,7 +5,6 @@ namespace App\Filament\Clusters\VisaMasterPayments; use BackedEnum; use Filament\Clusters\Cluster; use Filament\Pages\Enums\SubNavigationPosition; -use Filament\Support\Icons\Heroicon; class VisaMasterPaymentsCluster extends Cluster { diff --git a/app/Modules/VisaMasterPaymentOrder/Database/Migrations/2025_11_07_011931_create_visa_master_payment_orders_table.php b/app/Modules/VisaMasterPaymentOrder/Database/Migrations/2025_11_07_011931_create_visa_master_payment_orders_table.php index 2128070..fc2d7c5 100644 --- a/app/Modules/VisaMasterPaymentOrder/Database/Migrations/2025_11_07_011931_create_visa_master_payment_orders_table.php +++ b/app/Modules/VisaMasterPaymentOrder/Database/Migrations/2025_11_07_011931_create_visa_master_payment_orders_table.php @@ -16,7 +16,7 @@ return new class extends Migration $table->string('unique_id')->nullable()->unique(); $table->string('type')->nullable(); - + $table->string('passport_name')->nullable(); $table->string('passport_surname')->nullable(); $table->string('phone')->nullable();