aboutsummaryrefslogtreecommitdiff
path: root/src/classes
diff options
context:
space:
mode:
authorVidhu Kant Sharma <vidhukant@vidhukant.xyz>2022-10-05 22:16:53 +0530
committerVidhu Kant Sharma <vidhukant@vidhukant.xyz>2022-10-05 22:16:53 +0530
commita1534066073f3197623565d597e5126a5c01bff9 (patch)
tree01eef2bee4a4b9f01ac60b36949aa7624dbfd54c /src/classes
parent94b86f4c333f1991c2d09c8ce02beaedf5abc721 (diff)
added client picker
Diffstat (limited to 'src/classes')
-rw-r--r--src/classes/client.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/classes/client.js b/src/classes/client.js
index 842c5e5..d05655d 100644
--- a/src/classes/client.js
+++ b/src/classes/client.js
@@ -47,6 +47,13 @@ export class Client {
}
}
+export class InvoiceClient extends Client {
+ constructor() {
+ super();
+ this.ShipTo = new Address();
+ }
+}
+
export const saveClient = (item, ok, fail) => {
axios.post("/client/new", item)
.then(res => ok(res))