now invoices are by vendor and company
This commit is contained in:
@@ -57,10 +57,10 @@
|
||||
[:th "Date"]
|
||||
[:th "Amount"]
|
||||
[:th]]]
|
||||
[:tbody (for [{:keys [vendor potential-duplicate company-id customer-identifier invoice-number date total id] :as i} @invoices]
|
||||
[:tbody (for [{:keys [vendor-id potential-duplicate company-id customer-identifier invoice-number date total id] :as i} @invoices]
|
||||
^{:key (str company-id "-" invoice-number "-" date "-" total "-" id)}
|
||||
[:tr
|
||||
[:td vendor]
|
||||
[:td vendor-id]
|
||||
(if company-id
|
||||
[:td company-id]
|
||||
[:td [:i.icon.fa.fa-warning {:title "potential duplicate"}]
|
||||
|
||||
@@ -23,10 +23,10 @@
|
||||
[:th "Invoice #"]
|
||||
[:th "Date"]
|
||||
[:th "Amount"]]]
|
||||
[:tbody (for [{:keys [company invoice-number date total id vendor] :as i} @invoices]
|
||||
[:tbody (for [{:keys [company invoice-number date total id vendor-id] :as i} @invoices]
|
||||
^{:key (str company "-" invoice-number "-" date "-" total "-" id)}
|
||||
[:tr
|
||||
[:td vendor]
|
||||
[:td vendor-id]
|
||||
[:td company]
|
||||
[:td invoice-number]
|
||||
[:td date]
|
||||
|
||||
Reference in New Issue
Block a user