Show food stamp tender info for POS batch
This commit is contained in:
parent
5e8ea67773
commit
dc99828b66
|
@ -49,6 +49,7 @@ class POSBatchView(BatchMasterView):
|
||||||
|
|
||||||
labels = {
|
labels = {
|
||||||
'terminal_id': "Terminal ID",
|
'terminal_id': "Terminal ID",
|
||||||
|
'fs_tender_total': "FS Tender Total",
|
||||||
}
|
}
|
||||||
|
|
||||||
grid_columns = [
|
grid_columns = [
|
||||||
|
@ -74,6 +75,7 @@ class POSBatchView(BatchMasterView):
|
||||||
'sales_total',
|
'sales_total',
|
||||||
'taxes',
|
'taxes',
|
||||||
'tender_total',
|
'tender_total',
|
||||||
|
'fs_tender_total',
|
||||||
'balance',
|
'balance',
|
||||||
'void',
|
'void',
|
||||||
'training_mode',
|
'training_mode',
|
||||||
|
@ -152,6 +154,7 @@ class POSBatchView(BatchMasterView):
|
||||||
|
|
||||||
g.set_type('sales_total', 'currency')
|
g.set_type('sales_total', 'currency')
|
||||||
g.set_type('tender_total', 'currency')
|
g.set_type('tender_total', 'currency')
|
||||||
|
g.set_type('fs_tender_total', 'currency')
|
||||||
|
|
||||||
# executed
|
# executed
|
||||||
# nb. default view should show "all recent" batches regardless
|
# nb. default view should show "all recent" batches regardless
|
||||||
|
@ -178,7 +181,7 @@ class POSBatchView(BatchMasterView):
|
||||||
|
|
||||||
f.set_type('sales_total', 'currency')
|
f.set_type('sales_total', 'currency')
|
||||||
f.set_type('tender_total', 'currency')
|
f.set_type('tender_total', 'currency')
|
||||||
f.set_type('tender_total', 'currency')
|
f.set_type('fs_tender_total', 'currency')
|
||||||
|
|
||||||
if self.viewing:
|
if self.viewing:
|
||||||
f.set_renderer('taxes', self.render_taxes)
|
f.set_renderer('taxes', self.render_taxes)
|
||||||
|
|
|
@ -40,6 +40,7 @@ class TenderView(MasterView):
|
||||||
'code',
|
'code',
|
||||||
'name',
|
'name',
|
||||||
'is_cash',
|
'is_cash',
|
||||||
|
'is_foodstamp',
|
||||||
'allow_cash_back',
|
'allow_cash_back',
|
||||||
'kick_drawer',
|
'kick_drawer',
|
||||||
]
|
]
|
||||||
|
@ -48,6 +49,7 @@ class TenderView(MasterView):
|
||||||
'code',
|
'code',
|
||||||
'name',
|
'name',
|
||||||
'is_cash',
|
'is_cash',
|
||||||
|
'is_foodstamp',
|
||||||
'allow_cash_back',
|
'allow_cash_back',
|
||||||
'kick_drawer',
|
'kick_drawer',
|
||||||
'notes',
|
'notes',
|
||||||
|
|
Loading…
Reference in a new issue