wip
This commit is contained in:
@@ -15,8 +15,7 @@ class SberPaymentOrderFileFields
|
|||||||
return collect(SberPaymentOrder::reciverFiles())
|
return collect(SberPaymentOrder::reciverFiles())
|
||||||
->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');
|
|
||||||
})
|
})
|
||||||
->toArray();
|
->toArray();
|
||||||
}
|
}
|
||||||
@@ -29,8 +28,7 @@ class SberPaymentOrderFileFields
|
|||||||
return collect(SberPaymentOrder::senderFiles())
|
return collect(SberPaymentOrder::senderFiles())
|
||||||
->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');
|
|
||||||
})
|
})
|
||||||
->toArray();
|
->toArray();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user