Card Order fields
This commit is contained in:
1 parent
677cf6784a
commit
a3771218f0
1 file changed
+5
-4
@@ -45,6 +45,7 @@ public static function make($resource): array
|
||||
|
||||
new Panel(__('Card'), [
|
||||
BelongsTo::make(__('Reason for issuing the card'), 'cardState', CardState::class),
|
||||
|
||||
BelongsTo::make(__('Card type'), 'cardType', CardType::class),
|
||||
]),
|
||||
|
||||
@@ -60,10 +61,10 @@ public static function make($resource): array
|
||||
Text::make(
|
||||
__('Full Name'),
|
||||
fn ($model) => sprintf(
|
||||
'%s %s%s %s',
|
||||
$model->customer_name,
|
||||
$model->customer_surname,
|
||||
$model->old_surname ? sprintf('(%s)', $model->old_surname) : '',
|
||||
'%s %s%s %s',
|
||||
$model->customer_name,
|
||||
$model->customer_surname,
|
||||
$model->old_surname ? sprintf('(%s)', $model->old_surname) : '',
|
||||
$model->customer_patronic_name
|
||||
)
|
||||
),
|
||||
|
||||
Reference in new issue
Block a user