{
"current_page": 1,
"data": [
{
"id": 17,
"store_id": 100,
"member_id": 2,
"invoice_id": 18,
"subtotal": "100000.00",
"discount": "28000.00",
"additional_fee": "5000.00",
"total": "77000.00",
"status": "PENDING",
"created_by": 3,
"updated_by": 3,
"created_at": "2024-12-23T08:51:20.000000Z",
"updated_at": "2024-12-23T08:51:20.000000Z",
"invoice": {
"id": 18,
"invoice_number": "INV-20241223-000001",
"date": "2024-12-23 13:51:00",
"created_by": 3,
"updated_by": 3,
"created_at": "2024-12-23T08:51:20.000000Z",
"updated_at": "2024-12-23T08:51:20.000000Z"
},
"store": {
"id": 100,
"name": "CHRISTINE NATALIA SUGIARTO Store",
"avatar_url": "",
"email": "xtine25.c@gmail.com ",
"phone": "6285730316700",
"address": "Jl. Gatak No.4, Brajan, T",
"is_willing_to_accept_po": 1,
"monthly_revenue": "135000000.00",
"longitude": "110.32836205",
"latitude": "-7.81618673",
"approval_status": "APPROVED",
"has_interior_status": "PENDING",
"has_location_status": "PENDING",
"interior_photo_url": "",
"photo_url": [
"https://bgskin.arkatama.id/public/uploads/store/store0_220114093535.jpeg"
],
"color": "E3007F",
"is_active": "1",
"inserted_at": null,
"created_by": null,
"updated_by": null,
"created_at": "2024-12-18T03:39:40.000000Z",
"updated_at": "2024-12-18T03:40:06.000000Z",
"deleted_by": null,
"deleted_at": null
},
"member": {
"id": 2,
"name": "Nicky Erlangga",
"email": "nickyerlanggas@gmail.com",
"phone": "6281234563456",
"address": "Jalan Jakarta No.56 Jatimulyo, Lowokwaru, Malang",
"photo_url": "http://192.168.20.19:8001/storage/member/lMEpl9gVkans12lvc0sRGkhk80TvPNdE38LJ2M0F.png",
"is_active": "0",
"created_by": 3,
"updated_by": 3,
"created_at": "2024-12-20T03:39:25.000000Z",
"updated_at": "2024-12-20T03:39:25.000000Z"
},
"transaction_payment": {
"id": 16,
"transaction_id": 17,
"bank_id": null,
"store_payments_id": 1,
"detail": {
"id": 1,
"store_id": 100,
"bank_id": 2,
"name": "Mandiri",
"description": "Contoh deskripsi",
"type": "TRANSFER",
"account_name": "Test",
"account_number": 123,
"photo_url": null,
"is_active": "1",
"deleted_at": null,
"created_by": 3,
"updated_by": 3,
"created_at": "2024-12-23T06:52:14.000000Z",
"updated_at": "2024-12-23T06:52:14.000000Z"
},
"name": "Mandiri",
"type": "TRANSFER",
"payment_nominal": "100000.00",
"change": "23000.00",
"created_by": 3,
"updated_by": 3,
"created_at": "2024-12-23T08:51:20.000000Z",
"updated_at": "2024-12-23T08:51:20.000000Z"
},
"transaction_details": [
{
"id": 7,
"product_id": 24,
"transaction_id": 17,
"detail": {
"id": 24,
"original_product_id": 31,
"stock": 50,
"minimum_stock": 2,
"description": "Deskripsi okee",
"price_sell": "100000.00",
"price_buy": "80000.00",
"is_active": 1,
"created_by": 3,
"updated_by": 3,
"created_at": "2024-12-18T03:54:26.000000Z",
"updated_at": "2024-12-23T06:54:35.000000Z",
"detail": {
"id_produk": 31,
"kode_barcode": "BARCODE031",
"nama_produk": "SUNCARE EMULTION ",
"jenis_paket": null,
"gambar_produk": [
"https://bgskin.arkatama.id/public/uploads/produk/produk0_220607083537.jpeg"
],
"is_active": "1",
"soft_delete": "1",
"inserted_time": "2022-06-07 08:35:37",
"last_modified_time": null,
"last_modified_by": 0,
"is_paket": "0",
"created_by": 1,
"created_at": "2024-01-08T06:41:54.000000Z",
"updated_by": null,
"updated_at": null,
"poin": 0
}
},
"type": "PCS",
"name": "SUNCARE EMULTION ",
"image_url": "[\"https:\\/\\/bgskin.arkatama.id\\/public\\/uploads\\/produk\\/produk0_220607083537.jpeg\"]",
"quantity": 1,
"price": "100000.00",
"created_at": "2024-12-23T08:51:20.000000Z",
"updated_at": "2024-12-23T08:51:20.000000Z",
"created_by": 3,
"updated_by": 3
}
],
"transaction_discounts": [
{
"id": 3,
"discount_id": 2,
"transaction_id": 17,
"detail": {
"id": 2,
"name": "Diskon 12.12",
"description": "Diskon 12.12 Terbaik",
"type": "PERCENTAGE",
"category": "PRODUCT",
"value": "10.00",
"is_active": "1",
"created_by": 3,
"updated_by": 3,
"created_at": "2024-12-23T06:56:16.000000Z",
"updated_at": "2024-12-23T06:56:16.000000Z"
},
"type": "PERCENTAGE",
"value": "10.00",
"nominal": "90000.00",
"created_at": "2024-12-23T08:51:20.000000Z",
"updated_at": "2024-12-23T08:51:20.000000Z",
"created_by": 3,
"updated_by": 3
},
{
"id": 4,
"discount_id": 3,
"transaction_id": 17,
"detail": {
"id": 3,
"name": "Mega Sale 20%",
"description": "Mega Sale 20% Terbaik",
"type": "PERCENTAGE",
"category": "PRODUCT",
"value": "20.00",
"is_active": "1",
"created_by": 3,
"updated_by": 3,
"created_at": "2024-12-23T07:01:05.000000Z",
"updated_at": "2024-12-23T07:01:05.000000Z"
},
"type": "PERCENTAGE",
"value": "20.00",
"nominal": "80000.00",
"created_at": "2024-12-23T08:51:20.000000Z",
"updated_at": "2024-12-23T08:51:20.000000Z",
"created_by": 3,
"updated_by": 3
}
],
"transaction_additional_fees": [
{
"id": 2,
"transaction_id": 17,
"name": "Ongkir",
"type": "NOMINAL",
"value": "0.00",
"nominal": "5000.00",
"created_at": "2024-12-23T08:51:20.000000Z",
"updated_at": "2024-12-23T08:51:20.000000Z",
"created_by": 3,
"updated_by": 3
}
],
"evidence": null
}
],
"first_page_url": "http://192.168.20.19:8001/api/v1/transaction?page=1",
"from": 1,
"last_page": 1,
"last_page_url": "http://192.168.20.19:8001/api/v1/transaction?page=1",
"links": [
{
"url": null,
"label": "« Sebelumnya",
"active": false
},
{
"url": "http://192.168.20.19:8001/api/v1/transaction?page=1",
"label": "1",
"active": true
},
{
"url": null,
"label": "Selanjutnya »",
"active": false
}
],
"next_page_url": null,
"path": "http://192.168.20.19:8001/api/v1/transaction",
"per_page": 10,
"prev_page_url": null,
"to": 1,
"total": 1
}