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 = {
|
||||
'terminal_id': "Terminal ID",
|
||||
'fs_tender_total': "FS Tender Total",
|
||||
}
|
||||
|
||||
grid_columns = [
|
||||
|
@ -74,6 +75,7 @@ class POSBatchView(BatchMasterView):
|
|||
'sales_total',
|
||||
'taxes',
|
||||
'tender_total',
|
||||
'fs_tender_total',
|
||||
'balance',
|
||||
'void',
|
||||
'training_mode',
|
||||
|
@ -152,6 +154,7 @@ class POSBatchView(BatchMasterView):
|
|||
|
||||
g.set_type('sales_total', 'currency')
|
||||
g.set_type('tender_total', 'currency')
|
||||
g.set_type('fs_tender_total', 'currency')
|
||||
|
||||
# executed
|
||||
# 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('tender_total', 'currency')
|
||||
f.set_type('tender_total', 'currency')
|
||||
f.set_type('fs_tender_total', 'currency')
|
||||
|
||||
if self.viewing:
|
||||
f.set_renderer('taxes', self.render_taxes)
|
||||
|
|
|
@ -40,6 +40,7 @@ class TenderView(MasterView):
|
|||
'code',
|
||||
'name',
|
||||
'is_cash',
|
||||
'is_foodstamp',
|
||||
'allow_cash_back',
|
||||
'kick_drawer',
|
||||
]
|
||||
|
@ -48,6 +49,7 @@ class TenderView(MasterView):
|
|||
'code',
|
||||
'name',
|
||||
'is_cash',
|
||||
'is_foodstamp',
|
||||
'allow_cash_back',
|
||||
'kick_drawer',
|
||||
'notes',
|
||||
|
|
Loading…
Reference in a new issue