wip
This commit is contained in:
@@ -73,20 +73,20 @@ class SberPaymentOrderFieldsForDetail
|
||||
]),
|
||||
new Panel(__('Payment'), [
|
||||
Text::make(__('Payment sender data'), function () use ($resource) {
|
||||
if (is_array($resource->sender_datas)) {
|
||||
$data = $resource->sender_datas[0];
|
||||
|
||||
return sprintf('%s %s', $data['passport_serie'], $data['full_name']);
|
||||
}
|
||||
}),
|
||||
return sprintf(
|
||||
'<strong>%s-%s %s</strong>',
|
||||
$resource->sender_passport_serie,
|
||||
$resource->sender_passport_number,
|
||||
$resource->sender_full_name
|
||||
);
|
||||
})->asHtml(),
|
||||
|
||||
Text::make(__('Töleg ugradyjynyň goýum hasaby'), function () use ($resource) {
|
||||
if (is_array($resource->sender_datas)) {
|
||||
$data = $resource->sender_datas[0];
|
||||
|
||||
return number_format($data['deposit_account'], 0, '', '');
|
||||
}
|
||||
}),
|
||||
return sprintf(
|
||||
'<strong>%s</strong>',
|
||||
number_format($resource->sender_deposit_account, 0, '', '')
|
||||
);
|
||||
})->asHtml(),
|
||||
|
||||
SimpleRepeatable::make(__('Payee information'), 'payment_reciever', [
|
||||
Select::make(__('Passport serie'), 'passport_serie')
|
||||
|
||||
Reference in New Issue
Block a user