feat: add pos name and pos number at report reconciliation
parent
e6066b534c
commit
d911f80ff9
|
@ -36,6 +36,20 @@ export default <ReportConfigEntity>{
|
|||
type: DATA_TYPE.DIMENSION,
|
||||
format: DATA_FORMAT.TEXT,
|
||||
},
|
||||
{
|
||||
column: 'main__creator_counter_no',
|
||||
query: 'main.creator_counter_no',
|
||||
label: 'No.PoS',
|
||||
type: DATA_TYPE.DIMENSION,
|
||||
format: DATA_FORMAT.TEXT,
|
||||
},
|
||||
{
|
||||
column: 'main__creator_counter_name',
|
||||
query: 'main.creator_counter_name',
|
||||
label: 'Nama PoS',
|
||||
type: DATA_TYPE.DIMENSION,
|
||||
format: DATA_FORMAT.TEXT,
|
||||
},
|
||||
{
|
||||
column: 'main__payment_date',
|
||||
query: `CASE WHEN main.payment_date is not null THEN to_char(main.payment_date, 'DD-MM-YYYY') ELSE null END`,
|
||||
|
@ -140,6 +154,18 @@ export default <ReportConfigEntity>{
|
|||
filter_type: FILTER_TYPE.TEXT_IN_MEMBER,
|
||||
select_custom_options: [...Object.values(TransactionType)],
|
||||
},
|
||||
{
|
||||
filed_label: 'No. PoS',
|
||||
filter_column: 'main__creator_counter_no',
|
||||
field_type: FILTER_FIELD_TYPE.input_number,
|
||||
filter_type: FILTER_TYPE.NUMBER_EQUAL,
|
||||
},
|
||||
{
|
||||
filed_label: 'Nama PoS',
|
||||
filter_column: 'main__creator_counter_name',
|
||||
field_type: FILTER_FIELD_TYPE.input_tag,
|
||||
filter_type: FILTER_TYPE.TEXT_MULTIPLE_CONTAINS,
|
||||
},
|
||||
{
|
||||
filed_label: 'Tgl. Transaksi',
|
||||
filter_column: 'main__payment_date',
|
||||
|
|
|
@ -5,8 +5,6 @@ import CancelReport from './configs/cancel-transaction';
|
|||
import IncomeReportPerItem from './configs/income-per-item';
|
||||
import IncomeReportPerItemMaster from './configs/income-per-item-master';
|
||||
import GivingDiscount from './configs/giving-discounts';
|
||||
import VisitorsPerRideReport from './configs/visitors-per-ride';
|
||||
import TimePerRideReport from './configs/time-per-ride';
|
||||
import BookingReport from './configs/booking';
|
||||
import RefundsReport from './configs/refunds';
|
||||
import CashierLogReport from './configs/cashier-log';
|
||||
|
@ -21,8 +19,7 @@ export const TransactionReportConfig: ReportConfigEntity[] = [
|
|||
IncomeReportPerItemMaster,
|
||||
CancelReport,
|
||||
GivingDiscount,
|
||||
// VisitorsPerRideReport,
|
||||
// TimePerRideReport,
|
||||
|
||||
BookingReport,
|
||||
RefundsReport,
|
||||
CashierLogReport,
|
||||
|
|
Loading…
Reference in New Issue