card orders done

This commit is contained in:
2025-06-11 18:05:30 +05:00
parent 10361e9422
commit 5dfce35a84
10 changed files with 522 additions and 10 deletions

View File

@@ -143,7 +143,7 @@ class LoanOrderController extends Controller
$data['guarantor_2_card_year'] = indexByValue($request->guarantor_2_card_year, $years);
}
$data += $this->uploadedFiles($request);
$data = array_merge($request->all(), $this->uploadedFiles($request));
Model::unguarded(function () use ($loanOrder, $data) {
$loanOrder->update($data);