+ Timezone of dates is now providing by user : Fixed v1
This commit is contained in:
parent
749dcc4471
commit
e1db129a55
|
@ -146,10 +146,4 @@ class HelperController extends Controller
|
|||
}
|
||||
return $this->successResponse($codes);
|
||||
}
|
||||
|
||||
// Afficher l'heure en fonction du pays de l'utilisateur
|
||||
public function getCurrentTimeB()
|
||||
{
|
||||
dd($this->getCurrentTime());
|
||||
}
|
||||
}
|
||||
|
|
|
@ -241,8 +241,10 @@ class iLinkTransactionController extends Controller
|
|||
}
|
||||
|
||||
//Mise a jour des comissions et compensation
|
||||
$reseauPayeur->balance_com += $transaction->part_reseau_payeur_final_country;
|
||||
$reseauPayeur->balance_compensation += $transaction->montant_net_final_country;
|
||||
if (isset($reseauPayeur)) {
|
||||
$reseauPayeur->balance_com += $transaction->part_reseau_payeur_final_country;
|
||||
$reseauPayeur->balance_compensation += $transaction->montant_net_final_country;
|
||||
}
|
||||
|
||||
//Hyperviseur payeur
|
||||
$hyperviseurPayeur = AgentPlus::where('category', 'hyper')->where('network_id', $request->network_destinataire)->firstOrFail();
|
||||
|
@ -389,8 +391,10 @@ class iLinkTransactionController extends Controller
|
|||
$transaction->id_transaction = $this->getTransactionID();
|
||||
if ($configPayeur->type == 'ilink') {
|
||||
//Mise a jour des comissions et compensation
|
||||
$reseauPayeur->balance_com += $transaction->part_reseau_payeur_final_country;
|
||||
$reseauPayeur->balance_compensation += $transaction->montant_net_final_country;
|
||||
if (isset($reseauPayeur)) {
|
||||
$reseauPayeur->balance_com += $transaction->part_reseau_payeur_final_country;
|
||||
$reseauPayeur->balance_compensation += $transaction->montant_net_final_country;
|
||||
}
|
||||
|
||||
//Hyperviseur payeur
|
||||
$hyperviseurPayeur = AgentPlus::where('category', 'hyper')->where('network_id', $request->network_destinataire)->firstOrFail();
|
||||
|
@ -1079,8 +1083,10 @@ class iLinkTransactionController extends Controller
|
|||
$transaction->id_transaction = $this->getTransactionID();
|
||||
if ($configPayeur->type == 'ilink') {
|
||||
//Mise a jour des comissions et compensation
|
||||
$reseauPayeur->balance_com += $transaction->part_reseau_payeur_final_country;
|
||||
$reseauPayeur->balance_compensation += $transaction->montant_net_final_country;
|
||||
if (isset($reseauPayeur)) {
|
||||
$reseauPayeur->balance_com += $transaction->part_reseau_payeur_final_country;
|
||||
$reseauPayeur->balance_compensation += $transaction->montant_net_final_country;
|
||||
}
|
||||
|
||||
//Hyperviseur payeur
|
||||
$hyperviseurPayeur = AgentPlus::where('category', 'hyper')->where('network_id', $request->network_destinataire)->firstOrFail();
|
||||
|
|
|
@ -14,7 +14,6 @@
|
|||
//$router->get('/', function () use ($router) {
|
||||
// return $router->app->version();
|
||||
//});
|
||||
$router->get('time', 'HelperController@getCurrentTimeB');
|
||||
$router->group(['prefix' => '', 'middleware' => 'auth'], function () use ($router) {
|
||||
// Helper routes
|
||||
$router->post('receivePayment', 'TransmittingNetworksController@receivePayment');
|
||||
|
|
Loading…
Reference in New Issue