aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces.ts
diff options
context:
space:
mode:
authorMikunoNaka <bokuwakanojogahoshii@yahoo.com>2021-06-24 15:53:42 +0530
committerMikunoNaka <bokuwakanojogahoshii@yahoo.com>2021-06-24 15:53:42 +0530
commit5329b1fd16d0b8940f9526b523676dfb1cdbf317 (patch)
treed65963f6a797e72c2fae8332568bddc00d2293a9 /src/interfaces.ts
parente21a1c15a2e4bf3e51cdd7a5671bbfee5837ef13 (diff)
switching to typescript
Diffstat (limited to 'src/interfaces.ts')
-rw-r--r--src/interfaces.ts21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/interfaces.ts b/src/interfaces.ts
new file mode 100644
index 0000000..7090907
--- /dev/null
+++ b/src/interfaces.ts
@@ -0,0 +1,21 @@
+export interface Transport {
+ 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??
+
+ sgst: number,
+ cgst: number,
+ igst: number
+}