aboutsummaryrefslogtreecommitdiff
path: root/src/classes
diff options
context:
space:
mode:
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))