add some more functions

This commit is contained in:
2023-12-07 20:46:04 +05:00
parent a3d41770e7
commit f94bac983e
8 changed files with 130 additions and 21 deletions

View File

@@ -5,6 +5,7 @@ namespace App\Nova\Resources\Order\Loan\Concerns;
use App\Nova\Resources\Branch\Branch;
use App\Nova\Resources\Order\Loan\LoanType;
use App\Nova\Resources\System\Location\Province;
use App\Nova\User;
use App\Repos\Order\OrderRepo;
use App\Repos\System\Settings\Legal\EducationRepo;
use App\Repos\System\Settings\Legal\MarriageRepo;
@@ -40,6 +41,11 @@ class LoanOrderFieldsForDetail
->withIcons()
->icons(OrderRepo::statusIcons()),
Text::make(__('Note'), 'status_reason'),
BelongsTo::make(__('Created by').': ', 'user', User::class),
BelongsTo::make(__('Updated by').': ', 'filledBy', User::class),
new Panel(__('Loan'), [
BelongsTo::make(__('Loan type'), 'loanType', LoanType::class),
]),