+ Fix bugs
This commit is contained in:
parent
69b294c8c7
commit
93b5c34821
|
@ -366,7 +366,7 @@ class NanoCreditController extends Controller
|
||||||
}));
|
}));
|
||||||
|
|
||||||
$mois = array_map(function ($palier) {
|
$mois = array_map(function ($palier) {
|
||||||
return $palier->duree_mois;
|
return ['value' => $palier->duree_mois];
|
||||||
}, $paliers);
|
}, $paliers);
|
||||||
|
|
||||||
return $this->successResponse($mois);
|
return $this->successResponse($mois);
|
||||||
|
|
|
@ -367,11 +367,11 @@ class UserGroupController extends Controller
|
||||||
$data->screen = "demandeValidationGroupe";
|
$data->screen = "demandeValidationGroupe";
|
||||||
$message_id = 'notifications.group_validation_request';
|
$message_id = 'notifications.group_validation_request';
|
||||||
} else if ($type == 'suppression') {
|
} else if ($type == 'suppression') {
|
||||||
$data->screen = "demandeSuppressionGroupe";
|
$data->screen = "demandeValidationGroupe"; //"demandeSuppressionGroupe";
|
||||||
$message_id = 'notifications.group_deleting_request';
|
$message_id = 'notifications.group_deleting_request';
|
||||||
} else if ($type == 'adhesion') {
|
} else if ($type == 'adhesion') {
|
||||||
$demande->id_user = $sender->id;
|
$demande->id_user = $sender->id;
|
||||||
$data->screen = "demandJoinGroup";
|
$data->screen = "demandeValidationGroupe"; //"demandJoinGroup";
|
||||||
$message_id = 'notifications.group_membership_request';
|
$message_id = 'notifications.group_membership_request';
|
||||||
} else {
|
} else {
|
||||||
$data->screen = "notificationview";
|
$data->screen = "notificationview";
|
||||||
|
|
Loading…
Reference in New Issue