wip
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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
|
||||
{
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user