import Layout from '@/layout'

export default {
  path: '/financial-management',
  component: Layout,
  redirect: 'noRedirect',
  alwaysShow: true,
  meta: {
    title: 'Financial Management',
    affix: false,
    icon: 'financial'
  },
  children: [
    {
      path: '/financial-management/system-transactions',
      component: () => import('@/views/financial/transactions'),
      name: 'SystemTransactions',
      meta: {
        title: 'System Transactions',
        icon: 'sidebar-submenu-item',
        activeIcon: 'sidebar-submenu-item-active',
        affix: false
      }
    },
    {
      path: '/financial-management/credit-amendment',
      component: () => import('@/views/financial/CreditAmendment'),
      name: 'CreditAmendment',
      meta: {
        title: 'Credit Amendment',
        icon: 'sidebar-submenu-item',
        activeIcon: 'sidebar-submenu-item-active',
        affix: false
      }
    },
    {
      path: '/financial-management/billing-account-mgmt',
      component: () => import('@/views/settlement/BillingAccount'),
      name: 'BillingAccountMgmt',
      meta: {
        title: 'Billing Account Management',
        icon: 'sidebar-submenu-item',
        activeIcon: 'sidebar-submenu-item-active',
        affix: false
      }
    },
    {
      path: '/financial-management/account-settlement',
      component: () => import('@/views/settlement/AccountSetle'),
      name: 'AccountSettlement',
      meta: {
        title: 'Account Settlement',
        icon: 'sidebar-submenu-item',
        activeIcon: 'sidebar-submenu-item-active',
        affix: false
      }
    },
    {
      path: '/financial-management/charging-transactions',
      component: () => import('@/views/financial/index'),
      name: 'ChargingTransactions',
      meta: {
        title: 'Charging Transactions',
        icon: 'sidebar-submenu-item',
        activeIcon: 'sidebar-submenu-item-active',
        affix: false
      }
    },
    {
      path: '/financial-management/idle-fee',
      component: () => import('@/views/financial/IdleFee'),
      name: 'FinancialIdleFee',
      meta: {
        title: 'Idle Fee',
        icon: 'sidebar-submenu-item',
        activeIcon: 'sidebar-submenu-item-active',
        affix: false
      }
    },
    {
      path: '/financial-management/top-up',
      component: () => import('@/views/financial/TopUp'),
      name: 'FinancialTopup',
      meta: {
        title: 'Top-Up',
        icon: 'sidebar-submenu-item',
        activeIcon: 'sidebar-submenu-item-active',
        affix: false
      }
    },
    {
      path: '/financial-management/billing-account-add',
      component: () => import('@/views/settlement/DetailAccount'),
      name: 'BillingAccountAdd',
      meta: {
        title: 'Create',
        activeMenu: "/financial-management/billing-account-mgmt",
        parent: {
          title: 'Billing Account Management',
          path: "/financial-management/billing-account-mgmt"
        }
      },
      hidden: true
    },
    {
      path: '/financial-management/billing-account-edit/:id',
      component: () => import('@/views/settlement/DetailAccount'),
      name: 'BillingAccountEdit',
      meta: {
        title: 'Details',
        activeMenu: "/financial-management/billing-account-mgmt",
        parent: {
          title: 'Billing Account Management',
          path: "/financial-management/billing-account-mgmt"
        }
      },
      hidden: true
    }
  ]
}