STATUS CODE: 200 CONTENT: { "success": true, "data": { "activeShift": { "id": 44, "user_id": "8", "branch_id": "2", "start_time": "2026-06-11T11:43:45.000000Z", "end_time": null, "starting_cash": "100000.00", "ending_cash": null, "status": "open", "created_at": "2026-06-11T11:43:45.000000Z", "updated_at": "2026-06-11T11:43:45.000000Z" }, "currentBranch": { "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" }, "branches": [ { "id": 2, "name": "Pagebangan" }, { "id": 1, "name": "Palas" } ], "paymentMethods": [ { "id": 3, "branch_id": "2", "name": "Cash", "code": "cash", "type": "Tunai", "is_active": true, "created_at": "2026-06-06T16:59:41.000000Z", "updated_at": "2026-06-06T16:59:41.000000Z" }, { "id": 4, "branch_id": "2", "name": "QRIS BCA", "code": "qris_bca", "type": "Non Tunai", "is_active": true, "created_at": "2026-06-06T16:59:51.000000Z", "updated_at": "2026-06-06T16:59:51.000000Z" } ], "orderTypes": [ { "id": 1, "branch_id": "2", "name": "Walk In", "code": "walk_in", "is_active": true, "created_at": "2026-06-06T17:12:06.000000Z", "updated_at": "2026-06-06T17:12:06.000000Z" }, { "id": 2, "branch_id": "2", "name": "Pesanan WA", "code": "wa", "is_active": true, "created_at": "2026-06-06T17:12:16.000000Z", "updated_at": "2026-06-06T17:12:16.000000Z" } ], "taxPercent": 11, "discountPercent": 0, "posApplyTax": false, "posServiceCharge": false, "posServiceChargePercent": 0, "posTambahanDiskon": true, "posManualProductPrice": false, "posRoundingType": "none", "posRoundingDirection": "nearest", "products": [ { "id": 3, "sku": "57691195", "barcode": null, "name": "Gelas Plastik 22 oz Starindo", "category_id": "1", "brand_id": null, "unit_id": "2", "image": null, "rack_location": null, "min_stock": 10, "ideal_stock": 100, "min_margin_percent": 5, "is_active": true, "created_at": "2026-06-06T22:05:38.000000Z", "updated_at": "2026-06-09T07:10:01.000000Z", "category": { "id": 1, "name": "Gelas Plastik", "slug": "gelas-plastik", "created_at": "2026-06-06T15:44:21.000000Z", "updated_at": "2026-06-06T15:44:21.000000Z" }, "brand": null, "unit": { "id": 2, "name": "Pack", "short_name": "PACK", "created_at": "2026-06-06T15:44:21.000000Z", "updated_at": "2026-06-06T15:44:21.000000Z" }, "prices": [ { "id": 15, "product_id": "3", "unit_id": null, "tier_type": "retail", "min_qty": 1, "price": "21000.00", "created_at": "2026-06-09T07:32:59.000000Z", "updated_at": "2026-06-09T07:32:59.000000Z" }, { "id": 16, "product_id": "3", "unit_id": "4", "tier_type": "grosir", "min_qty": 1, "price": "20000.00", "created_at": "2026-06-09T07:32:59.000000Z", "updated_at": "2026-06-09T07:32:59.000000Z" } ], "product_units": [ { "id": 9, "product_id": "3", "unit_id": "4", "conversion_factor": 40, "created_at": "2026-06-09T07:32:59.000000Z", "updated_at": "2026-06-09T07:32:59.000000Z", "unit": { "id": 4, "name": "Dus", "short_name": "DUS", "created_at": "2026-06-06T15:44:21.000000Z", "updated_at": "2026-06-06T15:44:21.000000Z" } } ] } ], "customers": [], "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-06-07T12:59:15.000000Z", "branch_id": "2" }, "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-06-07T12:59:15.000000Z", "branch_id": "2" }, "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": "TK1", "address": "Jl. Palas Raya No. 1, Cilegon", "latitude": "-6.01234500", "longitude": "106.12345600", "holiday": "Sunday", "whatsapp_number": null, "is_main": "1", "created_at": "2026-06-06T15:44:19.000000Z", "updated_at": "2026-06-06T21:52:22.000000Z" }, "items": [ { "id": 8, "stock_transfer_id": "8", "product_id": "3", "unit_id": "2", "quantity": 90, "quantity_received": 90, "notes": null, "created_at": "2026-06-07T18:40:28.000000Z", "updated_at": "2026-06-07T18:43:06.000000Z", "product": { "id": 3, "sku": "57691195", "barcode": null, "name": "Gelas Plastik 22 oz Starindo", "category_id": "1", "brand_id": null, "unit_id": "2", "image": null, "rack_location": null, "min_stock": 10, "ideal_stock": 100, "min_margin_percent": 5, "is_active": true, "created_at": "2026-06-06T22:05:38.000000Z", "updated_at": "2026-06-09T07:10:01.000000Z", "unit": { "id": 2, "name": "Pack", "short_name": "PACK", "created_at": "2026-06-06T15:44:21.000000Z", "updated_at": "2026-06-06T15:44:21.000000Z" } }, "unit": { "id": 2, "name": "Pack", "short_name": "PACK", "created_at": "2026-06-06T15:44:21.000000Z", "updated_at": "2026-06-06T15:44:21.000000Z" } } ] } ], "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": 2, "expense_no": "EXP-02-2606060002", "branch_id": "2", "user_id": "7", "category": "Lain-lain", "amount": "5000.00", "notes": "kopi", "date": "2026-06-07", "created_at": "2026-06-06T17:54:53.000000Z", "updated_at": "2026-06-06T17:54:53.000000Z" }, { "id": 1, "expense_no": "EXP-02-2606060001", "branch_id": "2", "user_id": "7", "category": "Operasional Harian", "amount": "5000.00", "notes": "es teh", "date": "2026-06-07", "created_at": "2026-06-06T17:27:35.000000Z", "updated_at": "2026-06-06T17:27:35.000000Z" } ], "companyLogo": "https:\/\/anekaplastikcilegon.com\/storage\/settings\/cEgIjMOmqMxAksvmijPjUm1wkxJP3YyVrxEm47fk.png", "posInvoiceFormat": "{custom_prefix}-{store_code}-{date}", "posInvoicePrefixCustom": "POS" } }