aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces.ts
diff options
context:
space:
mode:
authorMikunoNaka <bokuwakanojogahoshii@yahoo.com>2021-08-08 18:10:50 +0530
committerMikunoNaka <bokuwakanojogahoshii@yahoo.com>2021-08-08 18:10:50 +0530
commit04ef09bba76f8ce3572120c19a3070c45a4af86c (patch)
tree3f82eef0b9e367a094e8a8e8bffe8842335a6399 /src/interfaces.ts
parent8c906c98b2a2994286731357831ca8005ef0d73f (diff)
added support for Item Brand and Category
Diffstat (limited to 'src/interfaces.ts')
-rw-r--r--src/interfaces.ts6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/interfaces.ts b/src/interfaces.ts
index b2f354c..8363752 100644
--- a/src/interfaces.ts
+++ b/src/interfaces.ts
@@ -21,7 +21,8 @@ export interface Item {
CGST: number | boolean
IGST: number | boolean
TotalGSTValue: number // total tax
- // category and brand
+ Brand: string
+ Category: string
}
// for registering new item to DB
@@ -31,7 +32,8 @@ export interface NewItem {
UnitPrice: number // price without tax/discount
HSN: string
TotalGST: number // gst percentage
- // category and brand
+ Brand: string
+ Category: string
}
export interface Address {