const DeliveryHome = () => import('./home.vue');
const DeliveryCreate = () => import("./create.vue");
const DeliveryEdit = () => import('./edit.vue');
const DeliveryOrder = () => import('./view.vue');
const DeliveryMap = () => import('./map.vue');
const deliveryTicketsMissing = () => import('./update_tickets/missing_data_home.vue');

const deliveryPending = () => import('./viewstatus/pending.vue');
const deliveryCancelled = () => import('./viewstatus/cancelled.vue');
const deliveryIssue = () => import('./viewstatus/issue.vue');
const deliveryDelivered = () => import('./viewstatus/delivered.vue');
const deliveryOutForDelivery = () => import('./viewstatus/todaysdeliveries.vue');
const deliveryWaiting = () => import('./viewstatus/waiting.vue');
const deliveryFinalized = () => import('./viewstatus/finalized.vue')
const deliveryTommorrow = () => import('./viewstatus/tommorrow.vue')
const finalizeTicket = () => import('./update_tickets/finalize_ticket.vue');
const finalizeTicketAuto = () => import('./update_tickets/finalize_ticket_auto.vue');
const finalizeTicketAutoNocc = () => import('./update_tickets/finalize_ticket_auto_nocc.vue');

const deliveryRoutes = [
    {
        path: '/delivery',
        name: 'delivery',
        component: DeliveryHome,
    },
    {
        path: '/delivery/pending',
        name: 'deliveryPending',
        component: deliveryPending,
    },
    {
        path: '/delivery/create/:id',
        name: 'deliveryCreate',
        component: DeliveryCreate,
    },
    {
        path: '/delivery/edit/:id',
        name: 'deliveryEdit',
        component: DeliveryEdit,
    },
    {
        path: '/delivery/map',
        name: 'deliveryMap',
        component: DeliveryMap,
    },
    {
        path: '/delivery/:id',
        name: 'deliveryOrder',
        component: DeliveryOrder,
    },
    {
        path: '/delivery/tickets/missing',
        name: 'deliveryTicketsMissing',
        component: deliveryTicketsMissing,
    },

    {
        path: '/delivery/cancelled',
        name: 'deliveryCancelled',
        component: deliveryCancelled,
    },
        {
        path: '/delivery/issue',
        name: 'deliveryIssue',
        component: deliveryIssue,
    },
        {
        path: '/delivery/delivered',
        name: 'deliveryDelivered',
        component: deliveryDelivered,
    },
        {
        path: '/delivery/outfordelivery',
        name: 'deliveryOutForDelivery',
        component: deliveryOutForDelivery,
    },
    {
        path: '/delivery/tommorrow',
        name: 'deliveryTommorrow',
        component: deliveryTommorrow,
    },
        {
        path: '/delivery/waiting',
        name: 'deliveryWaiting',
        component: deliveryWaiting,
    },
    {
        path: '/delivery/finalized',
        name: 'deliveryFinalized',
        component: deliveryFinalized,
    },
    {
        path: '/delivery/tickets/finalize/:id',
        name: 'finalizeTicket',
        component: finalizeTicket,
    },
    {
        path: '/delivery/tickets/finalize/auto/:id',
        name: 'finalizeTicketAuto',
        component: finalizeTicketAuto,
    },
    {
        path: '/delivery/tickets/finalize/auto/nocc/:id',
        name: 'finalizeTicketAutoNocc',
        component: finalizeTicketAutoNocc,
    },

]

export default deliveryRoutes
//sourceMappingURL=index.ts.map
