lots of fixes to sorting and adding dates on checks.
This commit is contained in:
@@ -74,10 +74,11 @@
|
||||
|
||||
|
||||
[[:cell {:colspan 6 :leading 50} [:spacer]]
|
||||
[:cell {:colspan 6 :rowspan 2} (when (:signature-file company)
|
||||
[:cell {:colspan 6 :rowspan 2} (if (:signature-file company)
|
||||
[:image { :top-margin 90 :xscale 0.30 :yscale 0.30 :align :center}
|
||||
|
||||
(:signature-file company)])]]
|
||||
(:signature-file company)]
|
||||
[:spacer])]]
|
||||
|
||||
[[:cell {:size 9 } "MEMO"]
|
||||
[:cell {:colspan 5} memo [:line {:line-width 0.15 :color [50 50 50]}]]
|
||||
@@ -193,6 +194,7 @@
|
||||
:memo memo
|
||||
:vendor-id (:id vendor)
|
||||
:company-id (:id company)
|
||||
:date (time/now)
|
||||
:pdf-data {:vendor vendor
|
||||
:paid-to (:name vendor)
|
||||
:amount (reduce + 0 (map (comp invoice-amounts :id) invoices))
|
||||
|
||||
Reference in New Issue
Block a user