mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2025-01-22 11:52:21 +01:00
Merge branch 'family_compte_pre_inscription' into staging
This commit is contained in:
commit
881452dcd7
@ -459,6 +459,12 @@ Application.Controllers.controller('ShowEventController', ['$scope', '$state', '
|
|||||||
$scope.reservations[index].slots_reservations_attributes[0].canceled_at = new Date();
|
$scope.reservations[index].slots_reservations_attributes[0].canceled_at = new Date();
|
||||||
Event.get({ id: $scope.event.id }).$promise.then(function (event) {
|
Event.get({ id: $scope.event.id }).$promise.then(function (event) {
|
||||||
$scope.event = event;
|
$scope.event = event;
|
||||||
|
getReservations($scope.event.id, 'Event', $scope.ctrl.member.id).then(function () {
|
||||||
|
updateNbReservePlaces();
|
||||||
|
$scope.reserveSuccess = true;
|
||||||
|
$scope.coupon.applied = null;
|
||||||
|
});
|
||||||
|
resetEventReserve();
|
||||||
});
|
});
|
||||||
}, function(error) {
|
}, function(error) {
|
||||||
growl.warning(_t('app.public.events_show.cancellation_failed'));
|
growl.warning(_t('app.public.events_show.cancellation_failed'));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user