Files
hats-app/lib/data.ts
T
2025-12-19 13:57:55 +07:00

274 lines
6.4 KiB
TypeScript

export const LIST_TEAM_LEADER = [
{ value: 9, label: 'Stevanus Akbar Alexander' },
{ value: 16, label: 'Heri Saffarudin Ariyani' },
{ value: 17, label: 'Septo Sunaryono' },
{ value: 18, label: 'Fajar Rahmatullah' },
{ value: 19, label: 'Luthfi Aditama' },
{ value: 20, label: 'Mohamad Saeful Ihsan' },
]
//// FOR DEV
// export const LIST_TEAM_LEADER = [
// { value: 4, label: 'Evan Arifial Hidayat' },
// { value: 3, label: 'Luthfi Aditama' },
// { value: 2, label: 'Ories C' },
// { value: 1, label: 'SYSADMIN HIS' }
// ]
export const LIST_ACTION_DATA = [
{
"id": 1,
"code": "A01",
"name": "CREATE",
"description": "ADD NEW DATA",
"status_id": 1
},
{
"id": 2,
"code": "A02",
"name": "UPDATE",
"description": "UPDATE EXISTING DATA",
"status_id": 1
},
{
"id": 3,
"code": "A03",
"name": "DELETE",
"description": "DELETE EXISTING DATA",
"status_id": 1
},
{
"id": 4,
"code": "A04",
"name": "VIEW",
"description": "VIEW DATA",
"status_id": 1
},
{
"id": 5,
"code": "A05",
"name": "EXPORT",
"description": "EXPORT DATA",
"status_id": 1
},
{
"id": 6,
"code": "A06",
"name": "APPROVAL",
"description": "APPROVAL DATA",
"status_id": 1
}
]
export const DUMMY_MENU_LIST = [
{
"id": 1,
"code": "M01",
"name": "Dashboard",
"menu_parent_id": null,
"icon": "ti ti-layout-dashboard",
"path_url": "/",
"hidden_data": false,
"status": {
"id": 1,
"code": "A",
"name": "active"
},
"description": "dashboard"
},
{
"id": 2,
"code": "M02",
"name": "Administration",
"menu_parent_id": null,
"icon": "ti ti-layout-dashboard",
"path_url": "#",
"hidden_data": false,
"status": {
"id": 1,
"code": "A",
"name": "active"
},
"description": "menu parent administration"
},
{
"id": 5,
"code": "M05",
"name": "Device",
"menu_parent_id": null,
"icon": null,
"path_url": "device",
"hidden_data": false,
"status": {
"id": 1,
"code": "A",
"name": "active"
},
"description": "menu device"
},
{
"id": 6,
"code": "M06",
"name": "Global Parameter",
"menu_parent_id": null,
"icon": null,
"path_url": "global-parameter",
"hidden_data": false,
"status": {
"id": 1,
"code": "A",
"name": "active"
},
"description": "menu global parameter"
},
{
"id": 7,
"code": "M07",
"name": "Manual Presence & Approval",
"menu_parent_id": null,
"icon": null,
"path_url": "manual-presence",
"hidden_data": false,
"status": {
"id": 1,
"code": "A",
"name": "active"
},
"description": "menu manual presence & approval"
},
{
"id": 8,
"code": "M08",
"name": "Report",
"menu_parent_id": null,
"icon": null,
"path_url": "#",
"hidden_data": false,
"status": {
"id": 1,
"code": "A",
"name": "active"
},
"description": "menu parent report"
},
{
"id": 9,
"code": "M09",
"name": "Daily Presence Report",
"menu_parent_id": 8,
"icon": null,
"path_url": "report/daily-presence",
"hidden_data": false,
"status": {
"id": 1,
"code": "A",
"name": "active"
},
"description": "child menu report"
},
{
"id": 10,
"code": "M10",
"name": "Monthly Presence Report",
"menu_parent_id": 8,
"icon": null,
"path_url": "report/monthly-presence",
"hidden_data": false,
"status": {
"id": 1,
"code": "A",
"name": "active"
},
"description": "child menu report"
},
{
"id": 11,
"code": "M11",
"name": "Annual Presence Report",
"menu_parent_id": 8,
"icon": null,
"path_url": "report/annual-presence",
"hidden_data": false,
"status": {
"id": 1,
"code": "A",
"name": "active"
},
"description": "child menu report"
},
{
"id": 12,
"code": "M12",
"name": "Audit Trail",
"menu_parent_id": null,
"icon": null,
"path_url": "audit-trail",
"hidden_data": false,
"status": {
"id": 1,
"code": "A",
"name": "active"
},
"description": "menu audit trail"
},
{
"id": 3,
"code": "M03",
"name": "User",
"menu_parent_id": 2,
"icon": null,
"path_url": "administration/user",
"hidden_data": false,
"status": {
"id": 1,
"code": "A",
"name": "active"
},
"description": "child menu administration"
},
{
"id": 4,
"code": "M04",
"name": "Role",
"menu_parent_id": 2,
"icon": null,
"path_url": "administration/role",
"hidden_data": false,
"status": {
"id": 1,
"code": "A",
"name": "active"
},
"description": "child menu administration"
},
{
"id": 14,
"code": "M14",
"name": "Summary Report",
"menu_parent_id": 11,
"icon": null,
"path_url": "report/annual-presence/summary",
"hidden_data": false,
"status": {
"id": 1,
"code": "A",
"name": "active"
},
"description": "child menu report/annual-presence",
},
{
"id": 15,
"code": "M15",
"name": "Test Report",
"menu_parent_id": 11,
"icon": null,
"path_url": "report/annual-presence/test",
"hidden_data": false,
"status": {
"id": 1,
"code": "A",
"name": "active"
},
"description": "child menu report/annual-presence",
}
]