diff --git a/application/controllers/OpeningAccountAgent.php b/application/controllers/OpeningAccountAgent.php index a7d387ab..dd79e273 100755 --- a/application/controllers/OpeningAccountAgent.php +++ b/application/controllers/OpeningAccountAgent.php @@ -90,7 +90,7 @@ class OpeningAccountAgent extends CI_Controller public function treatRequest($request_id) { - echo makeRequest('user-service', 'PUT','/customers_accounts_requests/'.$request_id.'/treat', $_POST); + echo makeRequest('user-service', 'PUT','/customers_accounts_requests/'.$request_id, $_POST); } private function isLogged() diff --git a/application/language/english/message_lang.php b/application/language/english/message_lang.php index 0c65ffbe..84e23df9 100755 --- a/application/language/english/message_lang.php +++ b/application/language/english/message_lang.php @@ -1049,4 +1049,6 @@ $lang['debit_card_type'] = "Debit card type"; $lang['opening_account_request_accepted'] = "Customer account opening request accepted"; $lang['opening_account_request_rejected'] = "The request to open an account has been rejected"; $lang['opening_account_request_more_information'] = "The request to open an account has been rejected"; +$lang['payment_period_days'] = "Payment period (in days)"; +$lang['required_payment_period_days'] = "Payment period is required" ?> diff --git a/application/language/french/message_lang.php b/application/language/french/message_lang.php index 50662498..5d529483 100755 --- a/application/language/french/message_lang.php +++ b/application/language/french/message_lang.php @@ -1057,4 +1057,6 @@ $lang['debit_card_type'] = "Type de carte de débit"; $lang['opening_account_request_accepted'] = "La demande d'ouverture de compte client été acceptée"; $lang['opening_account_request_rejected'] = "La demande d'ouverture de compte client été rejetée"; $lang['opening_account_request_more_information'] = "La demande d'ouverture de compte client en attente de complement d'informations"; +$lang['payment_period_days'] = "Délai de paiement (en jours)"; +$lang['required_payment_period_days'] = "Délai de paiement est obligatoire" ?> diff --git a/application/views/account_opening_agent/infos_opening_account_request.php b/application/views/account_opening_agent/infos_opening_account_request.php index 41231b2f..8d80620b 100755 --- a/application/views/account_opening_agent/infos_opening_account_request.php +++ b/application/views/account_opening_agent/infos_opening_account_request.php @@ -70,6 +70,8 @@ $this->converter = new CurrencyConverter($provider); $this->context = new AutoContext(); $fmt = new NumberFormatter('fr_FR', NumberFormatter::DECIMAL); + + $context = new AutoContext(); ?> @@ -100,23 +102,38 @@ - status, ['REJECTED','MORE_INFORMATION'])) { ?> + opening_amount)) { ?>
= $request->reject_reason ?>
-= $this->lang->line('reject_reason') ?>
+= $this->lang->line('opening_amount') ?>
= $request->reject_reason ?>
+= $this->lang->line('reject_reason') ?>
+