// Fuel Management Routes
const FuelCardList = () => import('@/views/fuelManagement/fuelCard/index.vue');
const FuelCardForm = () => import('@/views/fuelManagement/fuelCard/form.vue');
const FuelCardDetail = () => import('@/views/fuelManagement/fuelCard/detail.vue');
const FuelRefillList = () => import('@/views/fuelManagement/fuelRefill/index.vue');
const FuelRefillForm = () => import('@/views/fuelManagement/fuelRefill/form.vue');

export const FuelManagementRoutes = [
    // Fuel Card Management
    {
        name: 'FuelCardList',
        path: '/quan-ly-the-dau',
        component: FuelCardList,
        meta: {
            title: 'Quản lý Thẻ Xăng Dầu',
        },
    },
    {
        name: 'FuelCardDetail',
        path: '/quan-ly-the-dau/chi-tiet/:id',
        component: FuelCardDetail,
        meta: {
            title: 'Chi tiết Thẻ Xăng Dầu',
        },
    },
    {
        name: 'FuelCardCreate',
        path: '/quan-ly-the-dau/tao-moi',
        component: FuelCardForm,
        meta: {
            title: 'Thêm Thẻ Xăng Dầu',
        },
    },
    {
        name: 'FuelCardEdit',
        path: '/quan-ly-the-dau/chinh-sua/:id',
        component: FuelCardForm,
        meta: {
            title: 'Sửa Thẻ Xăng Dầu',
        },
    },

    // Fuel Refill Management
    {
        name: 'FuelRefillList',
        path: '/lich-su-do-dau',
        component: FuelRefillList,
        meta: {
            title: 'Lịch sử Đổ Dầu',
        },
    },
    {
        name: 'FuelRefillCreate',
        path: '/lich-su-do-dau/do-dau-moi',
        component: FuelRefillForm,
        meta: {
            title: 'Đổ Dầu Mới',
        },
    },
    {
        name: 'FuelRefillEdit',
        path: '/lich-su-do-dau/chinh-sua/:id',
        component: FuelRefillForm,
        meta: {
            title: 'Cập Nhật Đổ Dầu',
        },
    },
];
