This commit is contained in:
2025-11-02 21:58:03 +05:00
parent af2687cefc
commit 96c8f860da
2 changed files with 49 additions and 7 deletions

View File

@@ -18,13 +18,9 @@ class LoanRepository
account_number: $record->account_number,
);
info([$data]);
// return $data->errCode != 0
// ? view('module.card-balance::error-response', compact('data'))
// : view('module.card-balance::card-balance-modal', compact('data'));
return view('welcome');
return $data->errCode != 0
? view('module.loan::loan-loan-remaining', compact('data'))
: view('module.loan::loan-loan-remaining', compact('data'));
}
public function fetchCardBalance(string $passport_serie, int|string $passport_id, int|string $account_number): object