This commit is contained in:
2024-10-18 19:29:44 +05:00
parent 681d87236a
commit 0e436b0680
6 changed files with 149 additions and 3 deletions

View File

@@ -91,10 +91,18 @@ class LoanOrderMobileFieldsForDetail
new Panel(__('Card'), [
NovaCustomHtml::make(__('Data'), 'card_name')
->canSeeWhen('systemUser', $resource)
->html(view('orders.loan.mobile.card-history', [
'resource' => $resource,
])->render())
->fillUsing(NovaForm::fillEmpty()),
])->render()),
]),
new Panel(__('Karz taryhy'), [
NovaCustomHtml::make(__('Karz taryhy'), 'loan_history')
->canSeeWhen('systemUser', $resource)
->html(view('orders.loan.mobile.loan-history', [
'resource' => $resource,
])->render()),
]),
new Panel(__('Contact data'), [