%
+lang->line('rate_com_agent_cart_cash') ?>
+%
+lang->line('rate_com_agent_remove_cart') ?>
+%
+lang->line('rate_com_sup_remove_cart') ?>
+%
+lang->line('rate_com_hyp_remove_cart') ?>
+%
+lang->line('rate_com_bq_remove_cart') ?>
+diff --git a/application/controllers/Gestion.php b/application/controllers/Gestion.php index 1933b32a..6328edf0 100755 --- a/application/controllers/Gestion.php +++ b/application/controllers/Gestion.php @@ -1690,19 +1690,9 @@ class Gestion extends CI_Controller }else if ($type == 'ilink'){ $idConfig = $_POST['id_config']; - $plr_user_wallet_wallet = isset($_POST['plr_user_wallet_wallet']) ? $_POST['plr_user_wallet_wallet'] : null ; - $plr_user_wallet_cash = isset($_POST['plr_user_wallet_cash']) ? $_POST['plr_user_wallet_cash'] : null ; - $plr_agent_depot_wallet_ilink = isset($_POST['plr_agent_depot_wallet_ilink']) ? $_POST['plr_agent_depot_wallet_ilink'] : null; - $plr_agent_depot_autre_wallet = isset($_POST['plr_agent_depot_autre_wallet']) ? $_POST['plr_agent_depot_autre_wallet'] : null; - $plr_agent_cash_cash = isset($_POST['plr_agent_cash_cash']) ? $_POST['plr_agent_cash_cash'] : null ; + $config = $_POST['config']; + $fields = isset($_POST['fields']) ? $_POST['fields'] : []; - $plr_user_wallet_wallet_national = isset($_POST['plr_user_wallet_wallet_national']) ? $_POST['plr_user_wallet_wallet_national'] : null ; - $plr_user_wallet_cash_national = isset($_POST['plr_user_wallet_cash_national']) ? $_POST['plr_user_wallet_cash_national'] : null ; - $plr_agent_depot_wallet_ilink_national = isset($_POST['plr_agent_depot_wallet_ilink_national']) ? $_POST['plr_agent_depot_wallet_ilink_national'] : null; - $plr_agent_depot_autre_wallet_national = isset($_POST['plr_agent_depot_autre_wallet_national']) ? $_POST['plr_agent_depot_autre_wallet_national'] : null; - $plr_agent_cash_cash_national = isset($_POST['plr_agent_cash_cash_national']) ? $_POST['plr_agent_cash_cash_national'] : null ; - - $fields = $_POST['fields']; $rows = []; //Convert fields to simple array foreach ($fields as $field) { @@ -1711,28 +1701,64 @@ class Gestion extends CI_Controller $name = ""; foreach ($array as $key => $value){ if($i == 0) - $name = $value; + $name = $value; else $rows[$name] = $value; $i++; } } - $this->insertPalier($plr_user_wallet_wallet,"user_wallet_wallet_international", $idConfig); - $this->insertPalier($plr_user_wallet_cash,"user_wallet_cash_international", $idConfig); - $this->insertPalier($plr_agent_depot_wallet_ilink,"agent_depot_wallet_ilink_international", $idConfig); - $this->insertPalier($plr_agent_depot_autre_wallet,"agent_depot_autre_wallet_international", $idConfig); - $this->insertPalier($plr_agent_cash_cash,"agent_cash_cash_international", $idConfig); + switch ($config){ + case 'user_wallet_wallet': + $plr_user_wallet_wallet = isset($_POST['plr_user_wallet_wallet']) ? $_POST['plr_user_wallet_wallet'] : null ; + $plr_user_wallet_wallet_national = isset($_POST['plr_user_wallet_wallet_national']) ? $_POST['plr_user_wallet_wallet_national'] : null ; + $this->insertPalier($plr_user_wallet_wallet,"user_wallet_wallet_international", $idConfig); + $this->insertPalier($plr_user_wallet_wallet_national,"user_wallet_wallet_national", $idConfig); + break; + case 'user_wallet_carte': + $this->user_model->updateConfigWalletIlink_u_w_cart($rows['taux_u_w_cart'],$rows['taux_hyp_s_wallet_cart_ilink'],$rows['taux_bq_s_wallet_cart_ilink'],$idConfig); + break; + case 'user_wallet_cash': + $plr_user_wallet_cash = isset($_POST['plr_user_wallet_cash']) ? $_POST['plr_user_wallet_cash'] : null ; + $plr_user_wallet_cash_national = isset($_POST['plr_user_wallet_cash_national']) ? $_POST['plr_user_wallet_cash_national'] : null ; + $this->insertPalier($plr_user_wallet_cash,"user_wallet_cash_international", $idConfig); + $this->insertPalier($plr_user_wallet_cash_national,"user_wallet_cash_national", $idConfig); + break; + case 'user_carte_wallet': + $this->user_model->updateConfigWalletIlink_u_c_w($rows['taux_u_c_w'],$rows['taux_u_c_c'], $rows['taux_hyp_r_cart_ilink'],$rows['taux_bq_r_cart_ilink'],$idConfig); + break; + case 'agent_remove_cash': + $this->user_model->updateConfigWalletIlink_a_r_c($rows['taux_ag_r_c'],$rows['taux_sup_r_c'], + $rows['taux_hyp_r_c'],$idConfig); + break; + case 'agent_remove_carte_cash': + $this->user_model->updateConfigWalletIlink_a_r_cart($rows['taux_ag_cart_c'], $rows['taux_ag_r_cart'],$rows['taux_sup_r_cart'], + $rows['taux_hyp_r_cart'],$rows['taux_bq_r_cart'],$idConfig); + break; + case 'agent_send_cash_carte': + $this->user_model->updateConfigWalletIlink_a_s_cc($rows['taux_ag_d_c_c'],$rows['taux_ag_d_c'],$rows['taux_sup_d_c'],$rows['taux_hyp_d_c'],$rows['taux_bq_d_c'],$idConfig); + break; + case 'agent_send_cash_canal': + $plr_agent_depot_wallet_ilink = isset($_POST['plr_agent_depot_wallet_ilink']) ? $_POST['plr_agent_depot_wallet_ilink'] : null; + $plr_agent_depot_autre_wallet = isset($_POST['plr_agent_depot_autre_wallet']) ? $_POST['plr_agent_depot_autre_wallet'] : null; + $plr_agent_cash_cash = isset($_POST['plr_agent_cash_cash']) ? $_POST['plr_agent_cash_cash'] : null ; - $this->insertPalier($plr_user_wallet_wallet_national,"user_wallet_wallet_national", $idConfig); - $this->insertPalier($plr_user_wallet_cash_national,"user_wallet_cash_national", $idConfig); - $this->insertPalier($plr_agent_depot_wallet_ilink_national,"agent_depot_wallet_ilink_national", $idConfig); - $this->insertPalier($plr_agent_depot_autre_wallet_national,"agent_depot_autre_wallet_national", $idConfig); - $this->insertPalier($plr_agent_cash_cash_national,"agent_cash_cash_national", $idConfig); + $plr_agent_depot_wallet_ilink_national = isset($_POST['plr_agent_depot_wallet_ilink_national']) ? $_POST['plr_agent_depot_wallet_ilink_national'] : null; + $plr_agent_depot_autre_wallet_national = isset($_POST['plr_agent_depot_autre_wallet_national']) ? $_POST['plr_agent_depot_autre_wallet_national'] : null; + $plr_agent_cash_cash_national = isset($_POST['plr_agent_cash_cash_national']) ? $_POST['plr_agent_cash_cash_national'] : null ; - $this->user_model->updateConfigWalletIlink($rows['taux_u_w_cart'],$rows['taux_u_c_w'],$rows['taux_u_c_c'],$rows['taux_ag_d_c_c'],$rows['taux_ag_cart_c'],$rows['taux_ag_cash_c'],$rows['taux_ag_s_c'],$rows['taux_sup_s_c'],$rows['taux_hyp_s_c'],$rows['taux_ag_r_c'],$rows['taux_sup_r_c'], - $rows['taux_hyp_r_c'],$rows['taux_ag_d_c'],$rows['taux_sup_d_c'],$rows['taux_hyp_d_c'],$rows['taux_bq_d_c'], $rows['taux_ag_r_cart'],$rows['taux_sup_r_cart'],$rows['taux_hyp_r_cart'],$rows['taux_bq_r_cart'], - $rows['taux_hyp_r_cart_ilink'],$rows['taux_bq_r_cart_ilink'],$rows['taux_hyp_s_wallet_cart_ilink'],$rows['taux_bq_s_wallet_cart_ilink'],$idConfig); + $this->insertPalier($plr_agent_depot_wallet_ilink,"agent_depot_wallet_ilink_international", $idConfig); + $this->insertPalier($plr_agent_depot_autre_wallet,"agent_depot_autre_wallet_international", $idConfig); + $this->insertPalier($plr_agent_cash_cash,"agent_cash_cash_international", $idConfig); + + $this->insertPalier($plr_agent_depot_wallet_ilink_national,"agent_depot_wallet_ilink_national", $idConfig); + $this->insertPalier($plr_agent_depot_autre_wallet_national,"agent_depot_autre_wallet_national", $idConfig); + $this->insertPalier($plr_agent_cash_cash_national,"agent_cash_cash_national", $idConfig); + + $this->user_model->updateConfigWalletIlink_a_s_c($rows['taux_ag_s_c'],$rows['taux_sup_s_c'],$rows['taux_hyp_s_c'],$idConfig); + + break; + } $res = true; } diff --git a/application/controllers/Hyperviseur_dash.php b/application/controllers/Hyperviseur_dash.php index 2464b821..63307c88 100755 --- a/application/controllers/Hyperviseur_dash.php +++ b/application/controllers/Hyperviseur_dash.php @@ -370,45 +370,8 @@ class Hyperviseur_dash extends CI_Controller $data["totalCommissionBanque"] = $totalCommissionBanque; } elseif ($data['hasWallet']->first_row()->type == 'ilink') { - $data['plr_user_wallet_wallet'] = $this->user_model->getPalierConfigWallet("user_wallet_wallet_international", $data['idConfig']); - $data['plr_user_wallet_cash'] = $this->user_model->getPalierConfigWallet("user_wallet_cash_international", $data['idConfig']); - $data['plr_agent_depot_wallet_ilink'] = $this->user_model->getPalierConfigWallet("agent_depot_wallet_ilink_international" , $data['idConfig']); - $data['plr_agent_depot_autre_wallet'] = $this->user_model->getPalierConfigWallet("agent_depot_autre_wallet_international" , $data['idConfig']); - $data['plr_agent_cash_cash'] = $this->user_model->getPalierConfigWallet("agent_cash_cash_international", $data['idConfig']); - - $data['plr_user_wallet_wallet_national'] = $this->user_model->getPalierConfigWallet("user_wallet_wallet_national", $data['idConfig']); - $data['plr_user_wallet_cash_national'] = $this->user_model->getPalierConfigWallet("user_wallet_cash_national", $data['idConfig']); - $data['plr_agent_depot_wallet_ilink_national'] = $this->user_model->getPalierConfigWallet("agent_depot_wallet_ilink_national" , $data['idConfig']); - $data['plr_agent_depot_autre_wallet_national'] = $this->user_model->getPalierConfigWallet("agent_depot_autre_wallet_national" , $data['idConfig']); - $data['plr_agent_cash_cash_national'] = $this->user_model->getPalierConfigWallet("agent_cash_cash_national", $data['idConfig']); $data['taxes'] = $this->user_model->getTaxes($data['idConfig']); - - $data['taux_u_w_cart'] = $taux->taux_com_user_wallet_carte; - $data['taux_u_c_w'] = $taux->taux_com_user_carte_wallet; - $data['taux_u_c_c'] = $taux->taux_com_user_carte_cash; - $data['taux_ag_d_c_c'] = $taux->taux_com_wallet_ag_envoi_cash_carte; - $data['taux_ag_cart_c'] = $taux->taux_com_wallet_ag_carte_cash; - $data['taux_ag_cash_c'] = $taux->taux_com_wallet_ag_depot_carte; - $data['taux_ag_s_c'] = $taux->taux_com_ag_envoi_cash; - $data['taux_sup_s_c'] = $taux->taux_com_sup_envoi_cash; - $data['taux_hyp_s_c'] = $taux->taux_com_hyp_envoi_cash; - $data['taux_ag_r_c'] = $taux->taux_com_ag_retrait_cash; - $data['taux_sup_r_c'] = $taux->taux_com_sup_retrait_cash; - $data['taux_hyp_r_c'] = $taux->taux_com_hyp_retrait_cash; - $data['taux_ag_d_c'] = $taux->taux_com_ag_depot_cash_carte; - $data['taux_sup_d_c'] = $taux->taux_com_sup_depot_cash_carte; - $data['taux_hyp_d_c'] = $taux->taux_com_hyp_depot_cash_carte; - $data['taux_bq_d_c'] = $taux->taux_com_banque_depot_cash_carte; - $data['taux_ag_r_cart'] = $taux->taux_com_ag_retrait_carte_cash; - $data['taux_sup_r_cart'] = $taux->taux_com_sup_retrait_carte_cash; - $data['taux_hyp_r_cart'] = $taux->taux_com_hyp_retrait_carte_cash; - $data['taux_bq_r_cart'] = $taux->taux_com_banque_retrait_carte_cash; - $data['taux_hyp_r_cart_ilink'] = $taux->taux_com_hyp_retrait_carte_cash_ilink; - $data['taux_bq_r_cart_ilink'] = $taux->taux_com_banque_retrait_carte_cash_ilink; - $data['taux_hyp_s_wallet_cart_ilink'] = $taux->taux_com_hyp_envoi_wallet_carte_ilink; - $data['taux_bq_s_wallet_cart_ilink'] = $taux->taux_com_banque_envoi_wallet_carte_ilink; - $transactions = $this->user_model->getNetworkIlinTransactions($id_network); $data["transactions"] = array(); $totalCommissionBanque = 0; @@ -1019,6 +982,7 @@ class Hyperviseur_dash extends CI_Controller $data['country'] = $this->session->userdata('current_pays'); $data['category'] = $this->session->userdata('category'); $data['idConfig'] = $data['hasWallet']->first_row()->id; + $data['network_id'] = $this->session->userdata('network_id'); if (isset($country)) { $data['country_id'] = $country; $data['country'] = $this->user_model->getCountry($country)->first_row(); @@ -1055,11 +1019,80 @@ class Hyperviseur_dash extends CI_Controller $data['countries'][] = $country; } } - $this->load->view('header_hyp', $data); -// if ($type == 'transaction') -// $this->load->view('historique_transactions'); -// else - $this->load->view('gestion_wallet_ilink_config_paying_networks'); + $taux = $data['hasWallet']->first_row(); + switch($config){ + case 'paying_networks': + $this->load->view('header_hyp', $data); + $this->load->view('gestion_wallet_ilink_config_paying_networks'); + break; + case 'user_wallet_wallet': + $data['plr_user_wallet_wallet'] = $this->user_model->getPalierConfigWallet("user_wallet_wallet_international", $data['idConfig']); + $data['plr_user_wallet_wallet_national'] = $this->user_model->getPalierConfigWallet("user_wallet_wallet_national", $data['idConfig']); + $this->load->view('header_hyp', $data); + $this->load->view('config_wallet_ilink_hyp/user_wallet_wallet'); + break; + case 'user_wallet_carte': + $data['taux_u_w_cart'] = $taux->taux_com_user_wallet_carte; + $data['taux_hyp_s_wallet_cart_ilink'] = $taux->taux_com_hyp_envoi_wallet_carte_ilink; + $data['taux_bq_s_wallet_cart_ilink'] = $taux->taux_com_banque_envoi_wallet_carte_ilink; + $this->load->view('header_hyp', $data); + $this->load->view('config_wallet_ilink_hyp/user_wallet_carte'); + break; + case 'user_wallet_cash': + $data['plr_user_wallet_cash'] = $this->user_model->getPalierConfigWallet("user_wallet_cash_international", $data['idConfig']); + $data['plr_user_wallet_cash_national'] = $this->user_model->getPalierConfigWallet("user_wallet_cash_national", $data['idConfig']); + $this->load->view('header_hyp', $data); + $this->load->view('config_wallet_ilink_hyp/user_wallet_cash'); + break; + case 'user_carte_wallet': + $data['taux_u_c_w'] = $taux->taux_com_user_carte_wallet; + $data['taux_u_c_c'] = $taux->taux_com_user_carte_cash; + $data['taux_hyp_r_cart_ilink'] = $taux->taux_com_hyp_retrait_carte_cash_ilink; + $data['taux_bq_r_cart_ilink'] = $taux->taux_com_banque_retrait_carte_cash_ilink; + $this->load->view('header_hyp', $data); + $this->load->view('config_wallet_ilink_hyp/user_carte_wallet'); + break; + case 'agent_remove_cash': + $data['taux_ag_r_c'] = $taux->taux_com_ag_retrait_cash; + $data['taux_sup_r_c'] = $taux->taux_com_sup_retrait_cash; + $data['taux_hyp_r_c'] = $taux->taux_com_hyp_retrait_cash; + $this->load->view('header_hyp', $data); + $this->load->view('config_wallet_ilink_hyp/agent_remove_cash'); + break; + case 'agent_remove_carte_cash': + $data['taux_ag_cart_c'] = $taux->taux_com_wallet_ag_carte_cash; + $data['taux_ag_r_cart'] = $taux->taux_com_ag_retrait_carte_cash; + $data['taux_sup_r_cart'] = $taux->taux_com_sup_retrait_carte_cash; + $data['taux_hyp_r_cart'] = $taux->taux_com_hyp_retrait_carte_cash; + $data['taux_bq_r_cart'] = $taux->taux_com_banque_retrait_carte_cash; + $this->load->view('header_hyp', $data); + $this->load->view('config_wallet_ilink_hyp/agent_remove_carte_cash'); + break; + case 'agent_send_cash_carte': + $data['taux_ag_d_c_c'] = $taux->taux_com_wallet_ag_envoi_cash_carte; + $data['taux_ag_d_c'] = $taux->taux_com_ag_depot_cash_carte; + $data['taux_sup_d_c'] = $taux->taux_com_sup_depot_cash_carte; + $data['taux_hyp_d_c'] = $taux->taux_com_hyp_depot_cash_carte; + $data['taux_bq_d_c'] = $taux->taux_com_banque_depot_cash_carte; + $this->load->view('header_hyp', $data); + $this->load->view('config_wallet_ilink_hyp/agent_send_cash_carte'); + break; + case 'agent_send_cash_canal': + $data['taux_ag_s_c'] = $taux->taux_com_ag_envoi_cash; + $data['taux_sup_s_c'] = $taux->taux_com_sup_envoi_cash; + $data['taux_hyp_s_c'] = $taux->taux_com_hyp_envoi_cash; + + $data['plr_agent_depot_wallet_ilink'] = $this->user_model->getPalierConfigWallet("agent_depot_wallet_ilink_international" , $data['idConfig']); + $data['plr_agent_depot_autre_wallet'] = $this->user_model->getPalierConfigWallet("agent_depot_autre_wallet_international" , $data['idConfig']); + $data['plr_agent_cash_cash'] = $this->user_model->getPalierConfigWallet("agent_cash_cash_international", $data['idConfig']); + + $data['plr_agent_depot_wallet_ilink_national'] = $this->user_model->getPalierConfigWallet("agent_depot_wallet_ilink_national" , $data['idConfig']); + $data['plr_agent_depot_autre_wallet_national'] = $this->user_model->getPalierConfigWallet("agent_depot_autre_wallet_national" , $data['idConfig']); + $data['plr_agent_cash_cash_national'] = $this->user_model->getPalierConfigWallet("agent_cash_cash_national", $data['idConfig']); + $this->load->view('header_hyp', $data); + $this->load->view('config_wallet_ilink_hyp/agent_send_cash_canal'); + break; + } $this->load->view('footer'); } diff --git a/application/language/english/message_lang.php b/application/language/english/message_lang.php index 87539571..c28928b3 100755 --- a/application/language/english/message_lang.php +++ b/application/language/english/message_lang.php @@ -405,4 +405,17 @@ $lang ['fees'] = 'Fees'; $lang ['tax'] = 'Tax'; $lang ['customer_net_amount_init'] = 'Net customer amount from the country of departure'; $lang ['customer_net_amount_final'] = 'Net customer amount from the country of arrival'; +$lang ['issuer_id'] = 'Issuer ID'; +$lang ['recipient_id'] = 'Recipient ID'; +$lang ['commission_paying_network'] = 'Commission of the paying hypervisor'; +$lang ['config_ilink_user_wallet_wallet'] = 'Sending from wallet to wallet'; +$lang ['config_ilink_user_wallet_carte'] = 'Sending wallet to card'; +$lang ['config_ilink_user_wallet_cash'] = 'Sending wallet in cash for others and Removing wallet in cash'; +$lang ['config_ilink_user_carte_wallet'] = 'Card withdrawal to wallet and cash'; +$lang ['config_ilink_agent_remove_cash'] = 'Cash withdrawal'; +$lang ['config_ilink_agent_remove_carte_cash'] = 'Withdrawal of the card to cash'; +$lang ['config_ilink_agent_send_cash_carte'] = 'Sending cash to a visa card'; +$lang ['config_ilink_agent_send_cash_canal'] = 'Sending cash to another channel (Wallet or cash)'; +$lang ['config_user'] = 'User configuration'; +$lang ['config_agent'] = 'Configuration agent'; ?> diff --git a/application/language/french/message_lang.php b/application/language/french/message_lang.php index b77586c3..27054e23 100755 --- a/application/language/french/message_lang.php +++ b/application/language/french/message_lang.php @@ -420,5 +420,14 @@ $lang['customer_net_amount_final'] = 'Montant net client du pays d\'arrivée'; $lang['issuer_id'] = 'ID émetteur'; $lang['recipient_id']= 'ID destinataire'; $lang['commission_paying_network'] = 'Commission de l\'hyperviseur payeur'; - +$lang['config_ilink_user_wallet_wallet'] = 'Envoi de wallet à wallet'; +$lang['config_ilink_user_wallet_carte'] = 'Envoi de wallet à carte'; +$lang['config_ilink_user_wallet_cash'] = 'Envoi de wallet en cash pour autrui et Retrait de wallet en cash'; +$lang['config_ilink_user_carte_wallet'] = 'Retrait de carte vers wallet et cash'; +$lang['config_ilink_agent_remove_cash'] = 'Retrait d’argent'; +$lang['config_ilink_agent_remove_carte_cash'] = 'Retrait de la carte vers cash'; +$lang['config_ilink_agent_send_cash_carte'] = 'Envoi de cash vers une carte visa'; +$lang['config_ilink_agent_send_cash_canal'] = 'Envoi de cash vers un autre canal ( Wallet ou cash)'; +$lang['config_user'] = 'Configuration utilisateur'; +$lang['config_agent'] = 'Configuration agent'; ?> diff --git a/application/models/User_model.php b/application/models/User_model.php index 982d4e35..cad2bfdd 100755 --- a/application/models/User_model.php +++ b/application/models/User_model.php @@ -2299,13 +2299,44 @@ class User_model extends CI_Model } - public function updateConfigWalletIlink($taux_u_w_cart,$taux_u_c_w,$taux_u_c_c,$taux_ag_d_c_c,$taux_ag_cart_c,$taux_ag_cash_c,$taux_ag_s_c,$taux_sup_s_c,$taux_hyp_s_c,$taux_ag_r_c,$taux_sup_r_c,$taux_hyp_r_c, - $taux_ag_d_c,$taux_sup_d_c,$taux_hyp_d_c,$taux_bq_d_c ,$taux_ag_r_cart,$taux_sup_r_cart,$taux_hyp_r_cart,$taux_bq_r_cart ,$taux_hyp_r_cart_ilink,$taux_bq_r_cart_ilink ,$taux_hyp_s_wallet_cart_ilink,$taux_bq_s_wallet_cart_ilink, $idConfig){ - $sql = "UPDATE `configWallet` SET `taux_com_user_wallet_carte` = ?, `taux_com_user_carte_wallet` = ?, `taux_com_user_carte_cash` = ?, `taux_com_wallet_ag_envoi_cash_carte` = ?,`taux_com_wallet_ag_carte_cash` = ?, `taux_com_wallet_ag_depot_carte` = ?, `taux_com_ag_envoi_cash` = ?, `taux_com_sup_envoi_cash` = ?, `taux_com_hyp_envoi_cash` = ?, `taux_com_ag_retrait_cash` = ?, `taux_com_sup_retrait_cash` = ?, `taux_com_hyp_retrait_cash` = ?, - `taux_com_ag_depot_cash_carte` = ?, `taux_com_sup_depot_cash_carte` = ?, `taux_com_hyp_depot_cash_carte` = ?, `taux_com_banque_depot_cash_carte` = ?, `taux_com_ag_retrait_carte_cash` = ?, `taux_com_sup_retrait_carte_cash` = ?, `taux_com_hyp_retrait_carte_cash` = ?, `taux_com_banque_retrait_carte_cash` = ?, `taux_com_hyp_retrait_carte_cash_ilink` = ?, `taux_com_banque_retrait_carte_cash_ilink` = ? , + public function updateConfigWalletIlink_a_s_c($taux_ag_s_c,$taux_sup_s_c,$taux_hyp_s_c,$idConfig){ + $sql = "UPDATE `configWallet` SET `taux_com_ag_envoi_cash` = ?, `taux_com_sup_envoi_cash` = ?, `taux_com_hyp_envoi_cash` = ? WHERE (`id` = ?);"; + $query = $this->db->query($sql , array($taux_ag_s_c,$taux_sup_s_c,$taux_hyp_s_c,$idConfig)); + return $query; + } + + public function updateConfigWalletIlink_u_w_cart($taux_u_w_cart,$taux_hyp_s_wallet_cart_ilink,$taux_bq_s_wallet_cart_ilink, $idConfig){ + $sql = "UPDATE `configWallet` SET `taux_com_user_wallet_carte` = ?, `taux_com_hyp_envoi_wallet_carte_ilink` = ?, `taux_com_banque_envoi_wallet_carte_ilink` = ? WHERE (`id` = ?);"; - $query = $this->db->query($sql , array($taux_u_w_cart,$taux_u_c_w,$taux_u_c_c, $taux_ag_d_c_c,$taux_ag_cart_c,$taux_ag_cash_c,$taux_ag_s_c,$taux_sup_s_c,$taux_hyp_s_c,$taux_ag_r_c,$taux_sup_r_c,$taux_hyp_r_c, - $taux_ag_d_c,$taux_sup_d_c,$taux_hyp_d_c,$taux_bq_d_c , $taux_ag_r_cart,$taux_sup_r_cart,$taux_hyp_r_cart, $taux_bq_r_cart , $taux_hyp_r_cart_ilink,$taux_bq_r_cart_ilink,$taux_hyp_s_wallet_cart_ilink,$taux_bq_s_wallet_cart_ilink,$idConfig)); + $query = $this->db->query($sql , array($taux_u_w_cart,$taux_hyp_s_wallet_cart_ilink,$taux_bq_s_wallet_cart_ilink,$idConfig)); + return $query; + } + + public function updateConfigWalletIlink_u_c_w($taux_u_c_w,$taux_u_c_c,$taux_hyp_r_cart_ilink,$taux_bq_r_cart_ilink , $idConfig){ + $sql = "UPDATE `configWallet` SET `taux_com_user_carte_wallet` = ?, `taux_com_user_carte_cash` = ?, `taux_com_hyp_retrait_carte_cash_ilink` = ?, `taux_com_banque_retrait_carte_cash_ilink` = ? + WHERE (`id` = ?);"; + $query = $this->db->query($sql , array($taux_u_c_w,$taux_u_c_c,$taux_hyp_r_cart_ilink,$taux_bq_r_cart_ilink,$idConfig)); + return $query; + } + + public function updateConfigWalletIlink_a_r_c($taux_ag_r_c,$taux_sup_r_c,$taux_hyp_r_c,$idConfig){ + $sql = "UPDATE `configWallet` SET `taux_com_ag_retrait_cash` = ?, `taux_com_sup_retrait_cash` = ?, `taux_com_hyp_retrait_cash` = ? WHERE (`id` = ?);"; + $query = $this->db->query($sql , array($taux_ag_r_c,$taux_sup_r_c,$taux_hyp_r_c,$idConfig)); + return $query; + } + + public function updateConfigWalletIlink_a_r_cart($taux_ag_cart_c,$taux_ag_r_cart,$taux_sup_r_cart,$taux_hyp_r_cart,$taux_bq_r_cart ,$idConfig){ + $sql = "UPDATE `configWallet` SET `taux_com_wallet_ag_carte_cash` = ?, `taux_com_ag_retrait_carte_cash` = ?, `taux_com_sup_retrait_carte_cash` = ?, + `taux_com_hyp_retrait_carte_cash` = ?, `taux_com_banque_retrait_carte_cash` = ? WHERE (`id` = ?);"; + $query = $this->db->query($sql , array($taux_ag_cart_c,$taux_ag_r_cart,$taux_sup_r_cart,$taux_hyp_r_cart, $taux_bq_r_cart ,$idConfig)); + return $query; + } + + public function updateConfigWalletIlink_a_s_cc($taux_ag_d_c_c,$taux_ag_d_c,$taux_sup_d_c,$taux_hyp_d_c,$taux_bq_d_c , $idConfig){ + $sql = "UPDATE `configWallet` SET `taux_com_wallet_ag_envoi_cash_carte` = ?, + `taux_com_ag_depot_cash_carte` = ?, `taux_com_sup_depot_cash_carte` = ?, `taux_com_hyp_depot_cash_carte` = ?, `taux_com_banque_depot_cash_carte` = ? + WHERE (`id` = ?);"; + $query = $this->db->query($sql , array($taux_ag_d_c_c, $taux_ag_d_c,$taux_sup_d_c,$taux_hyp_d_c,$taux_bq_d_c ,$idConfig)); return $query; } diff --git a/application/views/config_wallet_ilink_hyp/agent_remove_carte_cash.php b/application/views/config_wallet_ilink_hyp/agent_remove_carte_cash.php new file mode 100755 index 00000000..86060d9a --- /dev/null +++ b/application/views/config_wallet_ilink_hyp/agent_remove_carte_cash.php @@ -0,0 +1,311 @@ + + + + + + + + + + + + + +
lang->line('rate_com_agent_cart_cash') ?>
+lang->line('rate_com_agent_remove_cart') ?>
+lang->line('rate_com_sup_remove_cart') ?>
+lang->line('rate_com_hyp_remove_cart') ?>
+lang->line('rate_com_bq_remove_cart') ?>
+lang->line('rate_com_agent_remove_cash') ?>
+lang->line('rate_com_sup_remove_cash') ?>
+lang->line('rate_com_hyp_remove_cash') ?>
+lang->line('rate_com_agent_send_cash') ?>
+lang->line('rate_com_sup_send_cash') ?>
+lang->line('rate_com_hyp_send_cash') ?>
+Min | +Max | +Taux (%) | +
---|---|---|
" . $fmt->format($row->min) . " | +" . $fmt->format($row->max) . " | +" . $row->taux . " | " . ' +
Min | +Max | +Taux (%) | +
---|---|---|
" . $fmt->format($row->min) . " | +" . $fmt->format($row->max) . " | +" . $row->taux . " | " . ' +
Min | +Max | +Taux (%) | +
---|---|---|
" . $fmt->format($row->min) . " | +" . $fmt->format($row->max) . " | +" . $row->taux . " | " . ' +
Min | +Max | +Taux (%) | +
---|---|---|
" . $fmt->format($row->min) . " | +" . $fmt->format($row->max) . " | +" . $row->taux . " | " . ' +
Min | +Max | +Taux (%) | +
---|---|---|
" . $fmt->format($row->min) . " | +" . $fmt->format($row->max) . " | +" . $row->taux . " | " . ' +
Min | +Max | +Taux (%) | +
---|---|---|
" . $fmt->format($row->min) . " | +" . $fmt->format($row->max) . " | +" . $row->taux . " | " . ' +
lang->line('rate_com_agent_depot_cash_cart') ?>
+lang->line('rate_com_agent_depot_cart') ?>
+lang->line('rate_com_sup_depot_cart') ?>
+lang->line('rate_com_hyp_depot_cart') ?>
+lang->line('rate_com_bq_depot_cart') ?>
+lang->line('rate_com_user_cart_wallet') ?>
+lang->line('rate_com_user_cart_cash') ?>
+lang->line('rate_com_hyp_remove_cart_ilink') ?>
+lang->line('rate_com_bq_remove_cart_ilink') ?>
+lang->line('rate_com_user_wallet_cart') ?>
+lang->line('rate_com_hyp_send_wallet_cart_ilink') ?>
+lang->line('rate_com_bq_send_wallet_cart_ilink') ?>
+Min | +Max | +Taux (%) | +
---|---|---|
" . $fmt->format($row->min) . " | +" . $fmt->format($row->max) . " | +" . $row->taux . " | " . ' +
Min | +Max | +Taux (%) | +
---|---|---|
" . $fmt->format($row->min) . " | +" . $fmt->format($row->max) . " | +" . $row->taux . " | " . ' +
Min | +Max | +Taux (%) | +
---|---|---|
" . $fmt->format($row->min) . " | +" . $fmt->format($row->max) . " | +" . $row->taux . " | " . ' +
Min | +Max | +Taux (%) | +
---|---|---|
" . $fmt->format($row->min) . " | +" . $fmt->format($row->max) . " | +" . $row->taux . " | " . ' +
lang->line('rate_com_agent_depot_cash_cart') ?>
-lang->line('rate_com_sup_remove_cash') ?>
-lang->line('rate_com_hyp_remove_cash') ?>
-lang->line('rate_com_agent_cart_cash') ?>
-lang->line('rate_com_agent_cash_cart') ?>
-lang->line('rate_com_agent_depot_cart') ?>
-lang->line('rate_com_sup_depot_cart') ?>
-lang->line('rate_com_hyp_depot_cart') ?>
-lang->line('rate_com_bq_depot_cart') ?>
-lang->line('rate_com_agent_remove_cart') ?>
-lang->line('rate_com_sup_remove_cart') ?>
-lang->line('rate_com_hyp_remove_cart') ?>
-lang->line('rate_com_bq_remove_cart') ?>
-lang->line('rate_com_hyp_send_wallet_cart_ilink') ?>
-lang->line('rate_com_bq_send_wallet_cart_ilink') ?>
-lang->line('rate_com_hyp_remove_cart_ilink') ?>
-lang->line('rate_com_bq_remove_cart_ilink') ?>
-Min | -Max | -Taux (%) | -
---|---|---|
".$fmt->format($row->min)." | -".$fmt->format($row->max)." | -".$row->taux." | ".' -
Min | -Max | -Taux (%) | -
---|---|---|
".$fmt->format($row->min)." | -".$fmt->format($row->max)." | -".$row->taux." | ".' -
Min | -Max | -Taux (%) | -
---|---|---|
".$fmt->format($row->min)." | -".$fmt->format($row->max)." | -".$row->taux." | ".' -
Min | -Max | -Taux (%) | -
---|---|---|
".$fmt->format($row->min)." | -".$fmt->format($row->max)." | -".$row->taux." | ".' -
Min | -Max | -Taux (%) | -
---|---|---|
".$fmt->format($row->min)." | -".$fmt->format($row->max)." | -".$row->taux." | ".' -
Min | -Max | -Taux (%) | -
---|---|---|
".$fmt->format($row->min)." | -".$fmt->format($row->max)." | -".$row->taux." | ".' -
Min | -Max | -Taux (%) | -
---|---|---|
".$fmt->format($row->min)." | -".$fmt->format($row->max)." | -".$row->taux." | ".' -
Min | -Max | -Taux (%) | -
---|---|---|
".$fmt->format($row->min)." | -".$fmt->format($row->max)." | -".$row->taux." | ".' -
Min | -Max | -Taux (%) | -
---|---|---|
".$fmt->format($row->min)." | -".$fmt->format($row->max)." | -".$row->taux." | ".' -
Min | -Max | -Taux (%) | -
---|---|---|
".$fmt->format($row->min)." | -".$fmt->format($row->max)." | -".$row->taux." | ".' -
lang->line('Nom') ; ?> | -Type | -Valeur | -Destination | -
---|---|---|---|
".$row->nom." | -".$row->type." | -".$row->valeur." | -".$row->destination." | ".' -