Compare commits
No commits in common. "91370940d7836e2026e76d21be211c0e75574049" and "b16edb73e31cce3001bfaeac522b373e9e8c6f12" have entirely different histories.
91370940d7
...
b16edb73e3
|
@ -26,9 +26,6 @@ export default <ReportConfigEntity>{
|
|||
values: [PosLogType.cash_witdrawal],
|
||||
},
|
||||
],
|
||||
whereCondition(filterModel) {
|
||||
return [`main.created_at is not null`];
|
||||
},
|
||||
column_configs: [
|
||||
{
|
||||
column: 'main__date',
|
||||
|
@ -108,4 +105,7 @@ export default <ReportConfigEntity>{
|
|||
filter_type: FILTER_TYPE.NUMBER_EQUAL,
|
||||
},
|
||||
],
|
||||
whereCondition(filterModel) {
|
||||
return [`main.created_at is not null`];
|
||||
},
|
||||
};
|
||||
|
|
|
@ -26,9 +26,6 @@ export default <ReportConfigEntity>{
|
|||
values: [PosLogType.login, PosLogType.logout],
|
||||
},
|
||||
],
|
||||
whereCondition(filterModel) {
|
||||
return [`main.creator_name is not null`];
|
||||
},
|
||||
column_configs: [
|
||||
{
|
||||
column: 'main__date',
|
||||
|
|
|
@ -37,11 +37,6 @@ export default <ReportConfigEntity>{
|
|||
values: [false],
|
||||
},
|
||||
],
|
||||
whereCondition(filterModel) {
|
||||
return [
|
||||
`main.discount_percentage is not null or main.discount_value is not null`,
|
||||
];
|
||||
},
|
||||
defaultOrderBy: [],
|
||||
lowLevelOrderBy: [],
|
||||
filter_period_config: {
|
||||
|
@ -78,8 +73,8 @@ export default <ReportConfigEntity>{
|
|||
format: DATA_FORMAT.TEXT,
|
||||
},
|
||||
{
|
||||
column: 'main__payment_sub_total',
|
||||
query: 'main.payment_sub_total',
|
||||
column: 'main__payment_total_profit',
|
||||
query: 'main.payment_total_profit',
|
||||
label: 'Total Transaksi',
|
||||
type: DATA_TYPE.MEASURE,
|
||||
format: DATA_FORMAT.CURRENCY,
|
||||
|
|
Loading…
Reference in New Issue