Compare commits

..
3 Commits
12 changed files with 10 additions and 20 deletions
+1 -1
View File
@@ -1 +1 @@
__version__ = "11.1.6" __version__ = "11.1.7"
+1 -1
View File
@@ -1,6 +1,6 @@
[tool.poetry] [tool.poetry]
name = "brewman" name = "brewman"
version = "11.1.6" version = "11.1.7"
description = "Accounting plus inventory management for a restaurant." description = "Accounting plus inventory management for a restaurant."
authors = ["tanshu <git@tanshu.com>"] authors = ["tanshu <git@tanshu.com>"]
+1 -1
View File
@@ -32,5 +32,5 @@ else
echo "No version bump" echo "No version bump"
fi fi
cd "$parent_path/docker" || exit cd "$parent_path/docker" || exit
docker save brewman:latest | bzip2 | pv | ssh beacon 'bunzip2 | sudo docker load' docker save brewman:latest | bzip2 | pv | ssh gondor 'bunzip2 | sudo docker load'
ansible-playbook --inventory hosts playbook.yml ansible-playbook --inventory hosts playbook.yml
-2
View File
@@ -1,7 +1,5 @@
--- ---
name: acc name: acc
# host_directory: "brewman-{{ name }}"
# db_name: "brewman_{{ name }}"
http_host: "acc.hopsngrains.com" http_host: "acc.hopsngrains.com"
http_conf: "acc.hopsngrains.com.conf" http_conf: "acc.hopsngrains.com.conf"
-2
View File
@@ -1,7 +1,5 @@
--- ---
name: exp name: exp
# host_directory: "brewman-{{ name }}"
# db_name: "brewman_{{ name }}"
http_host: "exp.tanshu.com" http_host: "exp.tanshu.com"
http_conf: "exp.tanshu.com.conf" http_conf: "exp.tanshu.com.conf"
-2
View File
@@ -1,7 +1,5 @@
--- ---
name: hinchco name: hinchco
# host_directory: "brewman-{{ name }}"
# db_name: "brewman_{{ name }}"
http_host: "acc.hinchco.in" http_host: "acc.hinchco.in"
http_conf: "acc.hinchco.in.conf" http_conf: "acc.hinchco.in.conf"
-2
View File
@@ -1,7 +1,5 @@
--- ---
name: hops name: hops
# host_directory: "brewman-{{ name }}"
# db_name: "brewman_{{ name }}"
http_host: "hops.hopsngrains.com" http_host: "hops.hopsngrains.com"
http_conf: "hops.hopsngrains.com.conf" http_conf: "hops.hopsngrains.com.conf"
-2
View File
@@ -1,7 +1,5 @@
--- ---
name: mhl name: mhl
# host_directory: "brewman-{{ name }}"
# db_name: "brewman_{{ name }}"
http_host: "mhl.hopsngrains.com" http_host: "mhl.hopsngrains.com"
http_conf: "mhl.hopsngrains.com.conf" http_conf: "mhl.hopsngrains.com.conf"
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "overlord", "name": "overlord",
"version": "11.1.6", "version": "11.1.7",
"scripts": { "scripts": {
"ng": "ng", "ng": "ng",
"start": "ng serve", "start": "ng serve",
+4 -4
View File
@@ -193,10 +193,10 @@ export class IssueComponent implements OnInit, AfterViewInit, OnDestroy {
this.voucher.inventories.push( this.voucher.inventories.push(
new Inventory({ new Inventory({
quantity, quantity,
rate: this.batch.rate, rate: +this.batch.rate,
tax: this.batch.tax, tax: +this.batch.tax,
discount: this.batch.discount, discount: +this.batch.discount,
amount: quantity * this.batch.rate * (1 + this.batch.tax) * (1 - this.batch.discount), amount: quantity * +this.batch.rate * (1 + +this.batch.tax) * (1 - +this.batch.discount),
batch: this.batch, batch: this.batch,
}), }),
); );
@@ -2,5 +2,5 @@ export const environment = {
production: true, production: true,
// eslint-disable-next-line @typescript-eslint/naming-convention // eslint-disable-next-line @typescript-eslint/naming-convention
ACCESS_TOKEN_REFRESH_MINUTES: 10, // refresh token 10 minutes before expiry ACCESS_TOKEN_REFRESH_MINUTES: 10, // refresh token 10 minutes before expiry
version: '11.1.6', version: '11.1.7',
}; };
+1 -1
View File
@@ -6,7 +6,7 @@ export const environment = {
production: false, production: false,
// eslint-disable-next-line @typescript-eslint/naming-convention // eslint-disable-next-line @typescript-eslint/naming-convention
ACCESS_TOKEN_REFRESH_MINUTES: 10, // refresh token 10 minutes before expiry ACCESS_TOKEN_REFRESH_MINUTES: 10, // refresh token 10 minutes before expiry
version: '11.1.6', version: '11.1.7',
}; };
/* /*