export default [
  {
    path: "/financial",
    name: "FinancialPage",
    component: () => import("pages/financial/FinancialPage.vue"),
    meta: {
      title: { value: "Financeiro", translate: false },
      requireAuth: true,
      requireFinancialAuth: true,
      requiredPermission: "franchisor_financial",
      breadcrumbs: [
        { name: "DashboardPage", title: "Dashboard" },
        { name: "FinancialPage", title: "Financeiro" },
      ],
    },
  },
  {
    path: "/financial/treasury",
    name: "TreasuryPage",
    component: () => import("pages/financial/TreasuryPage.vue"),
    meta: {
      title: { value: "Tesouraria", translate: false },
      requireAuth: true,
      requireFinancialAuth: true,
      requiredPermission: "franchisor_financial",
      breadcrumbs: [
        { name: "DashboardPage", title: "Dashboard" },
        { name: "TreasuryPage", title: "Tesouraria" },
      ],
    },
  },
  {
    path: "/financial/accounts-payable",
    name: "AccountsPayablePage",
    component: () => import("pages/financial/AccountsPayablePage.vue"),
    meta: {
      title: { value: "Contas a Pagar", translate: false },
      requireAuth: true,
      requireFinancialAuth: true,
      requiredPermission: "franchisor_financial",
      breadcrumbs: [
        { name: "DashboardPage", title: "Dashboard" },
        { name: "AccountsPayablePage", title: "Contas a Pagar" },
      ],
    },
  },
  {
    path: "/financial/accounts-receivable",
    name: "AccountsReceivablePage",
    component: () => import("pages/financial/AccountsReceivablePage.vue"),
    meta: {
      title: { value: "Contas a Receber", translate: false },
      requireAuth: true,
      requireFinancialAuth: true,
      requiredPermission: "franchisor_financial",
      breadcrumbs: [
        { name: "DashboardPage", title: "Dashboard" },
        { name: "AccountsReceivablePage", title: "Contas a Receber" },
      ],
    },
  },
  {
    path: "/financial/chart-of-accounts",
    name: "ChartOfAccountsPage",
    component: () => import("pages/financial/ChartOfAccountsPage.vue"),
    meta: {
      title: { value: "Plano de Contas", translate: false },
      requireAuth: true,
      requireFinancialAuth: true,
      requiredPermission: "franchisor_financial",
      breadcrumbs: [
        { name: "DashboardPage", title: "Dashboard" },
        { name: "ChartOfAccountsPage", title: "Plano de Contas" },
      ],
    },
  },
  {
    path: "/financial/invoice-issuance",
    name: "InvoiceIssuancePage",
    component: () => import("pages/financial/InvoiceIssuancePage.vue"),
    meta: {
      title: { value: "Emissão de Notas", translate: false },
      requireAuth: true,
      requireFinancialAuth: true,
      requiredPermission: "franchisor_financial",
      breadcrumbs: [
        { name: "DashboardPage", title: "Dashboard" },
        { name: "InvoiceIssuancePage", title: "Emissão de Notas" },
      ],
    },
  },
  {
    path: "/financial/asaas-integration",
    name: "AsaasIntegrationPage",
    component: () => import("pages/financial/AsaasIntegrationPage.vue"),
    meta: {
      title: { value: "Integração Asaas", translate: false },
      requireAuth: true,
      requireFinancialAuth: true,
      requiredPermission: "franchisor_financial",
      breadcrumbs: [
        { name: "DashboardPage", title: "Dashboard" },
        { name: "AsaasIntegrationPage", title: "Integração Asaas" },
      ],
    },
  },
];
