Kantin App

Employee Meal System - Talenta API + SOP Validation + Hikvision Ready

Ringkasan SOP Rules

Sistem mengikuti rule: Site Employee only untuk digital scan, Non-Mess mendapat 1 meal per shift, LQ mendapat Breakfast/Lunch/Dinner, dan double claim ditolak otomatis.

Active Employees 3
Site Employees 4
LQ Employees 2
Transactions Shown 9

1. Talenta API

Test koneksi Talenta dan sync employee master data ke database webapp.

2. Simulasi Scan Meal

Masukkan Employee No. Untuk Hikvision nanti, field ini sama dengan employeeNoString.

Meal Window Settings

Atur jam makan langsung dari dashboard. Format waktu mengikuti 24 jam. Contoh testing seharian: Start 00:00, End 23:59.

Meal Rule Current Setting Edit
BREAKFAST
ID: 1
Start: 06:00:00
End: 09:00:00
Max/Day: 1
Active: Yes
LUNCH
ID: 2
Start: 11:00:00
End: 14:00:00
Max/Day: 1
Active: Yes
DINNER
ID: 3
Start: 16:00:00
End: 19:00:00
Max/Day: 1
Active: Yes
SUPPER
ID: 7
Start: 22:00:00
End: 23:59:00
Max/Day: 1
Active: Yes

Reset Transaksi

Tombol ini akan menghapus semua data di tabel meal_transactions. Employee data, Talenta sync logs, meal rules, dan manual visitor records tidak ikut terhapus.

Employee Data & SOP Meal Policy

Setelah sync Talenta, sesuaikan kategori karyawan jika diperlukan. Untuk testing: ubah housing status ke LQ untuk memberi entitlement 3x meal per day.

Employee Department Branch Status SOP Policy Last Synced
DEMO0000
Rizky Andi
Hikvision: DEMO0000
- Pusat active
11/5/2026, 17.34.25
EMP001
Budi Santoso
Hikvision: EMP001
Production Main Office active
-
EMP002
Siti Aminah
Hikvision: EMP002
HR Main Office active
-
EMP003
Andi Wijaya
Hikvision: EMP003
Finance Main Office inactive
-

Manual Meal Record - Visitor / Guest / HO

Sesuai SOP, Visitor, Guest, dan HO personnel tidak menggunakan digital scan normal. Catat secara manual untuk rekonsiliasi terpisah.

Talenta Sync Logs

Time Status Fetched Upserted Message
11/5/2026, 17.34.25 success 1 1 Synced page 1 with limit 50
11/5/2026, 14.38.16 success 1 1 Synced page 1 with limit 50
11/5/2026, 14.01.11 success 1 1 Synced page 1 with limit 50
11/5/2026, 12.28.12 success 1 1 Synced page 1 with limit 50
11/5/2026, 12.19.00 success 1 1 Synced page 1 with limit 50

Transaksi Terakhir

Time Employee Category Housing Entitlement Meal Status Reason Source Device
11/5/2026, 17.42.04 DEMO0000
Rizky Andi
SITE_EMPLOYEE LQ THREE_MEALS_PER_DAY DINNER REJECTED_DUPLICATE_CLAIM Duplicate claim for DINNER manual_test SIMULATOR
11/5/2026, 17.41.57 DEMO0000
Rizky Andi
SITE_EMPLOYEE LQ THREE_MEALS_PER_DAY DINNER APPROVED - manual_test SIMULATOR
11/5/2026, 17.41.28 DEMO0000
Rizky Andi
SITE_EMPLOYEE LQ THREE_MEALS_PER_DAY - REJECTED_OUTSIDE_MEAL_WINDOW Outside meal window manual_test SIMULATOR
11/5/2026, 17.41.17 DEMO0000
Rizky Andi
VISITOR LQ MANUAL_ONLY - REJECTED_NON_SITE_PERSONNEL Non-site personnel, HO personnel, visitors, and guests must use manual meal record. manual_test SIMULATOR
11/5/2026, 14.39.16 EMP001
Budi Santoso
SITE_EMPLOYEE LQ THREE_MEALS_PER_DAY BREAKFAST REJECTED_DUPLICATE_CLAIM Duplicate claim for BREAKFAST manual_test SIMULATOR
11/5/2026, 14.39.08 EMP001
Budi Santoso
SITE_EMPLOYEE LQ THREE_MEALS_PER_DAY BREAKFAST APPROVED - manual_test SIMULATOR
11/5/2026, 14.38.44 DEMO0000
Rizky Andi
VISITOR LQ MANUAL_ONLY - REJECTED_NON_SITE_PERSONNEL Non-site personnel, HO personnel, visitors, and guests must use manual meal record. manual_test SIMULATOR
11/5/2026, 14.38.30 DEMO0000
Rizky Andi
HO_PERSONNEL LQ MANUAL_ONLY - REJECTED_NON_SITE_PERSONNEL Non-site personnel, HO personnel, visitors, and guests must use manual meal record. manual_test SIMULATOR
11/5/2026, 14.37.37 DEMO0000
Rizky Andi
SITE_EMPLOYEE LQ MANUAL_ONLY - REJECTED_NON_SITE_PERSONNEL Non-site personnel, HO personnel, visitors, and guests must use manual meal record. manual_test SIMULATOR