import bootstrap from './client/bootstrap'
import route from './client/route'

export default {
  route,
  routes: [
    /**
     * Master Menus Section
     */
    {
      tagname: 'dashboard-home',
      page: 'dashboard'
    },
    {
      tagname: 'transport-vehicle',
      page: 'transport_vehicle'
    },
    {
      tagname: 'transport-driver',
      page: 'transport_driver'
    },
    {
      tagname: 'worker-list',
      page: 'workers'
    },
    {
      tagname: 'warehouse-list',
      page: 'warehouses'
    },
    {
      tagname: 'location-list',
      page: 'locations'
    },
    {
      tagname: 'pallet-list',
      page: 'pallets'
    },
    {
      tagname: 'product-list',
      page: 'products'
    },
    {
      tagname: 'tote-list',
      page: 'totes'
    },

    /**
     * Order Menus Section
     */
    {
      tagname: 'create-arrival-notice',
      page: 'create_arrival_notice'
    },
    {
      tagname: 'duplicate-arrival-notice',
      page: 'duplicate_arrival_notice'
    },
    {
      tagname: 'arrival-notice-list',
      page: 'arrival_notices'
    },
    {
      tagname: 'arrival-notice-detail',
      page: 'arrival_notice_detail'
    },
    {
      tagname: 'arrival-notice-requests',
      page: 'arrival_notice_requests'
    },
    {
      tagname: 'receive-arrival-notice',
      page: 'receive_arrival_notice'
    },
    {
      tagname: 'check-arrived-notice',
      page: 'check_arrived_notice'
    },
    {
      tagname: 'rejected-arrival-notice',
      page: 'rejected_arrival_notice'
    },
    {
      tagname: 'assign-buffer-location',
      page: 'assign_buffer_location'
    },
    {
      tagname: 'create-release-order',
      page: 'create_release_order'
    },
    {
      tagname: 'create-b2c-release-order',
      page: 'create_b2c_release_order'
    },
    {
      tagname: 'b2b-order-list',
      page: 'b2b_orders'
    },
    {
      tagname: 'release-order-detail',
      page: 'release_order_detail'
    },
    {
      tagname: 'b2c-release-order-detail',
      page: 'b2c_release_order_detail'
    },
    {
      tagname: 'b2b-order-requests',
      page: 'b2b_order_requests'
    },
    {
      tagname: 'b2c-order-requests',
      page: 'b2c_order_requests'
    },
    {
      tagname: 'receive-release-order-request',
      page: 'receive_release_order_request'
    },
    {
      tagname: 'rejected-release-order',
      page: 'rejected_release_order'
    },
    {
      tagname: 'create-delivery-order',
      page: 'create_delivery_order'
    },
    {
      tagname: 'delivery-order-list',
      page: 'delivery_orders'
    },
    {
      tagname: 'print-delivery-note',
      page: 'print_delivery_note'
    },
    {
      tagname: 'view-delivery-note',
      page: 'view_delivery_note'
    },
    //vas
    {
      tagname: 'vas-order-requests',
      page: 'vas_requests'
    },
    {
      tagname: 'vas-order-list',
      page: 'vas_orders'
    },
    {
      tagname: 'create-vas-order',
      page: 'create_vas_order'
    },
    {
      tagname: 'receive-vas-order',
      page: 'receive_vas_order'
    },
    {
      tagname: 'vas-order-detail',
      page: 'vas_order_detail'
    },
    {
      tagname: 'transfer-order-requests',
      page: 'transfer_order_requests'
    },
    {
      tagname: 'transfer-order-detail',
      page: 'transfer_order_detail'
    },
    {
      tagname: 'receive-transfer-order-request',
      page: 'receive_transfer_order_request'
    },
    {
      tagname: 'rejected-transfer-order',
      page: 'rejected_transfer_order'
    },
    {
      tagname: 'create-return-order',
      page: 'create_return_order'
    },
    {
      tagname: 'return-order-detail',
      page: 'return_order_detail'
    },
    {
      tagname: 'return-order-list',
      page: 'return_orders'
    },
    {
      tagname: 'return-order-requests',
      page: 'return_order_requests'
    },
    {
      tagname: 'receive-return-order-requests',
      page: 'receive_return_order_requests'
    },
    {
      tagname: 'check-return-order',
      page: 'check_return_order'
    },
    {
      tagname: 'rejected-return-order',
      page: 'rejected_return_order'
    },
    {
      tagname: 'return-order-assign-buffer-location',
      page: 'return_order_assign_buffer_location'
    },
    {
      tagname: 'bulk-print-packing-list',
      page: 'bulk_print_packing_list'
    },
    {
      tagname: 'preview-print-packing-list',
      page: 'preview_print_packing_list'
    },
    {
      tagname: 'create-loading-manifest',
      page: 'create_loading_manifest'
    },
    {
      tagname: 'loading-manifest-list',
      page: 'loading_manifest_list'
    },
    {
      tagname: 'loading-manifest-detail',
      page: 'loading_manifest_detail'
    },
    {
      tagname: 'existing-manifest-list',
      page: 'existing_manifest_list'
    },
    /**
     * Billing Menus Section
     */
    {
      tagname: 'create-claim-chit',
      page: 'create_claim_chit'
    },
    {
      tagname: 'claim-chit-list',
      page: 'claim_chit_list'
    },
    {
      tagname: 'claim-chit-detail',
      page: 'claim_chit_detail'
    },
    /**
     * GRN Menus Section
     */
    {
      tagname: 'received-note-list',
      page: 'received_note_list'
    },
    {
      tagname: 'received-note-detail',
      page: 'received_note_detail'
    },
    {
      tagname: 'customer-received-note',
      page: 'received_note'
    },
    {
      tagname: 'customer-grn-list',
      page: 'customer_grn_list'
    },

    /**
     * inventory Menus Section
     */
    {
      tagname: 'onhand-inventory',
      page: 'onhand_inventory'
    },
    {
      tagname: 'inventory-by-product',
      page: 'inventory_by_product'
    },
    {
      tagname: 'inventory-history',
      page: 'inventory_histories'
    },
    {
      tagname: 'inventory-adjustment',
      page: 'inventory_adjustment'
    },
    {
      tagname: 'inventory-adjustment-approval',
      page: 'inventory_adjustment_approval'
    },
    {
      tagname: 'non-loaded-inventory',
      page: 'non_loaded_inventory'
    },
    {
      tagname: 'create-cycle-count',
      page: 'create_cycle_count'
    },
    {
      tagname: 'inventory-check-list',
      page: 'inventory_check_list'
    },
    {
      tagname: 'cycle-count-worksheet-list',
      page: 'cycle_count_worksheet_list'
    },
    {
      tagname: 'worksheet-cycle-count',
      page: 'worksheet_cycle_count'
    },
    {
      tagname: 'inspecting-product',
      page: 'inspecting_product'
    },
    {
      tagname: 'cycle-count-report',
      page: 'cycle_count_report'
    },
    {
      tagname: 'cycle-count-review',
      page: 'cycle_count_review'
    },
    {
      tagname: 'job-sheet-list',
      page: 'job_sheets'
    },
    {
      tagname: 'job-sheet-report',
      page: 'job_sheet_report'
    },

    /**
     * System Menus Section
     */
    {
      tagname: 'location-sorting-rule',
      page: 'location_sorting_rule'
    },

    /**
     * Inbound Menus Section
     */
    {
      tagname: 'inbound-worksheet',
      page: 'inbound_worksheets'
    },
    {
      tagname: 'external-return-worksheet',
      page: 'external_return_worksheets'
    },
    {
      tagname: 'worksheet-unloading',
      page: 'worksheet_unloading'
    },
    {
      tagname: 'worksheet-unloading-return',
      page: 'worksheet_unloading_return'
    },
    {
      tagname: 'worksheet-putaway-return',
      page: 'worksheet_putaway_return'
    },
    {
      tagname: 'worksheet-putaway',
      page: 'worksheet_putaway'
    },
    {
      tagname: 'worksheet-return',
      page: 'worksheet_return'
    },

    //vas
    {
      tagname: 'worksheet-vas',
      page: 'worksheet_vas'
    },
    {
      tagname: 'worksheet-ref-vas',
      page: 'worksheet_ref_vas'
    },
    {
      tagname: 'print-product-label',
      page: 'print_product_label'
    },
    {
      tagname: 'unload-product',
      page: 'unloading'
    },
    {
      tagname: 'unload-product-landing-page',
      page: 'unloading_landing'
    },
    {
      tagname: 'putaway-product',
      page: 'putaway'
    },
    {
      tagname: 'execute-vas',
      page: 'execute_vas'
    },
    {
      tagname: 'vas-execution',
      page: 'vas_execution'
    },
    {
      tagname: 'vas-worksheet-list',
      page: 'vas_worksheets'
    },
    {
      tagname: 'inbound-reusable-pallet',
      page: 'inbound_reusable_pallet'
    },

    /**
     * Adjustment Menus Section
     */
    {
      tagname: 'transfer-inventory',
      page: 'transfer_inventory'
    },

    /**
     * Outbound Menus Section
     */
    {
      tagname: 'single-outbound-worksheet',
      page: 'single_outbound_worksheets'
    },
    {
      tagname: 'merged-outbound-worksheet',
      page: 'merged_outbound_worksheets'
    },
    {
      tagname: 'packing-worksheet-list',
      page: 'packing_worksheet_list'
    },
    {
      tagname: 'outbound-return-worksheet',
      page: 'outbound_return_worksheets'
    },
    {
      tagname: 'worksheet-external-return',
      page: 'worksheet_external_return'
    },
    {
      tagname: 'worksheet-picking',
      page: 'worksheet_picking'
    },
    {
      tagname: 'worksheet-batch-picking',
      page: 'worksheet_batch_picking'
    },
    {
      tagname: 'worksheet-zone-picking',
      page: 'worksheet_zone_picking'
    },
    {
      tagname: 'worksheet-packing',
      page: 'worksheet_packing'
    },
    {
      tagname: 'picking-product',
      page: 'picking'
    },
    {
      tagname: 'picking-product-v2',
      page: 'picking_v2'
    },
    {
      tagname: 'packing-product',
      page: 'packing'
    },
    {
      tagname: 'sorting-product',
      page: 'sorting'
    },
    {
      tagname: 'loading-product',
      page: 'loading'
    },
    {
      tagname: 'loading-product-v2',
      page: 'loading_v2'
    },
    {
      tagname: 'worksheet-loading',
      page: 'worksheet_loading'
    },
    {
      tagname: 'worksheet-sorting',
      page: 'worksheet_sorting'
    },
    {
      tagname: 'zone-worksheet',
      page: 'zone_worksheets'
    },

    /**
     * Report Menus Section
     */
    {
      tagname: 'inventory-report',
      page: 'inventory_report'
    },
    {
      tagname: 'inventory-summary-report',
      page: 'inventory_summary_report'
    },
    {
      tagname: 'volume-summary-report',
      page: 'volume_summary_report'
    },
    {
      tagname: 'inventory-pallet-report',
      page: 'inventory_pallet_report'
    },
    {
      tagname: 'inventory-pallet-storage-report',
      page: 'inventory_pallet_storage_report'
    },
    {
      tagname: 'inbound-order-details-report',
      page: 'inbound_order_details_report'
    },
    {
      tagname: 'outbound-order-details-report',
      page: 'outbound_order_details_report'
    },
    {
      tagname: 'product-label-report',
      page: 'product_label_report'
    },
    {
      tagname: 'inbound-serial-number-report',
      page: 'inbound_serial_number_report'
    },
    {
      tagname: 'outbound-serial-number-report',
      page: 'outbound_serial_number_report'
    },
    {
      tagname: 'costing-report',
      page: 'costing_report'
    },
    {
      tagname: 'release-inventory-report',
      page: 'release_inventory_report'
    },
    {
      tagname: 'tote-loading-qc-report',
      page: 'loading_qc_report'
    },
    {
      tagname: 'order-vas-report',
      page: 'order_vas_report'
    },
    {
      tagname: 'vas-report',
      page: 'vas_report'
    },
    {
      tagname: 'shortage-report',
      page: 'shortage_report'
    },
    {
      tagname: 'analysis-picking-packing-report',
      page: 'analysis_picking_packing_report'
    },
    {
      tagname: 'replenishment-report',
      page: 'replenishment_report'
    },
    {
      tagname: 'manifest-report',
      page: 'manifest_report'
    },
    {
      tagname: 'billing-module-report',
      page: 'billing_module_report'
    },

    /**
     * Custom ELCCL Menus Section
     */
    {
      tagname: 'elccl-daily-collection-report',
      page: 'elccl_daily_collection_report'
    },
    {
      tagname: 'elccl-inventory-summary-report',
      page: 'elccl_inventory_summary_report'
    },
    {
      tagname: 'elccl-inventory-report',
      page: 'elccl_inventory_report'
    },
    {
      tagname: 'elccl-inventory-pallet-detail-report',
      page: 'elccl_inventory_pallet_detail_report'
    },
    {
      tagname: 'elccl-daily-order-inventory-report',
      page: 'elccl_daily_order_inventory_report'
    },
    {
      tagname: 'elccl-delivery-order-summary',
      page: 'elccl_delivery_order_summary'
    },

    /**
     * Support
     */
    {
      tagname: 'inventory-comparison',
      page: 'inventory_comparison'
    },

    /** Custom VAS */
    {
      tagname: 'reverse-kitting-order-list',
      page: 'reverse_kitting_orders'
    },
    {
      tagname: 'reverse-kitting-order-detail',
      page: 'reverse_kitting_order_detail'
    },
    {
      tagname: 'execute-reverse-kitting',
      page: 'execute_reverse_kitting'
    },

    /* Bulk Operation */
    {
      tagname: 'bulk-operation',
      page: 'bulk_operation'
    },

    {
      tagname: 'draft-release-good-list',
      page: 'draft_release_goods'
    },
    {
      tagname: 'draft-release-good-detail',
      page: 'draft_release_good_detail'
    },

    /* Replenishment */
    {
      tagname: 'replenishment-page',
      page: 'replenishment'
    },
    {
      tagname: 'replenishment-detail-page',
      page: 'replenishment_detail'
    },
    {
      tagname: 'replenishment-worksheet-list',
      page: 'replenishment_worksheet_list'
    },
    {
      tagname: 'worksheet-replenishment',
      page: 'worksheet_replenishment'
    }
  ],
  bootstrap
}
