+ Fix bug on ask credit request method v2
This commit is contained in:
parent
7b551fd8d2
commit
969c0edbf1
|
@ -645,10 +645,10 @@ class Requester
|
|||
$data->screen = "historyItemDetails";
|
||||
$data->data = new \stdClass();
|
||||
$data->data->id = $result['id'];
|
||||
$data->data->montant = $montant;
|
||||
$data->data->date_creation = new DateTime();
|
||||
$data->data->date_modification = new DateTime();
|
||||
$data->data->status = 0;
|
||||
$data->data->montant = $montant.'';
|
||||
$data->data->date_creation = date('Y-m-d H:i:s');
|
||||
$data->data->date_modification = date('Y-m-d H:i:s');
|
||||
$data->data->status = '0';
|
||||
$data->data->phone = $phone;
|
||||
$data->data->code_membre = $usr['code_membre'];
|
||||
$data->data->code_parrain = $usr['code_parrain'];
|
||||
|
@ -657,7 +657,6 @@ class Requester
|
|||
$data->data->reseau = $usr['reseau'] ;
|
||||
$data->data->firstname = $usr['firstname'] ;
|
||||
$data->data->lastname = $usr['lastname'];
|
||||
|
||||
$this->sendPushNotificationToAgent($codeParrain,
|
||||
sprintf($this->messageText['NOTIFICATION_CREDIT_DEMAND_TEXT_SUCCESS'],$result['agent_name'],$montant,$result['currency_code']),$data);
|
||||
}catch (Exception $e){
|
||||
|
|
Loading…
Reference in New Issue