2 Commits

6 changed files with 11 additions and 7 deletions

View File

@ -1 +1 @@
__version__ = "11.3.3"
__version__ = "11.4.0"

View File

@ -1,6 +1,6 @@
[tool.poetry]
name = "brewman"
version = "11.3.3"
version = "11.4.0"
description = "Accounting plus inventory management for a restaurant."
authors = ["tanshu <git@tanshu.com>"]

View File

@ -1,6 +1,6 @@
{
"name": "overlord",
"version": "11.3.3",
"version": "11.4.0",
"scripts": {
"ng": "ng",
"start": "ng serve",

View File

@ -104,13 +104,13 @@ export class SettingsComponent implements OnInit {
};
this.accountTypes = data.accountTypes;
this.voucherTypes = data.voucherTypes;
this.initLockAccountVoucherTypes();
this.showLockInformation(data.lockInformation);
this.maintenance = data.maintenance;
});
}
showLockInformation(info: LockInfo[]) {
this.lockInformation = info;
initLockAccountVoucherTypes() {
this.lockInfoForm.controls.accountTypes.clear();
this.accountTypes.forEach(() =>
this.lockInfoForm.controls.accountTypes.push(
@ -127,6 +127,10 @@ export class SettingsComponent implements OnInit {
}),
),
);
}
showLockInformation(info: LockInfo[]) {
this.lockInformation = info;
this.dataSource = new LockDataSource(this.lockObservable);
this.lockObservable.next(this.lockInformation);
}

View File

@ -2,6 +2,6 @@ export const environment = {
production: true,
// eslint-disable-next-line @typescript-eslint/naming-convention
ACCESS_TOKEN_REFRESH_MINUTES: 10, // refresh token 10 minutes before expiry
version: '11.3.3',
version: '11.4.0',
title: 'HnG / TGB',
};

View File

@ -6,7 +6,7 @@ export const environment = {
production: false,
// eslint-disable-next-line @typescript-eslint/naming-convention
ACCESS_TOKEN_REFRESH_MINUTES: 10, // refresh token 10 minutes before expiry
version: '11.3.3',
version: '11.4.0',
title: 'HnG / TGB',
};