aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces.ts
diff options
context:
space:
mode:
authorMikunoNaka <bokuwakanojogahoshii@yahoo.com>2021-06-24 20:00:10 +0530
committerMikunoNaka <bokuwakanojogahoshii@yahoo.com>2021-06-24 20:00:10 +0530
commit5d2222d9fa782b94ba6787e5c6b23aab1e468308 (patch)
tree6bfd4a98ae121c3ce109510021ead96e1b2fa0cd /src/interfaces.ts
parent5329b1fd16d0b8940f9526b523676dfb1cdbf317 (diff)
Multiple minor bug fixes and convert more compnents to TS
Diffstat (limited to 'src/interfaces.ts')
-rw-r--r--src/interfaces.ts30
1 files changed, 16 insertions, 14 deletions
diff --git a/src/interfaces.ts b/src/interfaces.ts
index 7090907..bc355ff 100644
--- a/src/interfaces.ts
+++ b/src/interfaces.ts
@@ -1,21 +1,23 @@
export interface Transport {
- name: string,
- vehicleNum: string,
- method: string,
- gstin: string,
+ name: string
+ vehicleNum: string
+ method: string
+ gstin: string
builty: string
}
export interface Item {
- Model: string,
- Description: string,
- Quantity: number,
- UnitPrice: number,
- TotalValue: number, // UnitPrice * Quantity
- Discount: number,
- HSN: number, // string??
+ Model: string
+ Description: string
+ Quantity: number
+ UnitPrice: number
+ TotalValue: number // UnitPrice * Quantity
+ Discount: number
+ HSN: number // string??
- sgst: number,
- cgst: number,
- igst: number
+ TotalGST: number
+ SGST: number
+ CGST: number
+ IGST: number
+ // category and brand
}