Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| bf363c220c | |||
| 7aeee662c0 |
@ -1 +1 @@
|
||||
__version__ = "11.3.3"
|
||||
__version__ = "11.4.0"
|
||||
|
||||
@ -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>"]
|
||||
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "overlord",
|
||||
"version": "11.3.3",
|
||||
"version": "11.4.0",
|
||||
"scripts": {
|
||||
"ng": "ng",
|
||||
"start": "ng serve",
|
||||
|
||||
@ -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);
|
||||
}
|
||||
|
||||
@ -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',
|
||||
};
|
||||
|
||||
@ -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',
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user