feat: remove unused report
parent
64d812bef1
commit
d6fc817cef
|
@ -1,40 +0,0 @@
|
||||||
import { DATA_FORMAT, DATA_TYPE, REPORT_GROUP } from '../../../constant';
|
|
||||||
import { ReportConfigEntity } from '../../../entities/report-config.entity';
|
|
||||||
|
|
||||||
export default <ReportConfigEntity>{
|
|
||||||
group_name: REPORT_GROUP.transaction_report,
|
|
||||||
unique_name: `${REPORT_GROUP.transaction_report}__revenue_per_item`,
|
|
||||||
label: 'Pendapatan per Item',
|
|
||||||
table_schema: 'season_types main',
|
|
||||||
main_table_alias: 'main',
|
|
||||||
defaultOrderBy: [],
|
|
||||||
lowLevelOrderBy: [],
|
|
||||||
filter_period_config: {
|
|
||||||
hidden: true,
|
|
||||||
},
|
|
||||||
|
|
||||||
column_configs: [
|
|
||||||
{
|
|
||||||
column: 'main__created_at',
|
|
||||||
query: 'main.created_at',
|
|
||||||
label: 'Created Date',
|
|
||||||
type: DATA_TYPE.DIMENSION,
|
|
||||||
format: DATA_FORMAT.DATE_EPOCH,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
column: 'main__updated_at',
|
|
||||||
query: 'main.updated_at',
|
|
||||||
label: 'Updated Date',
|
|
||||||
type: DATA_TYPE.DIMENSION,
|
|
||||||
format: DATA_FORMAT.DATE_EPOCH,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
column: 'main__name',
|
|
||||||
query: 'main.name',
|
|
||||||
label: 'Name',
|
|
||||||
type: DATA_TYPE.DIMENSION,
|
|
||||||
format: DATA_FORMAT.TEXT,
|
|
||||||
},
|
|
||||||
],
|
|
||||||
filter_configs: [],
|
|
||||||
};
|
|
|
@ -1,40 +0,0 @@
|
||||||
import { DATA_FORMAT, DATA_TYPE, REPORT_GROUP } from '../../../constant';
|
|
||||||
import { ReportConfigEntity } from '../../../entities/report-config.entity';
|
|
||||||
|
|
||||||
export default <ReportConfigEntity>{
|
|
||||||
group_name: REPORT_GROUP.transaction_report,
|
|
||||||
unique_name: `${REPORT_GROUP.transaction_report}__sales_qty_per_item`,
|
|
||||||
label: 'Qty Penjualan per Item',
|
|
||||||
table_schema: 'season_types main',
|
|
||||||
main_table_alias: 'main',
|
|
||||||
defaultOrderBy: [],
|
|
||||||
lowLevelOrderBy: [],
|
|
||||||
filter_period_config: {
|
|
||||||
hidden: true,
|
|
||||||
},
|
|
||||||
|
|
||||||
column_configs: [
|
|
||||||
{
|
|
||||||
column: 'main__created_at',
|
|
||||||
query: 'main.created_at',
|
|
||||||
label: 'Created Date',
|
|
||||||
type: DATA_TYPE.DIMENSION,
|
|
||||||
format: DATA_FORMAT.DATE_EPOCH,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
column: 'main__updated_at',
|
|
||||||
query: 'main.updated_at',
|
|
||||||
label: 'Updated Date',
|
|
||||||
type: DATA_TYPE.DIMENSION,
|
|
||||||
format: DATA_FORMAT.DATE_EPOCH,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
column: 'main__name',
|
|
||||||
query: 'main.name',
|
|
||||||
label: 'Name',
|
|
||||||
type: DATA_TYPE.DIMENSION,
|
|
||||||
format: DATA_FORMAT.TEXT,
|
|
||||||
},
|
|
||||||
],
|
|
||||||
filter_configs: [],
|
|
||||||
};
|
|
|
@ -3,8 +3,6 @@ import { ReportConfigEntity } from '../../entities/report-config.entity';
|
||||||
import IncomeReport from './configs/income';
|
import IncomeReport from './configs/income';
|
||||||
import IncomeReportPerItem from './configs/income-per-item';
|
import IncomeReportPerItem from './configs/income-per-item';
|
||||||
import GivingDiscount from './configs/giving-discounts';
|
import GivingDiscount from './configs/giving-discounts';
|
||||||
import RevenuePerItemReport from './configs/revenue-per-item';
|
|
||||||
import SalesQtyPerItemReport from './configs/sales-qty-per-item';
|
|
||||||
import VisitorsPerRideReport from './configs/visitors-per-ride';
|
import VisitorsPerRideReport from './configs/visitors-per-ride';
|
||||||
import TimePerRideReport from './configs/time-per-ride';
|
import TimePerRideReport from './configs/time-per-ride';
|
||||||
import BookingReport from './configs/booking';
|
import BookingReport from './configs/booking';
|
||||||
|
@ -16,8 +14,6 @@ export const TransactionReportConfig: ReportConfigEntity[] = [
|
||||||
IncomeReport,
|
IncomeReport,
|
||||||
IncomeReportPerItem,
|
IncomeReportPerItem,
|
||||||
GivingDiscount,
|
GivingDiscount,
|
||||||
// RevenuePerItemReport,
|
|
||||||
// SalesQtyPerItemReport,
|
|
||||||
// VisitorsPerRideReport,
|
// VisitorsPerRideReport,
|
||||||
// TimePerRideReport,
|
// TimePerRideReport,
|
||||||
BookingReport,
|
BookingReport,
|
||||||
|
|
Loading…
Reference in New Issue