make files work
This commit is contained in:
@@ -52,6 +52,13 @@ class NovaVisaMasterPaymentOrder extends Resource
|
||||
'unique_id', 'passport_name', 'passport_surname', 'phone',
|
||||
];
|
||||
|
||||
/**
|
||||
* The relationships that should be eager loaded on index queries.
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
public static $with = ['branch'];
|
||||
|
||||
/**
|
||||
* Get the displayable label of the resource.
|
||||
*/
|
||||
@@ -105,7 +112,7 @@ class NovaVisaMasterPaymentOrder extends Resource
|
||||
{
|
||||
return [
|
||||
Tabs::make('Wizard', [
|
||||
new Tab(__('New :resource', ['resource' => $this->singularLabel()]), [
|
||||
new Tab(__('Status'), [
|
||||
ID::make()
|
||||
->hideFromDetail(),
|
||||
|
||||
@@ -232,6 +239,8 @@ class NovaVisaMasterPaymentOrder extends Resource
|
||||
)->rules('required', 'max:255'),
|
||||
])->maxRows(1)->minRows(1)->rules('required'),
|
||||
]),
|
||||
|
||||
new Tab(__('Reciver files'), VisaMasterPaymentOrderFileFields::reciverFiles())
|
||||
], $request)->asWizard(),
|
||||
];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user