STATUS CODE: 200 CONTENT: { "success": true, "data": { "activeShift": { "id": 148, "user_id": "8", "branch_id": "1", "start_time": "2026-10-08T04:29:51.000000Z", "end_time": null, "starting_cash": "100000.00", "ending_cash": null, "status": "open", "created_at": "2026-10-08T04:29:51.000000Z", "updated_at": "2026-10-08T04:29:51.000000Z" }, "currentBranch": { "id": 1, "name": "Palas", "code": "PLS", "address": "Jl. Palas Raya No. 1, Cilegon", "latitude": "-6.01234500", "longitude": "106.12345600", "holiday": "Sunday", "whatsapp_number": "08123456789", "is_main": "1", "created_at": "2026-06-06T15:44:19.000000Z", "updated_at": "2026-10-04T13:20:12.000000Z" }, "branches": [ { "id": 2, "name": "Pagebangan" }, { "id": 1, "name": "Palas" } ], "paymentMethods": [ { "id": 1, "branch_id": "1", "name": "Cash", "code": "cash", "type": "Tunai", "is_active": true, "created_at": "2026-06-06T16:53:35.000000Z", "updated_at": "2026-06-06T16:53:35.000000Z" }, { "id": 2, "branch_id": "1", "name": "QRIS BCA", "code": "qris_bca", "type": "Non Tunai", "is_active": true, "created_at": "2026-06-06T16:53:45.000000Z", "updated_at": "2026-06-06T16:53:45.000000Z" } ], "orderTypes": [ { "id": 3, "branch_id": "1", "name": "Walk In", "code": "wal_in", "default_customer_id": "2", "default_customer_name": "Konsumen Umum", "is_active": true, "created_at": "2026-06-06T21:05:56.000000Z", "updated_at": "2026-09-04T06:44:57.000000Z" }, { "id": 4, "branch_id": "1", "name": "Pesanan WA", "code": "wa", "default_customer_id": "3", "default_customer_name": "Pelanggan WA", "is_active": true, "created_at": "2026-06-06T21:06:03.000000Z", "updated_at": "2026-06-06T21:06:03.000000Z" } ], "taxPercent": 11, "discountPercent": 0, "posApplyTax": false, "posServiceCharge": false, "posServiceChargePercent": 0, "posTambahanDiskon": false, "posManualProductPrice": false, "posRoundingType": "nearest_500", "posRoundingDirection": "nearest", "products": [], "customers": [ { "id": 1, "name": "Edi", "phone": null, "email": null, "address": null, "member_code": "MBR-260904XUSW", "created_at": "2026-09-04T06:08:29.000000Z", "updated_at": "2026-09-04T06:08:29.000000Z" }, { "id": 2, "name": "Konsumen Umum", "phone": null, "email": null, "address": null, "member_code": "MBR-2609041GZZ", "created_at": "2026-09-04T06:15:13.000000Z", "updated_at": "2026-09-04T06:15:13.000000Z" }, { "id": 3, "name": "Pelanggan WA", "phone": null, "email": null, "address": null, "member_code": "MBR-260904MHBR", "created_at": "2026-09-04T06:29:23.000000Z", "updated_at": "2026-09-04T06:29:23.000000Z" } ], "transfers": [ { "id": 8, "transfer_no": "TRF-02-01-2606070001", "from_branch_id": "2", "to_branch_id": "1", "requested_by": { "id": 7, "name": "Deden Firmansyah", "email": "it@anekaplastikcilegon.com", "phone": "082246004800", "join_date": "2026-06-06", "status": "active", "face_photo_path": null, "email_verified_at": null, "pin_kasir": "080808", "created_at": "2026-06-06T15:45:21.000000Z", "updated_at": "2026-06-06T22:11:19.000000Z", "branch_id": "1" }, "approved_by": { "id": 8, "name": "Edi", "email": "edi@anekaplastikcilegon.com", "phone": "08170743662", "join_date": "2019-01-01", "status": "active", "face_photo_path": null, "email_verified_at": null, "pin_kasir": "000000", "created_at": "2026-06-06T15:55:26.000000Z", "updated_at": "2026-07-09T13:36:43.000000Z", "branch_id": "1" }, "sent_by": { "id": 8, "name": "Edi", "email": "edi@anekaplastikcilegon.com", "phone": "08170743662", "join_date": "2019-01-01", "status": "active", "face_photo_path": null, "email_verified_at": null, "pin_kasir": "000000", "created_at": "2026-06-06T15:55:26.000000Z", "updated_at": "2026-07-09T13:36:43.000000Z", "branch_id": "1" }, "received_by": { "id": 7, "name": "Deden Firmansyah", "email": "it@anekaplastikcilegon.com", "phone": "082246004800", "join_date": "2026-06-06", "status": "active", "face_photo_path": null, "email_verified_at": null, "pin_kasir": "080808", "created_at": "2026-06-06T15:45:21.000000Z", "updated_at": "2026-06-06T22:11:19.000000Z", "branch_id": "1" }, "status": "completed", "notes": "jam 9", "created_at": "2026-06-07T18:40:28.000000Z", "updated_at": "2026-06-07T18:43:06.000000Z", "from_branch": { "id": 2, "name": "Pagebangan", "code": "TK2", "address": "Jl. Pagebangan No. 12, Cilegon", "latitude": "-6.02345600", "longitude": "106.23456700", "holiday": "Friday", "whatsapp_number": null, "is_main": "0", "created_at": "2026-06-06T15:44:19.000000Z", "updated_at": "2026-06-06T21:52:22.000000Z" }, "to_branch": { "id": 1, "name": "Palas", "code": "PLS", "address": "Jl. Palas Raya No. 1, Cilegon", "latitude": "-6.01234500", "longitude": "106.12345600", "holiday": "Sunday", "whatsapp_number": "08123456789", "is_main": "1", "created_at": "2026-06-06T15:44:19.000000Z", "updated_at": "2026-10-04T13:20:12.000000Z" }, "items": [] } ], "expenseCategories": [ { "id": 2, "name": "Air", "created_at": "2026-06-06T15:40:39.000000Z", "updated_at": "2026-06-06T15:40:39.000000Z" }, { "id": 5, "name": "Gaji", "created_at": "2026-06-06T15:40:39.000000Z", "updated_at": "2026-06-06T15:40:39.000000Z" }, { "id": 7, "name": "Lain-lain", "created_at": "2026-06-06T15:40:39.000000Z", "updated_at": "2026-06-06T15:40:39.000000Z" }, { "id": 1, "name": "Listrik", "created_at": "2026-06-06T15:40:39.000000Z", "updated_at": "2026-06-06T15:40:39.000000Z" }, { "id": 4, "name": "Operasional Harian", "created_at": "2026-06-06T15:40:39.000000Z", "updated_at": "2026-06-06T15:40:39.000000Z" }, { "id": 6, "name": "Sewa", "created_at": "2026-06-06T15:40:39.000000Z", "updated_at": "2026-06-06T15:40:39.000000Z" }, { "id": 3, "name": "Transportasi", "created_at": "2026-06-06T15:40:39.000000Z", "updated_at": "2026-06-06T15:40:39.000000Z" } ], "todayExpenses": [ { "id": 3, "expense_no": "EXP-01-2606060001", "branch_id": "1", "user_id": "7", "category": "Lain-lain", "amount": "5000.00", "notes": "gorengan", "date": "2026-06-07", "created_at": "2026-06-06T18:39:16.000000Z", "updated_at": "2026-06-06T18:39:16.000000Z" } ], "companyLogo": "https:\/\/anekaplastikcilegon.com\/storage\/settings\/cEgIjMOmqMxAksvmijPjUm1wkxJP3YyVrxEm47fk.png", "posInvoiceFormat": "{custom_prefix}-{store_code}-{date}", "posInvoicePrefixCustom": "POS" } }