mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2025-01-18 07:52:23 +01:00
[bug] ignored coupon when booking an event with card payment
This commit is contained in:
parent
f5126084b9
commit
33e45fd536
@ -6,6 +6,7 @@
|
||||
- Fix a bug: can't see the dates for the next booked training session, when the user is reserving a machine without the appropriate training
|
||||
- Fix a bug: invalid link to the user's manual
|
||||
- Fix a bug: unable to sync coupons on stripe
|
||||
- Fix a bug: ignored coupon when booking an event with card payment
|
||||
|
||||
## v5.0.4 2021 June 15
|
||||
|
||||
|
@ -715,7 +715,7 @@ Application.Controllers.controller('ShowEventController', ['$scope', '$state', '
|
||||
growl.error(_t('app.shared.cart.online_payment_disabled'));
|
||||
} else {
|
||||
$scope.toggleOnlinePaymentModal(() => {
|
||||
$scope.onlinePayment.cartItems = mkCartItems(reservation, 'card');
|
||||
$scope.onlinePayment.cartItems = mkCartItems(reservation, $scope.coupon.applied, 'card');
|
||||
});
|
||||
}
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user