wip
This commit is contained in:
1 parent
9fecfccf22
commit
4dde4b357a
26 files changed
+26396
-262
No files matched your search
@@ -3,6 +3,7 @@
|
||||
namespace App\Nova\Resources\Order\Loan;
|
||||
|
||||
use App\Modules\DateHelper\Repositories\DateHelperRepository;
|
||||
use App\Nova\Forms\NovaForm;
|
||||
use App\Nova\Resources\Branch\Branch;
|
||||
use App\Nova\Resources\System\Location\Province;
|
||||
use App\Nova\User;
|
||||
@@ -22,6 +23,7 @@
|
||||
use Laravel\Nova\Fields\Select;
|
||||
use Laravel\Nova\Fields\Text;
|
||||
use Laravel\Nova\Panel;
|
||||
use Nurmuhammet\NovaCustomHtml\NovaCustomHtml;
|
||||
use Nurmuhammet\NovaInputmask\NovaInputmask;
|
||||
|
||||
class LoanOrderMobileFieldsForDetail
|
||||
@@ -89,19 +91,11 @@ public static function make($resource): array
|
||||
]),
|
||||
|
||||
new Panel(__('Card'), [
|
||||
Number::make(__('Card number'), 'card_number'),
|
||||
|
||||
Text::make(__('Name on card'), 'card_name'),
|
||||
|
||||
Select::make(__('Card').' '.__('Expiration month'), 'card_month')
|
||||
->displayUsingLabels()
|
||||
->searchable()
|
||||
->options(DateHelperRepository::monthsAsNumber()),
|
||||
|
||||
Select::make(__('Card').' '.__('Expiration year'), 'card_year')
|
||||
->displayUsingLabels()
|
||||
->searchable()
|
||||
->options(DateHelperRepository::yearsUntil()),
|
||||
NovaCustomHtml::make(__('Data'), 'card_name')
|
||||
->html(view('orders.loan.mobile.card-history', [
|
||||
'resource' => $resource
|
||||
])->render())
|
||||
->fillUsing(NovaForm::fillEmpty()),
|
||||
]),
|
||||
|
||||
new Panel(__('Contact data'), [
|
||||
|
||||
Reference in new issue
Block a user