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