This commit is contained in:
nurmuhammet committed 2025-09-06 12:49:53 +05:00
1 parent 7c623e802f
commit c348416c05
1 file changed
+3 -1
@@ -275,7 +275,9 @@ public function fields(NovaRequest $request): array
name: __('Goýum hasaby'),
attribute: 'deposit_account'
)->fillUsing(function ($request, $model, $attribute) {
$model->$attribute = "{'deposit_account': '".$request->$attribute."'}";
$raw = number_format($request->$attribute, 0, '', '');
$model->$attribute = "{'deposit_account': '".$raw."'}";
}),
])->minRows(1)->rules('required'),