diff options
author | Vidhu Kant Sharma <vidhukant@vidhukant.xyz> | 2022-10-05 22:16:53 +0530 |
---|---|---|
committer | Vidhu Kant Sharma <vidhukant@vidhukant.xyz> | 2022-10-05 22:16:53 +0530 |
commit | a1534066073f3197623565d597e5126a5c01bff9 (patch) | |
tree | 01eef2bee4a4b9f01ac60b36949aa7624dbfd54c /src/classes | |
parent | 94b86f4c333f1991c2d09c8ce02beaedf5abc721 (diff) |
added client picker
Diffstat (limited to 'src/classes')
-rw-r--r-- | src/classes/client.js | 7 |
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)) |