feat: add pos name and pos number at report reconciliation
parent
d911f80ff9
commit
411458fe4c
|
@ -120,6 +120,27 @@ export default <ReportConfigEntity>{
|
|||
type: DATA_TYPE.MEASURE,
|
||||
format: DATA_FORMAT.CURRENCY,
|
||||
},
|
||||
{
|
||||
column: 'main__total_cash',
|
||||
query: `CASE WHEN main.payment_type ='cash' and main.reconciliation_status ='confirmed' THEN main.payment_total ELSE 0 END`,
|
||||
label: 'Total Tunai',
|
||||
type: DATA_TYPE.MEASURE,
|
||||
format: DATA_FORMAT.CURRENCY,
|
||||
},
|
||||
{
|
||||
column: 'main__total_transaction_bank',
|
||||
query: `CASE WHEN main.payment_type !='cash' and main.reconciliation_status ='confirmed' THEN main.payment_total ELSE 0 END`,
|
||||
label: 'Total Transaksi Bank',
|
||||
type: DATA_TYPE.MEASURE,
|
||||
format: DATA_FORMAT.CURRENCY,
|
||||
},
|
||||
{
|
||||
column: 'main__total_outstanding',
|
||||
query: `CASE WHEN main.payment_type !='cash' and main.reconciliation_status ='pending' THEN main.payment_total ELSE 0 END`,
|
||||
label: 'Total Outstanding',
|
||||
type: DATA_TYPE.MEASURE,
|
||||
format: DATA_FORMAT.CURRENCY,
|
||||
},
|
||||
{
|
||||
column: 'cashier',
|
||||
query: `CASE WHEN main.type = 'counter' THEN main.creator_name END`,
|
||||
|
|
|
@ -19,7 +19,6 @@ export const TransactionReportConfig: ReportConfigEntity[] = [
|
|||
IncomeReportPerItemMaster,
|
||||
CancelReport,
|
||||
GivingDiscount,
|
||||
|
||||
BookingReport,
|
||||
RefundsReport,
|
||||
CashierLogReport,
|
||||
|
|
Loading…
Reference in New Issue