Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a0b939ccd7 | ||
|
|
0fc8fac5aa | ||
|
|
220c15b3fa |
@@ -1 +1 @@
|
||||
__version__ = "11.1.6"
|
||||
__version__ = "11.1.7"
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[tool.poetry]
|
||||
name = "brewman"
|
||||
version = "11.1.6"
|
||||
version = "11.1.7"
|
||||
description = "Accounting plus inventory management for a restaurant."
|
||||
authors = ["tanshu <git@tanshu.com>"]
|
||||
|
||||
|
||||
@@ -32,5 +32,5 @@ else
|
||||
echo "No version bump"
|
||||
fi
|
||||
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
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
---
|
||||
name: acc
|
||||
# host_directory: "brewman-{{ name }}"
|
||||
# db_name: "brewman_{{ name }}"
|
||||
|
||||
http_host: "acc.hopsngrains.com"
|
||||
http_conf: "acc.hopsngrains.com.conf"
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
---
|
||||
name: exp
|
||||
# host_directory: "brewman-{{ name }}"
|
||||
# db_name: "brewman_{{ name }}"
|
||||
|
||||
http_host: "exp.tanshu.com"
|
||||
http_conf: "exp.tanshu.com.conf"
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
---
|
||||
name: hinchco
|
||||
# host_directory: "brewman-{{ name }}"
|
||||
# db_name: "brewman_{{ name }}"
|
||||
|
||||
http_host: "acc.hinchco.in"
|
||||
http_conf: "acc.hinchco.in.conf"
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
---
|
||||
name: hops
|
||||
# host_directory: "brewman-{{ name }}"
|
||||
# db_name: "brewman_{{ name }}"
|
||||
|
||||
http_host: "hops.hopsngrains.com"
|
||||
http_conf: "hops.hopsngrains.com.conf"
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
---
|
||||
name: mhl
|
||||
# host_directory: "brewman-{{ name }}"
|
||||
# db_name: "brewman_{{ name }}"
|
||||
|
||||
http_host: "mhl.hopsngrains.com"
|
||||
http_conf: "mhl.hopsngrains.com.conf"
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "overlord",
|
||||
"version": "11.1.6",
|
||||
"version": "11.1.7",
|
||||
"scripts": {
|
||||
"ng": "ng",
|
||||
"start": "ng serve",
|
||||
|
||||
@@ -193,10 +193,10 @@ export class IssueComponent implements OnInit, AfterViewInit, OnDestroy {
|
||||
this.voucher.inventories.push(
|
||||
new Inventory({
|
||||
quantity,
|
||||
rate: this.batch.rate,
|
||||
tax: this.batch.tax,
|
||||
discount: this.batch.discount,
|
||||
amount: quantity * this.batch.rate * (1 + this.batch.tax) * (1 - this.batch.discount),
|
||||
rate: +this.batch.rate,
|
||||
tax: +this.batch.tax,
|
||||
discount: +this.batch.discount,
|
||||
amount: quantity * +this.batch.rate * (1 + +this.batch.tax) * (1 - +this.batch.discount),
|
||||
batch: this.batch,
|
||||
}),
|
||||
);
|
||||
|
||||
@@ -2,5 +2,5 @@ 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.1.6',
|
||||
version: '11.1.7',
|
||||
};
|
||||
|
||||
@@ -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.1.6',
|
||||
version: '11.1.7',
|
||||
};
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user