1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2025-01-29 18:52:22 +01:00

[bug] invalid translation keys in closing accounting period interface

This commit is contained in:
Sylvain 2020-03-24 16:59:36 +01:00
parent 226fba0b3b
commit 85ab715b89
2 changed files with 3 additions and 2 deletions

View File

@ -6,6 +6,7 @@
- Updated angular-translate
- Updated eslint
- Renamed production documentation
- Fix a bug: invalid translation keys in closing accounting period interface
- Fix a bug: since PostgreSQL release 9.6.17, the new installations will fail to start complaining for missing password (#194)
- Fix a security issue: updated mkdirp to fix [CVE-2020-7598](https://nvd.nist.gov/vuln/detail/CVE-2020-7598)
- Fix a security issue: updated acorn to fix [CVE-2020-7598](https://nvd.nist.gov/vuln/detail/CVE-2020-7598)

View File

@ -981,7 +981,7 @@ Application.Controllers.controller('ClosePeriodModalController', ['$scope', '$ui
title: _t('app.admin.invoices.confirmation_required'),
msg: $sce.trustAsHtml(
_t(
'invoices.confirm_close_START_END',
'app.admin.invoices.confirm_close_START_END',
{ START: moment.utc($scope.period.start_at).format('LL'), END: moment.utc($scope.period.end_at).format('LL') }
)
+ '<br/><br/><strong>'
@ -1005,7 +1005,7 @@ Application.Controllers.controller('ClosePeriodModalController', ['$scope', '$ui
function (resp) {
$scope.pendingCreation = false;
growl.success(_t(
'invoices.period_START_END_closed_success',
'app.admin.invoices.period_START_END_closed_success',
{ START: moment.utc(resp.start_at).format('LL'), END: moment.utc(resp.end_at).format('LL') }
));
$uibModalInstance.close(resp);