Card Order fields
This commit is contained in:
@@ -45,6 +45,7 @@ class CardOrderFieldsForDetail
|
|||||||
|
|
||||||
new Panel(__('Card'), [
|
new Panel(__('Card'), [
|
||||||
BelongsTo::make(__('Reason for issuing the card'), 'cardState', CardState::class),
|
BelongsTo::make(__('Reason for issuing the card'), 'cardState', CardState::class),
|
||||||
|
|
||||||
BelongsTo::make(__('Card type'), 'cardType', CardType::class),
|
BelongsTo::make(__('Card type'), 'cardType', CardType::class),
|
||||||
]),
|
]),
|
||||||
|
|
||||||
@@ -60,10 +61,10 @@ class CardOrderFieldsForDetail
|
|||||||
Text::make(
|
Text::make(
|
||||||
__('Full Name'),
|
__('Full Name'),
|
||||||
fn ($model) => sprintf(
|
fn ($model) => sprintf(
|
||||||
'%s %s%s %s',
|
'%s %s%s %s',
|
||||||
$model->customer_name,
|
$model->customer_name,
|
||||||
$model->customer_surname,
|
$model->customer_surname,
|
||||||
$model->old_surname ? sprintf('(%s)', $model->old_surname) : '',
|
$model->old_surname ? sprintf('(%s)', $model->old_surname) : '',
|
||||||
$model->customer_patronic_name
|
$model->customer_patronic_name
|
||||||
)
|
)
|
||||||
),
|
),
|
||||||
|
|||||||
Reference in New Issue
Block a user