Add invoice_total
column for purchase credits grid
that probably isn't quite right, but at least is something
This commit is contained in:
parent
440a88aa0f
commit
b66af5903b
|
@ -58,6 +58,7 @@ class PurchaseCreditView(MasterView):
|
||||||
'size',
|
'size',
|
||||||
'cases_shorted',
|
'cases_shorted',
|
||||||
'units_shorted',
|
'units_shorted',
|
||||||
|
'invoice_total',
|
||||||
'credit_type',
|
'credit_type',
|
||||||
'mispick_upc',
|
'mispick_upc',
|
||||||
'date_received',
|
'date_received',
|
||||||
|
@ -82,6 +83,7 @@ class PurchaseCreditView(MasterView):
|
||||||
# g.set_type('upc', 'gpc')
|
# g.set_type('upc', 'gpc')
|
||||||
g.set_type('cases_shorted', 'quantity')
|
g.set_type('cases_shorted', 'quantity')
|
||||||
g.set_type('units_shorted', 'quantity')
|
g.set_type('units_shorted', 'quantity')
|
||||||
|
g.set_type('invoice_total', 'currency')
|
||||||
|
|
||||||
g.set_label('invoice_number', "Invoice No.")
|
g.set_label('invoice_number', "Invoice No.")
|
||||||
g.set_label('upc', "UPC")
|
g.set_label('upc', "UPC")
|
||||||
|
|
Loading…
Reference in a new issue