Users process loan

This commit is contained in:
CHIEFSOFT\ameye
2024-08-04 23:03:28 -04:00
parent 5e7ae002ae
commit 2f58bd3609
2 changed files with 17 additions and 1 deletions
+8
View File
@@ -16,6 +16,13 @@ class Loan extends BaseController
}
public function addPaymentCard(){
$result =[];
return $this->respond($result, 200);
}
public function loanProcess(){
// $get_param = $_GET ?? null;
$uriSegments = explode("/", parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH));
@@ -137,6 +144,7 @@ disbursement
'state' => $data['state'],
'country' => $data['country'],
'employer_uid' => $data['employer_uid'],
'disbursement_account' => $data['disbursement_account'],
'loan_detail' => json_encode($data)
];