From a1534066073f3197623565d597e5126a5c01bff9 Mon Sep 17 00:00:00 2001 From: Vidhu Kant Sharma Date: Wed, 5 Oct 2022 22:16:53 +0530 Subject: added client picker --- src/classes/client.js | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/classes') 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)) -- cgit v1.2.3