wip
This commit is contained in:
@@ -16,8 +16,7 @@ class SberPaymentOrderFileFields
|
|||||||
->map(function (array $file) {
|
->map(function (array $file) {
|
||||||
return Files::make(__($file['name']), $file['code'])
|
return Files::make(__($file['name']), $file['code'])
|
||||||
->required()
|
->required()
|
||||||
->rules('required')
|
->rules('required');
|
||||||
->singleMediaRules(['max:2048']);
|
|
||||||
})
|
})
|
||||||
->toArray();
|
->toArray();
|
||||||
}
|
}
|
||||||
@@ -31,8 +30,7 @@ class SberPaymentOrderFileFields
|
|||||||
->map(function (array $file) {
|
->map(function (array $file) {
|
||||||
return Files::make(__($file['name']), $file['code'])
|
return Files::make(__($file['name']), $file['code'])
|
||||||
->required()
|
->required()
|
||||||
->rules('required')
|
->rules('required');
|
||||||
->singleMediaRules(['max:2048']);
|
|
||||||
})
|
})
|
||||||
->toArray();
|
->toArray();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user