Skip to content

Commit

Permalink
Merge branch 'dev' for release 6.3.32
Browse files Browse the repository at this point in the history
  • Loading branch information
gnepud committed Sep 4, 2024
2 parents f61b64a + 7281ad3 commit 791e188
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

## Next release

## v6.3.32 2024 July 22

- Fix a bug: manager cannot pay a subscription(payment schedule) with a wallet

## v6.3.31 2024 July 22

- updates translations
Expand Down
2 changes: 1 addition & 1 deletion app/frontend/src/javascript/directives/cart.js
Original file line number Diff line number Diff line change
Expand Up @@ -840,7 +840,7 @@ Application.Directives.directive('cart', ['$rootScope', '$uibModal', 'dialogs',
return Wallet.getWalletByUser({ user_id: $scope.user.id }, function (wallet) {
const amountToPay = helpers.getAmountToPay($scope.amountTotal, wallet.amount);
if ((AuthService.isAuthorized(['member']) && (amountToPay > 0 || (amountToPay === 0 && hasOtherDeadlines()))) ||
($scope.user.id === $rootScope.currentUser.id && amountToPay > 0)) {
(AuthService.isAuthorized(['admin', 'manager']) && $scope.user.id === $rootScope.currentUser.id && (amountToPay > 0 || (amountToPay === 0 && hasOtherDeadlines())))) {
return payOnline(items);
} else {
if ((AuthService.isAuthorized(['admin', 'manager']) && $scope.user.id !== $rootScope.currentUser.id) ||
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "fab-manager",
"version": "6.3.31",
"version": "6.3.32",
"description": "Fab-manager is the FabLab management solution. It provides a comprehensive, web-based, open-source tool to simplify your administrative tasks and your marker's projects.",
"keywords": [
"fablab",
Expand Down

0 comments on commit 791e188

Please # to comment.