/**
 * Router ระบบทะเบียนประวัติ (Registry)
 */

const Main = () => import("@/modules/04_registry/views/Main.vue");
const Detail = () => import("@/modules/04_registry/components/Profile.vue");
// const addOrder = () =>
//   import(
//     "@/modules/05_placement/components/OrderPlacement/addOrderPlacement.vue"
//   );

export default [
  {
    path: "/registry",
    name: "registry",
    component: Main,
    meta: {
      Auth: true,
      Key: [7],
      Role: "registry",
    },
  },
  {
    path: "/registry/:id",
    name: "registryDetail",
    component: Detail,
    meta: {
      Auth: true,
      Key: [7],
      Role: "registry",
    },
  },
  // {
  //   path: "/dismiss-order/add",
  //   name: "addOrder",
  //   component: addOrder,
  //   meta: {
  //     Auth: true,
  //     Key: [7],
  //     Role: "registry",
  //   },
  // },
];
