This commit is contained in:
2023-12-07 20:49:39 +05:00
parent ec0d278953
commit ad17034cbe

View File

@@ -177,6 +177,12 @@ class LoanOrder extends Resource
->fullWidth() ->fullWidth()
->canSeeWhen('systemUser', $this), ->canSeeWhen('systemUser', $this),
BelongsTo::make(__('Created by').': ', 'user', User::class)
->canSeeWhen('isMe', $this),
BelongsTo::make(__('Updated by').': ', 'filledBy', User::class)
->canSeeWhen('isMe', $this),
new Panel(__('Loan'), [ new Panel(__('Loan'), [
Select::make(__('Loan type'), 'loan_type') Select::make(__('Loan type'), 'loan_type')
->displayUsingLabels() ->displayUsingLabels()