Compare commits
No commits in common. "2f9c96bdec2ef7e8b07910541f6f7511e795ad59" and "000c3f1800d26c73a68771084db6a60fbe227f0c" have entirely different histories.
2f9c96bdec
...
000c3f1800
|
@ -1,6 +1,4 @@
|
||||||
import { ReportConfigEntity } from '../../entities/report-config.entity';
|
import { ReportConfigEntity } from '../../entities/report-config.entity';
|
||||||
import SampleReport from './configs/sample.report';
|
import SampleReport from './configs/sample.report';
|
||||||
|
|
||||||
export const TenantReportConfig: ReportConfigEntity[] = [
|
export const TenantReportConfig: ReportConfigEntity[] = [SampleReport];
|
||||||
// SampleReport
|
|
||||||
];
|
|
||||||
|
|
|
@ -1,13 +1,5 @@
|
||||||
import { TransactionType } from 'src/modules/transaction/transaction/constants';
|
import { DATA_FORMAT, DATA_TYPE, REPORT_GROUP } from '../../../constant';
|
||||||
import {
|
|
||||||
DATA_FORMAT,
|
|
||||||
DATA_TYPE,
|
|
||||||
FILTER_FIELD_TYPE,
|
|
||||||
FILTER_TYPE,
|
|
||||||
REPORT_GROUP,
|
|
||||||
} from '../../../constant';
|
|
||||||
import { ReportConfigEntity } from '../../../entities/report-config.entity';
|
import { ReportConfigEntity } from '../../../entities/report-config.entity';
|
||||||
import { STATUS } from 'src/core/strings/constants/base.constants';
|
|
||||||
|
|
||||||
export default <ReportConfigEntity>{
|
export default <ReportConfigEntity>{
|
||||||
group_name: REPORT_GROUP.transaction_report,
|
group_name: REPORT_GROUP.transaction_report,
|
||||||
|
@ -164,30 +156,5 @@ export default <ReportConfigEntity>{
|
||||||
format: DATA_FORMAT.DATE_EPOCH,
|
format: DATA_FORMAT.DATE_EPOCH,
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
filter_configs: [
|
filter_configs: [],
|
||||||
{
|
|
||||||
filed_label: 'Status',
|
|
||||||
filter_column: 'main__status',
|
|
||||||
field_type: FILTER_FIELD_TYPE.select,
|
|
||||||
filter_type: FILTER_TYPE.TEXT_IN_MEMBER,
|
|
||||||
select_custom_options: [
|
|
||||||
STATUS.DRAFT,
|
|
||||||
STATUS.WAITING,
|
|
||||||
STATUS.PENDING,
|
|
||||||
STATUS.SETTLED,
|
|
||||||
STATUS.REJECTED,
|
|
||||||
],
|
|
||||||
},
|
|
||||||
{
|
|
||||||
filed_label: 'Sumber',
|
|
||||||
filter_column: 'main__type',
|
|
||||||
field_type: FILTER_FIELD_TYPE.select,
|
|
||||||
filter_type: FILTER_TYPE.TEXT_IN_MEMBER,
|
|
||||||
select_custom_options: [
|
|
||||||
TransactionType.ADMIN,
|
|
||||||
TransactionType.COUNTER,
|
|
||||||
TransactionType.ONLINE,
|
|
||||||
],
|
|
||||||
},
|
|
||||||
],
|
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,11 +1,4 @@
|
||||||
import { STATUS } from 'src/core/strings/constants/base.constants';
|
import { DATA_FORMAT, DATA_TYPE, REPORT_GROUP } from '../../../constant';
|
||||||
import {
|
|
||||||
DATA_FORMAT,
|
|
||||||
DATA_TYPE,
|
|
||||||
FILTER_FIELD_TYPE,
|
|
||||||
FILTER_TYPE,
|
|
||||||
REPORT_GROUP,
|
|
||||||
} from '../../../constant';
|
|
||||||
import { ReportConfigEntity } from '../../../entities/report-config.entity';
|
import { ReportConfigEntity } from '../../../entities/report-config.entity';
|
||||||
|
|
||||||
export default <ReportConfigEntity>{
|
export default <ReportConfigEntity>{
|
||||||
|
@ -138,19 +131,5 @@ export default <ReportConfigEntity>{
|
||||||
format: DATA_FORMAT.DATE_EPOCH,
|
format: DATA_FORMAT.DATE_EPOCH,
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
filter_configs: [
|
filter_configs: [],
|
||||||
{
|
|
||||||
filed_label: 'Status',
|
|
||||||
filter_column: 'main__status',
|
|
||||||
field_type: FILTER_FIELD_TYPE.select,
|
|
||||||
filter_type: FILTER_TYPE.TEXT_IN_MEMBER,
|
|
||||||
select_custom_options: [
|
|
||||||
STATUS.DRAFT,
|
|
||||||
STATUS.WAITING,
|
|
||||||
STATUS.PENDING,
|
|
||||||
STATUS.SETTLED,
|
|
||||||
STATUS.REJECTED,
|
|
||||||
],
|
|
||||||
},
|
|
||||||
],
|
|
||||||
};
|
};
|
||||||
|
|
|
@ -11,13 +11,13 @@ import CashierLogReport from './configs/cashier-log';
|
||||||
import CashWithdrawalsReport from './configs/cash-withdrawals';
|
import CashWithdrawalsReport from './configs/cash-withdrawals';
|
||||||
|
|
||||||
export const TransactionReportConfig: ReportConfigEntity[] = [
|
export const TransactionReportConfig: ReportConfigEntity[] = [
|
||||||
// IncomeReport,
|
IncomeReport,
|
||||||
// RevenuePerItemReport,
|
RevenuePerItemReport,
|
||||||
// SalesQtyPerItemReport,
|
SalesQtyPerItemReport,
|
||||||
// VisitorsPerRideReport,
|
VisitorsPerRideReport,
|
||||||
// TimePerRideReport,
|
TimePerRideReport,
|
||||||
BookingReport,
|
BookingReport,
|
||||||
RefundsReport,
|
RefundsReport,
|
||||||
// CashierLogReport,
|
CashierLogReport,
|
||||||
// CashWithdrawalsReport,
|
CashWithdrawalsReport,
|
||||||
];
|
];
|
||||||
|
|
Loading…
Reference in New Issue