Compare commits

..
2 Commits
Author SHA1 Message Date
tanshu 86722e3558 Version Bump v12.1.8 2025-05-27 13:58:48 +00:00
tanshu 2ca94e5bea Add tax was not working 2025-05-27 13:57:46 +00:00
7 changed files with 9 additions and 6 deletions
+1 -1
View File
@@ -2,7 +2,7 @@ HOST=0.0.0.0
PORT=80 PORT=80
LOG_LEVEL=WARN LOG_LEVEL=WARN
DEBUG=false DEBUG=false
SQLALCHEMY_DATABASE_URI=postgresql://postgres:123456@db:5432/petty{{ name }} SQLALCHEMY_DATABASE_URI=postgresql+psycopg://postgres:123456@db:5432/petty{{ name }}
MODULE_NAME=barker.main MODULE_NAME=barker.main
PROJECT_NAME=barker PROJECT_NAME=barker
MAX_WORKERS=4 MAX_WORKERS=4
+1 -1
View File
@@ -1 +1 @@
__version__ = "12.1.7" __version__ = "12.1.8"
+1 -1
View File
@@ -1,6 +1,6 @@
[tool.poetry] [tool.poetry]
name = "barker" name = "barker"
version = "12.1.7" version = "12.1.8"
description = "Point of Sale for a restaurant" description = "Point of Sale for a restaurant"
authors = ["tanshu <git@tanshu.com>"] authors = ["tanshu <git@tanshu.com>"]
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "bookie", "name": "bookie",
"version": "12.1.7", "version": "12.1.8",
"scripts": { "scripts": {
"ng": "ng", "ng": "ng",
"start": "ng serve", "start": "ng serve",
+1 -1
View File
@@ -1,7 +1,7 @@
export const environment = { export const environment = {
production: true, production: true,
ACCESS_TOKEN_REFRESH_MINUTES: 10, // refresh token 10 minutes before expiry ACCESS_TOKEN_REFRESH_MINUTES: 10, // refresh token 10 minutes before expiry
version: '12.1.7', version: '12.1.8',
}; };
export const dateFormat = { export const dateFormat = {
@@ -122,6 +122,9 @@ export class TaxDetailComponent implements OnInit, AfterViewInit {
const formModel = this.form.value; const formModel = this.form.value;
this.item.name = formModel.name ?? ''; this.item.name = formModel.name ?? '';
this.item.rate = round((formModel.rate ?? 0) / 100, 5); this.item.rate = round((formModel.rate ?? 0) / 100, 5);
if (this.item.regime === null || this.item.regime === undefined) {
this.item.regime = new Regime();
}
this.item.regime.id = formModel.regime; this.item.regime.id = formModel.regime;
return this.item; return this.item;
} }
+1 -1
View File
@@ -1,6 +1,6 @@
[tool.poetry] [tool.poetry]
name = "frank" name = "frank"
version = "12.1.7" version = "12.1.8"
description = "Point of Sale for a restaurant" description = "Point of Sale for a restaurant"
authors = ["tanshu <git@tanshu.com>"] authors = ["tanshu <git@tanshu.com>"]