diff options
author | Vidhu Kant Sharma <vidhukant@vidhukant.com> | 2023-12-02 15:47:19 +0530 |
---|---|---|
committer | Vidhu Kant Sharma <vidhukant@vidhukant.com> | 2023-12-02 15:47:19 +0530 |
commit | dc2ed72c3db40684f76acf9b5e71597d6da8fbbd (patch) | |
tree | 0f2a6f25f5dfd001a2c16358cdf43f66ce25bee7 /invoice/invoice.go | |
parent | 48845b9e703756471a98f8b1f1edaa2313763df4 (diff) |
add customer contact info to invoicev0.0.14
Diffstat (limited to 'invoice/invoice.go')
-rw-r--r-- | invoice/invoice.go | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/invoice/invoice.go b/invoice/invoice.go index e2b8f7c..55552ec 100644 --- a/invoice/invoice.go +++ b/invoice/invoice.go @@ -64,8 +64,19 @@ type Invoice struct { IsDraft bool Items []InvoiceItem + // the customer fields are hard coded for: + // 1. simplicity and + // 2. don't wanna update details for all the + // invoices if one customer's details are updated + // NOTE: These fields aren't getting validated (as of now, at least) + CustomerName string + CustomerGstin string + CustomerContactName string + CustomerPhone string + CustomerEmail string + CustomerWebsite string + // Transporter Transporter // DueDate string // TransactionID string - // Client idk } |