update model online card

This commit is contained in:
gerchek 2022-03-13 15:05:19 +05:00
parent 07971a6b60
commit 7218a6488d
3 changed files with 2 additions and 15 deletions

View File

@ -27,7 +27,7 @@ class CreditClass extends Model
public $rules = [
];
public $attachOne = [
public $attachMany = [
'file' => 'System\Models\File'
];
}

View File

@ -20,7 +20,7 @@ class OnlineCard extends Model
*/
public $rules = [
];
public $attachOne = [
public $attachMany = [
'file' => 'System\Models\File'
];

View File

@ -35,23 +35,10 @@ fields:
label: 'Passport ID'
span: auto
type: text
date_of_passport:
label: 'Passport issue date'
span: auto
type: text
passport_by:
label: 'Passport issued by'
span: auto
type: text
registration_place:
label: Address
size: ''
span: auto
type: textarea
place_of_work:
label: Work
span: auto
type: text
file:
label: 'Passport scan'
mode: file