import { Routes } from "@angular/router";
export const examRegisterRoutes: Routes = [
  {
    path: "receive-payment",
    loadChildren: () =>
      import("./receive-payment/receive-payment.module").then(
        (m) => m.ReceivePaymentModule
      ),
    data: {
      menu: "ลงทะเบียนสอบ",
      sub_menu: "รับชำระเงิน",
    },
  },
  {
    path: "register-summary",
    loadChildren: () =>
      import("./register-summary/register-summary.module").then(
        (m) => m.RegisterSummaryModule
      ),
    data: {
      menu: "ลงทะเบียนสอบ",
      sub_menu: "ลงทะเบียนสอบ",
    },
  },
  {
    path: "period-summary",
    loadChildren: () =>
      import("./period-summary/period-summary.module").then(
        (m) => m.PeriodSummaryModule
      ),
    data: {
      menu: "ลงทะเบียนสอบ",
      sub_menu: "สรุปยอดประจำคาบ",
    },
  },
  {
    path: "daily-summary",
    loadChildren: () =>
      import("./daily-summary/daily-summary.module").then(
        (m) => m.DailySummaryModule
      ),
    data: {
      menu: "ลงทะเบียนสอบ",
      sub_menu: "รายงานรับเงิน",
    },
  },
  {
    path: "manage-receipt",
    loadChildren: () =>
      import("./manage-receipt/manage-receipt.module").then(
        (m) => m.ManageReceiptModule
      ),
    data: {
      menu: "ลงทะเบียนสอบ",
      sub_menu: "จัดการใบเสร็จ",
    },
  },
];
export default examRegisterRoutes;
