diff --git a/db.json b/db.json index 983ca76..78679ef 100644 --- a/db.json +++ b/db.json @@ -4,6 +4,7 @@ "id": "O001", "name": "Rina Wijaya", "email": "rina@example.com", + "counters": "loket 1", "queues": [ { "queue_id": "Q12345", @@ -15,10 +16,12 @@ }, "service": { "id": "J0001", - "name": "siap_print" + "name": "Print" }, "status": "In Progress", - "created_at": "2025-02-27T08:30:00Z" + "created_at": "2025-02-27T08:30:00Z", + "time_start": "2025-02-27T08:45:00Z", + "time_end": null }, { "queue_id": "Q12346", @@ -30,10 +33,63 @@ }, "service": { "id": "J0001", - "name": "siap_print" + "name": "Print" }, "status": "Waiting", - "created_at": "2025-02-27T09:00:00Z" + "created_at": "2025-02-27T09:00:00Z", + "time_start": null, + "time_end": null + }, + { + "queue_id": "Q12351", + "customer": { + "id": "C007", + "name": "Eka Prasetyo", + "phone": "+6285544332211", + "email": "eka@example.com" + }, + "service": { + "id": "J0003", + "name": "Fotocopy" + }, + "status": "Waiting", + "created_at": "2025-02-27T09:30:00Z", + "time_start": null, + "time_end": null + }, + { + "queue_id": "Q12352", + "customer": { + "id": "C008", + "name": "Rahmat Hidayat", + "phone": "+6287766554433", + "email": "rahmat@example.com" + }, + "service": { + "id": "J0002", + "name": "Design" + }, + "status": "Waiting", + "created_at": "2025-02-27T10:00:00Z", + "time_start": null, + "time_end": null + }, + { + "queue_id": "Q12353", + "customer": { + "id": "C009", + "name": "Lestari Wijaya", + "phone": "+6289988776655", + "email": "lestari@example.com" + }, + "service": { + "id": "J0001", + "name": "Print" + }, + "status": "Waiting", + "created_at": "2025-02-27T10:30:00Z", + "time_start": null, + "time_end": null } ] }, @@ -41,6 +97,7 @@ "id": "O002", "name": "Doni Saputra", "email": "doni@example.com", + "counters": "loket 2", "queues": [ { "queue_id": "Q12347", @@ -52,10 +109,12 @@ }, "service": { "id": "J0002", - "name": "design" + "name": "Design" }, "status": "Completed", - "created_at": "2025-02-27T09:30:00Z" + "created_at": "2025-02-27T09:30:00Z", + "time_start": "2025-02-27T09:45:00Z", + "time_end": "2025-02-27T10:15:00Z" }, { "queue_id": "Q12348", @@ -67,47 +126,350 @@ }, "service": { "id": "J0003", - "name": "fotocopy" + "name": "Fotocopy" }, "status": "In Progress", - "created_at": "2025-02-27T10:00:00Z" + "created_at": "2025-02-27T10:00:00Z", + "time_start": "2025-02-27T10:20:00Z", + "time_end": null + }, + { + "queue_id": "Q12354", + "customer": { + "id": "C010", + "name": "Rina Astuti", + "phone": "+6286677889900", + "email": "rina.astuti@example.com" + }, + "service": { + "id": "J0002", + "name": "Design" + }, + "status": "Waiting", + "created_at": "2025-02-27T11:00:00Z", + "time_start": null, + "time_end": null + }, + { + "queue_id": "Q12355", + "customer": { + "id": "C011", + "name": "Indra Wijaya", + "phone": "+6287766554433", + "email": "indra@example.com" + }, + "service": { + "id": "J0001", + "name": "Print" + }, + "status": "Waiting", + "created_at": "2025-02-27T11:30:00Z", + "time_start": null, + "time_end": null } ] }, { "id": "O003", - "name": "Sari Ningsih", + "name": "Sari Dewi", "email": "sari@example.com", + "counters": "loket 3", "queues": [ { "queue_id": "Q12349", "customer": { - "id": "j000", - "name": "Rudi Hartono", - "phone": "+6287711223344", - "email": "rudi@example.com" + "id": "C005", + "name": "Indra Wijaya", + "phone": "+6286677889900", + "email": "indra@example.com" }, "service": { - "id": "J0002", - "name": "design" + "id": "J0001", + "name": "Print" }, "status": "Waiting", - "created_at": "2025-02-27T10:30:00Z" + "created_at": "2025-02-27T10:30:00Z", + "time_start": null, + "time_end": null }, { "queue_id": "Q12350", "customer": { "id": "C006", - "name": "Dewi Anggraini", - "phone": "+6286677889900", - "email": "dewi@example.com" + "name": "Rina Astuti", + "phone": "+6287766554433", + "email": "rina.astuti@example.com" + }, + "service": { + "id": "J0002", + "name": "Design" + }, + "status": "Waiting", + "created_at": "2025-02-27T11:00:00Z", + "time_start": null, + "time_end": null + }, + { + "queue_id": "Q12356", + "customer": { + "id": "C012", + "name": "Eka Prasetyo", + "phone": "+6285544332211", + "email": "eka@example.com" + }, + "service": { + "id": "J0003", + "name": "Fotocopy" + }, + "status": "Waiting", + "created_at": "2025-02-27T11:30:00Z", + "time_start": null, + "time_end": null + }, + { + "queue_id": "Q12357", + "customer": { + "id": "C013", + "name": "Rahmat Hidayat", + "phone": "+6287766554433", + "email": "rahmat@example.com" + }, + "service": { + "id": "J0002", + "name": "Design" + }, + "status": "Waiting", + "created_at": "2025-02-27T12:00:00Z", + "time_start": null, + "time_end": null + }, + { + "queue_id": "Q12358", + "customer": { + "id": "C014", + "name": "Lestari Wijaya", + "phone": "+6289988776655", + "email": "lestari@example.com" }, "service": { "id": "J0001", - "name": "siap_print" + "name": "Print" }, - "status": "Completed", - "created_at": "2025-02-27T11:00:00Z" + "status": "Waiting", + "created_at": "2025-02-27T12:30:00Z", + "time_start": null, + "time_end": null + } + ] + }, + { + "id": "O004", + "name": "Rina Wijaya", + "email": "rina@example.com", + "counters": "loket 4", + "queues": [ + { + "queue_id": "Q12359", + "customer": { + "id": "C015", + "name": "Budi Santoso", + "phone": "+628123456789", + "email": "budi@example.com" + }, + "service": { + "id": "J0001", + "name": "Print" + }, + "status": "Waiting", + "created_at": "2025-02-27T13:00:00Z", + "time_start": null, + "time_end": null + }, + { + "queue_id": "Q12360", + "customer": { + "id": "C016", + "name": "Siti Aminah", + "phone": "+628987654321", + "email": "siti@example.com" + }, + "service": { + "id": "J0001", + "name": "Print" + }, + "status": "Waiting", + "created_at": "2025-02-27T13:30:00Z", + "time_start": null, + "time_end": null + }, + { + "queue_id": "Q12361", + "customer": { + "id": "C017", + "name": "Eka Prasetyo", + "phone": "+6285544332211", + "email": "eka@example.com" + }, + "service": { + "id": "J0003", + "name": "Fotocopy" + }, + "status": "Waiting", + "created_at": "2025-02-27T14:00:00Z", + "time_start": null, + "time_end": null + }, + { + "queue_id": "Q12362", + "customer": { + "id": "C018", + "name": "Rahmat Hidayat", + "phone": "+6287766554433", + "email": "rahmat@example.com" + }, + "service": { + "id": "J0002", + "name": "Design" + }, + "status": "Waiting", + "created_at": "2025-02-27T14:30:00Z", + "time_start": null, + "time_end": null + }, + { + "queue_id": "Q12363", + "customer": { + "id": "C019", + "name": "Lestari Wijaya", + "phone": "+6289988776655", + "email": "lestari@example.com" + }, + "service": { + "id": "J0001", + "name": "Print" + }, + "status": "Waiting", + "created_at": "2025-02-27T15:00:00Z", + "time_start": null, + "time_end": null + } + ] + }, + { + "id": "O005", + "name": "Doni Saputra", + "email": "doni@example.com", + "counters": "loket 5", + "queues": [ + { + "queue_id": "Q12364", + "customer": { + "id": "C020", + "name": "Ahmad Fauzi", + "phone": "+6285566778899", + "email": "ahmad@example.com" + }, + "service": { + "id": "J0002", + "name": "Design" + }, + "status": "Waiting", + "created_at": "2025-02-27T15:30:00Z", + "time_start": null, + "time_end": null + }, + { + "queue_id": "Q12365", + "customer": { + "id": "C021", + "name": "Lina Kusuma", + "phone": "+6289988776655", + "email": "lina@example.com" + }, + "service": { + "id": "J0003", + "name": "Fotocopy" + }, + "status": "Waiting", + "created_at": "2025-02-27T16:00:00Z", + "time_start": null, + "time_end": null + }, + { + "queue_id": "Q12366", + "customer": { + "id": "C022", + "name": "Rina Astuti", + "phone": "+6286677889900", + "email": "rina.astuti@example.com" + }, + "service": { + "id": "J0002", + "name": "Design" + }, + "status": "Waiting", + "created_at": "2025-02-27T16:30:00Z", + "time_start": null, + "time_end": null + }, + { + "queue_id": "Q12367", + "customer": { + "id": "C023", + "name": "Indra Wijaya", + "phone": "+6287766554433", + "email": "indra@example.com" + }, + "service": { + "id": "J0001", + "name": "Print" + }, + "status": "Waiting", + "created_at": "2025-02-27T17:00:00Z", + "time_start": null, + "time_end": null + }, + { + "queue_id": "Q12368", + "customer": { + "id": "C024", + "name": "Eka Prasetyo", + "phone": "+6285544332211", + "email": "eka@example.com" + }, + "service": { + "id": "J0003", + "name": "Fotocopy" + }, + "status": "Waiting", + "created_at": "2025-02-27T17:30:00Z", + "time_start": null, + "time_end": null + } + ] + }, + { + "id": "O006", + "name": "Sari Dewi", + "email": "sari@example.com", + "counters": "loket 6", + "queues": [ + { + "queue_id": "Q12369", + "customer": { + "id": "C025", + "name": "Rahmat Hidayat", + "phone": "+6287766554433", + "email": "rahmat@example.com" + }, + "service": { + "id": "J0002", + "name": "Design" + }, + "status": "Waiting", + "created_at": "2025-02-27T18:00:00Z", + "time_start": null, + "time_end": null } ] } diff --git a/public/Logo.jpg b/public/Logo.jpg new file mode 100644 index 0000000..8a8595f Binary files /dev/null and b/public/Logo.jpg differ diff --git a/public/profile.jpg b/public/profile.jpg new file mode 100644 index 0000000..177e8df Binary files /dev/null and b/public/profile.jpg differ diff --git a/src/components/Admin/AdminFooter.jsx b/src/components/Admin/AdminFooter.jsx index ff9c1a7..bfbb505 100644 --- a/src/components/Admin/AdminFooter.jsx +++ b/src/components/Admin/AdminFooter.jsx @@ -2,7 +2,7 @@ import { Container } from "react-bootstrap"; const AdminFooter = () => { return ( -