-
- {{ props.prep.title }}
+
+
+
+
+ {{ props.prep.title }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Minimal {{ props.prep.refSearchNav.minLength || 3 }} karakter untuk mencari
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/app/components/pub/custom-ui/pagination/pagination.type.ts b/app/components/pub/custom-ui/pagination/pagination.type.ts
new file mode 100644
index 00000000..5c9d97f5
--- /dev/null
+++ b/app/components/pub/custom-ui/pagination/pagination.type.ts
@@ -0,0 +1,13 @@
+export interface PaginationMeta {
+ recordCount: number
+ // page : current pointer for viewing data
+ page: number
+ // pageSize: limit each page request
+ pageSize: number
+ // totalPage: recourdCount / pageSize
+ totalPage: number
+ // hasNext: check if there is next page
+ hasNext: boolean
+ // hasPrev: check if there is previous page
+ hasPrev: boolean
+}
diff --git a/app/components/pub/custom-ui/pagination/pagination.vue b/app/components/pub/custom-ui/pagination/pagination.vue
new file mode 100644
index 00000000..0c9f8596
--- /dev/null
+++ b/app/components/pub/custom-ui/pagination/pagination.vue
@@ -0,0 +1,112 @@
+
+
+
+
+
+
+ Menampilkan {{ startRecord }}
+ hingga {{ endRecord }}
+ dari {{ formattedRecordCount }} data
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/app/pages/(features)/org-src/division/index.vue b/app/pages/(features)/org-src/division/index.vue
index 6e08748b..aa674b28 100644
--- a/app/pages/(features)/org-src/division/index.vue
+++ b/app/pages/(features)/org-src/division/index.vue
@@ -6,7 +6,7 @@ import Error from '~/components/pub/base/error/error.vue'
definePageMeta({
// middleware: ['rbac'],
roles: ['doctor', 'nurse', 'admisi', 'pharmacy', 'billing', 'management'],
- title: 'List Division',
+ title: 'Daftar Divisi',
contentFrame: 'cf-full-width',
})
@@ -34,7 +34,7 @@ const canRead = true