{
"success": true,
"message": "Sales Items fetched successfully!",
"data": {
"meta": {
"total": 21,
"per_page": 50,
"current_page": 1,
"last_page": 1,
"first_page": 1,
"first_page_url": "/?page=1",
"last_page_url": "/?page=1",
"next_page_url": null,
"previous_page_url": null
},
"data": [
{
"product_id": "20285",
"product_variant_id": null,
"product_name": "footballer",
"variant_name": "",
"image": null,
"total_amount": "20000.000000000000",
"formatted_total_amount": "$ 20,000.00",
"quantity": 2,
"sales_count": "2",
"profit": "100%",
"unformattedProfit": 100,
"change": "100%",
"unformattedChange": 100
},
{
"product_id": "20058",
"product_variant_id": null,
"product_name": "Game Vibes",
"variant_name": "",
"image": null,
"total_amount": "20000.000000000000",
"formatted_total_amount": "$ 20,000.00",
"quantity": 4,
"sales_count": "4",
"profit": "100%",
"unformattedProfit": 99.5033,
"change": "100%",
"unformattedChange": 99.5033
},
{
"product_id": "19745",
"product_variant_id": null,
"product_name": "Service B",
"variant_name": "",
"image": null,
"total_amount": "36000.000000000000",
"formatted_total_amount": "$ 36,000.00",
"quantity": 3,
"sales_count": "3",
"profit": "99%",
"unformattedProfit": 99.33775,
"change": "99%",
"unformattedChange": 99.33775
},
{
"product_id": "19744",
"product_variant_id": null,
"product_name": "Service A",
"variant_name": "",
"image": null,
"total_amount": "60000.000000000000",
"formatted_total_amount": "$ 60,000.00",
"quantity": 3,
"sales_count": "3",
"profit": "99%",
"unformattedProfit": 99.33775,
"change": "99%",
"unformattedChange": 99.33775
},
{
"product_id": "19730",
"product_variant_id": null,
"product_name": "Laundry",
"variant_name": "",
"image": null,
"total_amount": "30000.000000000000",
"formatted_total_amount": "$ 30,000.00",
"quantity": 3,
"sales_count": "3",
"profit": "99%",
"unformattedProfit": 99.33773333333333,
"change": "99%",
"unformattedChange": 99.33773333333333
},
{
"product_id": "19732",
"product_variant_id": null,
"product_name": "Consultation",
"variant_name": "",
"image": null,
"total_amount": "20000.000000000000",
"formatted_total_amount": "$ 20,000.00",
"quantity": 2,
"sales_count": "2",
"profit": "99%",
"unformattedProfit": 99.0066,
"change": "99%",
"unformattedChange": 99.0066
},
{
"product_id": "20306",
"product_variant_id": null,
"product_name": "Cleaning",
"variant_name": "",
"image": null,
"total_amount": "9000.0000000000000000",
"formatted_total_amount": "$ 9,000.00",
"quantity": 6,
"sales_count": "6",
"profit": "95%",
"unformattedProfit": 94.744,
"change": "95%",
"unformattedChange": 94.744
},
{
"product_id": "20059",
"product_variant_id": null,
"product_name": "transports",
"variant_name": "",
"image": null,
"total_amount": "14000.000000000000",
"formatted_total_amount": "$ 14,000.00",
"quantity": 7,
"sales_count": "7",
"profit": "93%",
"unformattedProfit": 93.19785714285715,
"change": "93%",
"unformattedChange": 93.19785714285715
},
{
"product_id": "20305",
"product_variant_id": null,
"product_name": "Singing",
"variant_name": "",
"image": null,
"total_amount": "90000.000000000000",
"formatted_total_amount": "$ 90,000.00",
"quantity": 6,
"sales_count": "6",
"profit": "92%",
"unformattedProfit": 92.06422222222223,
"change": "92%",
"unformattedChange": 92.06422222222223
},
{
"product_id": "19757",
"product_variant_id": "20172",
"product_name": "Sausage roll",
"variant_name": "Beefie",
"image": null,
"total_amount": "220000.000000000000",
"formatted_total_amount": "$ 220,000.00",
"quantity": 11,
"sales_count": "3",
"profit": "50%",
"unformattedProfit": 50,
"change": "0%",
"unformattedChange": 0
},
{
"product_id": "19757",
"product_variant_id": "20171",
"product_name": "Sausage roll",
"variant_name": "Gala",
"image": null,
"total_amount": "40000.000000000000",
"formatted_total_amount": "$ 40,000.00",
"quantity": 2,
"sales_count": "1",
"profit": "50%",
"unformattedProfit": 50,
"change": "1%",
"unformattedChange": 1
},
{
"product_id": "20207",
"product_variant_id": "20822",
"product_name": "Shoes",
"variant_name": "Green-Airforce",
"image": "https://res.cloudinary.com/dwfnoynkp/image/upload/v1716156448/dev/products/user-1718.jpg",
"total_amount": "60000.000000000000",
"formatted_total_amount": "$ 60,000.00",
"quantity": 4,
"sales_count": "2",
"profit": "33%",
"unformattedProfit": 33.333333333333336,
"change": "1%",
"unformattedChange": 1
},
{
"product_id": "20045",
"product_variant_id": "20602",
"product_name": "Milk ",
"variant_name": "Milk ",
"image": "https://res.cloudinary.com/dwfnoynkp/image/upload/v1716862019/dev/products/user-2279.jpg",
"total_amount": "1500.0000000000000000",
"formatted_total_amount": "$ 1,500.00",
"quantity": 6,
"sales_count": "5",
"profit": "20%",
"unformattedProfit": 20,
"change": "0%",
"unformattedChange": 0.25
},
{
"product_id": "19734",
"product_variant_id": "20119",
"product_name": "Semovita",
"variant_name": "",
"image": null,
"total_amount": "24000.000000000000",
"formatted_total_amount": "$ 24,000.00",
"quantity": 2,
"sales_count": "2",
"profit": "17%",
"unformattedProfit": 16.666666666666668,
"change": "17%",
"unformattedChange": 16.666666666666668
},
{
"product_id": "19742",
"product_variant_id": "20131",
"product_name": "Aqua",
"variant_name": "",
"image": null,
"total_amount": "2160.0000000000000000",
"formatted_total_amount": "$ 2,160.00",
"quantity": 3,
"sales_count": "3",
"profit": "17%",
"unformattedProfit": 16.666666666666668,
"change": "1%",
"unformattedChange": 1.0000000000000018
},
{
"product_id": "19728",
"product_variant_id": "20113",
"product_name": "Bulb",
"variant_name": "White",
"image": null,
"total_amount": "2400.0000000000000000",
"formatted_total_amount": "$ 2,400.00",
"quantity": 2,
"sales_count": "2",
"profit": "17%",
"unformattedProfit": 16.666666666666668,
"change": "17%",
"unformattedChange": 16.666666666666668
},
{
"product_id": "19746",
"product_variant_id": "20146",
"product_name": "Pro",
"variant_name": "M",
"image": null,
"total_amount": "4800.0000000000000000",
"formatted_total_amount": "$ 4,800.00",
"quantity": 4,
"sales_count": "2",
"profit": "17%",
"unformattedProfit": 16.666666666666668,
"change": "17%",
"unformattedChange": 16.666666666666668
},
{
"product_id": "19724",
"product_variant_id": "20115",
"product_name": "Samsung phone",
"variant_name": "S10",
"image": null,
"total_amount": "44000.000000000000",
"formatted_total_amount": "$ 44,000.00",
"quantity": 2,
"sales_count": "2",
"profit": "9%",
"unformattedProfit": 9.090909090909092,
"change": "0%",
"unformattedChange": 0
},
{
"product_id": "19729",
"product_variant_id": "20117",
"product_name": "Laptop",
"variant_name": "Asus",
"image": null,
"total_amount": "154000.000000000000",
"formatted_total_amount": "$ 154,000.00",
"quantity": 2,
"sales_count": "2",
"profit": "6%",
"unformattedProfit": 6.4935064935064934,
"change": "6%",
"unformattedChange": 6.4935064935064934
},
{
"product_id": "19725",
"product_variant_id": "20106",
"product_name": "Beverages ",
"variant_name": "Ovaltine",
"image": null,
"total_amount": "165000.000000000000",
"formatted_total_amount": "$ 165,000.00",
"quantity": 5,
"sales_count": "1",
"profit": "6%",
"unformattedProfit": 6.0606060606060606,
"change": "6%",
"unformattedChange": 6.0606060606060606
},
{
"product_id": "19727",
"product_variant_id": "20112",
"product_name": "Mouse",
"variant_name": "Wireless",
"image": null,
"total_amount": "4200.0000000000000000",
"formatted_total_amount": "$ 4,200.00",
"quantity": 1,
"sales_count": "1",
"profit": "5%",
"unformattedProfit": 4.761904761904762,
"change": "5%",
"unformattedChange": 4.761904761904762
}
]
}
}