1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-11-28 09:24:24 +01:00

Merge branch 'dev' for release 6.3.32

This commit is contained in:
Du Peng 2024-09-04 10:35:07 +02:00
commit 791e188985
3 changed files with 6 additions and 2 deletions

View File

@ -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

View File

@ -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) ||

View File

@ -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",