INSERT INTO `bill_records` (`id`, `bill_number`, `bill_date`, `bill_time`, `customer_phone`, `customer_id`, `total_amount`, `paid_amount`, `change_amount`, `is_credit`, `paymenttype`, `bill_content`, `items_json`, `created_at`) VALUES
(117, 53, '2025-10-31', NULL, NULL, NULL, 780.00, 1000.00, 220.00, 0, 'cash', '<div class=\"bill-header\" style=\"padding-top: 0; margin-top: 0;\"><div style=\"text-align: center; margin-bottom: 8px; margin-top: 0; padding-top: 0;\"><img src=\"logo.png\" alt=\"Store Logo\" style=\"max-width: 100%; width: 95%; height: auto; max-height: 300px; margin-top: 0; margin-bottom: 6px; display: block; margin-left: auto; margin-right: auto; object-fit: contain; padding-top: 0;\"><h2 style=\"margin: 4px 0 0 0; font-size: 22px; font-weight: bold;\"></h2></div><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">පාසල අසල දොරපනේ</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Tel: 071-3552017</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center; font-weight: bold;\">බිල් අංකය: 53</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Date: 31/10/2025 Time: 16:24:08</p><div style=\"margin: 4px 0; border-bottom: 1px dashed black; width: 100%;\"></div></div><div class=\"bill-items\" style=\"margin-bottom: 8px;\"><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">කඩල</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.480.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.520</div><div>අපේ මිල: Rs.480</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">1.00 × Rs.480.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">වෙනත්</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.150.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.150</div><div>අපේ මිල: Rs.150</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">150.00 × Rs.1.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">වෙනත්</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.150.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.150</div><div>අපේ මිල: Rs.150</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">150.00 × Rs.1.00</div></div></div></div><div class=\"bill-summary\" style=\"text-align: right; font-size: 15px; margin-bottom: 4px;\"><div style=\"margin: 6px 0; font-weight: bold; font-size: 28px;\">මුළු මුදල: Rs. 780.00</div><div style=\"margin: 4px 0; font-weight: bold;\">ගෙවූ මුදල: Rs. 1000.00</div><div style=\"margin: 4px 0; font-size: 14px; font-weight: bold;\">ඉතිරි මුදල: Rs. 220.00</div><div style=\"border: 1px solid black; padding: 20px; margin-top: 8px; width: 100%; background-color: #ffffffff;\"><div style=\"text-align: center; font-size: 10px; font-weight: bold; line-height: 1.7;\">අපෙන් භාණ්ඩ ලබා ගැනීමෙන් ඔබ ලැබූ ලාභය<br><span style=\"font-size: 12px; color: #000000ff;\">Rs.40.00</span></div></div><div class=\"bill-footer\" style=\"text-align: center; font-size: 13px;\"><p style=\"margin: 4px 0; font-size: 15px;\">ස්තූතියි! නැවත එන්න</p><p style=\"margin: 6px 0; font-size: 12px;\">=== Gadget Technologies 071-1071666 ===</p></div>', '[{\"id\":116,\"item_name_sinhala\":\"කඩල\",\"item_name_english\":\"kadala\",\"barcode\":\"349521076\",\"unit_of_measurement\":\"pcs\",\"regular_price\":520,\"our_price\":480,\"stock_quantity\":20,\"quantity\":1},{\"id\":88,\"item_name_sinhala\":\"වෙනත්\",\"item_name_english\":\"we\",\"barcode\":\"045504190\",\"unit_of_measurement\":\"pcs\",\"regular_price\":1,\"our_price\":1,\"stock_quantity\":780,\"quantity\":150},{\"id\":186,\"item_name_sinhala\":\"වෙනත්\",\"item_name_english\":\"we2\",\"barcode\":\"400735117\",\"unit_of_measurement\":\"pcs\",\"regular_price\":1,\"our_price\":1,\"stock_quantity\":470,\"quantity\":150}]', '2025-10-31 10:54:08'),
(118, 54, '2025-10-31', NULL, NULL, NULL, 210.00, 220.00, 10.00, 0, 'cash', '<div class=\"bill-header\" style=\"padding-top: 0; margin-top: 0;\"><div style=\"text-align: center; margin-bottom: 8px; margin-top: 0; padding-top: 0;\"><img src=\"logo.png\" alt=\"Store Logo\" style=\"max-width: 100%; width: 95%; height: auto; max-height: 300px; margin-top: 0; margin-bottom: 6px; display: block; margin-left: auto; margin-right: auto; object-fit: contain; padding-top: 0;\"><h2 style=\"margin: 4px 0 0 0; font-size: 22px; font-weight: bold;\"></h2></div><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">පාසල අසල දොරපනේ</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Tel: 071-3552017</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center; font-weight: bold;\">බිල් අංකය: 54</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Date: 31/10/2025 Time: 16:25:12</p><div style=\"margin: 4px 0; border-bottom: 1px dashed black; width: 100%;\"></div></div><div class=\"bill-items\" style=\"margin-bottom: 8px;\"><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">යෝගට්</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.210.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.210</div><div>අපේ මිල: Rs.210</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">3.00 × Rs.70.00</div></div></div></div><div class=\"bill-summary\" style=\"text-align: right; font-size: 15px; margin-bottom: 4px;\"><div style=\"margin: 6px 0; font-weight: bold; font-size: 28px;\">මුළු මුදල: Rs. 210.00</div><div style=\"margin: 4px 0; font-weight: bold;\">ගෙවූ මුදල: Rs. 220.00</div><div style=\"margin: 4px 0; font-size: 14px; font-weight: bold;\">ඉතිරි මුදල: Rs. 10.00</div><div style=\"border: 1px solid black; padding: 20px; margin-top: 8px; width: 100%; background-color: #ffffffff;\"><div style=\"text-align: center; font-size: 10px; font-weight: bold; line-height: 1.7;\">අපෙන් භාණ්ඩ ලබා ගැනීමෙන් ඔබ ලැබූ ලාභය<br><span style=\"font-size: 12px; color: #000000ff;\">Rs.0.00</span></div></div><div class=\"bill-footer\" style=\"text-align: center; font-size: 13px;\"><p style=\"margin: 4px 0; font-size: 15px;\">ස්තූතියි! නැවත එන්න</p><p style=\"margin: 6px 0; font-size: 12px;\">=== Gadget Technologies 071-1071666 ===</p></div>', '[{\"id\":275,\"item_name_sinhala\":\"යෝගට්\",\"item_name_english\":\"yogat\",\"barcode\":\"70\",\"unit_of_measurement\":\"pcs\",\"regular_price\":70,\"our_price\":70,\"stock_quantity\":497,\"quantity\":3}]', '2025-10-31 10:55:12'),
(119, 55, '2025-10-31', NULL, NULL, NULL, 210.00, 220.00, 10.00, 0, 'cash', '<div class=\"bill-header\" style=\"padding-top: 0; margin-top: 0;\"><div style=\"text-align: center; margin-bottom: 8px; margin-top: 0; padding-top: 0;\"><img src=\"logo.png\" alt=\"Store Logo\" style=\"max-width: 100%; width: 95%; height: auto; max-height: 300px; margin-top: 0; margin-bottom: 6px; display: block; margin-left: auto; margin-right: auto; object-fit: contain; padding-top: 0;\"><h2 style=\"margin: 4px 0 0 0; font-size: 22px; font-weight: bold;\"></h2></div><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">පාසල අසල දොරපනේ</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Tel: 071-3552017</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center; font-weight: bold;\">බිල් අංකය: 55</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Date: 31/10/2025 Time: 16:25:13</p><div style=\"margin: 4px 0; border-bottom: 1px dashed black; width: 100%;\"></div></div><div class=\"bill-items\" style=\"margin-bottom: 8px;\"><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">යෝගට්</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.210.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.210</div><div>අපේ මිල: Rs.210</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">3.00 × Rs.70.00</div></div></div></div><div class=\"bill-summary\" style=\"text-align: right; font-size: 15px; margin-bottom: 4px;\"><div style=\"margin: 6px 0; font-weight: bold; font-size: 28px;\">මුළු මුදල: Rs. 210.00</div><div style=\"margin: 4px 0; font-weight: bold;\">ගෙවූ මුදල: Rs. 220.00</div><div style=\"margin: 4px 0; font-size: 14px; font-weight: bold;\">ඉතිරි මුදල: Rs. 10.00</div><div style=\"border: 1px solid black; padding: 20px; margin-top: 8px; width: 100%; background-color: #ffffffff;\"><div style=\"text-align: center; font-size: 10px; font-weight: bold; line-height: 1.7;\">අපෙන් භාණ්ඩ ලබා ගැනීමෙන් ඔබ ලැබූ ලාභය<br><span style=\"font-size: 12px; color: #000000ff;\">Rs.0.00</span></div></div><div class=\"bill-footer\" style=\"text-align: center; font-size: 13px;\"><p style=\"margin: 4px 0; font-size: 15px;\">ස්තූතියි! නැවත එන්න</p><p style=\"margin: 6px 0; font-size: 12px;\">=== Gadget Technologies 071-1071666 ===</p></div>', '[{\"id\":275,\"item_name_sinhala\":\"යෝගට්\",\"item_name_english\":\"yogat\",\"barcode\":\"70\",\"unit_of_measurement\":\"pcs\",\"regular_price\":70,\"our_price\":70,\"stock_quantity\":497,\"quantity\":3}]', '2025-10-31 10:55:13'),
(120, 56, '2025-10-31', NULL, NULL, NULL, 350.00, 350.00, 0.00, 0, 'cash', '<div class=\"bill-header\" style=\"padding-top: 0; margin-top: 0;\"><div style=\"text-align: center; margin-bottom: 8px; margin-top: 0; padding-top: 0;\"><img src=\"logo.png\" alt=\"Store Logo\" style=\"max-width: 100%; width: 95%; height: auto; max-height: 300px; margin-top: 0; margin-bottom: 6px; display: block; margin-left: auto; margin-right: auto; object-fit: contain; padding-top: 0;\"><h2 style=\"margin: 4px 0 0 0; font-size: 22px; font-weight: bold;\"></h2></div><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">පාසල අසල දොරපනේ</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Tel: 071-3552017</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center; font-weight: bold;\">බිල් අංකය: 56</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Date: 31/10/2025 Time: 16:34:07</p><div style=\"margin: 4px 0; border-bottom: 1px dashed black; width: 100%;\"></div></div><div class=\"bill-items\" style=\"margin-bottom: 8px;\"><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">බිත්තර</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.180.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.198</div><div>අපේ මිල: Rs.180</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">6.00 × Rs.30.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">දුම්කොළ</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.170.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.170</div><div>අපේ මිල: Rs.170</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">170.00 × Rs.1.00</div></div></div></div><div class=\"bill-summary\" style=\"text-align: right; font-size: 15px; margin-bottom: 4px;\"><div style=\"margin: 6px 0; font-weight: bold; font-size: 28px;\">මුළු මුදල: Rs. 350.00</div><div style=\"margin: 4px 0; font-weight: bold;\">ගෙවූ මුදල: Rs. 350.00</div><div style=\"margin: 4px 0; font-size: 14px; font-weight: bold;\">ඉතිරි මුදල: Rs. 0.00</div><div style=\"border: 1px solid black; padding: 20px; margin-top: 8px; width: 100%; background-color: #ffffffff;\"><div style=\"text-align: center; font-size: 10px; font-weight: bold; line-height: 1.7;\">අපෙන් භාණ්ඩ ලබා ගැනීමෙන් ඔබ ලැබූ ලාභය<br><span style=\"font-size: 12px; color: #000000ff;\">Rs.18.00</span></div></div><div class=\"bill-footer\" style=\"text-align: center; font-size: 13px;\"><p style=\"margin: 4px 0; font-size: 15px;\">ස්තූතියි! නැවත එන්න</p><p style=\"margin: 6px 0; font-size: 12px;\">=== Gadget Technologies 071-1071666 ===</p></div>', '[{\"id\":110,\"item_name_sinhala\":\"බිත්තර\",\"item_name_english\":\"biththara\",\"barcode\":\"015366342\",\"unit_of_measurement\":\"pcs\",\"regular_price\":33,\"our_price\":30,\"stock_quantity\":489,\"quantity\":6},{\"id\":306,\"item_name_sinhala\":\"දුම්කොළ\",\"item_name_english\":\"dumkola\",\"barcode\":\"965336065\",\"unit_of_measurement\":\"pcs\",\"regular_price\":1,\"our_price\":1,\"stock_quantity\":50000,\"quantity\":170}]', '2025-10-31 11:04:07'),
(121, 57, '2025-10-31', NULL, NULL, NULL, 500.00, 1000.00, 500.00, 0, 'cash', '<div class=\"bill-header\" style=\"padding-top: 0; margin-top: 0;\"><div style=\"text-align: center; margin-bottom: 8px; margin-top: 0; padding-top: 0;\"><img src=\"logo.png\" alt=\"Store Logo\" style=\"max-width: 100%; width: 95%; height: auto; max-height: 300px; margin-top: 0; margin-bottom: 6px; display: block; margin-left: auto; margin-right: auto; object-fit: contain; padding-top: 0;\"><h2 style=\"margin: 4px 0 0 0; font-size: 22px; font-weight: bold;\"></h2></div><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">පාසල අසල දොරපනේ</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Tel: 071-3552017</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center; font-weight: bold;\">බිල් අංකය: 57</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Date: 31/10/2025 Time: 16:47:32</p><div style=\"margin: 4px 0; border-bottom: 1px dashed black; width: 100%;\"></div></div><div class=\"bill-items\" style=\"margin-bottom: 8px;\"><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">පිටි</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.180.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.190</div><div>අපේ මිල: Rs.180</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">1.00 × Rs.180.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">අමු තුනපහ</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.140.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.140</div><div>අපේ මිල: Rs.140</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">1.00 × Rs.140.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">කහ</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.180.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.180</div><div>අපේ මිල: Rs.180</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">0.50 × Rs.360.00</div></div></div></div><div class=\"bill-summary\" style=\"text-align: right; font-size: 15px; margin-bottom: 4px;\"><div style=\"margin: 6px 0; font-weight: bold; font-size: 28px;\">මුළු මුදල: Rs. 500.00</div><div style=\"margin: 4px 0; font-weight: bold;\">ගෙවූ මුදල: Rs. 1000.00</div><div style=\"margin: 4px 0; font-size: 14px; font-weight: bold;\">ඉතිරි මුදල: Rs. 500.00</div><div style=\"border: 1px solid black; padding: 20px; margin-top: 8px; width: 100%; background-color: #ffffffff;\"><div style=\"text-align: center; font-size: 10px; font-weight: bold; line-height: 1.7;\">අපෙන් භාණ්ඩ ලබා ගැනීමෙන් ඔබ ලැබූ ලාභය<br><span style=\"font-size: 12px; color: #000000ff;\">Rs.10.00</span></div></div><div class=\"bill-footer\" style=\"text-align: center; font-size: 13px;\"><p style=\"margin: 4px 0; font-size: 15px;\">ස්තූතියි! නැවත එන්න</p><p style=\"margin: 6px 0; font-size: 12px;\">=== Gadget Technologies 071-1071666 ===</p></div>', '[{\"id\":115,\"item_name_sinhala\":\"පිටි\",\"item_name_english\":\"piti\",\"barcode\":\"261148332\",\"unit_of_measurement\":\"pcs\",\"regular_price\":190,\"our_price\":180,\"stock_quantity\":100,\"quantity\":1},{\"id\":225,\"item_name_sinhala\":\"අමු තුනපහ\",\"item_name_english\":\"amuthuna\",\"barcode\":\"168138125\",\"unit_of_measurement\":\"pcs\",\"regular_price\":140,\"our_price\":140,\"stock_quantity\":100,\"quantity\":1},{\"id\":227,\"item_name_sinhala\":\"කහ\",\"item_name_english\":\"kaha\",\"barcode\":\"215252335\",\"unit_of_measurement\":\"pcs\",\"regular_price\":360,\"our_price\":360,\"stock_quantity\":50,\"quantity\":0.5}]', '2025-10-31 11:17:32'),
(122, 58, '2025-10-31', NULL, NULL, NULL, 500.00, 1000.00, 500.00, 0, 'cash', '<div class=\"bill-header\" style=\"padding-top: 0; margin-top: 0;\"><div style=\"text-align: center; margin-bottom: 8px; margin-top: 0; padding-top: 0;\"><img src=\"logo.png\" alt=\"Store Logo\" style=\"max-width: 100%; width: 95%; height: auto; max-height: 300px; margin-top: 0; margin-bottom: 6px; display: block; margin-left: auto; margin-right: auto; object-fit: contain; padding-top: 0;\"><h2 style=\"margin: 4px 0 0 0; font-size: 22px; font-weight: bold;\"></h2></div><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">පාසල අසල දොරපනේ</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Tel: 071-3552017</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center; font-weight: bold;\">බිල් අංකය: 58</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Date: 31/10/2025 Time: 16:47:33</p><div style=\"margin: 4px 0; border-bottom: 1px dashed black; width: 100%;\"></div></div><div class=\"bill-items\" style=\"margin-bottom: 8px;\"><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">පිටි</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.180.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.190</div><div>අපේ මිල: Rs.180</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">1.00 × Rs.180.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">අමු තුනපහ</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.140.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.140</div><div>අපේ මිල: Rs.140</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">1.00 × Rs.140.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">කහ</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.180.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.180</div><div>අපේ මිල: Rs.180</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">0.50 × Rs.360.00</div></div></div></div><div class=\"bill-summary\" style=\"text-align: right; font-size: 15px; margin-bottom: 4px;\"><div style=\"margin: 6px 0; font-weight: bold; font-size: 28px;\">මුළු මුදල: Rs. 500.00</div><div style=\"margin: 4px 0; font-weight: bold;\">ගෙවූ මුදල: Rs. 1000.00</div><div style=\"margin: 4px 0; font-size: 14px; font-weight: bold;\">ඉතිරි මුදල: Rs. 500.00</div><div style=\"border: 1px solid black; padding: 20px; margin-top: 8px; width: 100%; background-color: #ffffffff;\"><div style=\"text-align: center; font-size: 10px; font-weight: bold; line-height: 1.7;\">අපෙන් භාණ්ඩ ලබා ගැනීමෙන් ඔබ ලැබූ ලාභය<br><span style=\"font-size: 12px; color: #000000ff;\">Rs.10.00</span></div></div><div class=\"bill-footer\" style=\"text-align: center; font-size: 13px;\"><p style=\"margin: 4px 0; font-size: 15px;\">ස්තූතියි! නැවත එන්න</p><p style=\"margin: 6px 0; font-size: 12px;\">=== Gadget Technologies 071-1071666 ===</p></div>', '[{\"id\":115,\"item_name_sinhala\":\"පිටි\",\"item_name_english\":\"piti\",\"barcode\":\"261148332\",\"unit_of_measurement\":\"pcs\",\"regular_price\":190,\"our_price\":180,\"stock_quantity\":100,\"quantity\":1},{\"id\":225,\"item_name_sinhala\":\"අමු තුනපහ\",\"item_name_english\":\"amuthuna\",\"barcode\":\"168138125\",\"unit_of_measurement\":\"pcs\",\"regular_price\":140,\"our_price\":140,\"stock_quantity\":100,\"quantity\":1},{\"id\":227,\"item_name_sinhala\":\"කහ\",\"item_name_english\":\"kaha\",\"barcode\":\"215252335\",\"unit_of_measurement\":\"pcs\",\"regular_price\":360,\"our_price\":360,\"stock_quantity\":50,\"quantity\":0.5}]', '2025-10-31 11:17:33'),
(123, 59, '2025-10-31', NULL, NULL, NULL, 3420.00, 5000.00, 1580.00, 0, 'cash', '<div class=\"bill-header\" style=\"padding-top: 0; margin-top: 0;\"><div style=\"text-align: center; margin-bottom: 8px; margin-top: 0; padding-top: 0;\"><img src=\"logo.png\" alt=\"Store Logo\" style=\"max-width: 100%; width: 95%; height: auto; max-height: 300px; margin-top: 0; margin-bottom: 6px; display: block; margin-left: auto; margin-right: auto; object-fit: contain; padding-top: 0;\"><h2 style=\"margin: 4px 0 0 0; font-size: 22px; font-weight: bold;\"></h2></div><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">පාසල අසල දොරපනේ</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Tel: 071-3552017</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center; font-weight: bold;\">බිල් අංකය: 59</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Date: 31/10/2025 Time: 17:09:24</p><div style=\"margin: 4px 0; border-bottom: 1px dashed black; width: 100%;\"></div></div><div class=\"bill-items\" style=\"margin-bottom: 8px;\"><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">බී ළුෑණු</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.150.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.180</div><div>අපේ මිල: Rs.150</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">1.00 × Rs.150.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">සුදු ළුණු</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.100.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.104</div><div>අපේ මිල: Rs.100</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">0.20 × Rs.500.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">උම්බලකඩ</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.265.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.261</div><div>අපේ මිල: Rs.252</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">0.09 × Rs.2800.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">කජු</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.240.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.260</div><div>අපේ මිල: Rs.240</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">0.20 × Rs.1200.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">සබන්</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.285.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.285</div><div>අපේ මිල: Rs.285</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">285.00 × Rs.1.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">රතු හාල්</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.1950.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.2000</div><div>අපේ මිල: Rs.1950</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">10.00 × Rs.195.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">ලුණු කැට</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.150.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.150</div><div>අපේ මිල: Rs.150</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">1.00 × Rs.150.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">බැදපු තුනපහ</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.160.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.160</div><div>අපේ මිල: Rs.160</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">1.00 × Rs.160.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">ලොකු සුප් කැට</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.120.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.120</div><div>අපේ මිල: Rs.120</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">2.00 × Rs.60.00</div></div></div></div><div class=\"bill-summary\" style=\"text-align: right; font-size: 15px; margin-bottom: 4px;\"><div style=\"margin: 6px 0; font-weight: bold; font-size: 28px;\">මුළු මුදල: Rs. 3420.00</div><div style=\"margin: 4px 0; font-weight: bold;\">ගෙවූ මුදල: Rs. 5000.00</div><div style=\"margin: 4px 0; font-size: 14px; font-weight: bold;\">ඉතිරි මුදල: Rs. 1580.00</div><div style=\"border: 1px solid black; padding: 20px; margin-top: 8px; width: 100%; background-color: #ffffffff;\"><div style=\"text-align: center; font-size: 10px; font-weight: bold; line-height: 1.7;\">අපෙන් භාණ්ඩ ලබා ගැනීමෙන් ඔබ ලැබූ ලාභය<br><span style=\"font-size: 12px; color: #000000ff;\">Rs.113.46</span></div></div><div class=\"bill-footer\" style=\"text-align: center; font-size: 13px;\"><p style=\"margin: 4px 0; font-size: 15px;\">ස්තූතියි! නැවත එන්න</p><p style=\"margin: 6px 0; font-size: 12px;\">=== Gadget Technologies 071-1071666 ===</p></div>', '[{\"id\":105,\"item_name_sinhala\":\"බී ළුෑණු\",\"item_name_english\":\"beeluunu\",\"barcode\":\"113943378\",\"unit_of_measurement\":\"kg\",\"regular_price\":180,\"our_price\":150,\"stock_quantity\":70,\"quantity\":1},{\"id\":107,\"item_name_sinhala\":\"සුදු ළුණු\",\"item_name_english\":\"sudu\",\"barcode\":\"910168663\",\"unit_of_measurement\":\"pcs\",\"regular_price\":520,\"our_price\":500,\"stock_quantity\":4999,\"quantity\":0.2},{\"id\":113,\"item_name_sinhala\":\"උම්බලකඩ\",\"item_name_english\":\"umbala\",\"barcode\":\"141137213\",\"unit_of_measurement\":\"pcs\",\"regular_price\":2900,\"our_price\":2800,\"stock_quantity\":19,\"quantity\":0.09464285714285714},{\"id\":314,\"item_name_sinhala\":\"කජු\",\"item_name_english\":\"kaju\",\"barcode\":\"234090712\",\"unit_of_measurement\":\"pcs\",\"regular_price\":1300,\"our_price\":1200,\"stock_quantity\":100,\"quantity\":0.2},{\"id\":142,\"item_name_sinhala\":\"සබන්\",\"item_name_english\":\"saban\",\"barcode\":\"548707115\",\"unit_of_measurement\":\"pcs\",\"regular_price\":1,\"our_price\":1,\"stock_quantity\":5000,\"quantity\":285},{\"id\":121,\"item_name_sinhala\":\"රතු හාල්\",\"item_name_english\":\"rathu\",\"barcode\":\"7638698\",\"unit_of_measurement\":\"kg\",\"regular_price\":200,\"our_price\":195,\"stock_quantity\":1349,\"quantity\":10},{\"id\":135,\"item_name_sinhala\":\"ලුණු කැට\",\"item_name_english\":\"lunu\",\"barcode\":\"157117825\",\"unit_of_measurement\":\"pcs\",\"regular_price\":150,\"our_price\":150,\"stock_quantity\":50,\"quantity\":1},{\"id\":226,\"item_name_sinhala\":\"බැදපු තුනපහ\",\"item_name_english\":\"badapu\",\"barcode\":\"196075905\",\"unit_of_measurement\":\"pcs\",\"regular_price\":160,\"our_price\":160,\"stock_quantity\":100,\"quantity\":1},{\"id\":176,\"item_name_sinhala\":\"ලොකු සුප් කැට\",\"item_name_english\":\"lojku sup\",\"barcode\":\"4796005673245\",\"unit_of_measurement\":\"pcs\",\"regular_price\":60,\"our_price\":60,\"stock_quantity\":98,\"quantity\":2}]', '2025-10-31 11:39:24'),
(124, 60, '2025-10-31', NULL, NULL, NULL, 520.00, 600.00, 80.00, 0, 'cash', '<div class=\"bill-header\" style=\"padding-top: 0; margin-top: 0;\"><div style=\"text-align: center; margin-bottom: 8px; margin-top: 0; padding-top: 0;\"><img src=\"logo.png\" alt=\"Store Logo\" style=\"max-width: 100%; width: 95%; height: auto; max-height: 300px; margin-top: 0; margin-bottom: 6px; display: block; margin-left: auto; margin-right: auto; object-fit: contain; padding-top: 0;\"><h2 style=\"margin: 4px 0 0 0; font-size: 22px; font-weight: bold;\"></h2></div><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">පාසල අසල දොරපනේ</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Tel: 071-3552017</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center; font-weight: bold;\">බිල් අංකය: 60</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Date: 31/10/2025 Time: 18:46:58</p><div style=\"margin: 4px 0; border-bottom: 1px dashed black; width: 100%;\"></div></div><div class=\"bill-items\" style=\"margin-bottom: 8px;\"><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">සීනි</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.520.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.560</div><div>අපේ මිල: Rs.520</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">2.00 × Rs.260.00</div></div></div></div><div class=\"bill-summary\" style=\"text-align: right; font-size: 15px; margin-bottom: 4px;\"><div style=\"margin: 6px 0; font-weight: bold; font-size: 28px;\">මුළු මුදල: Rs. 520.00</div><div style=\"margin: 4px 0; font-weight: bold;\">ගෙවූ මුදල: Rs. 600.00</div><div style=\"margin: 4px 0; font-size: 14px; font-weight: bold;\">ඉතිරි මුදල: Rs. 80.00</div><div style=\"border: 1px solid black; padding: 20px; margin-top: 8px; width: 100%; background-color: #ffffffff;\"><div style=\"text-align: center; font-size: 10px; font-weight: bold; line-height: 1.7;\">අපෙන් භාණ්ඩ ලබා ගැනීමෙන් ඔබ ලැබූ ලාභය<br><span style=\"font-size: 12px; color: #000000ff;\">Rs.40.00</span></div></div><div class=\"bill-footer\" style=\"text-align: center; font-size: 13px;\"><p style=\"margin: 4px 0; font-size: 15px;\">ස්තූතියි! නැවත එන්න</p><p style=\"margin: 6px 0; font-size: 12px;\">=== Gadget Technologies 071-1071666 ===</p></div>', '[{\"id\":4,\"item_name_sinhala\":\"සීනි\",\"item_name_english\":\"sini\",\"barcode\":\"1004\",\"unit_of_measurement\":\"kg\",\"regular_price\":280,\"our_price\":260,\"stock_quantity\":96,\"quantity\":2}]', '2025-10-31 13:16:58'),
(125, 61, '2025-10-31', NULL, NULL, NULL, 1380.00, 5000.00, 3620.00, 0, 'cash', '<div class=\"bill-header\" style=\"padding-top: 0; margin-top: 0;\"><div style=\"text-align: center; margin-bottom: 8px; margin-top: 0; padding-top: 0;\"><img src=\"logo.png\" alt=\"Store Logo\" style=\"max-width: 100%; width: 95%; height: auto; max-height: 300px; margin-top: 0; margin-bottom: 6px; display: block; margin-left: auto; margin-right: auto; object-fit: contain; padding-top: 0;\"><h2 style=\"margin: 4px 0 0 0; font-size: 22px; font-weight: bold;\"></h2></div><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">පාසල අසල දොරපනේ</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Tel: 071-3552017</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center; font-weight: bold;\">බිල් අංකය: 61</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Date: 31/10/2025 Time: 18:48:41</p><div style=\"margin: 4px 0; border-bottom: 1px dashed black; width: 100%;\"></div></div><div class=\"bill-items\" style=\"margin-bottom: 8px;\"><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">පිටි</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.180.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.190</div><div>අපේ මිල: Rs.180</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">1.00 × Rs.180.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">පොල් තෙල්</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.650.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.700</div><div>අපේ මිල: Rs.650</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">1.00 × Rs.650.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">බී ළුෑණු</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.150.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.180</div><div>අපේ මිල: Rs.150</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">1.00 × Rs.150.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">අමු තුනපහ</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.140.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.140</div><div>අපේ මිල: Rs.140</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">1.00 × Rs.140.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">පරිප්පු නො.2</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.130.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.140</div><div>අපේ මිල: Rs.130</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">0.50 × Rs.260.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">ලංකා සො‍යි සෝයා</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.130.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.130</div><div>අපේ මිල: Rs.130</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">1.00 × Rs.130.00</div></div></div></div><div class=\"bill-summary\" style=\"text-align: right; font-size: 15px; margin-bottom: 4px;\"><div style=\"margin: 6px 0; font-weight: bold; font-size: 28px;\">මුළු මුදල: Rs. 1380.00</div><div style=\"margin: 4px 0; font-weight: bold;\">ගෙවූ මුදල: Rs. 5000.00</div><div style=\"margin: 4px 0; font-size: 14px; font-weight: bold;\">ඉතිරි මුදල: Rs. 3620.00</div><div style=\"border: 1px solid black; padding: 20px; margin-top: 8px; width: 100%; background-color: #ffffffff;\"><div style=\"text-align: center; font-size: 10px; font-weight: bold; line-height: 1.7;\">අපෙන් භාණ්ඩ ලබා ගැනීමෙන් ඔබ ලැබූ ලාභය<br><span style=\"font-size: 12px; color: #000000ff;\">Rs.100.00</span></div></div><div class=\"bill-footer\" style=\"text-align: center; font-size: 13px;\"><p style=\"margin: 4px 0; font-size: 15px;\">ස්තූතියි! නැවත එන්න</p><p style=\"margin: 6px 0; font-size: 12px;\">=== Gadget Technologies 071-1071666 ===</p></div>', '[{\"id\":115,\"item_name_sinhala\":\"පිටි\",\"item_name_english\":\"piti\",\"barcode\":\"261148332\",\"unit_of_measurement\":\"pcs\",\"regular_price\":190,\"our_price\":180,\"stock_quantity\":98,\"quantity\":1},{\"id\":117,\"item_name_sinhala\":\"පොල් තෙල්\",\"item_name_english\":\"polthel\",\"barcode\":\"385217979\",\"unit_of_measurement\":\"ml\",\"regular_price\":700,\"our_price\":650,\"stock_quantity\":49,\"quantity\":1},{\"id\":105,\"item_name_sinhala\":\"බී ළුෑණු\",\"item_name_english\":\"beeluunu\",\"barcode\":\"113943378\",\"unit_of_measurement\":\"kg\",\"regular_price\":180,\"our_price\":150,\"stock_quantity\":69,\"quantity\":1},{\"id\":225,\"item_name_sinhala\":\"අමු තුනපහ\",\"item_name_english\":\"amuthuna\",\"barcode\":\"168138125\",\"unit_of_measurement\":\"pcs\",\"regular_price\":140,\"our_price\":140,\"stock_quantity\":98,\"quantity\":1},{\"id\":109,\"item_name_sinhala\":\"පරිප්පු නො.2\",\"item_name_english\":\"parippu\",\"barcode\":\"991179274\",\"unit_of_measurement\":\"kg\",\"regular_price\":280,\"our_price\":260,\"stock_quantity\":160,\"quantity\":0.5},{\"id\":209,\"item_name_sinhala\":\"ලංකා සො‍යි සෝයා\",\"item_name_english\":\"lanka\",\"barcode\":\"4796002070153\",\"unit_of_measurement\":\"pcs\",\"regular_price\":130,\"our_price\":130,\"stock_quantity\":20,\"quantity\":1}]', '2025-10-31 13:18:41');
INSERT INTO `bill_records` (`id`, `bill_number`, `bill_date`, `bill_time`, `customer_phone`, `customer_id`, `total_amount`, `paid_amount`, `change_amount`, `is_credit`, `paymenttype`, `bill_content`, `items_json`, `created_at`) VALUES
(126, 62, '2025-10-31', NULL, NULL, NULL, 315.00, 520.00, 205.00, 0, 'cash', '<div class=\"bill-header\" style=\"padding-top: 0; margin-top: 0;\"><div style=\"text-align: center; margin-bottom: 8px; margin-top: 0; padding-top: 0;\"><img src=\"logo.png\" alt=\"Store Logo\" style=\"max-width: 100%; width: 95%; height: auto; max-height: 300px; margin-top: 0; margin-bottom: 6px; display: block; margin-left: auto; margin-right: auto; object-fit: contain; padding-top: 0;\"><h2 style=\"margin: 4px 0 0 0; font-size: 22px; font-weight: bold;\"></h2></div><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">පාසල අසල දොරපනේ</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Tel: 071-3552017</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center; font-weight: bold;\">බිල් අංකය: 62</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Date: 31/10/2025 Time: 19:41:30</p><div style=\"margin: 4px 0; border-bottom: 1px dashed black; width: 100%;\"></div></div><div class=\"bill-items\" style=\"margin-bottom: 8px;\"><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">හාල්මැස්සන්</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.240.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.260</div><div>අපේ මිල: Rs.240</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">0.20 × Rs.1200.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">බී ළුෑණු</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.75.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.90</div><div>අපේ මිල: Rs.75</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">0.50 × Rs.150.00</div></div></div></div><div class=\"bill-summary\" style=\"text-align: right; font-size: 15px; margin-bottom: 4px;\"><div style=\"margin: 6px 0; font-weight: bold; font-size: 28px;\">මුළු මුදල: Rs. 315.00</div><div style=\"margin: 4px 0; font-weight: bold;\">ගෙවූ මුදල: Rs. 520.00</div><div style=\"margin: 4px 0; font-size: 14px; font-weight: bold;\">ඉතිරි මුදල: Rs. 205.00</div><div style=\"border: 1px solid black; padding: 20px; margin-top: 8px; width: 100%; background-color: #ffffffff;\"><div style=\"text-align: center; font-size: 10px; font-weight: bold; line-height: 1.7;\">අපෙන් භාණ්ඩ ලබා ගැනීමෙන් ඔබ ලැබූ ලාභය<br><span style=\"font-size: 12px; color: #000000ff;\">Rs.35.00</span></div></div><div class=\"bill-footer\" style=\"text-align: center; font-size: 13px;\"><p style=\"margin: 4px 0; font-size: 15px;\">ස්තූතියි! නැවත එන්න</p><p style=\"margin: 6px 0; font-size: 12px;\">=== Gadget Technologies 071-1071666 ===</p></div>', '[{\"id\":111,\"item_name_sinhala\":\"හාල්මැස්සන්\",\"item_name_english\":\"halmasso\",\"barcode\":\"040630134-\",\"unit_of_measurement\":\"pcs\",\"regular_price\":1300,\"our_price\":1200,\"stock_quantity\":24,\"quantity\":0.2},{\"id\":105,\"item_name_sinhala\":\"බී ළුෑණු\",\"item_name_english\":\"beeluunu\",\"barcode\":\"113943378\",\"unit_of_measurement\":\"kg\",\"regular_price\":180,\"our_price\":150,\"stock_quantity\":68,\"quantity\":0.5}]', '2025-10-31 14:11:30'),
(127, 63, '2025-10-31', NULL, NULL, NULL, 775.00, 600.00, 0.00, 0, 'cash', '<p style=\"margin: 3px 0; font-size: 14px; text-align: center; font-weight: bold;\">බිල් අංකය: 63</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Date: 31/10/2025 Time: 20:46:27</p><div style=\"margin: 4px 0; border-bottom: 1px dashed black; width: 100%;\"></div></div><div class=\"bill-items\" style=\"margin-bottom: 8px;\"><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">කජු</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.600.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.650</div><div>අපේ මිල: Rs.600</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">0.50 × Rs.1200.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">අල</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.100.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.105</div><div>අපේ මිල: Rs.100</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">0.50 × Rs.200.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">බී ළුෑණු</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.75.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.90</div><div>අපේ මිල: Rs.75</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">0.50 × Rs.150.00</div></div></div></div><div class=\"bill-summary\" style=\"text-align: right; font-size: 15px; margin-bottom: 4px;\"><div style=\"margin: 6px 0; font-weight: bold; font-size: 28px;\">මුළු මුදල: Rs. 775.00</div><div style=\"margin: 4px 0; font-weight: bold;\">ගෙවූ මුදල: Rs. 600.00</div><div style=\"margin: 4px 0; font-size: 14px; font-weight: bold;\">ඉතිරි මුදල: Rs. 0.00</div><div style=\"border: 1px solid black; padding: 20px; margin-top: 8px; width: 100%; background-color: #ffffffff;\"><div style=\"text-align: center; font-size: 10px; font-weight: bold; line-height: 1.7;\">අපෙන් භාණ්ඩ ලබා ගැනීමෙන් ඔබ ලැබූ ලාභය<br><span style=\"font-size: 12px; color: #000000ff;\">Rs.70.00</span></div></div><div class=\"bill-footer\" style=\"text-align: center; font-size: 13px;\"><p style=\"margin: 4px 0; font-size: 15px;\">ස්තූතියි! නැවත එන්න</p></div>', '[{\"id\":314,\"item_name_sinhala\":\"කජු\",\"item_name_english\":\"kaju\",\"barcode\":\"234090712\",\"unit_of_measurement\":\"pcs\",\"regular_price\":1300,\"our_price\":1200,\"stock_quantity\":99,\"quantity\":0.5},{\"id\":104,\"item_name_sinhala\":\"අල\",\"item_name_english\":\"ala\",\"barcode\":\"004786426\",\"unit_of_measurement\":\"pcs\",\"regular_price\":210,\"our_price\":200,\"stock_quantity\":49,\"quantity\":0.5},{\"id\":105,\"item_name_sinhala\":\"බී ළුෑණු\",\"item_name_english\":\"beeluunu\",\"barcode\":\"113943378\",\"unit_of_measurement\":\"kg\",\"regular_price\":180,\"our_price\":150,\"stock_quantity\":67,\"quantity\":0.5}]', '2025-10-31 15:16:27'),
(128, 64, '2025-10-31', NULL, NULL, NULL, 2495.00, 0.00, 0.00, 0, 'cash', '<div class=\"bill-header\" style=\"padding-top: 0; margin-top: 0;\"><div style=\"text-align: center; margin-bottom: 8px; margin-top: 0; padding-top: 0;\"><img src=\"logo.png\" alt=\"Store Logo\" style=\"max-width: 100%; width: 95%; height: auto; max-height: 300px; margin-top: 0; margin-bottom: 6px; display: block; margin-left: auto; margin-right: auto; object-fit: contain; padding-top: 0;\"><h2 style=\"margin: 4px 0 0 0; font-size: 22px; font-weight: bold;\"></h2></div><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">පාසල අසල දොරපනේ</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Tel: 071-3552017</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center; font-weight: bold;\">බිල් අංකය: 64</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Date: 01/11/2025 Time: 03:26:39</p><div style=\"margin: 4px 0; border-bottom: 1px dashed black; width: 100%;\"></div></div><div class=\"bill-items\" style=\"margin-bottom: 8px;\"><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">මිරිස් කුඩු</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.120.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.119.9</div><div>අපේ මිල: Rs.119.9</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">1.09 × Rs.110.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">සුදු ළුණු</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.125.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.130</div><div>අපේ මිල: Rs.125</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">0.25 × Rs.500.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">කහ</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.180.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.180</div><div>අපේ මිල: Rs.180</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">1.00 × Rs.180.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">පරිප්පු නො.1</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.380.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.400</div><div>අපේ මිල: Rs.380</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">1.00 × Rs.380.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">දුම්කොළ</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.300.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.300</div><div>අපේ මිල: Rs.300</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">300.00 × Rs.1.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">ගිනි පෙට්ටි</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.40.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.40</div><div>අපේ මිල: Rs.40</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">2.00 × Rs.20.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">සීනි</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.270.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.291.2</div><div>අපේ මිල: Rs.270.40000000000003</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">1.04 × Rs.260.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">මස්කරි</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.260.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.260</div><div>අපේ මිල: Rs.260</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">2.00 × Rs.130.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">වෙනත්</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.50.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.50</div><div>අපේ මිල: Rs.50</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">50.00 × Rs.1.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">කුකුල් මස්</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.770.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.875</div><div>අපේ මිල: Rs.770</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">0.70 × Rs.1100.00</div></div></div></div><div class=\"bill-summary\" style=\"text-align: right; font-size: 15px; margin-bottom: 4px;\"><div style=\"margin: 6px 0; font-weight: bold; font-size: 28px;\">මුළු මුදල: Rs. 2495.00</div><div style=\"margin: 4px 0; font-weight: bold;\">ගෙවූ මුදල: Rs. 0.00</div><div style=\"margin: 4px 0; font-size: 14px; font-weight: bold;\">ඉතිරි මුදල: Rs. 0.00</div><div style=\"border: 1px solid black; padding: 20px; margin-top: 8px; width: 100%; background-color: #ffffffff;\"><div style=\"text-align: center; font-size: 10px; font-weight: bold; line-height: 1.7;\">අපෙන් භාණ්ඩ ලබා ගැනීමෙන් ඔබ ලැබූ ලාභය<br><span style=\"font-size: 12px; color: #000000ff;\">Rs.150.77</span></div></div><div class=\"bill-footer\" style=\"text-align: center; font-size: 13px;\"><p style=\"margin: 4px 0; font-size: 15px;\">ස්තූතියි! නැවත එන්න</p><p style=\"margin: 6px 0; font-size: 12px;\">=== Gadget Technologies 071-1071666 ===</p></div>', '[{\"id\":224,\"item_name_sinhala\":\"මිරිස් කුඩු\",\"item_name_english\":\"miris\",\"barcode\":\"110\",\"unit_of_measurement\":\"pcs\",\"regular_price\":110,\"our_price\":110,\"stock_quantity\":49,\"quantity\":1.0909090909090908},{\"id\":107,\"item_name_sinhala\":\"සුදු ළුණු\",\"item_name_english\":\"sudu\",\"barcode\":\"910168663\",\"unit_of_measurement\":\"pcs\",\"regular_price\":520,\"our_price\":500,\"stock_quantity\":4999,\"quantity\":0.25},{\"id\":228,\"item_name_sinhala\":\"කහ\",\"item_name_english\":\"kaha\",\"barcode\":\"323719216\",\"unit_of_measurement\":\"pcs\",\"regular_price\":180,\"our_price\":180,\"stock_quantity\":50,\"quantity\":1},{\"id\":108,\"item_name_sinhala\":\"පරිප්පු නො.1\",\"item_name_english\":\"parippu\",\"barcode\":\"965372777\",\"unit_of_measurement\":\"pcs\",\"regular_price\":400,\"our_price\":380,\"stock_quantity\":50,\"quantity\":1},{\"id\":306,\"item_name_sinhala\":\"දුම්කොළ\",\"item_name_english\":\"dumkola\",\"barcode\":\"965336065\",\"unit_of_measurement\":\"pcs\",\"regular_price\":1,\"our_price\":1,\"stock_quantity\":49830,\"quantity\":300},{\"id\":276,\"item_name_sinhala\":\"ගිනි පෙට්ටි\",\"item_name_english\":\"gini\",\"barcode\":\"933819278\",\"unit_of_measurement\":\"pcs\",\"regular_price\":20,\"our_price\":20,\"stock_quantity\":4996,\"quantity\":2},{\"id\":4,\"item_name_sinhala\":\"සීනි\",\"item_name_english\":\"sini\",\"barcode\":\"1004\",\"unit_of_measurement\":\"kg\",\"regular_price\":280,\"our_price\":260,\"stock_quantity\":94,\"quantity\":1.0384615384615385},{\"id\":229,\"item_name_sinhala\":\"මස්කරි\",\"item_name_english\":\"mas\",\"barcode\":\"340415144\",\"unit_of_measurement\":\"pcs\",\"regular_price\":130,\"our_price\":130,\"stock_quantity\":100,\"quantity\":2},{\"id\":88,\"item_name_sinhala\":\"වෙනත්\",\"item_name_english\":\"we\",\"barcode\":\"045504190\",\"unit_of_measurement\":\"pcs\",\"regular_price\":1,\"our_price\":1,\"stock_quantity\":630,\"quantity\":50},{\"id\":222,\"item_name_sinhala\":\"කුකුල් මස්\",\"item_name_english\":\"kukul\",\"barcode\":\"997661572\",\"unit_of_measurement\":\"pcs\",\"regular_price\":1250,\"our_price\":1100,\"stock_quantity\":100,\"quantity\":0.7}]', '2025-10-31 21:56:39'),
(129, 50, '2025-11-01', NULL, NULL, NULL, 260.00, 300.00, 40.00, 0, 'cash', '<div class=\"bill-header\" style=\"padding-top: 0; margin-top: 0;\"><div style=\"text-align: center; margin-bottom: 8px; margin-top: 0; padding-top: 0;\"><img src=\"logo.png\" alt=\"Store Logo\" style=\"max-width: 100%; width: 95%; height: auto; max-height: 300px; margin-top: 0; margin-bottom: 6px; display: block; margin-left: auto; margin-right: auto; object-fit: contain; padding-top: 0;\"><h2 style=\"margin: 4px 0 0 0; font-size: 22px; font-weight: bold;\"></h2></div><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">පාසල අසල දොරපනේ</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Tel: 071-3552017</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center; font-weight: bold;\">බිල් අංකය: 50</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Date: 01/11/2025 Time: 13:24:21</p><div style=\"margin: 4px 0; border-bottom: 1px dashed black; width: 100%;\"></div></div><div class=\"bill-items\" style=\"margin-bottom: 8px;\"><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">තේ කොළ</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.140.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.150</div><div>අපේ මිල: Rs.140</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">0.10 × Rs.1400.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">සීනි</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.120.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.128.8</div><div>අපේ මිල: Rs.119.60000000000001</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">0.46 × Rs.260.00</div></div></div></div><div class=\"bill-summary\" style=\"text-align: right; font-size: 15px; margin-bottom: 4px;\"><div style=\"margin: 6px 0; font-weight: bold; font-size: 28px;\">මුළු මුදල: Rs. 260.00</div><div style=\"margin: 4px 0; font-weight: bold;\">ගෙවූ මුදල: Rs. 300.00</div><div style=\"margin: 4px 0; font-size: 14px; font-weight: bold;\">ඉතිරි මුදල: Rs. 40.00</div><div style=\"border: 1px solid black; padding: 20px; margin-top: 8px; width: 100%; background-color: #ffffffff;\"><div style=\"text-align: center; font-size: 10px; font-weight: bold; line-height: 1.7;\">අපෙන් භාණ්ඩ ලබා ගැනීමෙන් ඔබ ලැබූ ලාභය<br><span style=\"font-size: 12px; color: #000000ff;\">Rs.19.23</span></div></div><div class=\"bill-footer\" style=\"text-align: center; font-size: 13px;\"><p style=\"margin: 4px 0; font-size: 15px;\">ස්තූතියි! නැවත එන්න</p><p style=\"margin: 6px 0; font-size: 12px;\">=== Gadget Technologies 071-1071666 ===</p></div>', '[{\"id\":120,\"item_name_sinhala\":\"තේ කොළ\",\"item_name_english\":\"thekola\",\"barcode\":\"491917680\",\"unit_of_measurement\":\"kg\",\"regular_price\":1500,\"our_price\":1400,\"stock_quantity\":20,\"quantity\":0.1},{\"id\":4,\"item_name_sinhala\":\"සීනි\",\"item_name_english\":\"sini\",\"barcode\":\"1004\",\"unit_of_measurement\":\"kg\",\"regular_price\":280,\"our_price\":260,\"stock_quantity\":92,\"quantity\":0.46153846153846156}]', '2025-11-01 07:54:21'),
(130, 51, '2025-11-01', NULL, NULL, NULL, 4500.00, 4500.00, 0.00, 0, 'cash', '<p style=\"margin: 3px 0; font-size: 14px; text-align: center; font-weight: bold;\">බිල් අංකය: 51</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Date: 01/11/2025 Time: 15:33:21</p><div style=\"margin: 4px 0; border-bottom: 1px dashed black; width: 100%;\"></div></div><div class=\"bill-items\" style=\"margin-bottom: 8px;\"><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">සීනි</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.540.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.560</div><div>අපේ මිල: Rs.540</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">2.00 × Rs.270.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">පිටි</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.360.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.380</div><div>අපේ මිල: Rs.360</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">2.00 × Rs.180.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">වටානා</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.200.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.210</div><div>අපේ මිල: Rs.200</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">1.00 × Rs.200.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">ලයිෆ්බෝයි සබන්</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.520.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.520</div><div>අපේ මිල: Rs.520</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">2.00 × Rs.260.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">පරිප්පු නො.2</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.260.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.280</div><div>අපේ මිල: Rs.260</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">1.00 × Rs.260.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">තේ කොළ</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.140.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.150</div><div>අපේ මිල: Rs.140</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">0.10 × Rs.1400.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">අල</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.200.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.210</div><div>අපේ මිල: Rs.200</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">1.00 × Rs.200.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">හුනු</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.20.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.20</div><div>අපේ මිල: Rs.20</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">1.00 × Rs.20.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">සුදු ළුණු</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.145.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.150.79999999999998</div><div>අපේ මිල: Rs.145</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">0.29 × Rs.500.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">පැල්වත්ත කිරිපිටි 400g</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.1125.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.1125</div><div>අපේ මිල: Rs.1125</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">1.00 × Rs.1125.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">මිරිස් කුඩු</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.360.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.360</div><div>අපේ මිල: Rs.360</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">3.00 × Rs.120.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">බැදපු තුනපහ</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.160.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.160</div><div>අපේ මිල: Rs.160</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">1.00 × Rs.160.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">රට ඉදි</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.180.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.180</div><div>අපේ මිල: Rs.180</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">2.00 × Rs.90.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">මිශ්‍ර පලතුරු ජෑම්</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.270.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.270</div><div>අපේ මිල: Rs.270</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">1.00 × Rs.270.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">ෂොපින් බෑග්</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.20.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.20</div><div>අපේ මිල: Rs.20</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">20.00 × Rs.1.00</div></div></div></div><div class=\"bill-summary\" style=\"text-align: right; font-size: 15px; margin-bottom: 4px;\"><div style=\"margin: 6px 0; font-weight: bold; font-size: 28px;\">මුළු මුදල: Rs. 4500.00</div><div style=\"margin: 4px 0; font-weight: bold;\">ගෙවූ මුදල: Rs. 4500.00</div><div style=\"margin: 4px 0; font-size: 14px; font-weight: bold;\">ඉතිරි මුදල: Rs. 0.00</div><div style=\"border: 1px solid black; padding: 20px; margin-top: 8px; width: 100%; background-color: #ffffffff;\"><div style=\"text-align: center; font-size: 10px; font-weight: bold; line-height: 1.7;\">අපෙන් භාණ්ඩ ලබා ගැනීමෙන් ඔබ ලැබූ ලාභය<br><span style=\"font-size: 12px; color: #000000ff;\">Rs.95.80</span></div></div><div class=\"bill-footer\" style=\"text-align: center; font-size: 13px;\"><p style=\"margin: 4px 0; font-size: 15px;\">ස්තූතියි! නැවත එන්න</p></div>', '[{\"id\":4,\"item_name_sinhala\":\"සීනි\",\"item_name_english\":\"sini\",\"barcode\":\"1004\",\"unit_of_measurement\":\"kg\",\"regular_price\":280,\"our_price\":270,\"stock_quantity\":92,\"quantity\":2},{\"id\":115,\"item_name_sinhala\":\"පිටි\",\"item_name_english\":\"piti\",\"barcode\":\"261148332\",\"unit_of_measurement\":\"pcs\",\"regular_price\":190,\"our_price\":180,\"stock_quantity\":97,\"quantity\":2},{\"id\":317,\"item_name_sinhala\":\"වටානා\",\"item_name_english\":\"watana\",\"barcode\":\"965182781\",\"unit_of_measurement\":\"pcs\",\"regular_price\":210,\"our_price\":200,\"stock_quantity\":50,\"quantity\":1},{\"id\":316,\"item_name_sinhala\":\"ලයිෆ්බෝයි සබන්\",\"item_name_english\":\"life\",\"barcode\":\"4792081041145\",\"unit_of_measurement\":\"pcs\",\"regular_price\":260,\"our_price\":260,\"stock_quantity\":50,\"quantity\":2},{\"id\":109,\"item_name_sinhala\":\"පරිප්පු නො.2\",\"item_name_english\":\"parippu\",\"barcode\":\"991179274\",\"unit_of_measurement\":\"kg\",\"regular_price\":280,\"our_price\":260,\"stock_quantity\":159,\"quantity\":1},{\"id\":120,\"item_name_sinhala\":\"තේ කොළ\",\"item_name_english\":\"thekola\",\"barcode\":\"491917680\",\"unit_of_measurement\":\"kg\",\"regular_price\":1500,\"our_price\":1400,\"stock_quantity\":19,\"quantity\":0.1},{\"id\":104,\"item_name_sinhala\":\"අල\",\"item_name_english\":\"ala\",\"barcode\":\"004786426\",\"unit_of_measurement\":\"pcs\",\"regular_price\":210,\"our_price\":200,\"stock_quantity\":48,\"quantity\":1},{\"id\":307,\"item_name_sinhala\":\"හුනු\",\"item_name_english\":\"hunu\",\"barcode\":\"061259181\",\"unit_of_measurement\":\"pcs\",\"regular_price\":20,\"our_price\":20,\"stock_quantity\":100,\"quantity\":1},{\"id\":107,\"item_name_sinhala\":\"සුදු ළුණු\",\"item_name_english\":\"sudu\",\"barcode\":\"910168663\",\"unit_of_measurement\":\"pcs\",\"regular_price\":520,\"our_price\":500,\"stock_quantity\":4999,\"quantity\":0.29},{\"id\":147,\"item_name_sinhala\":\"පැල්වත්ත කිරිපිටි 400g\",\"item_name_english\":\"pelwatte\",\"barcode\":\"4796004080440\",\"unit_of_measurement\":\"pcs\",\"regular_price\":1125,\"our_price\":1125,\"stock_quantity\":20,\"quantity\":1},{\"id\":224,\"item_name_sinhala\":\"මිරිස් කුඩු\",\"item_name_english\":\"miris\",\"barcode\":\"110\",\"unit_of_measurement\":\"pcs\",\"regular_price\":120,\"our_price\":120,\"stock_quantity\":47,\"quantity\":3},{\"id\":226,\"item_name_sinhala\":\"බැදපු තුනපහ\",\"item_name_english\":\"badapu\",\"barcode\":\"196075905\",\"unit_of_measurement\":\"pcs\",\"regular_price\":160,\"our_price\":160,\"stock_quantity\":99,\"quantity\":1},{\"id\":318,\"item_name_sinhala\":\"රට ඉදි\",\"item_name_english\":\"rata\",\"barcode\":\"296086536\",\"unit_of_measurement\":\"pcs\",\"regular_price\":90,\"our_price\":90,\"stock_quantity\":50,\"quantity\":2},{\"id\":156,\"item_name_sinhala\":\"මිශ්‍ර පලතුරු ජෑම්\",\"item_name_english\":\"jam\",\"barcode\":\"4792018521085\",\"unit_of_measurement\":\"pcs\",\"regular_price\":270,\"our_price\":270,\"stock_quantity\":10,\"quantity\":1},{\"id\":319,\"item_name_sinhala\":\"ෂොපින් බෑග්\",\"item_name_english\":\"shopin\",\"barcode\":\"347384926\",\"unit_of_measurement\":\"pcs\",\"regular_price\":1,\"our_price\":1,\"stock_quantity\":5000,\"quantity\":20}]', '2025-11-01 10:03:22'),
(131, 50, '2025-11-06', NULL, NULL, NULL, 2780.00, 2000.00, 0.00, 0, 'cash', '<div class=\"bill-header\" style=\"padding-top: 0; margin-top: 0;\"><div style=\"text-align: center; margin-bottom: 8px; margin-top: 0; padding-top: 0;\"><img src=\"logo.png\" alt=\"Store Logo\" style=\"max-width: 100%; width: 95%; height: auto; max-height: 300px; margin-top: 0; margin-bottom: 6px; display: block; margin-left: auto; margin-right: auto; object-fit: contain; padding-top: 0;\"><h2 style=\"margin: 4px 0 0 0; font-size: 22px; font-weight: bold;\"></h2></div><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">පාසල අසල දොරපනේ</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Tel: 071-3552017</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center; font-weight: bold;\">බිල් අංකය: 50</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Date: 06/11/2025 Time: 12:06:07</p><div style=\"margin: 4px 0; border-bottom: 1px dashed black; width: 100%;\"></div></div><div class=\"bill-items\" style=\"margin-bottom: 8px;\"><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">සම්බා</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.340.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.360</div><div>අපේ මිල: Rs.340</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">1.00 × Rs.340.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">සුදු ළුණු</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.125.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.130</div><div>අපේ මිල: Rs.125</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">0.25 × Rs.500.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">කූනිස්සෝ</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.80.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.85</div><div>අපේ මිල: Rs.80</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">0.05 × Rs.1600.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">පරිප්පු නො.1</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.380.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.400</div><div>අපේ මිල: Rs.380</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">1.00 × Rs.380.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">කුකුල් මස්</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.1765.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.2000</div><div>අපේ මිල: Rs.1760</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">1.60 × Rs.1100.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">බී ළුෑණු</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.80.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.90</div><div>අපේ මිල: Rs.80</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">0.50 × Rs.160.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">ෂොපින් බෑග්</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.10.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.10</div><div>අපේ මිල: Rs.10</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">10.00 × Rs.1.00</div></div></div></div><div class=\"bill-summary\" style=\"text-align: right; font-size: 15px; margin-bottom: 4px;\"><div style=\"margin: 6px 0; font-weight: bold; font-size: 28px;\">මුළු මුදල: Rs. 2780.00</div><div style=\"margin: 4px 0; font-weight: bold;\">ගෙවූ මුදල: Rs. 2000.00</div><div style=\"margin: 4px 0; font-size: 14px; font-weight: bold;\">ඉතිරි මුදල: Rs. 0.00</div><div style=\"border: 1px solid black; padding: 20px; margin-top: 8px; width: 100%; background-color: #ffffffff;\"><div style=\"text-align: center; font-size: 10px; font-weight: bold; line-height: 1.7;\">අපෙන් භාණ්ඩ ලබා ගැනීමෙන් ඔබ ලැබූ ලාභය<br><span style=\"font-size: 12px; color: #000000ff;\">Rs.300.68</span></div></div><div class=\"bill-footer\" style=\"text-align: center; font-size: 13px;\"><p style=\"margin: 4px 0; font-size: 15px;\">ස්තූතියි! නැවත එන්න</p><p style=\"margin: 6px 0; font-size: 12px;\">=== Gadget Technologies 071-1071666 ===</p></div>', '[{\"id\":123,\"item_name_sinhala\":\"සම්බා\",\"item_name_english\":\"samba\",\"barcode\":\"628995813\",\"unit_of_measurement\":\"pcs\",\"regular_price\":360,\"our_price\":340,\"stock_quantity\":499,\"quantity\":1},{\"id\":107,\"item_name_sinhala\":\"සුදු ළුණු\",\"item_name_english\":\"sudu\",\"barcode\":\"910168663\",\"unit_of_measurement\":\"pcs\",\"regular_price\":520,\"our_price\":500,\"stock_quantity\":4999,\"quantity\":0.25},{\"id\":114,\"item_name_sinhala\":\"කූනිස්සෝ\",\"item_name_english\":\"kuunisso\",\"barcode\":\"180851342\",\"unit_of_measurement\":\"kg\",\"regular_price\":1700,\"our_price\":1600,\"stock_quantity\":8,\"quantity\":0.05},{\"id\":108,\"item_name_sinhala\":\"පරිප්පු නො.1\",\"item_name_english\":\"parippu\",\"barcode\":\"965372777\",\"unit_of_measurement\":\"pcs\",\"regular_price\":400,\"our_price\":380,\"stock_quantity\":49,\"quantity\":1},{\"id\":222,\"item_name_sinhala\":\"කුකුල් මස්\",\"item_name_english\":\"kukul\",\"barcode\":\"997661572\",\"unit_of_measurement\":\"pcs\",\"regular_price\":1250,\"our_price\":1100,\"stock_quantity\":99,\"quantity\":1.6045454545454545},{\"id\":105,\"item_name_sinhala\":\"බී ළුෑණු\",\"item_name_english\":\"beeluunu\",\"barcode\":\"113943378\",\"unit_of_measurement\":\"kg\",\"regular_price\":180,\"our_price\":160,\"stock_quantity\":67,\"quantity\":0.5},{\"id\":319,\"item_name_sinhala\":\"ෂොපින් බෑග්\",\"item_name_english\":\"shopin\",\"barcode\":\"347384926\",\"unit_of_measurement\":\"pcs\",\"regular_price\":1,\"our_price\":1,\"stock_quantity\":4980,\"quantity\":10}]', '2025-11-06 06:36:07');
INSERT INTO `bill_records` (`id`, `bill_number`, `bill_date`, `bill_time`, `customer_phone`, `customer_id`, `total_amount`, `paid_amount`, `change_amount`, `is_credit`, `paymenttype`, `bill_content`, `items_json`, `created_at`) VALUES
(132, 51, '2025-11-06', NULL, NULL, NULL, 4500.00, 4500.00, 0.00, 0, 'cash', '<p style=\"margin: 3px 0; font-size: 14px; text-align: center; font-weight: bold;\">බිල් අංකය: 51</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Date: 06/11/2025 Time: 12:27:27</p><div style=\"margin: 4px 0; border-bottom: 1px dashed black; width: 100%;\"></div></div><div class=\"bill-items\" style=\"margin-bottom: 8px;\"><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">මයිලෝ</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.260.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.260</div><div>අපේ මිල: Rs.260</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">2.00 × Rs.130.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">NKO නූඩ්ල්ස් 450g</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.200.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.200</div><div>අපේ මිල: Rs.200</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">1.00 × Rs.200.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">සමපෝෂ 700g</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.580.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.580</div><div>අපේ මිල: Rs.580</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">1.00 × Rs.580.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">රතු හාල්</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.1950.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.2000</div><div>අපේ මිල: Rs.1950</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">10.00 × Rs.195.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">බී ළුෑණු</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.240.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.270</div><div>අපේ මිල: Rs.240</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">1.50 × Rs.160.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">ටිෆින්</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.380.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.380</div><div>අපේ මිල: Rs.380</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">2.00 × Rs.190.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">බිත්තර</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.870.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.957</div><div>අපේ මිල: Rs.870</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">29.00 × Rs.30.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">ෂොපින් බෑග්</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.5.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.5</div><div>අපේ මිල: Rs.5</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">5.00 × Rs.1.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">ටොෆි</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.15.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.15</div><div>අපේ මිල: Rs.15</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">15.00 × Rs.1.00</div></div></div></div><div class=\"bill-summary\" style=\"text-align: right; font-size: 15px; margin-bottom: 4px;\"><div style=\"margin: 6px 0; font-weight: bold; font-size: 28px;\">මුළු මුදල: Rs. 4500.00</div><div style=\"margin: 4px 0; font-weight: bold;\">ගෙවූ මුදල: Rs. 4500.00</div><div style=\"margin: 4px 0; font-size: 14px; font-weight: bold;\">ඉතිරි මුදල: Rs. 0.00</div><div style=\"border: 1px solid black; padding: 20px; margin-top: 8px; width: 100%; background-color: #ffffffff;\"><div style=\"text-align: center; font-size: 10px; font-weight: bold; line-height: 1.7;\">අපෙන් භාණ්ඩ ලබා ගැනීමෙන් ඔබ ලැබූ ලාභය<br><span style=\"font-size: 12px; color: #000000ff;\">Rs.167.00</span></div></div><div class=\"bill-footer\" style=\"text-align: center; font-size: 13px;\"><p style=\"margin: 4px 0; font-size: 15px;\">ස්තූතියි! නැවත එන්න</p></div>', '[{\"id\":175,\"item_name_sinhala\":\"මයිලෝ\",\"item_name_english\":\"milo\",\"barcode\":\"4792024011754\",\"unit_of_measurement\":\"pcs\",\"regular_price\":130,\"our_price\":130,\"stock_quantity\":10,\"quantity\":2},{\"id\":139,\"item_name_sinhala\":\"NKO නූඩ්ල්ස් 450g\",\"item_name_english\":\"nko\",\"barcode\":\"360928958\",\"unit_of_measurement\":\"pcs\",\"regular_price\":200,\"our_price\":200,\"stock_quantity\":20,\"quantity\":1},{\"id\":131,\"item_name_sinhala\":\"සමපෝෂ 700g\",\"item_name_english\":\"samapo\",\"barcode\":\"4792109000864\",\"unit_of_measurement\":\"pcs\",\"regular_price\":580,\"our_price\":580,\"stock_quantity\":20,\"quantity\":1},{\"id\":121,\"item_name_sinhala\":\"රතු හාල්\",\"item_name_english\":\"rathu\",\"barcode\":\"7638698\",\"unit_of_measurement\":\"kg\",\"regular_price\":200,\"our_price\":195,\"stock_quantity\":1339,\"quantity\":10},{\"id\":105,\"item_name_sinhala\":\"බී ළුෑණු\",\"item_name_english\":\"beeluunu\",\"barcode\":\"113943378\",\"unit_of_measurement\":\"kg\",\"regular_price\":180,\"our_price\":160,\"stock_quantity\":66,\"quantity\":1.5},{\"id\":331,\"item_name_sinhala\":\"ටිෆින්\",\"item_name_english\":\"tipin\",\"barcode\":\"9409741118888101932190\",\"unit_of_measurement\":\"pcs\",\"regular_price\":190,\"our_price\":190,\"stock_quantity\":50,\"quantity\":2},{\"id\":110,\"item_name_sinhala\":\"බිත්තර\",\"item_name_english\":\"biththara\",\"barcode\":\"015366342\",\"unit_of_measurement\":\"pcs\",\"regular_price\":33,\"our_price\":30,\"stock_quantity\":483,\"quantity\":29},{\"id\":319,\"item_name_sinhala\":\"ෂොපින් බෑග්\",\"item_name_english\":\"shopin\",\"barcode\":\"347384926\",\"unit_of_measurement\":\"pcs\",\"regular_price\":1,\"our_price\":1,\"stock_quantity\":4970,\"quantity\":5},{\"id\":309,\"item_name_sinhala\":\"ටොෆි\",\"item_name_english\":\"toffi\",\"barcode\":\"394441771\",\"unit_of_measurement\":\"pcs\",\"regular_price\":1,\"our_price\":1,\"stock_quantity\":5000,\"quantity\":15}]', '2025-11-06 06:57:27'),
(133, 52, '2025-11-06', NULL, NULL, NULL, 340.00, 340.00, 0.00, 0, 'cash', '<div class=\"bill-header\" style=\"padding-top: 0; margin-top: 0;\"><div style=\"text-align: center; margin-bottom: 8px; margin-top: 0; padding-top: 0;\"><img src=\"logo.png\" alt=\"Store Logo\" style=\"max-width: 100%; width: 95%; height: auto; max-height: 300px; margin-top: 0; margin-bottom: 6px; display: block; margin-left: auto; margin-right: auto; object-fit: contain; padding-top: 0;\"><h2 style=\"margin: 4px 0 0 0; font-size: 22px; font-weight: bold;\"></h2></div><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">පාසල අසල දොරපනේ</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Tel: 071-3552017</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center; font-weight: bold;\">බිල් අංකය: 52</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Date: 06/11/2025 Time: 12:31:51</p><div style=\"margin: 4px 0; border-bottom: 1px dashed black; width: 100%;\"></div></div><div class=\"bill-items\" style=\"margin-bottom: 8px;\"><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">පරිප්පු නො.2</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.130.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.140</div><div>අපේ මිල: Rs.130</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">0.50 × Rs.260.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">බිත්තර</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.210.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.231</div><div>අපේ මිල: Rs.210</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">7.00 × Rs.30.00</div></div></div></div><div class=\"bill-summary\" style=\"text-align: right; font-size: 15px; margin-bottom: 4px;\"><div style=\"margin: 6px 0; font-weight: bold; font-size: 28px;\">මුළු මුදල: Rs. 340.00</div><div style=\"margin: 4px 0; font-weight: bold;\">ගෙවූ මුදල: Rs. 340.00</div><div style=\"margin: 4px 0; font-size: 14px; font-weight: bold;\">ඉතිරි මුදල: Rs. 0.00</div><div style=\"border: 1px solid black; padding: 20px; margin-top: 8px; width: 100%; background-color: #ffffffff;\"><div style=\"text-align: center; font-size: 10px; font-weight: bold; line-height: 1.7;\">අපෙන් භාණ්ඩ ලබා ගැනීමෙන් ඔබ ලැබූ ලාභය<br><span style=\"font-size: 12px; color: #000000ff;\">Rs.31.00</span></div></div><div class=\"bill-footer\" style=\"text-align: center; font-size: 13px;\"><p style=\"margin: 4px 0; font-size: 15px;\">ස්තූතියි! නැවත එන්න</p><p style=\"margin: 6px 0; font-size: 12px;\">=== Gadget Technologies 071-1071666 ===</p></div>', '[{\"id\":109,\"item_name_sinhala\":\"පරිප්පු නො.2\",\"item_name_english\":\"parippu\",\"barcode\":\"991179274\",\"unit_of_measurement\":\"kg\",\"regular_price\":280,\"our_price\":260,\"stock_quantity\":158,\"quantity\":0.5},{\"id\":110,\"item_name_sinhala\":\"බිත්තර\",\"item_name_english\":\"biththara\",\"barcode\":\"015366342\",\"unit_of_measurement\":\"pcs\",\"regular_price\":33,\"our_price\":30,\"stock_quantity\":454,\"quantity\":7}]', '2025-11-06 07:01:51'),
(134, 53, '2025-11-06', NULL, NULL, NULL, 200.00, 200.00, 0.00, 0, 'cash', '<div class=\"bill-header\" style=\"padding-top: 0; margin-top: 0;\"><div style=\"text-align: center; margin-bottom: 8px; margin-top: 0; padding-top: 0;\"><img src=\"logo.png\" alt=\"Store Logo\" style=\"max-width: 100%; width: 95%; height: auto; max-height: 300px; margin-top: 0; margin-bottom: 6px; display: block; margin-left: auto; margin-right: auto; object-fit: contain; padding-top: 0;\"><h2 style=\"margin: 4px 0 0 0; font-size: 22px; font-weight: bold;\"></h2></div><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">පාසල අසල දොරපනේ</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Tel: 071-3552017</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center; font-weight: bold;\">බිල් අංකය: 53</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Date: 06/11/2025 Time: 22:01:09</p><div style=\"margin: 4px 0; border-bottom: 1px dashed black; width: 100%;\"></div></div><div class=\"bill-items\" style=\"margin-bottom: 8px;\"><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">සර්වියට්</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.200.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.250</div><div>අපේ මිල: Rs.200</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">1.00 × Rs.200.00</div></div></div></div><div class=\"bill-summary\" style=\"text-align: right; font-size: 15px; margin-bottom: 4px;\"><div style=\"margin: 6px 0; font-weight: bold; font-size: 28px;\">මුළු මුදල: Rs. 200.00</div><div style=\"margin: 4px 0; font-weight: bold;\">ගෙවූ මුදල: Rs. 200.00</div><div style=\"margin: 4px 0; font-size: 14px; font-weight: bold;\">ඉතිරි මුදල: Rs. 0.00</div><div style=\"border: 1px solid black; padding: 20px; margin-top: 8px; width: 100%; background-color: #ffffffff;\"><div style=\"text-align: center; font-size: 10px; font-weight: bold; line-height: 1.7;\">අපෙන් භාණ්ඩ ලබා ගැනීමෙන් ඔබ ලැබූ ලාභය<br><span style=\"font-size: 12px; color: #000000ff;\">Rs.50.00</span></div></div><div class=\"bill-footer\" style=\"text-align: center; font-size: 13px;\"><p style=\"margin: 4px 0; font-size: 15px;\">ස්තූතියි! නැවත එන්න</p><p style=\"margin: 6px 0; font-size: 12px;\">=== Gadget Technologies 071-1071666 ===</p></div>', '[{\"id\":254,\"item_name_sinhala\":\"සර්වියට්\",\"item_name_english\":\"sarviyat\",\"barcode\":\"327812388\",\"unit_of_measurement\":\"pcs\",\"regular_price\":250,\"our_price\":200,\"stock_quantity\":50,\"quantity\":1}]', '2025-11-06 16:31:10'),
(135, 54, '2025-11-06', NULL, NULL, NULL, 24055.00, 25000.00, 945.00, 0, 'cash', '<div class=\"bill-header\" style=\"padding-top: 0; margin-top: 0;\"><div style=\"text-align: center; margin-bottom: 8px; margin-top: 0; padding-top: 0;\"><img src=\"logo.png\" alt=\"Store Logo\" style=\"max-width: 100%; width: 95%; height: auto; max-height: 300px; margin-top: 0; margin-bottom: 6px; display: block; margin-left: auto; margin-right: auto; object-fit: contain; padding-top: 0;\"><h2 style=\"margin: 4px 0 0 0; font-size: 22px; font-weight: bold;\"></h2></div><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">පාසල අසල දොරපනේ</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Tel: 071-3552017</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center; font-weight: bold;\">බිල් අංකය: 54</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Date: 07/11/2025 Time: 03:53:35</p><div style=\"margin: 4px 0; border-bottom: 1px dashed black; width: 100%;\"></div></div><div class=\"bill-items\" style=\"margin-bottom: 8px;\"><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">සුදන්ත</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.320.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.320</div><div>අපේ මිල: Rs.320</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">1.00 × Rs.320.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">අල</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.200.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.210</div><div>අපේ මිල: Rs.200</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">1.00 × Rs.200.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">බී ළුෑණු</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.160.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.180</div><div>අපේ මිල: Rs.160</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">1.00 × Rs.160.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">රතු ළුණු</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.200.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.225</div><div>අපේ මිල: Rs.200</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">0.50 × Rs.400.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">කරවල</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.600.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.600</div><div>අපේ මිල: Rs.600</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">600.00 × Rs.1.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">සුදු ළුණු</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.125.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.130</div><div>අපේ මිල: Rs.125</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">0.25 × Rs.500.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">සීනි</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.440.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.456.4</div><div>අපේ මිල: Rs.440.09999999999997</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">1.63 × Rs.270.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">වෙනත්</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.50.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.50</div><div>අපේ මිල: Rs.50</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">50.00 × Rs.1.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">රතු හාල්</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.20900.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.21436</div><div>අපේ මිල: Rs.20900.100000000002</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">107.18 × Rs.195.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">කෑලි මිරිස්</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.120.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.120</div><div>අපේ මිල: Rs.120</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">1.00 × Rs.120.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">රට ඉදි</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.400.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.399.6</div><div>අපේ මිල: Rs.399.6</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">4.44 × Rs.90.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">වෙනත්</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.340.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.340</div><div>අපේ මිල: Rs.340</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">340.00 × Rs.1.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">තල</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.200.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.200</div><div>අපේ මිල: Rs.200</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">1.00 × Rs.200.00</div></div></div></div><div class=\"bill-summary\" style=\"text-align: right; font-size: 15px; margin-bottom: 4px;\"><div style=\"margin: 6px 0; font-weight: bold; font-size: 28px;\">මුළු මුදල: Rs. 24055.00</div><div style=\"margin: 4px 0; font-weight: bold;\">ගෙවූ මුදල: Rs. 25000.00</div><div style=\"margin: 4px 0; font-size: 14px; font-weight: bold;\">ඉතිරි මුදල: Rs. 945.00</div><div style=\"border: 1px solid black; padding: 20px; margin-top: 8px; width: 100%; background-color: #ffffffff;\"><div style=\"text-align: center; font-size: 10px; font-weight: bold; line-height: 1.7;\">අපෙන් භාණ්ඩ ලබා ගැනීමෙන් ඔබ ලැබූ ලාභය<br><span style=\"font-size: 12px; color: #000000ff;\">Rs.612.19</span></div></div><div class=\"bill-footer\" style=\"text-align: center; font-size: 13px;\"><p style=\"margin: 4px 0; font-size: 15px;\">ස්තූතියි! නැවත එන්න</p><p style=\"margin: 6px 0; font-size: 12px;\">=== Gadget Technologies 071-1071666 ===</p></div>', '[{\"id\":76,\"item_name_sinhala\":\"සුදන්ත\",\"item_name_english\":\"sudantha\",\"barcode\":\"4792022090324\",\"unit_of_measurement\":\"pcs\",\"regular_price\":320,\"our_price\":320,\"stock_quantity\":49,\"quantity\":1},{\"id\":104,\"item_name_sinhala\":\"අල\",\"item_name_english\":\"ala\",\"barcode\":\"004786426\",\"unit_of_measurement\":\"pcs\",\"regular_price\":210,\"our_price\":200,\"stock_quantity\":47,\"quantity\":1},{\"id\":105,\"item_name_sinhala\":\"බී ළුෑණු\",\"item_name_english\":\"beeluunu\",\"barcode\":\"113943378\",\"unit_of_measurement\":\"kg\",\"regular_price\":180,\"our_price\":160,\"stock_quantity\":65,\"quantity\":1},{\"id\":106,\"item_name_sinhala\":\"රතු ළුණු\",\"item_name_english\":\"rathu\",\"barcode\":\"838150515\",\"unit_of_measurement\":\"kg\",\"regular_price\":450,\"our_price\":400,\"stock_quantity\":11,\"quantity\":0.5},{\"id\":112,\"item_name_sinhala\":\"කරවල\",\"item_name_english\":\"karawala\",\"barcode\":\"076194472\",\"unit_of_measurement\":\"pcs\",\"regular_price\":1,\"our_price\":1,\"stock_quantity\":3720,\"quantity\":600},{\"id\":107,\"item_name_sinhala\":\"සුදු ළුණු\",\"item_name_english\":\"sudu\",\"barcode\":\"910168663\",\"unit_of_measurement\":\"pcs\",\"regular_price\":520,\"our_price\":500,\"stock_quantity\":4998,\"quantity\":0.25},{\"id\":4,\"item_name_sinhala\":\"සීනි\",\"item_name_english\":\"sini\",\"barcode\":\"1004\",\"unit_of_measurement\":\"kg\",\"regular_price\":280,\"our_price\":270,\"stock_quantity\":90,\"quantity\":1.6296296296296295},{\"id\":88,\"item_name_sinhala\":\"වෙනත්\",\"item_name_english\":\"we\",\"barcode\":\"045504190\",\"unit_of_measurement\":\"pcs\",\"regular_price\":1,\"our_price\":1,\"stock_quantity\":580,\"quantity\":50},{\"id\":121,\"item_name_sinhala\":\"රතු හාල්\",\"item_name_english\":\"rathu\",\"barcode\":\"7638698\",\"unit_of_measurement\":\"kg\",\"regular_price\":200,\"our_price\":195,\"stock_quantity\":1329,\"quantity\":107.17948717948718},{\"id\":223,\"item_name_sinhala\":\"කෑලි මිරිස්\",\"item_name_english\":\"miris\",\"barcode\":\"105072681\",\"unit_of_measurement\":\"pcs\",\"regular_price\":120,\"our_price\":120,\"stock_quantity\":50,\"quantity\":1},{\"id\":318,\"item_name_sinhala\":\"රට ඉදි\",\"item_name_english\":\"rata\",\"barcode\":\"296086536\",\"unit_of_measurement\":\"pcs\",\"regular_price\":90,\"our_price\":90,\"stock_quantity\":48,\"quantity\":4.444444444444445},{\"id\":190,\"item_name_sinhala\":\"වෙනත්\",\"item_name_english\":\"we5\",\"barcode\":\"575416877\",\"unit_of_measurement\":\"pcs\",\"regular_price\":1,\"our_price\":1,\"stock_quantity\":1000,\"quantity\":340},{\"id\":188,\"item_name_sinhala\":\"තල\",\"item_name_english\":\"thala\",\"barcode\":\"473159882\",\"unit_of_measurement\":\"pcs\",\"regular_price\":200,\"our_price\":200,\"stock_quantity\":50,\"quantity\":1}]', '2025-11-06 22:23:35'),
(136, 50, '2025-11-08', NULL, NULL, NULL, 790.00, 5000.00, 4210.00, 0, 'cash', '<div class=\"bill-header\" style=\"padding-top: 0; margin-top: 0;\"><div style=\"text-align: center; margin-bottom: 8px; margin-top: 0; padding-top: 0;\"><img src=\"logo.png\" alt=\"Store Logo\" style=\"max-width: 100%; width: 95%; height: auto; max-height: 300px; margin-top: 0; margin-bottom: 6px; display: block; margin-left: auto; margin-right: auto; object-fit: contain; padding-top: 0;\"><h2 style=\"margin: 4px 0 0 0; font-size: 22px; font-weight: bold;\"></h2></div><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">පාසල අසල දොරපනේ</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Tel: 071-3552017</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center; font-weight: bold;\">බිල් අංකය: 50</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Date: 08/11/2025 Time: 11:51:42</p><div style=\"margin: 4px 0; border-bottom: 1px dashed black; width: 100%;\"></div></div><div class=\"bill-items\" style=\"margin-bottom: 8px;\"><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">බිත්තර</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.450.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.495</div><div>අපේ මිල: Rs.450</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">15.00 × Rs.30.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">සීනි</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.240.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.250</div><div>අපේ මිල: Rs.240</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">1.00 × Rs.240.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">පපඩම්</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.100.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.100</div><div>අපේ මිල: Rs.100</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">1.00 × Rs.100.00</div></div></div></div><div class=\"bill-summary\" style=\"text-align: right; font-size: 15px; margin-bottom: 4px;\"><div style=\"margin: 6px 0; font-weight: bold; font-size: 28px;\">මුළු මුදල: Rs. 790.00</div><div style=\"margin: 4px 0; font-weight: bold;\">ගෙවූ මුදල: Rs. 5000.00</div><div style=\"margin: 4px 0; font-size: 14px; font-weight: bold;\">ඉතිරි මුදල: Rs. 4210.00</div><div style=\"border: 1px solid black; padding: 20px; margin-top: 8px; width: 100%; background-color: #ffffffff;\"><div style=\"text-align: center; font-size: 10px; font-weight: bold; line-height: 1.7;\">අපෙන් භාණ්ඩ ලබා ගැනීමෙන් ඔබ ලැබූ ලාභය<br><span style=\"font-size: 12px; color: #000000ff;\">Rs.55.00</span></div></div><div class=\"bill-footer\" style=\"text-align: center; font-size: 13px;\"><p style=\"margin: 4px 0; font-size: 15px;\">ස්තූතියි! නැවත එන්න</p><p style=\"margin: 6px 0; font-size: 12px;\">=== Gadget Technologies 071-1071666 ===</p></div>', '[{\"id\":110,\"item_name_sinhala\":\"බිත්තර\",\"item_name_english\":\"biththara\",\"barcode\":\"015366342\",\"unit_of_measurement\":\"pcs\",\"regular_price\":33,\"our_price\":30,\"stock_quantity\":447,\"quantity\":15},{\"id\":362,\"item_name_sinhala\":\"සීනි\",\"item_name_english\":\"sini\",\"barcode\":\"872168955\",\"unit_of_measurement\":\"pcs\",\"regular_price\":250,\"our_price\":240,\"stock_quantity\":100,\"quantity\":1},{\"id\":252,\"item_name_sinhala\":\"පපඩම්\",\"item_name_english\":\"papadam\",\"barcode\":\"135165947\",\"unit_of_measurement\":\"pcs\",\"regular_price\":100,\"our_price\":100,\"stock_quantity\":50,\"quantity\":1}]', '2025-11-08 06:21:43'),
(137, 51, '2025-11-08', NULL, NULL, NULL, 760.00, 1000.00, 240.00, 0, 'cash', '<div class=\"bill-header\" style=\"padding-top: 0; margin-top: 0;\"><div style=\"text-align: center; margin-bottom: 8px; margin-top: 0; padding-top: 0;\"><img src=\"logo.png\" alt=\"Store Logo\" style=\"max-width: 100%; width: 95%; height: auto; max-height: 300px; margin-top: 0; margin-bottom: 6px; display: block; margin-left: auto; margin-right: auto; object-fit: contain; padding-top: 0;\"><h2 style=\"margin: 4px 0 0 0; font-size: 22px; font-weight: bold;\"></h2></div><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">පාසල අසල දොරපනේ</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Tel: 071-3552017</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center; font-weight: bold;\">බිල් අංකය: 51</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Date: 08/11/2025 Time: 18:33:18</p><div style=\"margin: 4px 0; border-bottom: 1px dashed black; width: 100%;\"></div></div><div class=\"bill-items\" style=\"margin-bottom: 8px;\"><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">බී ළුෑණු</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.320.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.360</div><div>අපේ මිල: Rs.320</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">2.00 × Rs.160.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">අල</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.400.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.420</div><div>අපේ මිල: Rs.400</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">2.00 × Rs.200.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">කවර</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.40.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.40</div><div>අපේ මිල: Rs.40</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">2.00 × Rs.20.00</div></div></div></div><div class=\"bill-summary\" style=\"text-align: right; font-size: 15px; margin-bottom: 4px;\"><div style=\"margin: 6px 0; font-weight: bold; font-size: 28px;\">මුළු මුදල: Rs. 760.00</div><div style=\"margin: 4px 0; font-weight: bold;\">ගෙවූ මුදල: Rs. 1000.00</div><div style=\"margin: 4px 0; font-size: 14px; font-weight: bold;\">ඉතිරි මුදල: Rs. 240.00</div><div style=\"border: 1px solid black; padding: 20px; margin-top: 8px; width: 100%; background-color: #ffffffff;\"><div style=\"text-align: center; font-size: 10px; font-weight: bold; line-height: 1.7;\">අපෙන් භාණ්ඩ ලබා ගැනීමෙන් ඔබ ලැබූ ලාභය<br><span style=\"font-size: 12px; color: #000000ff;\">Rs.60.00</span></div></div><div class=\"bill-footer\" style=\"text-align: center; font-size: 13px;\"><p style=\"margin: 4px 0; font-size: 15px;\">ස්තූතියි! නැවත එන්න</p><p style=\"margin: 6px 0; font-size: 12px;\">=== Gadget Technologies 071-1071666 ===</p></div>', '[{\"id\":105,\"item_name_sinhala\":\"බී ළුෑණු\",\"item_name_english\":\"beeluunu\",\"barcode\":\"113943378\",\"unit_of_measurement\":\"kg\",\"regular_price\":180,\"our_price\":160,\"stock_quantity\":64,\"quantity\":2},{\"id\":104,\"item_name_sinhala\":\"අල\",\"item_name_english\":\"ala\",\"barcode\":\"004786426\",\"unit_of_measurement\":\"pcs\",\"regular_price\":210,\"our_price\":200,\"stock_quantity\":46,\"quantity\":2},{\"id\":312,\"item_name_sinhala\":\"කවර\",\"item_name_english\":\"kawara\",\"barcode\":\"419236055\",\"unit_of_measurement\":\"pcs\",\"regular_price\":20,\"our_price\":20,\"stock_quantity\":10000,\"quantity\":2}]', '2025-11-08 13:03:18');
INSERT INTO `bill_records` (`id`, `bill_number`, `bill_date`, `bill_time`, `customer_phone`, `customer_id`, `total_amount`, `paid_amount`, `change_amount`, `is_credit`, `paymenttype`, `bill_content`, `items_json`, `created_at`) VALUES
(138, 52, '2025-11-08', NULL, NULL, NULL, 2330.00, 5000.00, 2670.00, 0, 'cash', '<div class=\"bill-header\" style=\"padding-top: 0; margin-top: 0;\"><div style=\"text-align: center; margin-bottom: 8px; margin-top: 0; padding-top: 0;\"><img src=\"logo.png\" alt=\"Store Logo\" style=\"max-width: 100%; width: 95%; height: auto; max-height: 300px; margin-top: 0; margin-bottom: 6px; display: block; margin-left: auto; margin-right: auto; object-fit: contain; padding-top: 0;\"><h2 style=\"margin: 4px 0 0 0; font-size: 22px; font-weight: bold;\"></h2></div><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">පාසල අසල දොරපනේ</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Tel: 071-3552017</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center; font-weight: bold;\">බිල් අංකය: 52</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Date: 08/11/2025 Time: 18:45:00</p><div style=\"margin: 4px 0; border-bottom: 1px dashed black; width: 100%;\"></div></div><div class=\"bill-items\" style=\"margin-bottom: 8px;\"><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">ප්‍රීමා නූඩ්ල්ස් ෆැමිලි පැක්</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.370.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.370</div><div>අපේ මිල: Rs.370</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">1.00 × Rs.370.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">රතු හාල්</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.390.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.400</div><div>අපේ මිල: Rs.390</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">2.00 × Rs.195.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">රට ඉදි</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.400.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.396</div><div>අපේ මිල: Rs.396</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">0.44 × Rs.900.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">වෙනත්</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.180.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.180</div><div>අපේ මිල: Rs.180</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">180.00 × Rs.1.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">උම්බලකඩ</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.210.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.203.00000000000003</div><div>අපේ මිල: Rs.196.00000000000003</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">0.07 × Rs.2800.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">කලින් හිඟ මුදල</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.780.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.780</div><div>අපේ මිල: Rs.780</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">780.00 × Rs.1.00</div></div></div></div><div class=\"bill-summary\" style=\"text-align: right; font-size: 15px; margin-bottom: 4px;\"><div style=\"margin: 6px 0; font-weight: bold; font-size: 28px;\">මුළු මුදල: Rs. 2330.00</div><div style=\"margin: 4px 0; font-weight: bold;\">ගෙවූ මුදල: Rs. 5000.00</div><div style=\"margin: 4px 0; font-size: 14px; font-weight: bold;\">ඉතිරි මුදල: Rs. 2670.00</div><div style=\"border: 1px solid black; padding: 20px; margin-top: 8px; width: 100%; background-color: #ffffffff;\"><div style=\"text-align: center; font-size: 10px; font-weight: bold; line-height: 1.7;\">අපෙන් භාණ්ඩ ලබා ගැනීමෙන් ඔබ ලැබූ ලාභය<br><span style=\"font-size: 12px; color: #000000ff;\">Rs.17.50</span></div></div><div class=\"bill-footer\" style=\"text-align: center; font-size: 13px;\"><p style=\"margin: 4px 0; font-size: 15px;\">ස්තූතියි! නැවත එන්න</p><p style=\"margin: 6px 0; font-size: 12px;\">=== Gadget Technologies 071-1071666 ===</p></div>', '[{\"id\":285,\"item_name_sinhala\":\"ප්‍රීමා නූඩ්ල්ස් ෆැමිලි පැක්\",\"item_name_english\":\"prima\",\"barcode\":\"4792018233681\",\"unit_of_measurement\":\"pcs\",\"regular_price\":370,\"our_price\":370,\"stock_quantity\":50,\"quantity\":1},{\"id\":121,\"item_name_sinhala\":\"රතු හාල්\",\"item_name_english\":\"rathu\",\"barcode\":\"7638698\",\"unit_of_measurement\":\"kg\",\"regular_price\":200,\"our_price\":195,\"stock_quantity\":1221,\"quantity\":2},{\"id\":318,\"item_name_sinhala\":\"රට ඉදි\",\"item_name_english\":\"rata\",\"barcode\":\"296086536\",\"unit_of_measurement\":\"pcs\",\"regular_price\":900,\"our_price\":900,\"stock_quantity\":43,\"quantity\":0.4444444444444444},{\"id\":88,\"item_name_sinhala\":\"වෙනත්\",\"item_name_english\":\"we\",\"barcode\":\"045504190\",\"unit_of_measurement\":\"pcs\",\"regular_price\":1,\"our_price\":1,\"stock_quantity\":530,\"quantity\":180},{\"id\":113,\"item_name_sinhala\":\"උම්බලකඩ\",\"item_name_english\":\"umbala\",\"barcode\":\"141137213\",\"unit_of_measurement\":\"pcs\",\"regular_price\":2900,\"our_price\":2800,\"stock_quantity\":19,\"quantity\":0.075},{\"id\":332,\"item_name_sinhala\":\"කලින් හිඟ මුදල\",\"item_name_english\":\"naya\",\"barcode\":\"925445829\",\"unit_of_measurement\":\"pcs\",\"regular_price\":1,\"our_price\":1,\"stock_quantity\":25000,\"quantity\":780}]', '2025-11-08 13:15:00'),
(139, 53, '2025-11-08', NULL, NULL, NULL, 1400.00, 500.00, 0.00, 0, 'cash', '<div class=\"bill-header\" style=\"padding-top: 0; margin-top: 0;\"><div style=\"text-align: center; margin-bottom: 8px; margin-top: 0; padding-top: 0;\"><img src=\"logo.png\" alt=\"Store Logo\" style=\"max-width: 100%; width: 95%; height: auto; max-height: 300px; margin-top: 0; margin-bottom: 6px; display: block; margin-left: auto; margin-right: auto; object-fit: contain; padding-top: 0;\"><h2 style=\"margin: 4px 0 0 0; font-size: 22px; font-weight: bold;\"></h2></div><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">පාසල අසල දොරපනේ</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Tel: 071-3552017</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center; font-weight: bold;\">බිල් අංකය: 53</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Date: 08/11/2025 Time: 18:56:14</p><div style=\"margin: 4px 0; border-bottom: 1px dashed black; width: 100%;\"></div></div><div class=\"bill-items\" style=\"margin-bottom: 8px;\"><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">කජු</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.1400.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.1500</div><div>අපේ මිල: Rs.1400</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">1.00 × Rs.1400.00</div></div></div></div><div class=\"bill-summary\" style=\"text-align: right; font-size: 15px; margin-bottom: 4px;\"><div style=\"margin: 6px 0; font-weight: bold; font-size: 28px;\">මුළු මුදල: Rs. 1400.00</div><div style=\"margin: 4px 0; font-weight: bold;\">ගෙවූ මුදල: Rs. 500.00</div><div style=\"margin: 4px 0; font-size: 14px; font-weight: bold;\">ඉතිරි මුදල: Rs. 0.00</div><div style=\"border: 1px solid black; padding: 20px; margin-top: 8px; width: 100%; background-color: #ffffffff;\"><div style=\"text-align: center; font-size: 10px; font-weight: bold; line-height: 1.7;\">අපෙන් භාණ්ඩ ලබා ගැනීමෙන් ඔබ ලැබූ ලාභය<br><span style=\"font-size: 12px; color: #000000ff;\">Rs.100.00</span></div></div><div class=\"bill-footer\" style=\"text-align: center; font-size: 13px;\"><p style=\"margin: 4px 0; font-size: 15px;\">ස්තූතියි! නැවත එන්න</p><p style=\"margin: 6px 0; font-size: 12px;\">=== Gadget Technologies 071-1071666 ===</p></div>', '[{\"id\":314,\"item_name_sinhala\":\"කජු\",\"item_name_english\":\"kaju\",\"barcode\":\"234090712\",\"unit_of_measurement\":\"pcs\",\"regular_price\":1500,\"our_price\":1400,\"stock_quantity\":99,\"quantity\":1}]', '2025-11-08 13:26:14'),
(140, 54, '2025-11-08', NULL, NULL, NULL, 140.00, 500.00, 360.00, 0, 'cash', '<div class=\"bill-header\" style=\"padding-top: 0; margin-top: 0;\"><div style=\"text-align: center; margin-bottom: 8px; margin-top: 0; padding-top: 0;\"><img src=\"logo.png\" alt=\"Store Logo\" style=\"max-width: 100%; width: 95%; height: auto; max-height: 300px; margin-top: 0; margin-bottom: 6px; display: block; margin-left: auto; margin-right: auto; object-fit: contain; padding-top: 0;\"><h2 style=\"margin: 4px 0 0 0; font-size: 22px; font-weight: bold;\"></h2></div><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">පාසල අසල දොරපනේ</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Tel: 071-3552017</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center; font-weight: bold;\">බිල් අංකය: 54</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Date: 08/11/2025 Time: 18:56:49</p><div style=\"margin: 4px 0; border-bottom: 1px dashed black; width: 100%;\"></div></div><div class=\"bill-items\" style=\"margin-bottom: 8px;\"><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">බික් තල 2</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.140.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.140</div><div>අපේ මිල: Rs.140</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">1.00 × Rs.140.00</div></div></div></div><div class=\"bill-summary\" style=\"text-align: right; font-size: 15px; margin-bottom: 4px;\"><div style=\"margin: 6px 0; font-weight: bold; font-size: 28px;\">මුළු මුදල: Rs. 140.00</div><div style=\"margin: 4px 0; font-weight: bold;\">ගෙවූ මුදල: Rs. 500.00</div><div style=\"margin: 4px 0; font-size: 14px; font-weight: bold;\">ඉතිරි මුදල: Rs. 360.00</div><div style=\"border: 1px solid black; padding: 20px; margin-top: 8px; width: 100%; background-color: #ffffffff;\"><div style=\"text-align: center; font-size: 10px; font-weight: bold; line-height: 1.7;\">අපෙන් භාණ්ඩ ලබා ගැනීමෙන් ඔබ ලැබූ ලාභය<br><span style=\"font-size: 12px; color: #000000ff;\">Rs.0.00</span></div></div><div class=\"bill-footer\" style=\"text-align: center; font-size: 13px;\"><p style=\"margin: 4px 0; font-size: 15px;\">ස්තූතියි! නැවත එන්න</p><p style=\"margin: 6px 0; font-size: 12px;\">=== Gadget Technologies 071-1071666 ===</p></div>', '[{\"id\":174,\"item_name_sinhala\":\"බික් තල 2\",\"item_name_english\":\"bic\",\"barcode\":\"3086127501122\",\"unit_of_measurement\":\"pcs\",\"regular_price\":140,\"our_price\":140,\"stock_quantity\":10,\"quantity\":1}]', '2025-11-08 13:26:49'),
(141, 55, '2025-11-08', NULL, NULL, NULL, 1200.00, 1500.00, 300.00, 0, 'cash', '<div class=\"bill-header\" style=\"padding-top: 0; margin-top: 0;\"><div style=\"text-align: center; margin-bottom: 8px; margin-top: 0; padding-top: 0;\"><img src=\"logo.png\" alt=\"Store Logo\" style=\"max-width: 100%; width: 95%; height: auto; max-height: 300px; margin-top: 0; margin-bottom: 6px; display: block; margin-left: auto; margin-right: auto; object-fit: contain; padding-top: 0;\"><h2 style=\"margin: 4px 0 0 0; font-size: 22px; font-weight: bold;\"></h2></div><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">පාසල අසල දොරපනේ</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Tel: 071-3552017</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center; font-weight: bold;\">බිල් අංකය: 55</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Date: 08/11/2025 Time: 19:03:17</p><div style=\"margin: 4px 0; border-bottom: 1px dashed black; width: 100%;\"></div></div><div class=\"bill-items\" style=\"margin-bottom: 8px;\"><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">හාල්මැස්සන්</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.1200.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.1300</div><div>අපේ මිල: Rs.1200</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">1.00 × Rs.1200.00</div></div></div></div><div class=\"bill-summary\" style=\"text-align: right; font-size: 15px; margin-bottom: 4px;\"><div style=\"margin: 6px 0; font-weight: bold; font-size: 28px;\">මුළු මුදල: Rs. 1200.00</div><div style=\"margin: 4px 0; font-weight: bold;\">ගෙවූ මුදල: Rs. 1500.00</div><div style=\"margin: 4px 0; font-size: 14px; font-weight: bold;\">ඉතිරි මුදල: Rs. 300.00</div><div style=\"border: 1px solid black; padding: 20px; margin-top: 8px; width: 100%; background-color: #ffffffff;\"><div style=\"text-align: center; font-size: 10px; font-weight: bold; line-height: 1.7;\">අපෙන් භාණ්ඩ ලබා ගැනීමෙන් ඔබ ලැබූ ලාභය<br><span style=\"font-size: 12px; color: #000000ff;\">Rs.100.00</span></div></div><div class=\"bill-footer\" style=\"text-align: center; font-size: 13px;\"><p style=\"margin: 4px 0; font-size: 15px;\">ස්තූතියි! නැවත එන්න</p><p style=\"margin: 6px 0; font-size: 12px;\">=== Gadget Technologies 071-1071666 ===</p></div>', '[{\"id\":111,\"item_name_sinhala\":\"හාල්මැස්සන්\",\"item_name_english\":\"halmasso\",\"barcode\":\"040630134-\",\"unit_of_measurement\":\"pcs\",\"regular_price\":1300,\"our_price\":1200,\"stock_quantity\":24,\"quantity\":1}]', '2025-11-08 13:33:17'),
(142, 56, '2025-11-08', NULL, NULL, NULL, 200.00, 200.00, 0.00, 0, 'cash', '<div class=\"bill-header\" style=\"padding-top: 0; margin-top: 0;\"><div style=\"text-align: center; margin-bottom: 8px; margin-top: 0; padding-top: 0;\"><img src=\"logo.png\" alt=\"Store Logo\" style=\"max-width: 100%; width: 95%; height: auto; max-height: 300px; margin-top: 0; margin-bottom: 6px; display: block; margin-left: auto; margin-right: auto; object-fit: contain; padding-top: 0;\"><h2 style=\"margin: 4px 0 0 0; font-size: 22px; font-weight: bold;\"></h2></div><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">පාසල අසල දොරපනේ</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Tel: 071-3552017</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center; font-weight: bold;\">බිල් අංකය: 56</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Date: 08/11/2025 Time: 19:13:59</p><div style=\"margin: 4px 0; border-bottom: 1px dashed black; width: 100%;\"></div></div><div class=\"bill-items\" style=\"margin-bottom: 8px;\"><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">අල</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.200.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.210</div><div>අපේ මිල: Rs.200</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">1.00 × Rs.200.00</div></div></div></div><div class=\"bill-summary\" style=\"text-align: right; font-size: 15px; margin-bottom: 4px;\"><div style=\"margin: 6px 0; font-weight: bold; font-size: 28px;\">මුළු මුදල: Rs. 200.00</div><div style=\"margin: 4px 0; font-weight: bold;\">ගෙවූ මුදල: Rs. 200.00</div><div style=\"margin: 4px 0; font-size: 14px; font-weight: bold;\">ඉතිරි මුදල: Rs. 0.00</div><div style=\"border: 1px solid black; padding: 20px; margin-top: 8px; width: 100%; background-color: #ffffffff;\"><div style=\"text-align: center; font-size: 10px; font-weight: bold; line-height: 1.7;\">අපෙන් භාණ්ඩ ලබා ගැනීමෙන් ඔබ ලැබූ ලාභය<br><span style=\"font-size: 12px; color: #000000ff;\">Rs.10.00</span></div></div><div class=\"bill-footer\" style=\"text-align: center; font-size: 13px;\"><p style=\"margin: 4px 0; font-size: 15px;\">ස්තූතියි! නැවත එන්න</p><p style=\"margin: 6px 0; font-size: 12px;\">=== Gadget Technologies 071-1071666 ===</p></div>', '[{\"id\":104,\"item_name_sinhala\":\"අල\",\"item_name_english\":\"ala\",\"barcode\":\"004786426\",\"unit_of_measurement\":\"pcs\",\"regular_price\":210,\"our_price\":200,\"stock_quantity\":44,\"quantity\":1}]', '2025-11-08 13:44:00'),
(143, 50, '2025-11-10', NULL, NULL, NULL, 1.00, 100.00, 99.00, 0, 'cash', '<div class=\"bill-header\" style=\"padding-top: 0; margin-top: 0;\"><div style=\"text-align: center; margin-bottom: 8px; margin-top: 0; padding-top: 0;\"><img src=\"logo.png\" alt=\"Store Logo\" style=\"max-width: 100%; width: 95%; height: auto; max-height: 300px; margin-top: 0; margin-bottom: 6px; display: block; margin-left: auto; margin-right: auto; object-fit: contain; padding-top: 0;\"><h2 style=\"margin: 4px 0 0 0; font-size: 22px; font-weight: bold;\"></h2></div><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">පාසල අසල දොරපනේ</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Tel: 071-3552017</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center; font-weight: bold;\">බිල් අංකය: 50</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Date: 10/11/2025 Time: 17:31:09</p><div style=\"margin: 4px 0; border-bottom: 1px dashed black; width: 100%;\"></div></div><div class=\"bill-items\" style=\"margin-bottom: 8px;\"><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">සබන්</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.1.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.1</div><div>අපේ මිල: Rs.1</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">1.00 × Rs.1.00</div></div></div></div><div class=\"bill-summary\" style=\"text-align: right; font-size: 15px; margin-bottom: 4px;\"><div style=\"margin: 6px 0; font-weight: bold; font-size: 28px;\">මුළු මුදල: Rs. 1.00</div><div style=\"margin: 4px 0; font-weight: bold;\">ගෙවූ මුදල: Rs. 100.00</div><div style=\"margin: 4px 0; font-size: 14px; font-weight: bold;\">ඉතිරි මුදල: Rs. 99.00</div><div style=\"border: 1px solid black; padding: 20px; margin-top: 8px; width: 100%; background-color: #ffffffff;\"><div style=\"text-align: center; font-size: 10px; font-weight: bold; line-height: 1.7;\">අපෙන් භාණ්ඩ ලබා ගැනීමෙන් ඔබ ලැබූ ලාභය<br><span style=\"font-size: 12px; color: #000000ff;\">Rs.0.00</span></div></div><div class=\"bill-footer\" style=\"text-align: center; font-size: 13px;\"><p style=\"margin: 4px 0; font-size: 15px;\">ස්තූතියි! නැවත එන්න</p><p style=\"margin: 6px 0; font-size: 12px;\">=== Gadget Technologies 071-1071666 ===</p></div>', '[{\"id\":142,\"item_name_sinhala\":\"සබන්\",\"item_name_english\":\"saban\",\"barcode\":\"548707115\",\"unit_of_measurement\":\"pcs\",\"regular_price\":1,\"our_price\":1,\"stock_quantity\":4715,\"quantity\":1}]', '2025-11-10 12:01:10'),
(144, 51, '2025-11-10', NULL, NULL, NULL, 2140.00, 2150.00, 10.00, 0, 'cash', '<div class=\"bill-header\" style=\"padding-top: 0; margin-top: 0;\"><div style=\"text-align: center; margin-bottom: 8px; margin-top: 0; padding-top: 0;\"><img src=\"logo.png\" alt=\"Store Logo\" style=\"max-width: 100%; width: 95%; height: auto; max-height: 300px; margin-top: 0; margin-bottom: 6px; display: block; margin-left: auto; margin-right: auto; object-fit: contain; padding-top: 0;\"><h2 style=\"margin: 4px 0 0 0; font-size: 22px; font-weight: bold;\"></h2></div><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">පාසල අසල දොරපනේ</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Tel: 071-3552017</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center; font-weight: bold;\">බිල් අංකය: 51</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Date: 10/11/2025 Time: 17:58:52</p><div style=\"margin: 4px 0; border-bottom: 1px dashed black; width: 100%;\"></div></div><div class=\"bill-items\" style=\"margin-bottom: 8px;\"><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">සීනි</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.1300.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.1350</div><div>අපේ මිල: Rs.1300</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">5.00 × Rs.260.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">පිටි</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.180.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.190</div><div>අපේ මිල: Rs.180</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">1.00 × Rs.180.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">සුදු හාල්</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.440.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.460</div><div>අපේ මිල: Rs.440</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">2.00 × Rs.220.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">එනසාල්</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.200.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.200</div><div>අපේ මිල: Rs.200</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">2.00 × Rs.100.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">ෂොපින් බෑග්</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.20.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.20</div><div>අපේ මිල: Rs.20</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">20.00 × Rs.1.00</div></div></div></div><div class=\"bill-summary\" style=\"text-align: right; font-size: 15px; margin-bottom: 4px;\"><div style=\"margin: 6px 0; font-weight: bold; font-size: 28px;\">මුළු මුදල: Rs. 2140.00</div><div style=\"margin: 4px 0; font-weight: bold;\">ගෙවූ මුදල: Rs. 2150.00</div><div style=\"margin: 4px 0; font-size: 14px; font-weight: bold;\">ඉතිරි මුදල: Rs. 10.00</div><div style=\"border: 1px solid black; padding: 20px; margin-top: 8px; width: 100%; background-color: #ffffffff;\"><div style=\"text-align: center; font-size: 10px; font-weight: bold; line-height: 1.7;\">අපෙන් භාණ්ඩ ලබා ගැනීමෙන් ඔබ ලැබූ ලාභය<br><span style=\"font-size: 12px; color: #000000ff;\">Rs.80.00</span></div></div><div class=\"bill-footer\" style=\"text-align: center; font-size: 13px;\"><p style=\"margin: 4px 0; font-size: 15px;\">ස්තූතියි! නැවත එන්න</p><p style=\"margin: 6px 0; font-size: 12px;\">=== Gadget Technologies 071-1071666 ===</p></div>', '[{\"id\":365,\"item_name_sinhala\":\"සීනි\",\"item_name_english\":\"sini\",\"barcode\":\"597603757\",\"unit_of_measurement\":\"pcs\",\"regular_price\":270,\"our_price\":260,\"stock_quantity\":500,\"quantity\":5},{\"id\":115,\"item_name_sinhala\":\"පිටි\",\"item_name_english\":\"piti\",\"barcode\":\"261148332\",\"unit_of_measurement\":\"pcs\",\"regular_price\":190,\"our_price\":180,\"stock_quantity\":95,\"quantity\":1},{\"id\":122,\"item_name_sinhala\":\"සුදු හාල්\",\"item_name_english\":\"suduhal\",\"barcode\":\"596352311\",\"unit_of_measurement\":\"pcs\",\"regular_price\":230,\"our_price\":220,\"stock_quantity\":100,\"quantity\":2},{\"id\":324,\"item_name_sinhala\":\"එනසාල්\",\"item_name_english\":\"enasal\",\"barcode\":\"287411972\",\"unit_of_measurement\":\"pcs\",\"regular_price\":100,\"our_price\":100,\"stock_quantity\":50,\"quantity\":2},{\"id\":319,\"item_name_sinhala\":\"ෂොපින් බෑග්\",\"item_name_english\":\"shopin\",\"barcode\":\"347384926\",\"unit_of_measurement\":\"pcs\",\"regular_price\":1,\"our_price\":1,\"stock_quantity\":4965,\"quantity\":20}]', '2025-11-10 12:28:52'),
(145, 52, '2025-11-10', NULL, NULL, NULL, 1520.00, 2000.00, 480.00, 0, 'cash', '<div class=\"bill-header\" style=\"padding-top: 0; margin-top: 0;\"><div style=\"text-align: center; margin-bottom: 8px; margin-top: 0; padding-top: 0;\"><img src=\"logo.png\" alt=\"Store Logo\" style=\"max-width: 100%; width: 95%; height: auto; max-height: 300px; margin-top: 0; margin-bottom: 6px; display: block; margin-left: auto; margin-right: auto; object-fit: contain; padding-top: 0;\"><h2 style=\"margin: 4px 0 0 0; font-size: 22px; font-weight: bold;\"></h2></div><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">පාසල අසල දොරපනේ</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Tel: 071-3552017</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center; font-weight: bold;\">බිල් අංකය: 52</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Date: 10/11/2025 Time: 18:01:25</p><div style=\"margin: 4px 0; border-bottom: 1px dashed black; width: 100%;\"></div></div><div class=\"bill-items\" style=\"margin-bottom: 8px;\"><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">පැල්වත්ත කිරිපිටි 400g</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.1125.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.1125</div><div>අපේ මිල: Rs.1125</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">1.00 × Rs.1125.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">ලුණු කුඩු</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.120.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.120</div><div>අපේ මිල: Rs.120</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">1.00 × Rs.120.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">මන්චි චොකලට් ක්‍රීම් බිස්කට් 100g</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.130.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.130</div><div>අපේ මිල: Rs.130</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">1.00 × Rs.130.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">මන්චි ක්‍රීම් ක්‍රැකර් 125g</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.140.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.140</div><div>අපේ මිල: Rs.140</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">1.00 × Rs.140.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">ෂොපින් බෑග්</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.5.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.5</div><div>අපේ මිල: Rs.5</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">5.00 × Rs.1.00</div></div></div></div><div class=\"bill-summary\" style=\"text-align: right; font-size: 15px; margin-bottom: 4px;\"><div style=\"margin: 6px 0; font-weight: bold; font-size: 28px;\">මුළු මුදල: Rs. 1520.00</div><div style=\"margin: 4px 0; font-weight: bold;\">ගෙවූ මුදල: Rs. 2000.00</div><div style=\"margin: 4px 0; font-size: 14px; font-weight: bold;\">ඉතිරි මුදල: Rs. 480.00</div><div style=\"border: 1px solid black; padding: 20px; margin-top: 8px; width: 100%; background-color: #ffffffff;\"><div style=\"text-align: center; font-size: 10px; font-weight: bold; line-height: 1.7;\">අපෙන් භාණ්ඩ ලබා ගැනීමෙන් ඔබ ලැබූ ලාභය<br><span style=\"font-size: 12px; color: #000000ff;\">Rs.0.00</span></div></div><div class=\"bill-footer\" style=\"text-align: center; font-size: 13px;\"><p style=\"margin: 4px 0; font-size: 15px;\">ස්තූතියි! නැවත එන්න</p><p style=\"margin: 6px 0; font-size: 12px;\">=== Gadget Technologies 071-1071666 ===</p></div>', '[{\"id\":147,\"item_name_sinhala\":\"පැල්වත්ත කිරිපිටි 400g\",\"item_name_english\":\"pelwatte\",\"barcode\":\"4796004080440\",\"unit_of_measurement\":\"pcs\",\"regular_price\":1125,\"our_price\":1125,\"stock_quantity\":19,\"quantity\":1},{\"id\":136,\"item_name_sinhala\":\"ලුණු කුඩු\",\"item_name_english\":\"lunu\",\"barcode\":\"200705798\",\"unit_of_measurement\":\"pcs\",\"regular_price\":120,\"our_price\":120,\"stock_quantity\":20,\"quantity\":1},{\"id\":25,\"item_name_sinhala\":\"මන්චි චොකලට් ක්‍රීම් බිස්කට් 100g\",\"item_name_english\":\"mcho\",\"barcode\":\"8888101270018\",\"unit_of_measurement\":\"pcs\",\"regular_price\":130,\"our_price\":130,\"stock_quantity\":50,\"quantity\":1},{\"id\":20,\"item_name_sinhala\":\"මන්චි ක්‍රීම් ක්‍රැකර් 125g\",\"item_name_english\":\"mcra\",\"barcode\":\"8888101430153\",\"unit_of_measurement\":\"pcs\",\"regular_price\":140,\"our_price\":140,\"stock_quantity\":50,\"quantity\":1},{\"id\":319,\"item_name_sinhala\":\"ෂොපින් බෑග්\",\"item_name_english\":\"shopin\",\"barcode\":\"347384926\",\"unit_of_measurement\":\"pcs\",\"regular_price\":1,\"our_price\":1,\"stock_quantity\":4945,\"quantity\":5}]', '2025-11-10 12:31:25'),
(146, 53, '2025-11-10', NULL, NULL, NULL, 130.00, 500.00, 370.00, 0, 'cash', '<div class=\"bill-header\" style=\"padding-top: 0; margin-top: 0;\"><div style=\"text-align: center; margin-bottom: 8px; margin-top: 0; padding-top: 0;\"><img src=\"logo.png\" alt=\"Store Logo\" style=\"max-width: 100%; width: 95%; height: auto; max-height: 300px; margin-top: 0; margin-bottom: 6px; display: block; margin-left: auto; margin-right: auto; object-fit: contain; padding-top: 0;\"><h2 style=\"margin: 4px 0 0 0; font-size: 22px; font-weight: bold;\"></h2></div><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">පාසල අසල දොරපනේ</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Tel: 071-3552017</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center; font-weight: bold;\">බිල් අංකය: 53</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Date: 10/11/2025 Time: 18:08:00</p><div style=\"margin: 4px 0; border-bottom: 1px dashed black; width: 100%;\"></div></div><div class=\"bill-items\" style=\"margin-bottom: 8px;\"><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">පරිප්පු නො.2</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.130.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.140</div><div>අපේ මිල: Rs.130</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">0.50 × Rs.260.00</div></div></div></div><div class=\"bill-summary\" style=\"text-align: right; font-size: 15px; margin-bottom: 4px;\"><div style=\"margin: 6px 0; font-weight: bold; font-size: 28px;\">මුළු මුදල: Rs. 130.00</div><div style=\"margin: 4px 0; font-weight: bold;\">ගෙවූ මුදල: Rs. 500.00</div><div style=\"margin: 4px 0; font-size: 14px; font-weight: bold;\">ඉතිරි මුදල: Rs. 370.00</div><div style=\"border: 1px solid black; padding: 20px; margin-top: 8px; width: 100%; background-color: #ffffffff;\"><div style=\"text-align: center; font-size: 10px; font-weight: bold; line-height: 1.7;\">අපෙන් භාණ්ඩ ලබා ගැනීමෙන් ඔබ ලැබූ ලාභය<br><span style=\"font-size: 12px; color: #000000ff;\">Rs.10.00</span></div></div><div class=\"bill-footer\" style=\"text-align: center; font-size: 13px;\"><p style=\"margin: 4px 0; font-size: 15px;\">ස්තූතියි! නැවත එන්න</p><p style=\"margin: 6px 0; font-size: 12px;\">=== Gadget Technologies 071-1071666 ===</p></div>', '[{\"id\":109,\"item_name_sinhala\":\"පරිප්පු නො.2\",\"item_name_english\":\"parippu\",\"barcode\":\"991179274\",\"unit_of_measurement\":\"kg\",\"regular_price\":280,\"our_price\":260,\"stock_quantity\":158,\"quantity\":0.5}]', '2025-11-10 12:38:00'),
(147, 54, '2025-11-10', NULL, NULL, NULL, 440.00, 440.00, 0.00, 0, 'cash', '<div class=\"bill-header\" style=\"padding-top: 0; margin-top: 0;\"><div style=\"text-align: center; margin-bottom: 8px; margin-top: 0; padding-top: 0;\"><img src=\"logo.png\" alt=\"Store Logo\" style=\"max-width: 100%; width: 95%; height: auto; max-height: 300px; margin-top: 0; margin-bottom: 6px; display: block; margin-left: auto; margin-right: auto; object-fit: contain; padding-top: 0;\"><h2 style=\"margin: 4px 0 0 0; font-size: 22px; font-weight: bold;\"></h2></div><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">පාසල අසල දොරපනේ</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Tel: 071-3552017</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center; font-weight: bold;\">බිල් අංකය: 54</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Date: 10/11/2025 Time: 18:08:23</p><div style=\"margin: 4px 0; border-bottom: 1px dashed black; width: 100%;\"></div></div><div class=\"bill-items\" style=\"margin-bottom: 8px;\"><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">අමු තුනපහ</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.140.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.140</div><div>අපේ මිල: Rs.140</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">1.00 × Rs.140.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">හාල්මැස්සන්</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.300.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.325</div><div>අපේ මිල: Rs.300</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">0.25 × Rs.1200.00</div></div></div></div><div class=\"bill-summary\" style=\"text-align: right; font-size: 15px; margin-bottom: 4px;\"><div style=\"margin: 6px 0; font-weight: bold; font-size: 28px;\">මුළු මුදල: Rs. 440.00</div><div style=\"margin: 4px 0; font-weight: bold;\">ගෙවූ මුදල: Rs. 440.00</div><div style=\"margin: 4px 0; font-size: 14px; font-weight: bold;\">ඉතිරි මුදල: Rs. 0.00</div><div style=\"border: 1px solid black; padding: 20px; margin-top: 8px; width: 100%; background-color: #ffffffff;\"><div style=\"text-align: center; font-size: 10px; font-weight: bold; line-height: 1.7;\">අපෙන් භාණ්ඩ ලබා ගැනීමෙන් ඔබ ලැබූ ලාභය<br><span style=\"font-size: 12px; color: #000000ff;\">Rs.25.00</span></div></div><div class=\"bill-footer\" style=\"text-align: center; font-size: 13px;\"><p style=\"margin: 4px 0; font-size: 15px;\">ස්තූතියි! නැවත එන්න</p><p style=\"margin: 6px 0; font-size: 12px;\">=== Gadget Technologies 071-1071666 ===</p></div>', '[{\"id\":225,\"item_name_sinhala\":\"අමු තුනපහ\",\"item_name_english\":\"amuthuna\",\"barcode\":\"168138125\",\"unit_of_measurement\":\"pcs\",\"regular_price\":140,\"our_price\":140,\"stock_quantity\":97,\"quantity\":1},{\"id\":111,\"item_name_sinhala\":\"හාල්මැස්සන්\",\"item_name_english\":\"halmasso\",\"barcode\":\"040630134-\",\"unit_of_measurement\":\"pcs\",\"regular_price\":1300,\"our_price\":1200,\"stock_quantity\":23,\"quantity\":0.25}]', '2025-11-10 12:38:23');
INSERT INTO `bill_records` (`id`, `bill_number`, `bill_date`, `bill_time`, `customer_phone`, `customer_id`, `total_amount`, `paid_amount`, `change_amount`, `is_credit`, `paymenttype`, `bill_content`, `items_json`, `created_at`) VALUES
(148, 55, '2025-11-10', NULL, NULL, NULL, 9000.00, 9000.00, 0.00, 0, 'cash', '<p style=\"margin: 3px 0; font-size: 14px; text-align: center; font-weight: bold;\">බිල් අංකය: 55</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Date: 10/11/2025 Time: 20:15:22</p><div style=\"margin: 4px 0; border-bottom: 1px dashed black; width: 100%;\"></div></div><div class=\"bill-items\" style=\"margin-bottom: 8px;\"><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">රතු හාල්</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.975.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.1000</div><div>අපේ මිල: Rs.975</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">5.00 × Rs.195.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">සීනි පැකට් දුඹුරු</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.540.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.560</div><div>අපේ මිල: Rs.540</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">2.00 × Rs.270.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">කඩල</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.480.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.520</div><div>අපේ මිල: Rs.480</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">1.00 × Rs.480.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">වටානා</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.200.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.210</div><div>අපේ මිල: Rs.200</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">1.00 × Rs.200.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">කජු</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.700.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.750</div><div>අපේ මිල: Rs.700</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">0.50 × Rs.1400.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">කොර්න් බඩ්ස්</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.200.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.200</div><div>අපේ මිල: Rs.200</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">1.00 × Rs.200.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">ඩෙල්මාලයිට්</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.200.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.200.6</div><div>අපේ මිල: Rs.200.6</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">1.18 × Rs.170.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">සබන්</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.150.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.150</div><div>අපේ මිල: Rs.150</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">150.00 × Rs.1.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">නෙස්ටොමෝල්ට් 28g</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.780.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.780</div><div>අපේ මිල: Rs.780</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">13.00 × Rs.60.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">සමපෝෂ 500g</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.420.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.420</div><div>අපේ මිල: Rs.420</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">1.00 × Rs.420.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">ලුණු කැට</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.150.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.150</div><div>අපේ මිල: Rs.150</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">1.00 × Rs.150.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">ලුණු කුඩු</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.120.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.120</div><div>අපේ මිල: Rs.120</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">1.00 × Rs.120.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">පරිප්පු නො.1</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.190.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.200</div><div>අපේ මිල: Rs.190</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">0.50 × Rs.380.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">සම්බා</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.500.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.529.2</div><div>අපේ මිල: Rs.499.8</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">1.47 × Rs.340.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">වෙනත්</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.330.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.330</div><div>අපේ මිල: Rs.330</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">330.00 × Rs.1.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">චෙරිස් චොකලට් ක්‍රීම් බිස්කට් 365g</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.360.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.360</div><div>අපේ මිල: Rs.360</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">0.90 × Rs.400.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">සැමන් ලොකු</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.500.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.550</div><div>අපේ මිල: Rs.500</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">1.00 × Rs.500.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">සිග්නල් ටූත් පේස්ට් 120g</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.240.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.240</div><div>අපේ මිල: Rs.240</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">1.00 × Rs.240.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">කුමාරිකා නරිෂින් හෙයා ඔයිල්</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.315.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.315</div><div>අපේ මිල: Rs.315</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">1.00 × Rs.315.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">කුකුල් මස්</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.1150.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.1312.5</div><div>අපේ මිල: Rs.1155</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">1.05 × Rs.1100.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">මන්චි මිල්ක් ක්‍රීම් බිස්කට් 220g</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.440.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.440</div><div>අපේ මිල: Rs.440</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">2.00 × Rs.220.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">ෂොපින් බෑග්</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.20.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.20</div><div>අපේ මිල: Rs.20</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">20.00 × Rs.1.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">වෙනත්</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.40.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.40</div><div>අපේ මිල: Rs.40</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">40.00 × Rs.1.00</div></div></div></div><div class=\"bill-summary\" style=\"text-align: right; font-size: 15px; margin-bottom: 4px;\"><div style=\"margin: 6px 0; font-weight: bold; font-size: 28px;\">මුළු මුදල: Rs. 9000.00</div><div style=\"margin: 4px 0; font-weight: bold;\">ගෙවූ මුදල: Rs. 9000.00</div><div style=\"margin: 4px 0; font-size: 14px; font-weight: bold;\">ඉතිරි මුදල: Rs. 0.00</div><div style=\"border: 1px solid black; padding: 20px; margin-top: 8px; width: 100%; background-color: #ffffffff;\"><div style=\"text-align: center; font-size: 10px; font-weight: bold; line-height: 1.7;\">අපෙන් භාණ්ඩ ලබා ගැනීමෙන් ඔබ ලැබූ ලාභය<br><span style=\"font-size: 12px; color: #000000ff;\">Rs.391.23</span></div></div><div class=\"bill-footer\" style=\"text-align: center; font-size: 13px;\"><p style=\"margin: 4px 0; font-size: 15px;\">ස්තූතියි! නැවත එන්න</p></div>', '[{\"id\":121,\"item_name_sinhala\":\"රතු හාල්\",\"item_name_english\":\"rathu\",\"barcode\":\"7638698\",\"unit_of_measurement\":\"kg\",\"regular_price\":200,\"our_price\":195,\"stock_quantity\":1219,\"quantity\":5},{\"id\":4,\"item_name_sinhala\":\"සීනි පැකට් දුඹුරු\",\"item_name_english\":\"sini\",\"barcode\":\"1004\",\"unit_of_measurement\":\"kg\",\"regular_price\":280,\"our_price\":270,\"stock_quantity\":88,\"quantity\":2},{\"id\":116,\"item_name_sinhala\":\"කඩල\",\"item_name_english\":\"kadala\",\"barcode\":\"349521076\",\"unit_of_measurement\":\"pcs\",\"regular_price\":520,\"our_price\":480,\"stock_quantity\":19,\"quantity\":1},{\"id\":317,\"item_name_sinhala\":\"වටානා\",\"item_name_english\":\"watana\",\"barcode\":\"965182781\",\"unit_of_measurement\":\"pcs\",\"regular_price\":210,\"our_price\":200,\"stock_quantity\":49,\"quantity\":1},{\"id\":314,\"item_name_sinhala\":\"කජු\",\"item_name_english\":\"kaju\",\"barcode\":\"234090712\",\"unit_of_measurement\":\"pcs\",\"regular_price\":1500,\"our_price\":1400,\"stock_quantity\":98,\"quantity\":0.5},{\"id\":97,\"item_name_sinhala\":\"කොර්න් බඩ්ස්\",\"item_name_english\":\"cotton\",\"barcode\":\"4791111143491\",\"unit_of_measurement\":\"pcs\",\"regular_price\":200,\"our_price\":200,\"stock_quantity\":50,\"quantity\":1},{\"id\":66,\"item_name_sinhala\":\"ඩෙල්මාලයිට්\",\"item_name_english\":\"del\",\"barcode\":\"4796000520018\",\"unit_of_measurement\":\"pcs\",\"regular_price\":170,\"our_price\":170,\"stock_quantity\":100,\"quantity\":1.1764705882352942},{\"id\":142,\"item_name_sinhala\":\"සබන්\",\"item_name_english\":\"saban\",\"barcode\":\"548707115\",\"unit_of_measurement\":\"pcs\",\"regular_price\":1,\"our_price\":1,\"stock_quantity\":4714,\"quantity\":150},{\"id\":145,\"item_name_sinhala\":\"නෙස්ටොමෝල්ට් 28g\",\"item_name_english\":\"nestomalt\",\"barcode\":\"4792024021654\",\"unit_of_measurement\":\"pcs\",\"regular_price\":60,\"our_price\":60,\"stock_quantity\":20,\"quantity\":13},{\"id\":130,\"item_name_sinhala\":\"සමපෝෂ 500g\",\"item_name_english\":\"samapo\",\"barcode\":\"4792109000482\",\"unit_of_measurement\":\"pcs\",\"regular_price\":420,\"our_price\":420,\"stock_quantity\":20,\"quantity\":1},{\"id\":135,\"item_name_sinhala\":\"ලුණු කැට\",\"item_name_english\":\"lunu\",\"barcode\":\"157117825\",\"unit_of_measurement\":\"pcs\",\"regular_price\":150,\"our_price\":150,\"stock_quantity\":49,\"quantity\":1},{\"id\":136,\"item_name_sinhala\":\"ලුණු කුඩු\",\"item_name_english\":\"lunu\",\"barcode\":\"200705798\",\"unit_of_measurement\":\"pcs\",\"regular_price\":120,\"our_price\":120,\"stock_quantity\":19,\"quantity\":1},{\"id\":108,\"item_name_sinhala\":\"පරිප්පු නො.1\",\"item_name_english\":\"parippu\",\"barcode\":\"965372777\",\"unit_of_measurement\":\"pcs\",\"regular_price\":400,\"our_price\":380,\"stock_quantity\":48,\"quantity\":0.5},{\"id\":123,\"item_name_sinhala\":\"සම්බා\",\"item_name_english\":\"samba\",\"barcode\":\"628995813\",\"unit_of_measurement\":\"pcs\",\"regular_price\":360,\"our_price\":340,\"stock_quantity\":498,\"quantity\":1.4705882352941178},{\"id\":88,\"item_name_sinhala\":\"වෙනත්\",\"item_name_english\":\"we\",\"barcode\":\"045504190\",\"unit_of_measurement\":\"pcs\",\"regular_price\":1,\"our_price\":1,\"stock_quantity\":350,\"quantity\":330},{\"id\":29,\"item_name_sinhala\":\"චෙරිස් චොකලට් ක්‍රීම් බිස්කට් 365g\",\"item_name_english\":\"ccho\",\"barcode\":\"4792102016152\",\"unit_of_measurement\":\"pcs\",\"regular_price\":400,\"our_price\":400,\"stock_quantity\":50,\"quantity\":0.9},{\"id\":128,\"item_name_sinhala\":\"සැමන් ලොකු\",\"item_name_english\":\"saman\",\"barcode\":\"887865365\",\"unit_of_measurement\":\"pcs\",\"regular_price\":550,\"our_price\":500,\"stock_quantity\":200,\"quantity\":1},{\"id\":81,\"item_name_sinhala\":\"සිග්නල් ටූත් පේස්ට් 120g\",\"item_name_english\":\"signal\",\"barcode\":\"4792081029457\",\"unit_of_measurement\":\"pcs\",\"regular_price\":240,\"our_price\":240,\"stock_quantity\":50,\"quantity\":1},{\"id\":94,\"item_name_sinhala\":\"කුමාරිකා නරිෂින් හෙයා ඔයිල්\",\"item_name_english\":\"kumarika\",\"barcode\":\"4791111106205\",\"unit_of_measurement\":\"pcs\",\"regular_price\":315,\"our_price\":315,\"stock_quantity\":50,\"quantity\":1},{\"id\":222,\"item_name_sinhala\":\"කුකුල් මස්\",\"item_name_english\":\"kukul\",\"barcode\":\"997661572\",\"unit_of_measurement\":\"pcs\",\"regular_price\":1250,\"our_price\":1100,\"stock_quantity\":97,\"quantity\":1.0454545454545454},{\"id\":44,\"item_name_sinhala\":\"මන්චි මිල්ක් ක්‍රීම් බිස්කට් 220g\",\"item_name_english\":\"mm\",\"barcode\":\"4792192848350\",\"unit_of_measurement\":\"pcs\",\"regular_price\":220,\"our_price\":220,\"stock_quantity\":50,\"quantity\":2},{\"id\":319,\"item_name_sinhala\":\"ෂොපින් බෑග්\",\"item_name_english\":\"shopin\",\"barcode\":\"347384926\",\"unit_of_measurement\":\"pcs\",\"regular_price\":1,\"our_price\":1,\"stock_quantity\":4940,\"quantity\":20},{\"id\":186,\"item_name_sinhala\":\"වෙනත්\",\"item_name_english\":\"we2\",\"barcode\":\"400735117\",\"unit_of_measurement\":\"pcs\",\"regular_price\":1,\"our_price\":1,\"stock_quantity\":320,\"quantity\":40}]', '2025-11-10 14:45:22'),
(149, 56, '2025-11-10', NULL, NULL, NULL, 685.00, 700.00, 15.00, 0, 'cash', '<div class=\"bill-header\" style=\"padding-top: 0; margin-top: 0;\"><div style=\"text-align: center; margin-bottom: 8px; margin-top: 0; padding-top: 0;\"><img src=\"logo.png\" alt=\"Store Logo\" style=\"max-width: 100%; width: 95%; height: auto; max-height: 300px; margin-top: 0; margin-bottom: 6px; display: block; margin-left: auto; margin-right: auto; object-fit: contain; padding-top: 0;\"><h2 style=\"margin: 4px 0 0 0; font-size: 22px; font-weight: bold;\"></h2></div><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">පාසල අසල දොරපනේ</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Tel: 071-3552017</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center; font-weight: bold;\">බිල් අංකය: 56</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Date: 10/11/2025 Time: 21:05:20</p><div style=\"margin: 4px 0; border-bottom: 1px dashed black; width: 100%;\"></div></div><div class=\"bill-items\" style=\"margin-bottom: 8px;\"><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">කඩල</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.480.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.520</div><div>අපේ මිල: Rs.480</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">1.00 × Rs.480.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">බටර් විස්කෝතු</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.200.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.200</div><div>අපේ මිල: Rs.200</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">1.00 × Rs.200.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">ෂොපින් බෑග්</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.5.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.5</div><div>අපේ මිල: Rs.5</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">5.00 × Rs.1.00</div></div></div></div><div class=\"bill-summary\" style=\"text-align: right; font-size: 15px; margin-bottom: 4px;\"><div style=\"margin: 6px 0; font-weight: bold; font-size: 28px;\">මුළු මුදල: Rs. 685.00</div><div style=\"margin: 4px 0; font-weight: bold;\">ගෙවූ මුදල: Rs. 700.00</div><div style=\"margin: 4px 0; font-size: 14px; font-weight: bold;\">ඉතිරි මුදල: Rs. 15.00</div><div style=\"border: 1px solid black; padding: 20px; margin-top: 8px; width: 100%; background-color: #ffffffff;\"><div style=\"text-align: center; font-size: 10px; font-weight: bold; line-height: 1.7;\">අපෙන් භාණ්ඩ ලබා ගැනීමෙන් ඔබ ලැබූ ලාභය<br><span style=\"font-size: 12px; color: #000000ff;\">Rs.40.00</span></div></div><div class=\"bill-footer\" style=\"text-align: center; font-size: 13px;\"><p style=\"margin: 4px 0; font-size: 15px;\">ස්තූතියි! නැවත එන්න</p><p style=\"margin: 6px 0; font-size: 12px;\">=== Gadget Technologies 071-1071666 ===</p></div>', '[{\"id\":116,\"item_name_sinhala\":\"කඩල\",\"item_name_english\":\"kadala\",\"barcode\":\"349521076\",\"unit_of_measurement\":\"pcs\",\"regular_price\":520,\"our_price\":480,\"stock_quantity\":18,\"quantity\":1},{\"id\":322,\"item_name_sinhala\":\"බටර් විස්කෝතු\",\"item_name_english\":\"batar\",\"barcode\":\"238472525\",\"unit_of_measurement\":\"pcs\",\"regular_price\":200,\"our_price\":200,\"stock_quantity\":50,\"quantity\":1},{\"id\":319,\"item_name_sinhala\":\"ෂොපින් බෑග්\",\"item_name_english\":\"shopin\",\"barcode\":\"347384926\",\"unit_of_measurement\":\"pcs\",\"regular_price\":1,\"our_price\":1,\"stock_quantity\":4920,\"quantity\":5}]', '2025-11-10 15:35:20'),
(150, 57, '2025-11-10', NULL, NULL, NULL, 610.00, 1000.00, 390.00, 0, 'cash', '<p style=\"margin: 3px 0; font-size: 14px; text-align: center; font-weight: bold;\">බිල් අංකය: 57</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Date: 10/11/2025 Time: 22:41:26</p><div style=\"margin: 4px 0; border-bottom: 1px dashed black; width: 100%;\"></div></div><div class=\"bill-items\" style=\"margin-bottom: 8px;\"><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">අල</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.200.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.210</div><div>අපේ මිල: Rs.200</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">1.00 × Rs.200.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">බී ළුෑණු</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.160.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.180</div><div>අපේ මිල: Rs.160</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">1.00 × Rs.160.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">CBL නූඩ්ල්ස්</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.250.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.250</div><div>අපේ මිල: Rs.250</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">1.00 × Rs.250.00</div></div></div></div><div class=\"bill-summary\" style=\"text-align: right; font-size: 15px; margin-bottom: 4px;\"><div style=\"margin: 6px 0; font-weight: bold; font-size: 28px;\">මුළු මුදල: Rs. 610.00</div><div style=\"margin: 4px 0; font-weight: bold;\">ගෙවූ මුදල: Rs. 1000.00</div><div style=\"margin: 4px 0; font-size: 14px; font-weight: bold;\">ඉතිරි මුදල: Rs. 390.00</div><div style=\"border: 1px solid black; padding: 20px; margin-top: 8px; width: 100%; background-color: #ffffffff;\"><div style=\"text-align: center; font-size: 10px; font-weight: bold; line-height: 1.7;\">අපෙන් භාණ්ඩ ලබා ගැනීමෙන් ඔබ ලැබූ ලාභය<br><span style=\"font-size: 12px; color: #000000ff;\">Rs.30.00</span></div></div><div class=\"bill-footer\" style=\"text-align: center; font-size: 13px;\"><p style=\"margin: 4px 0; font-size: 15px;\">ස්තූතියි! නැවත එන්න</p></div>', '[{\"id\":104,\"item_name_sinhala\":\"අල\",\"item_name_english\":\"ala\",\"barcode\":\"004786426\",\"unit_of_measurement\":\"pcs\",\"regular_price\":210,\"our_price\":200,\"stock_quantity\":43,\"quantity\":1},{\"id\":105,\"item_name_sinhala\":\"බී ළුෑණු\",\"item_name_english\":\"beeluunu\",\"barcode\":\"113943378\",\"unit_of_measurement\":\"kg\",\"regular_price\":180,\"our_price\":160,\"stock_quantity\":62,\"quantity\":1},{\"id\":138,\"item_name_sinhala\":\"CBL නූඩ්ල්ස්\",\"item_name_english\":\"noodles\",\"barcode\":\"4792109000659\",\"unit_of_measurement\":\"pcs\",\"regular_price\":250,\"our_price\":250,\"stock_quantity\":20,\"quantity\":1}]', '2025-11-10 17:11:26'),
(151, 58, '2025-11-10', NULL, NULL, NULL, 820.00, 1000.00, 180.00, 0, 'cash', '<div class=\"bill-header\" style=\"padding-top: 0; margin-top: 0;\"><div style=\"text-align: center; margin-bottom: 8px; margin-top: 0; padding-top: 0;\"><img src=\"logo.png\" alt=\"Store Logo\" style=\"max-width: 100%; width: 95%; height: auto; max-height: 300px; margin-top: 0; margin-bottom: 6px; display: block; margin-left: auto; margin-right: auto; object-fit: contain; padding-top: 0;\"><h2 style=\"margin: 4px 0 0 0; font-size: 22px; font-weight: bold;\"></h2></div><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">පාසල අසල දොරපනේ</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Tel: 071-3552017</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center; font-weight: bold;\">බිල් අංකය: 58</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Date: 11/11/2025 Time: 00:16:49</p><div style=\"margin: 4px 0; border-bottom: 1px dashed black; width: 100%;\"></div></div><div class=\"bill-items\" style=\"margin-bottom: 8px;\"><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">අල</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.200.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.210</div><div>අපේ මිල: Rs.200</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">1.00 × Rs.200.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">බේබ් කොලොන්</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.360.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.360</div><div>අපේ මිල: Rs.360</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">1.00 × Rs.360.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">බේබි ඔයිල්</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.260.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.260</div><div>අපේ මිල: Rs.260</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">1.00 × Rs.260.00</div></div></div></div><div class=\"bill-summary\" style=\"text-align: right; font-size: 15px; margin-bottom: 4px;\"><div style=\"margin: 6px 0; font-weight: bold; font-size: 28px;\">මුළු මුදල: Rs. 820.00</div><div style=\"margin: 4px 0; font-weight: bold;\">ගෙවූ මුදල: Rs. 1000.00</div><div style=\"margin: 4px 0; font-size: 14px; font-weight: bold;\">ඉතිරි මුදල: Rs. 180.00</div><div style=\"border: 1px solid black; padding: 20px; margin-top: 8px; width: 100%; background-color: #ffffffff;\"><div style=\"text-align: center; font-size: 10px; font-weight: bold; line-height: 1.7;\">අපෙන් භාණ්ඩ ලබා ගැනීමෙන් ඔබ ලැබූ ලාභය<br><span style=\"font-size: 12px; color: #000000ff;\">Rs.10.00</span></div></div><div class=\"bill-footer\" style=\"text-align: center; font-size: 13px;\"><p style=\"margin: 4px 0; font-size: 15px;\">ස්තූතියි! නැවත එන්න</p><p style=\"margin: 6px 0; font-size: 12px;\">=== Gadget Technologies 071-1071666 ===</p></div>', '[{\"id\":104,\"item_name_sinhala\":\"අල\",\"item_name_english\":\"ala\",\"barcode\":\"004786426\",\"unit_of_measurement\":\"pcs\",\"regular_price\":210,\"our_price\":200,\"stock_quantity\":42,\"quantity\":1},{\"id\":379,\"item_name_sinhala\":\"බේබ් කොලොන්\",\"item_name_english\":\"COLON\",\"barcode\":\"971816244\",\"unit_of_measurement\":\"pcs\",\"regular_price\":360,\"our_price\":360,\"stock_quantity\":25,\"quantity\":1},{\"id\":100,\"item_name_sinhala\":\"බේබි ඔයිල්\",\"item_name_english\":\"baby\",\"barcode\":\"4791111100432\",\"unit_of_measurement\":\"pcs\",\"regular_price\":260,\"our_price\":260,\"stock_quantity\":50,\"quantity\":1}]', '2025-11-10 18:46:49'),
(152, 59, '2025-11-10', NULL, NULL, NULL, 860.00, 1000.00, 140.00, 0, 'cash', '<div class=\"bill-header\" style=\"padding-top: 0; margin-top: 0;\"><div style=\"text-align: center; margin-bottom: 8px; margin-top: 0; padding-top: 0;\"><img src=\"logo.png\" alt=\"Store Logo\" style=\"max-width: 100%; width: 95%; height: auto; max-height: 300px; margin-top: 0; margin-bottom: 6px; display: block; margin-left: auto; margin-right: auto; object-fit: contain; padding-top: 0;\"><h2 style=\"margin: 4px 0 0 0; font-size: 22px; font-weight: bold;\"></h2></div><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">පාසල අසල දොරපනේ</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Tel: 071-3552017</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center; font-weight: bold;\">බිල් අංකය: 59</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Date: 11/11/2025 Time: 01:53:22</p><div style=\"margin: 4px 0; border-bottom: 1px dashed black; width: 100%;\"></div></div><div class=\"bill-items\" style=\"margin-bottom: 8px;\"><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">බී ළුෑණු</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.320.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.360</div><div>අපේ මිල: Rs.320</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">2.00 × Rs.160.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">රතු ළුණු</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.200.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.225</div><div>අපේ මිල: Rs.200</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">0.50 × Rs.400.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">පරිප්පු නො.2</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.130.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.140</div><div>අපේ මිල: Rs.130</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">0.50 × Rs.260.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">දුම්කොළ</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.180.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.180</div><div>අපේ මිල: Rs.180</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">180.00 × Rs.1.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">හුනු</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.20.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.20</div><div>අපේ මිල: Rs.20</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">1.00 × Rs.20.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">ෂොපින් බෑග්</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.10.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.10</div><div>අපේ මිල: Rs.10</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">10.00 × Rs.1.00</div></div></div></div><div class=\"bill-summary\" style=\"text-align: right; font-size: 15px; margin-bottom: 4px;\"><div style=\"margin: 6px 0; font-weight: bold; font-size: 28px;\">මුළු මුදල: Rs. 860.00</div><div style=\"margin: 4px 0; font-weight: bold;\">ගෙවූ මුදල: Rs. 1000.00</div><div style=\"margin: 4px 0; font-size: 14px; font-weight: bold;\">ඉතිරි මුදල: Rs. 140.00</div><div style=\"border: 1px solid black; padding: 20px; margin-top: 8px; width: 100%; background-color: #ffffffff;\"><div style=\"text-align: center; font-size: 10px; font-weight: bold; line-height: 1.7;\">අපෙන් භාණ්ඩ ලබා ගැනීමෙන් ඔබ ලැබූ ලාභය<br><span style=\"font-size: 12px; color: #000000ff;\">Rs.75.00</span></div></div><div class=\"bill-footer\" style=\"text-align: center; font-size: 13px;\"><p style=\"margin: 4px 0; font-size: 15px;\">ස්තූතියි! නැවත එන්න</p><p style=\"margin: 6px 0; font-size: 12px;\">=== Gadget Technologies 071-1071666 ===</p></div>', '[{\"id\":105,\"item_name_sinhala\":\"බී ළුෑණු\",\"item_name_english\":\"beeluunu\",\"barcode\":\"113943378\",\"unit_of_measurement\":\"kg\",\"regular_price\":180,\"our_price\":160,\"stock_quantity\":61,\"quantity\":2},{\"id\":106,\"item_name_sinhala\":\"රතු ළුණු\",\"item_name_english\":\"rathu\",\"barcode\":\"838150515\",\"unit_of_measurement\":\"kg\",\"regular_price\":450,\"our_price\":400,\"stock_quantity\":11,\"quantity\":0.5},{\"id\":109,\"item_name_sinhala\":\"පරිප්පු නො.2\",\"item_name_english\":\"parippu\",\"barcode\":\"991179274\",\"unit_of_measurement\":\"kg\",\"regular_price\":280,\"our_price\":260,\"stock_quantity\":157,\"quantity\":0.5},{\"id\":306,\"item_name_sinhala\":\"දුම්කොළ\",\"item_name_english\":\"dumkola\",\"barcode\":\"965336065\",\"unit_of_measurement\":\"pcs\",\"regular_price\":1,\"our_price\":1,\"stock_quantity\":49530,\"quantity\":180},{\"id\":307,\"item_name_sinhala\":\"හුනු\",\"item_name_english\":\"hunu\",\"barcode\":\"061259181\",\"unit_of_measurement\":\"pcs\",\"regular_price\":20,\"our_price\":20,\"stock_quantity\":99,\"quantity\":1},{\"id\":319,\"item_name_sinhala\":\"ෂොපින් බෑග්\",\"item_name_english\":\"shopin\",\"barcode\":\"347384926\",\"unit_of_measurement\":\"pcs\",\"regular_price\":1,\"our_price\":1,\"stock_quantity\":4915,\"quantity\":10}]', '2025-11-10 20:23:22'),
(153, 60, '2025-11-10', NULL, NULL, NULL, 200.00, 500.00, 300.00, 0, 'cash', '<div class=\"bill-header\" style=\"padding-top: 0; margin-top: 0;\"><div style=\"text-align: center; margin-bottom: 8px; margin-top: 0; padding-top: 0;\"><img src=\"logo.png\" alt=\"Store Logo\" style=\"max-width: 100%; width: 95%; height: auto; max-height: 300px; margin-top: 0; margin-bottom: 6px; display: block; margin-left: auto; margin-right: auto; object-fit: contain; padding-top: 0;\"><h2 style=\"margin: 4px 0 0 0; font-size: 22px; font-weight: bold;\"></h2></div><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">පාසල අසල දොරපනේ</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Tel: 071-3552017</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center; font-weight: bold;\">බිල් අංකය: 60</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Date: 11/11/2025 Time: 03:19:59</p><div style=\"margin: 4px 0; border-bottom: 1px dashed black; width: 100%;\"></div></div><div class=\"bill-items\" style=\"margin-bottom: 8px;\"><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">අල</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.200.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.210</div><div>අපේ මිල: Rs.200</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">1.00 × Rs.200.00</div></div></div></div><div class=\"bill-summary\" style=\"text-align: right; font-size: 15px; margin-bottom: 4px;\"><div style=\"margin: 6px 0; font-weight: bold; font-size: 28px;\">මුළු මුදල: Rs. 200.00</div><div style=\"margin: 4px 0; font-weight: bold;\">ගෙවූ මුදල: Rs. 500.00</div><div style=\"margin: 4px 0; font-size: 14px; font-weight: bold;\">ඉතිරි මුදල: Rs. 300.00</div><div style=\"border: 1px solid black; padding: 20px; margin-top: 8px; width: 100%; background-color: #ffffffff;\"><div style=\"text-align: center; font-size: 10px; font-weight: bold; line-height: 1.7;\">අපෙන් භාණ්ඩ ලබා ගැනීමෙන් ඔබ ලැබූ ලාභය<br><span style=\"font-size: 12px; color: #000000ff;\">Rs.10.00</span></div></div><div class=\"bill-footer\" style=\"text-align: center; font-size: 13px;\"><p style=\"margin: 4px 0; font-size: 15px;\">ස්තූතියි! නැවත එන්න</p><p style=\"margin: 6px 0; font-size: 12px;\">=== Gadget Technologies 071-1071666 ===</p></div>', '[{\"id\":104,\"item_name_sinhala\":\"අල\",\"item_name_english\":\"ala\",\"barcode\":\"004786426\",\"unit_of_measurement\":\"pcs\",\"regular_price\":210,\"our_price\":200,\"stock_quantity\":41,\"quantity\":1}]', '2025-11-10 21:49:59');
INSERT INTO `bill_records` (`id`, `bill_number`, `bill_date`, `bill_time`, `customer_phone`, `customer_id`, `total_amount`, `paid_amount`, `change_amount`, `is_credit`, `paymenttype`, `bill_content`, `items_json`, `created_at`) VALUES
(154, 50, '2025-11-11', NULL, NULL, NULL, 110.00, 200.00, 90.00, 0, 'cash', '<p style=\"margin: 3px 0; font-size: 14px; text-align: center; font-weight: bold;\">බිල් අංකය: 50</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Date: 11/11/2025 Time: 08:03:39</p><div style=\"margin: 4px 0; border-bottom: 1px dashed black; width: 100%;\"></div></div><div class=\"bill-items\" style=\"margin-bottom: 8px;\"><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">බැට්රි</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.110.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.120</div><div>අපේ මිල: Rs.110</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">1.00 × Rs.110.00</div></div></div></div><div class=\"bill-summary\" style=\"text-align: right; font-size: 15px; margin-bottom: 4px;\"><div style=\"margin: 6px 0; font-weight: bold; font-size: 28px;\">මුළු මුදල: Rs. 110.00</div><div style=\"margin: 4px 0; font-weight: bold;\">ගෙවූ මුදල: Rs. 200.00</div><div style=\"margin: 4px 0; font-size: 14px; font-weight: bold;\">ඉතිරි මුදල: Rs. 90.00</div><div style=\"border: 1px solid black; padding: 20px; margin-top: 8px; width: 100%; background-color: #ffffffff;\"><div style=\"text-align: center; font-size: 10px; font-weight: bold; line-height: 1.7;\">අපෙන් භාණ්ඩ ලබා ගැනීමෙන් ඔබ ලැබූ ලාභය<br><span style=\"font-size: 12px; color: #000000ff;\">Rs.10.00</span></div></div><div class=\"bill-footer\" style=\"text-align: center; font-size: 13px;\"><p style=\"margin: 4px 0; font-size: 15px;\">ස්තූතියි! නැවත එන්න</p></div>', '[{\"id\":354,\"item_name_sinhala\":\"බැට්රි\",\"item_name_english\":\"batri\",\"barcode\":\"373327405\",\"unit_of_measurement\":\"pcs\",\"regular_price\":120,\"our_price\":110,\"stock_quantity\":20,\"quantity\":1}]', '2025-11-11 02:33:39'),
(155, 51, '2025-11-11', NULL, NULL, NULL, 350.00, 500.00, 150.00, 0, 'cash', '<p style=\"margin: 3px 0; font-size: 14px; text-align: center; font-weight: bold;\">බිල් අංකය: 51</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Date: 11/11/2025 Time: 08:05:34</p><div style=\"margin: 4px 0; border-bottom: 1px dashed black; width: 100%;\"></div></div><div class=\"bill-items\" style=\"margin-bottom: 8px;\"><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">චැලේන්ජ් ඉඳිආප්ප පිටි 1kg</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.350.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.350</div><div>අපේ මිල: Rs.350</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">1.00 × Rs.350.00</div></div></div></div><div class=\"bill-summary\" style=\"text-align: right; font-size: 15px; margin-bottom: 4px;\"><div style=\"margin: 6px 0; font-weight: bold; font-size: 28px;\">මුළු මුදල: Rs. 350.00</div><div style=\"margin: 4px 0; font-weight: bold;\">ගෙවූ මුදල: Rs. 500.00</div><div style=\"margin: 4px 0; font-size: 14px; font-weight: bold;\">ඉතිරි මුදල: Rs. 150.00</div><div style=\"border: 1px solid black; padding: 20px; margin-top: 8px; width: 100%; background-color: #ffffffff;\"><div style=\"text-align: center; font-size: 10px; font-weight: bold; line-height: 1.7;\">අපෙන් භාණ්ඩ ලබා ගැනීමෙන් ඔබ ලැබූ ලාභය<br><span style=\"font-size: 12px; color: #000000ff;\">Rs.0.00</span></div></div><div class=\"bill-footer\" style=\"text-align: center; font-size: 13px;\"><p style=\"margin: 4px 0; font-size: 15px;\">ස්තූතියි! නැවත එන්න</p></div>', '[{\"id\":140,\"item_name_sinhala\":\"චැලේන්ජ් ඉඳිආප්ප පිටි 1kg\",\"item_name_english\":\"idiappa\",\"barcode\":\"4796003990054\",\"unit_of_measurement\":\"pcs\",\"regular_price\":350,\"our_price\":350,\"stock_quantity\":19,\"quantity\":1}]', '2025-11-11 02:35:34'),
(156, 52, '2025-11-11', NULL, NULL, NULL, 1490.00, 1500.00, 10.00, 0, 'cash', '<p style=\"margin: 3px 0; font-size: 14px; text-align: center; font-weight: bold;\">බිල් අංකය: 52</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Date: 11/11/2025 Time: 08:03:40</p><div style=\"margin: 4px 0; border-bottom: 1px dashed black; width: 100%;\"></div></div><div class=\"bill-items\" style=\"margin-bottom: 8px;\"><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">වෙනත්</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.780.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.780</div><div>අපේ මිල: Rs.780</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">780.00 × Rs.1.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">වෙනත්</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.710.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.710</div><div>අපේ මිල: Rs.710</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">710.00 × Rs.1.00</div></div></div></div><div class=\"bill-summary\" style=\"text-align: right; font-size: 15px; margin-bottom: 4px;\"><div style=\"margin: 6px 0; font-weight: bold; font-size: 28px;\">මුළු මුදල: Rs. 1490.00</div><div style=\"margin: 4px 0; font-weight: bold;\">ගෙවූ මුදල: Rs. 1500.00</div><div style=\"margin: 4px 0; font-size: 14px; font-weight: bold;\">ඉතිරි මුදල: Rs. 10.00</div><div style=\"border: 1px solid black; padding: 20px; margin-top: 8px; width: 100%; background-color: #ffffffff;\"><div style=\"text-align: center; font-size: 10px; font-weight: bold; line-height: 1.7;\">අපෙන් භාණ්ඩ ලබා ගැනීමෙන් ඔබ ලැබූ ලාභය<br><span style=\"font-size: 12px; color: #000000ff;\">Rs.0.00</span></div></div><div class=\"bill-footer\" style=\"text-align: center; font-size: 13px;\"><p style=\"margin: 4px 0; font-size: 15px;\">ස්තූතියි! නැවත එන්න</p></div>', '[{\"id\":88,\"item_name_sinhala\":\"වෙනත්\",\"item_name_english\":\"we\",\"barcode\":\"045504190\",\"unit_of_measurement\":\"pcs\",\"regular_price\":1,\"our_price\":1,\"stock_quantity\":50000,\"quantity\":780},{\"id\":186,\"item_name_sinhala\":\"වෙනත්\",\"item_name_english\":\"we2\",\"barcode\":\"400735117\",\"unit_of_measurement\":\"pcs\",\"regular_price\":1,\"our_price\":1,\"stock_quantity\":5000,\"quantity\":710}]', '2025-11-11 02:33:41'),
(157, 53, '2025-11-11', NULL, NULL, NULL, 1490.00, 1500.00, 10.00, 0, 'cash', '<p style=\"margin: 3px 0; font-size: 14px; text-align: center; font-weight: bold;\">බිල් අංකය: 53</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Date: 11/11/2025 Time: 08:03:41</p><div style=\"margin: 4px 0; border-bottom: 1px dashed black; width: 100%;\"></div></div><div class=\"bill-items\" style=\"margin-bottom: 8px;\"><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">වෙනත්</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.780.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.780</div><div>අපේ මිල: Rs.780</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">780.00 × Rs.1.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">වෙනත්</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.710.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.710</div><div>අපේ මිල: Rs.710</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">710.00 × Rs.1.00</div></div></div></div><div class=\"bill-summary\" style=\"text-align: right; font-size: 15px; margin-bottom: 4px;\"><div style=\"margin: 6px 0; font-weight: bold; font-size: 28px;\">මුළු මුදල: Rs. 1490.00</div><div style=\"margin: 4px 0; font-weight: bold;\">ගෙවූ මුදල: Rs. 1500.00</div><div style=\"margin: 4px 0; font-size: 14px; font-weight: bold;\">ඉතිරි මුදල: Rs. 10.00</div><div style=\"border: 1px solid black; padding: 20px; margin-top: 8px; width: 100%; background-color: #ffffffff;\"><div style=\"text-align: center; font-size: 10px; font-weight: bold; line-height: 1.7;\">අපෙන් භාණ්ඩ ලබා ගැනීමෙන් ඔබ ලැබූ ලාභය<br><span style=\"font-size: 12px; color: #000000ff;\">Rs.0.00</span></div></div><div class=\"bill-footer\" style=\"text-align: center; font-size: 13px;\"><p style=\"margin: 4px 0; font-size: 15px;\">ස්තූතියි! නැවත එන්න</p></div>', '[{\"id\":88,\"item_name_sinhala\":\"වෙනත්\",\"item_name_english\":\"we\",\"barcode\":\"045504190\",\"unit_of_measurement\":\"pcs\",\"regular_price\":1,\"our_price\":1,\"stock_quantity\":50000,\"quantity\":780},{\"id\":186,\"item_name_sinhala\":\"වෙනත්\",\"item_name_english\":\"we2\",\"barcode\":\"400735117\",\"unit_of_measurement\":\"pcs\",\"regular_price\":1,\"our_price\":1,\"stock_quantity\":5000,\"quantity\":710}]', '2025-11-11 02:33:41'),
(160, 54, '2025-11-11', NULL, NULL, NULL, 1490.00, 1500.00, 10.00, 0, 'cash', '<p style=\"margin: 3px 0; font-size: 14px; text-align: center; font-weight: bold;\">බිල් අංකය: 54</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Date: 11/11/2025 Time: 08:03:41</p><div style=\"margin: 4px 0; border-bottom: 1px dashed black; width: 100%;\"></div></div><div class=\"bill-items\" style=\"margin-bottom: 8px;\"><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">වෙනත්</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.780.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.780</div><div>අපේ මිල: Rs.780</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">780.00 × Rs.1.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">වෙනත්</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.710.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.710</div><div>අපේ මිල: Rs.710</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">710.00 × Rs.1.00</div></div></div></div><div class=\"bill-summary\" style=\"text-align: right; font-size: 15px; margin-bottom: 4px;\"><div style=\"margin: 6px 0; font-weight: bold; font-size: 28px;\">මුළු මුදල: Rs. 1490.00</div><div style=\"margin: 4px 0; font-weight: bold;\">ගෙවූ මුදල: Rs. 1500.00</div><div style=\"margin: 4px 0; font-size: 14px; font-weight: bold;\">ඉතිරි මුදල: Rs. 10.00</div><div style=\"border: 1px solid black; padding: 20px; margin-top: 8px; width: 100%; background-color: #ffffffff;\"><div style=\"text-align: center; font-size: 10px; font-weight: bold; line-height: 1.7;\">අපෙන් භාණ්ඩ ලබා ගැනීමෙන් ඔබ ලැබූ ලාභය<br><span style=\"font-size: 12px; color: #000000ff;\">Rs.0.00</span></div></div><div class=\"bill-footer\" style=\"text-align: center; font-size: 13px;\"><p style=\"margin: 4px 0; font-size: 15px;\">ස්තූතියි! නැවත එන්න</p></div>', '[{\"id\":88,\"item_name_sinhala\":\"වෙනත්\",\"item_name_english\":\"we\",\"barcode\":\"045504190\",\"unit_of_measurement\":\"pcs\",\"regular_price\":1,\"our_price\":1,\"stock_quantity\":50000,\"quantity\":780},{\"id\":186,\"item_name_sinhala\":\"වෙනත්\",\"item_name_english\":\"we2\",\"barcode\":\"400735117\",\"unit_of_measurement\":\"pcs\",\"regular_price\":1,\"our_price\":1,\"stock_quantity\":5000,\"quantity\":710}]', '2025-11-11 02:33:41'),
(161, 55, '2025-11-11', NULL, NULL, NULL, 4000.00, 5000.00, 1000.00, 0, 'cash', '<p style=\"margin: 3px 0; font-size: 14px; text-align: center; font-weight: bold;\">බිල් අංකය: 55</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Date: 11/11/2025 Time: 08:23:47</p><div style=\"margin: 4px 0; border-bottom: 1px dashed black; width: 100%;\"></div></div><div class=\"bill-items\" style=\"margin-bottom: 8px;\"><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">රතු හාල්</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.1950.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.2000</div><div>අපේ මිල: Rs.1950</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">10.00 × Rs.195.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">පරිප්පු නො.2</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.260.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.280</div><div>අපේ මිල: Rs.260</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">1.00 × Rs.260.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">හාල්මැස්සන්</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.300.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.325</div><div>අපේ මිල: Rs.300</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">0.25 × Rs.1200.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">වෙනත්</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.780.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.780</div><div>අපේ මිල: Rs.780</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">780.00 × Rs.1.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">වෙනත්</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.710.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.710</div><div>අපේ මිල: Rs.710</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">710.00 × Rs.1.00</div></div></div></div><div class=\"bill-summary\" style=\"text-align: right; font-size: 15px; margin-bottom: 4px;\"><div style=\"margin: 6px 0; font-weight: bold; font-size: 28px;\">මුළු මුදල: Rs. 4000.00</div><div style=\"margin: 4px 0; font-weight: bold;\">ගෙවූ මුදල: Rs. 5000.00</div><div style=\"margin: 4px 0; font-size: 14px; font-weight: bold;\">ඉතිරි මුදල: Rs. 1000.00</div><div style=\"border: 1px solid black; padding: 20px; margin-top: 8px; width: 100%; background-color: #ffffffff;\"><div style=\"text-align: center; font-size: 10px; font-weight: bold; line-height: 1.7;\">අපෙන් භාණ්ඩ ලබා ගැනීමෙන් ඔබ ලැබූ ලාභය<br><span style=\"font-size: 12px; color: #000000ff;\">Rs.95.00</span></div></div><div class=\"bill-footer\" style=\"text-align: center; font-size: 13px;\"><p style=\"margin: 4px 0; font-size: 15px;\">ස්තූතියි! නැවත එන්න</p></div>', '[{\"id\":121,\"item_name_sinhala\":\"රතු හාල්\",\"item_name_english\":\"rathu\",\"barcode\":\"7638698\",\"unit_of_measurement\":\"kg\",\"regular_price\":200,\"our_price\":195,\"stock_quantity\":50000,\"quantity\":10},{\"id\":109,\"item_name_sinhala\":\"පරිප්පු නො.2\",\"item_name_english\":\"parippu\",\"barcode\":\"991179274\",\"unit_of_measurement\":\"kg\",\"regular_price\":280,\"our_price\":260,\"stock_quantity\":157,\"quantity\":1},{\"id\":111,\"item_name_sinhala\":\"හාල්මැස්සන්\",\"item_name_english\":\"halmasso\",\"barcode\":\"040630134-\",\"unit_of_measurement\":\"pcs\",\"regular_price\":1300,\"our_price\":1200,\"stock_quantity\":22,\"quantity\":0.25},{\"id\":88,\"item_name_sinhala\":\"වෙනත්\",\"item_name_english\":\"we\",\"barcode\":\"045504190\",\"unit_of_measurement\":\"pcs\",\"regular_price\":1,\"our_price\":1,\"stock_quantity\":46100,\"quantity\":780},{\"id\":186,\"item_name_sinhala\":\"වෙනත්\",\"item_name_english\":\"we2\",\"barcode\":\"400735117\",\"unit_of_measurement\":\"pcs\",\"regular_price\":1,\"our_price\":1,\"stock_quantity\":5000,\"quantity\":710}]', '2025-11-11 02:53:47'),
(162, 56, '2025-11-11', NULL, NULL, NULL, 180.00, 200.00, 20.00, 0, 'cash', '<p style=\"margin: 3px 0; font-size: 14px; text-align: center; font-weight: bold;\">බිල් අංකය: 56</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Date: 11/11/2025 Time: 08:26:11</p><div style=\"margin: 4px 0; border-bottom: 1px dashed black; width: 100%;\"></div></div><div class=\"bill-items\" style=\"margin-bottom: 8px;\"><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">සව්බොරව</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.180.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.180</div><div>අපේ මිල: Rs.180</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">1.00 × Rs.180.00</div></div></div></div><div class=\"bill-summary\" style=\"text-align: right; font-size: 15px; margin-bottom: 4px;\"><div style=\"margin: 6px 0; font-weight: bold; font-size: 28px;\">මුළු මුදල: Rs. 180.00</div><div style=\"margin: 4px 0; font-weight: bold;\">ගෙවූ මුදල: Rs. 200.00</div><div style=\"margin: 4px 0; font-size: 14px; font-weight: bold;\">ඉතිරි මුදල: Rs. 20.00</div><div style=\"border: 1px solid black; padding: 20px; margin-top: 8px; width: 100%; background-color: #ffffffff;\"><div style=\"text-align: center; font-size: 10px; font-weight: bold; line-height: 1.7;\">අපෙන් භාණ්ඩ ලබා ගැනීමෙන් ඔබ ලැබූ ලාභය<br><span style=\"font-size: 12px; color: #000000ff;\">Rs.0.00</span></div></div><div class=\"bill-footer\" style=\"text-align: center; font-size: 13px;\"><p style=\"margin: 4px 0; font-size: 15px;\">ස්තූතියි! නැවත එන්න</p></div>', '[{\"id\":378,\"item_name_sinhala\":\"සව්බොරව\",\"item_name_english\":\"SAWBORAWA\",\"barcode\":\"081978277\",\"unit_of_measurement\":\"pcs\",\"regular_price\":180,\"our_price\":180,\"stock_quantity\":25,\"quantity\":1}]', '2025-11-11 02:56:11'),
(163, 50, '2025-11-13', NULL, NULL, NULL, 1760.00, 2000.00, 240.00, 0, 'cash', '<p style=\"margin: 3px 0; font-size: 14px; text-align: center; font-weight: bold;\">බිල් අංකය: 50</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Date: 13/11/2025 Time: 09:53:39</p><div style=\"margin: 4px 0; border-bottom: 1px dashed black; width: 100%;\"></div></div><div class=\"bill-items\" style=\"margin-bottom: 8px;\"><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">සබන්</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.270.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.270</div><div>අපේ මිල: Rs.270</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">270.00 × Rs.1.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">වෙනත්</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.780.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.780</div><div>අපේ මිල: Rs.780</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">780.00 × Rs.1.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">වෙනත්</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.710.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.710</div><div>අපේ මිල: Rs.710</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">710.00 × Rs.1.00</div></div></div></div><div class=\"bill-summary\" style=\"text-align: right; font-size: 15px; margin-bottom: 4px;\"><div style=\"margin: 6px 0; font-weight: bold; font-size: 28px;\">මුළු මුදල: Rs. 1760.00</div><div style=\"margin: 4px 0; font-weight: bold;\">ගෙවූ මුදල: Rs. 2000.00</div><div style=\"margin: 4px 0; font-size: 14px; font-weight: bold;\">ඉතිරි මුදල: Rs. 240.00</div><div style=\"border: 1px solid black; padding: 20px; margin-top: 8px; width: 100%; background-color: #ffffffff;\"><div style=\"text-align: center; font-size: 10px; font-weight: bold; line-height: 1.7;\">අපෙන් භාණ්ඩ ලබා ගැනීමෙන් ඔබ ලැබූ ලාභය<br><span style=\"font-size: 12px; color: #000000ff;\">Rs.0.00</span></div></div><div class=\"bill-footer\" style=\"text-align: center; font-size: 13px;\"><p style=\"margin: 4px 0; font-size: 15px;\">ස්තූතියි! නැවත එන්න</p></div>', '[{\"id\":380,\"item_name_sinhala\":\"සබන්\",\"item_name_english\":\"saban\",\"barcode\":\"622911681\",\"unit_of_measurement\":\"pcs\",\"regular_price\":1,\"our_price\":1,\"stock_quantity\":5000,\"quantity\":270},{\"id\":88,\"item_name_sinhala\":\"වෙනත්\",\"item_name_english\":\"we\",\"barcode\":\"045504190\",\"unit_of_measurement\":\"pcs\",\"regular_price\":1,\"our_price\":1,\"stock_quantity\":45320,\"quantity\":780},{\"id\":186,\"item_name_sinhala\":\"වෙනත්\",\"item_name_english\":\"we2\",\"barcode\":\"400735117\",\"unit_of_measurement\":\"pcs\",\"regular_price\":1,\"our_price\":1,\"stock_quantity\":4290,\"quantity\":710}]', '2025-11-13 04:23:39'),
(164, 51, '2025-11-13', NULL, NULL, NULL, 1760.00, 2000.00, 240.00, 0, 'cash', '<p style=\"margin: 3px 0; font-size: 14px; text-align: center; font-weight: bold;\">බිල් අංකය: 51</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Date: 13/11/2025 Time: 09:53:39</p><div style=\"margin: 4px 0; border-bottom: 1px dashed black; width: 100%;\"></div></div><div class=\"bill-items\" style=\"margin-bottom: 8px;\"><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">සබන්</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.270.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.270</div><div>අපේ මිල: Rs.270</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">270.00 × Rs.1.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">වෙනත්</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.780.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.780</div><div>අපේ මිල: Rs.780</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">780.00 × Rs.1.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">වෙනත්</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.710.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.710</div><div>අපේ මිල: Rs.710</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">710.00 × Rs.1.00</div></div></div></div><div class=\"bill-summary\" style=\"text-align: right; font-size: 15px; margin-bottom: 4px;\"><div style=\"margin: 6px 0; font-weight: bold; font-size: 28px;\">මුළු මුදල: Rs. 1760.00</div><div style=\"margin: 4px 0; font-weight: bold;\">ගෙවූ මුදල: Rs. 2000.00</div><div style=\"margin: 4px 0; font-size: 14px; font-weight: bold;\">ඉතිරි මුදල: Rs. 240.00</div><div style=\"border: 1px solid black; padding: 20px; margin-top: 8px; width: 100%; background-color: #ffffffff;\"><div style=\"text-align: center; font-size: 10px; font-weight: bold; line-height: 1.7;\">අපෙන් භාණ්ඩ ලබා ගැනීමෙන් ඔබ ලැබූ ලාභය<br><span style=\"font-size: 12px; color: #000000ff;\">Rs.0.00</span></div></div><div class=\"bill-footer\" style=\"text-align: center; font-size: 13px;\"><p style=\"margin: 4px 0; font-size: 15px;\">ස්තූතියි! නැවත එන්න</p></div>', '[{\"id\":380,\"item_name_sinhala\":\"සබන්\",\"item_name_english\":\"saban\",\"barcode\":\"622911681\",\"unit_of_measurement\":\"pcs\",\"regular_price\":1,\"our_price\":1,\"stock_quantity\":5000,\"quantity\":270},{\"id\":88,\"item_name_sinhala\":\"වෙනත්\",\"item_name_english\":\"we\",\"barcode\":\"045504190\",\"unit_of_measurement\":\"pcs\",\"regular_price\":1,\"our_price\":1,\"stock_quantity\":45320,\"quantity\":780},{\"id\":186,\"item_name_sinhala\":\"වෙනත්\",\"item_name_english\":\"we2\",\"barcode\":\"400735117\",\"unit_of_measurement\":\"pcs\",\"regular_price\":1,\"our_price\":1,\"stock_quantity\":4290,\"quantity\":710}]', '2025-11-13 04:23:39'),
(166, 52, '2025-11-13', NULL, NULL, NULL, 1760.00, 2000.00, 240.00, 0, 'cash', '<p style=\"margin: 3px 0; font-size: 14px; text-align: center; font-weight: bold;\">බිල් අංකය: 52</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Date: 13/11/2025 Time: 09:53:39</p><div style=\"margin: 4px 0; border-bottom: 1px dashed black; width: 100%;\"></div></div><div class=\"bill-items\" style=\"margin-bottom: 8px;\"><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">සබන්</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.270.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.270</div><div>අපේ මිල: Rs.270</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">270.00 × Rs.1.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">වෙනත්</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.780.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.780</div><div>අපේ මිල: Rs.780</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">780.00 × Rs.1.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">වෙනත්</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.710.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.710</div><div>අපේ මිල: Rs.710</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">710.00 × Rs.1.00</div></div></div></div><div class=\"bill-summary\" style=\"text-align: right; font-size: 15px; margin-bottom: 4px;\"><div style=\"margin: 6px 0; font-weight: bold; font-size: 28px;\">මුළු මුදල: Rs. 1760.00</div><div style=\"margin: 4px 0; font-weight: bold;\">ගෙවූ මුදල: Rs. 2000.00</div><div style=\"margin: 4px 0; font-size: 14px; font-weight: bold;\">ඉතිරි මුදල: Rs. 240.00</div><div style=\"border: 1px solid black; padding: 20px; margin-top: 8px; width: 100%; background-color: #ffffffff;\"><div style=\"text-align: center; font-size: 10px; font-weight: bold; line-height: 1.7;\">අපෙන් භාණ්ඩ ලබා ගැනීමෙන් ඔබ ලැබූ ලාභය<br><span style=\"font-size: 12px; color: #000000ff;\">Rs.0.00</span></div></div><div class=\"bill-footer\" style=\"text-align: center; font-size: 13px;\"><p style=\"margin: 4px 0; font-size: 15px;\">ස්තූතියි! නැවත එන්න</p></div>', '[{\"id\":380,\"item_name_sinhala\":\"සබන්\",\"item_name_english\":\"saban\",\"barcode\":\"622911681\",\"unit_of_measurement\":\"pcs\",\"regular_price\":1,\"our_price\":1,\"stock_quantity\":5000,\"quantity\":270},{\"id\":88,\"item_name_sinhala\":\"වෙනත්\",\"item_name_english\":\"we\",\"barcode\":\"045504190\",\"unit_of_measurement\":\"pcs\",\"regular_price\":1,\"our_price\":1,\"stock_quantity\":45320,\"quantity\":780},{\"id\":186,\"item_name_sinhala\":\"වෙනත්\",\"item_name_english\":\"we2\",\"barcode\":\"400735117\",\"unit_of_measurement\":\"pcs\",\"regular_price\":1,\"our_price\":1,\"stock_quantity\":4290,\"quantity\":710}]', '2025-11-13 04:23:40'),
(168, 53, '2025-11-13', NULL, NULL, NULL, 1760.00, 2000.00, 240.00, 0, 'cash', '<p style=\"margin: 3px 0; font-size: 14px; text-align: center; font-weight: bold;\">බිල් අංකය: 53</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Date: 13/11/2025 Time: 09:53:39</p><div style=\"margin: 4px 0; border-bottom: 1px dashed black; width: 100%;\"></div></div><div class=\"bill-items\" style=\"margin-bottom: 8px;\"><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">සබන්</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.270.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.270</div><div>අපේ මිල: Rs.270</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">270.00 × Rs.1.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">වෙනත්</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.780.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.780</div><div>අපේ මිල: Rs.780</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">780.00 × Rs.1.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">වෙනත්</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.710.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.710</div><div>අපේ මිල: Rs.710</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">710.00 × Rs.1.00</div></div></div></div><div class=\"bill-summary\" style=\"text-align: right; font-size: 15px; margin-bottom: 4px;\"><div style=\"margin: 6px 0; font-weight: bold; font-size: 28px;\">මුළු මුදල: Rs. 1760.00</div><div style=\"margin: 4px 0; font-weight: bold;\">ගෙවූ මුදල: Rs. 2000.00</div><div style=\"margin: 4px 0; font-size: 14px; font-weight: bold;\">ඉතිරි මුදල: Rs. 240.00</div><div style=\"border: 1px solid black; padding: 20px; margin-top: 8px; width: 100%; background-color: #ffffffff;\"><div style=\"text-align: center; font-size: 10px; font-weight: bold; line-height: 1.7;\">අපෙන් භාණ්ඩ ලබා ගැනීමෙන් ඔබ ලැබූ ලාභය<br><span style=\"font-size: 12px; color: #000000ff;\">Rs.0.00</span></div></div><div class=\"bill-footer\" style=\"text-align: center; font-size: 13px;\"><p style=\"margin: 4px 0; font-size: 15px;\">ස්තූතියි! නැවත එන්න</p></div>', '[{\"id\":380,\"item_name_sinhala\":\"සබන්\",\"item_name_english\":\"saban\",\"barcode\":\"622911681\",\"unit_of_measurement\":\"pcs\",\"regular_price\":1,\"our_price\":1,\"stock_quantity\":5000,\"quantity\":270},{\"id\":88,\"item_name_sinhala\":\"වෙනත්\",\"item_name_english\":\"we\",\"barcode\":\"045504190\",\"unit_of_measurement\":\"pcs\",\"regular_price\":1,\"our_price\":1,\"stock_quantity\":45320,\"quantity\":780},{\"id\":186,\"item_name_sinhala\":\"වෙනත්\",\"item_name_english\":\"we2\",\"barcode\":\"400735117\",\"unit_of_measurement\":\"pcs\",\"regular_price\":1,\"our_price\":1,\"stock_quantity\":4290,\"quantity\":710}]', '2025-11-13 04:23:40'),
(169, 54, '2025-11-13', NULL, NULL, NULL, 260.00, 300.00, 40.00, 0, 'cash', '<div class=\"bill-header\" style=\"padding-top: 0; margin-top: 0;\"><div style=\"text-align: center; margin-bottom: 8px; margin-top: 0; padding-top: 0;\"><img src=\"logo.png\" alt=\"Store Logo\" style=\"max-width: 100%; width: 95%; height: auto; max-height: 300px; margin-top: 0; margin-bottom: 6px; display: block; margin-left: auto; margin-right: auto; object-fit: contain; padding-top: 0;\"><h2 style=\"margin: 4px 0 0 0; font-size: 22px; font-weight: bold;\"></h2></div><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">පාසල අසල දොරපනේ</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Tel: 071-3552017</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center; font-weight: bold;\">බිල් අංකය: 54</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Date: 13/11/2025 Time: 13:09:45</p><div style=\"margin: 4px 0; border-bottom: 1px dashed black; width: 100%;\"></div></div><div class=\"bill-items\" style=\"margin-bottom: 8px;\"><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">සීනි</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.260.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.270</div><div>අපේ මිල: Rs.260</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">1.00 × Rs.260.00</div></div></div></div><div class=\"bill-summary\" style=\"text-align: right; font-size: 15px; margin-bottom: 4px;\"><div style=\"margin: 6px 0; font-weight: bold; font-size: 28px;\">මුළු මුදල: Rs. 260.00</div><div style=\"margin: 4px 0; font-weight: bold;\">ගෙවූ මුදල: Rs. 300.00</div><div style=\"margin: 4px 0; font-size: 14px; font-weight: bold;\">ඉතිරි මුදල: Rs. 40.00</div><div style=\"border: 1px solid black; padding: 20px; margin-top: 8px; width: 100%; background-color: #ffffffff;\"><div style=\"text-align: center; font-size: 10px; font-weight: bold; line-height: 1.7;\">අපෙන් භාණ්ඩ ලබා ගැනීමෙන් ඔබ ලැබූ ලාභය<br><span style=\"font-size: 12px; color: #000000ff;\">Rs.10.00</span></div></div><div class=\"bill-footer\" style=\"text-align: center; font-size: 13px;\"><p style=\"margin: 4px 0; font-size: 15px;\">ස්තූතියි! නැවත එන්න</p><p style=\"margin: 6px 0; font-size: 12px;\">=== Gadget Technologies 071-1071666 ===</p></div>', '[{\"id\":365,\"item_name_sinhala\":\"සීනි\",\"item_name_english\":\"sini\",\"barcode\":\"597603757\",\"unit_of_measurement\":\"pcs\",\"regular_price\":270,\"our_price\":260,\"stock_quantity\":495,\"quantity\":1}]', '2025-11-13 07:39:45'),
(170, 55, '2025-11-13', NULL, NULL, NULL, 260.00, 300.00, 40.00, 0, 'cash', '<p style=\"margin: 3px 0; font-size: 14px; text-align: center; font-weight: bold;\">බිල් අංකය: 55</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Date: 13/11/2025 Time: 13:11:13</p><div style=\"margin: 4px 0; border-bottom: 1px dashed black; width: 100%;\"></div></div><div class=\"bill-items\" style=\"margin-bottom: 8px;\"><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">සීනි</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.260.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.270</div><div>අපේ මිල: Rs.260</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">1.00 × Rs.260.00</div></div></div></div><div class=\"bill-summary\" style=\"text-align: right; font-size: 15px; margin-bottom: 4px;\"><div style=\"margin: 6px 0; font-weight: bold; font-size: 28px;\">මුළු මුදල: Rs. 260.00</div><div style=\"margin: 4px 0; font-weight: bold;\">ගෙවූ මුදල: Rs. 300.00</div><div style=\"margin: 4px 0; font-size: 14px; font-weight: bold;\">ඉතිරි මුදල: Rs. 40.00</div><div style=\"border: 1px solid black; padding: 20px; margin-top: 8px; width: 100%; background-color: #ffffffff;\"><div style=\"text-align: center; font-size: 10px; font-weight: bold; line-height: 1.7;\">අපෙන් භාණ්ඩ ලබා ගැනීමෙන් ඔබ ලැබූ ලාභය<br><span style=\"font-size: 12px; color: #000000ff;\">Rs.10.00</span></div></div><div class=\"bill-footer\" style=\"text-align: center; font-size: 13px;\"><p style=\"margin: 4px 0; font-size: 15px;\">ස්තූතියි! නැවත එන්න</p><p style=\"margin: 6px 0; font-size: 12px;\">=== Gadget Technologies 071-1071666 ===</p></div>', '[{\"id\":365,\"item_name_sinhala\":\"සීනි\",\"item_name_english\":\"sini\",\"barcode\":\"597603757\",\"unit_of_measurement\":\"pcs\",\"regular_price\":270,\"our_price\":260,\"stock_quantity\":494,\"quantity\":1}]', '2025-11-13 07:41:13'),
(171, 56, '2025-11-13', NULL, NULL, NULL, 260.00, 300.00, 40.00, 0, 'cash', '<p style=\"margin: 3px 0; font-size: 14px; text-align: center; font-weight: bold;\">බිල් අංකය: 56</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Date: 13/11/2025 Time: 13:13:05</p><div style=\"margin: 4px 0; border-bottom: 1px dashed black; width: 100%;\"></div></div><div class=\"bill-items\" style=\"margin-bottom: 8px;\"><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">සීනි</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.260.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.270</div><div>අපේ මිල: Rs.260</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">1.00 × Rs.260.00</div></div></div></div><div class=\"bill-summary\" style=\"text-align: right; font-size: 15px; margin-bottom: 4px;\"><div style=\"margin: 6px 0; font-weight: bold; font-size: 28px;\">මුළු මුදල: Rs. 260.00</div><div style=\"margin: 4px 0; font-weight: bold;\">ගෙවූ මුදල: Rs. 300.00</div><div style=\"margin: 4px 0; font-size: 14px; font-weight: bold;\">ඉතිරි මුදල: Rs. 40.00</div><div style=\"border: 1px solid black; padding: 20px; margin-top: 8px; width: 100%; background-color: #ffffffff;\"><div style=\"text-align: center; font-size: 10px; font-weight: bold; line-height: 1.7;\">අපෙන් භාණ්ඩ ලබා ගැනීමෙන් ඔබ ලැබූ ලාභය<br><span style=\"font-size: 12px; color: #000000ff;\">Rs.10.00</span></div></div><div class=\"bill-footer\" style=\"text-align: center; font-size: 13px;\"><p style=\"margin: 4px 0; font-size: 15px;\">ස්තූතියි! නැවත එන්න</p></div>', '[{\"id\":365,\"item_name_sinhala\":\"සීනි\",\"item_name_english\":\"sini\",\"barcode\":\"597603757\",\"unit_of_measurement\":\"pcs\",\"regular_price\":270,\"our_price\":260,\"stock_quantity\":493,\"quantity\":1}]', '2025-11-13 07:43:06');
INSERT INTO `bill_records` (`id`, `bill_number`, `bill_date`, `bill_time`, `customer_phone`, `customer_id`, `total_amount`, `paid_amount`, `change_amount`, `is_credit`, `paymenttype`, `bill_content`, `items_json`, `created_at`) VALUES
(172, 57, '2025-11-13', NULL, NULL, NULL, 8790.00, 9000.00, 210.00, 0, 'cash', '<p style=\"margin: 3px 0; font-size: 14px; text-align: center; font-weight: bold;\">බිල් අංකය: 57</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Date: 13/11/2025 Time: 13:23:33</p><div style=\"margin: 4px 0; border-bottom: 1px dashed black; width: 100%;\"></div></div><div class=\"bill-items\" style=\"margin-bottom: 8px;\"><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">රතු හාල්</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.3900.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.4000</div><div>අපේ මිල: Rs.3900</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">20.00 × Rs.195.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">හාල්මැස්සන්</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.300.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.325</div><div>අපේ මිල: Rs.300</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">0.25 × Rs.1200.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">චීස්</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.560.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.560</div><div>අපේ මිල: Rs.560</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">1.00 × Rs.560.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">මිරිස් කරල්</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.100.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.120</div><div>අපේ මිල: Rs.100</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">0.10 × Rs.1000.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">අයිස් ක්‍රීම් 4L</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.1800.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.1870</div><div>අපේ මිල: Rs.1800</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">1.00 × Rs.1800.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">වෙනත්</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.780.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.780</div><div>අපේ මිල: Rs.780</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">780.00 × Rs.1.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">වෙනත්</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.850.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.850</div><div>අපේ මිල: Rs.850</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">850.00 × Rs.1.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">ඉදි ආප්ප පිටි</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.350.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.350</div><div>අපේ මිල: Rs.350</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">1.00 × Rs.350.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">කැලින් සබන්</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.150.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.150</div><div>අපේ මිල: Rs.150</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">1.00 × Rs.150.00</div></div></div></div><div class=\"bill-summary\" style=\"text-align: right; font-size: 15px; margin-bottom: 4px;\"><div style=\"margin: 6px 0; font-weight: bold; font-size: 28px;\">මුළු මුදල: Rs. 8790.00</div><div style=\"margin: 4px 0; font-weight: bold;\">ගෙවූ මුදල: Rs. 9000.00</div><div style=\"margin: 4px 0; font-size: 14px; font-weight: bold;\">ඉතිරි මුදල: Rs. 210.00</div><div style=\"border: 1px solid black; padding: 20px; margin-top: 8px; width: 100%; background-color: #ffffffff;\"><div style=\"text-align: center; font-size: 10px; font-weight: bold; line-height: 1.7;\">අපෙන් භාණ්ඩ ලබා ගැනීමෙන් ඔබ ලැබූ ලාභය<br><span style=\"font-size: 12px; color: #000000ff;\">Rs.215.00</span></div></div><div class=\"bill-footer\" style=\"text-align: center; font-size: 13px;\"><p style=\"margin: 4px 0; font-size: 15px;\">ස්තූතියි! නැවත එන්න</p></div>', '[{\"id\":121,\"item_name_sinhala\":\"රතු හාල්\",\"item_name_english\":\"rathu\",\"barcode\":\"7638698\",\"unit_of_measurement\":\"kg\",\"regular_price\":200,\"our_price\":195,\"stock_quantity\":49990,\"quantity\":20},{\"id\":111,\"item_name_sinhala\":\"හාල්මැස්සන්\",\"item_name_english\":\"halmasso\",\"barcode\":\"040630134-\",\"unit_of_measurement\":\"pcs\",\"regular_price\":1300,\"our_price\":1200,\"stock_quantity\":22,\"quantity\":0.25},{\"id\":240,\"item_name_sinhala\":\"චීස්\",\"item_name_english\":\"cheese\",\"barcode\":\"4792090000577\",\"unit_of_measurement\":\"pcs\",\"regular_price\":560,\"our_price\":560,\"stock_quantity\":20,\"quantity\":1},{\"id\":308,\"item_name_sinhala\":\"මිරිස් කරල්\",\"item_name_english\":\"miriskaral\",\"barcode\":\"915834944\",\"unit_of_measurement\":\"pcs\",\"regular_price\":1200,\"our_price\":1000,\"stock_quantity\":19,\"quantity\":0.1},{\"id\":255,\"item_name_sinhala\":\"අයිස් ක්‍රීම් 4L\",\"item_name_english\":\"ice\",\"barcode\":\"1800\",\"unit_of_measurement\":\"pcs\",\"regular_price\":1870,\"our_price\":1800,\"stock_quantity\":50,\"quantity\":1},{\"id\":88,\"item_name_sinhala\":\"වෙනත්\",\"item_name_english\":\"we\",\"barcode\":\"045504190\",\"unit_of_measurement\":\"pcs\",\"regular_price\":1,\"our_price\":1,\"stock_quantity\":9.223372036854776e+18,\"quantity\":780},{\"id\":186,\"item_name_sinhala\":\"වෙනත්\",\"item_name_english\":\"we2\",\"barcode\":\"400735117\",\"unit_of_measurement\":\"pcs\",\"regular_price\":1,\"our_price\":1,\"stock_quantity\":500000000000,\"quantity\":850},{\"id\":389,\"item_name_sinhala\":\"ඉදි ආප්ප පිටි\",\"item_name_english\":\"idi appa piti\",\"barcode\":\"852118104\",\"unit_of_measurement\":\"pcs\",\"regular_price\":350,\"our_price\":350,\"stock_quantity\":1100,\"quantity\":1},{\"id\":393,\"item_name_sinhala\":\"කැලින් සබන්\",\"item_name_english\":\"calin\",\"barcode\":\"832017355\",\"unit_of_measurement\":\"pcs\",\"regular_price\":150,\"our_price\":150,\"stock_quantity\":1000,\"quantity\":1}]', '2025-11-13 07:53:33'),
(173, 58, '2025-11-13', NULL, NULL, NULL, 8790.00, 9000.00, 210.00, 0, 'cash', '<p style=\"margin: 3px 0; font-size: 14px; text-align: center; font-weight: bold;\">බිල් අංකය: 58</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Date: 13/11/2025 Time: 13:23:34</p><div style=\"margin: 4px 0; border-bottom: 1px dashed black; width: 100%;\"></div></div><div class=\"bill-items\" style=\"margin-bottom: 8px;\"></div><div class=\"bill-summary\" style=\"text-align: right; font-size: 15px; margin-bottom: 4px;\"><div style=\"margin: 6px 0; font-weight: bold; font-size: 28px;\">මුළු මුදල: Rs. 8790.00</div><div style=\"margin: 4px 0; font-weight: bold;\">ගෙවූ මුදල: Rs. 9000.00</div><div style=\"margin: 4px 0; font-size: 14px; font-weight: bold;\">ඉතිරි මුදල: Rs. 210.00</div><div style=\"border: 1px solid black; padding: 20px; margin-top: 8px; width: 100%; background-color: #ffffffff;\"><div style=\"text-align: center; font-size: 10px; font-weight: bold; line-height: 1.7;\">අපෙන් භාණ්ඩ ලබා ගැනීමෙන් ඔබ ලැබූ ලාභය<br><span style=\"font-size: 12px; color: #000000ff;\">Rs.0.00</span></div></div><div class=\"bill-footer\" style=\"text-align: center; font-size: 13px;\"><p style=\"margin: 4px 0; font-size: 15px;\">ස්තූතියි! නැවත එන්න</p></div>', '[]', '2025-11-13 07:53:51'),
(178, 59, '2025-11-13', NULL, NULL, NULL, 350.00, 1000.00, 650.00, 0, 'cash', '<p style=\"margin: 3px 0; font-size: 14px; text-align: center; font-weight: bold;\">බිල් අංකය: 59</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Date: 13/11/2025 Time: 13:25:23</p><div style=\"margin: 4px 0; border-bottom: 1px dashed black; width: 100%;\"></div></div><div class=\"bill-items\" style=\"margin-bottom: 8px;\"><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">ඉදි ආප්ප පිටි</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.350.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.350</div><div>අපේ මිල: Rs.350</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">1.00 × Rs.350.00</div></div></div></div><div class=\"bill-summary\" style=\"text-align: right; font-size: 15px; margin-bottom: 4px;\"><div style=\"margin: 6px 0; font-weight: bold; font-size: 28px;\">මුළු මුදල: Rs. 350.00</div><div style=\"margin: 4px 0; font-weight: bold;\">ගෙවූ මුදල: Rs. 1000.00</div><div style=\"margin: 4px 0; font-size: 14px; font-weight: bold;\">ඉතිරි මුදල: Rs. 650.00</div><div style=\"border: 1px solid black; padding: 20px; margin-top: 8px; width: 100%; background-color: #ffffffff;\"><div style=\"text-align: center; font-size: 10px; font-weight: bold; line-height: 1.7;\">අපෙන් භාණ්ඩ ලබා ගැනීමෙන් ඔබ ලැබූ ලාභය<br><span style=\"font-size: 12px; color: #000000ff;\">Rs.0.00</span></div></div><div class=\"bill-footer\" style=\"text-align: center; font-size: 13px;\"><p style=\"margin: 4px 0; font-size: 15px;\">ස්තූතියි! නැවත එන්න</p></div>', '[{\"id\":389,\"item_name_sinhala\":\"ඉදි ආප්ප පිටි\",\"item_name_english\":\"idi appa piti\",\"barcode\":\"852118104\",\"unit_of_measurement\":\"pcs\",\"regular_price\":350,\"our_price\":350,\"stock_quantity\":1093,\"quantity\":1}]', '2025-11-13 07:55:23'),
(179, 60, '2025-11-13', NULL, NULL, NULL, 350.00, 1000.00, 650.00, 0, 'cash', '<p style=\"margin: 3px 0; font-size: 14px; text-align: center; font-weight: bold;\">බිල් අංකය: 60</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Date: 13/11/2025 Time: 13:25:23</p><div style=\"margin: 4px 0; border-bottom: 1px dashed black; width: 100%;\"></div></div><div class=\"bill-items\" style=\"margin-bottom: 8px;\"><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">ඉදි ආප්ප පිටි</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.350.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.350</div><div>අපේ මිල: Rs.350</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">1.00 × Rs.350.00</div></div></div></div><div class=\"bill-summary\" style=\"text-align: right; font-size: 15px; margin-bottom: 4px;\"><div style=\"margin: 6px 0; font-weight: bold; font-size: 28px;\">මුළු මුදල: Rs. 350.00</div><div style=\"margin: 4px 0; font-weight: bold;\">ගෙවූ මුදල: Rs. 1000.00</div><div style=\"margin: 4px 0; font-size: 14px; font-weight: bold;\">ඉතිරි මුදල: Rs. 650.00</div><div style=\"border: 1px solid black; padding: 20px; margin-top: 8px; width: 100%; background-color: #ffffffff;\"><div style=\"text-align: center; font-size: 10px; font-weight: bold; line-height: 1.7;\">අපෙන් භාණ්ඩ ලබා ගැනීමෙන් ඔබ ලැබූ ලාභය<br><span style=\"font-size: 12px; color: #000000ff;\">Rs.0.00</span></div></div><div class=\"bill-footer\" style=\"text-align: center; font-size: 13px;\"><p style=\"margin: 4px 0; font-size: 15px;\">ස්තූතියි! නැවත එන්න</p></div>', '[{\"id\":389,\"item_name_sinhala\":\"ඉදි ආප්ප පිටි\",\"item_name_english\":\"idi appa piti\",\"barcode\":\"852118104\",\"unit_of_measurement\":\"pcs\",\"regular_price\":350,\"our_price\":350,\"stock_quantity\":1093,\"quantity\":1}]', '2025-11-13 07:55:23'),
(180, 50, '2025-11-14', NULL, NULL, NULL, 390.00, 500.00, 110.00, 0, 'cash', '<div class=\"bill-header\" style=\"padding-top: 0; margin-top: 0;\"><div style=\"text-align: center; margin-bottom: 8px; margin-top: 0; padding-top: 0;\"><img src=\"logo.png\" alt=\"Store Logo\" style=\"max-width: 100%; width: 95%; height: auto; max-height: 300px; margin-top: 0; margin-bottom: 6px; display: block; margin-left: auto; margin-right: auto; object-fit: contain; padding-top: 0;\"><h2 style=\"margin: 4px 0 0 0; font-size: 22px; font-weight: bold;\"></h2></div><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">පාසල අසල දොරපනේ</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Tel: 071-3552017</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center; font-weight: bold;\">බිල් අංකය: 50</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Date: 14/11/2025 Time: 15:39:27</p><div style=\"margin: 4px 0; border-bottom: 1px dashed black; width: 100%;\"></div></div><div class=\"bill-items\" style=\"margin-bottom: 8px;\"><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">අල</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.200.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.210</div><div>අපේ මිල: Rs.200</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">1.00 × Rs.200.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">බී ළුෑණු</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.190.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.200</div><div>අපේ මිල: Rs.190</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">1.00 × Rs.190.00</div></div></div></div><div class=\"bill-summary\" style=\"text-align: right; font-size: 15px; margin-bottom: 4px;\"><div style=\"margin: 6px 0; font-weight: bold; font-size: 28px;\">මුළු මුදල: Rs. 390.00</div><div style=\"margin: 4px 0; font-weight: bold;\">ගෙවූ මුදල: Rs. 500.00</div><div style=\"margin: 4px 0; font-size: 14px; font-weight: bold;\">ඉතිරි මුදල: Rs. 110.00</div><div style=\"border: 1px solid black; padding: 20px; margin-top: 8px; width: 100%; background-color: #ffffffff;\"><div style=\"text-align: center; font-size: 10px; font-weight: bold; line-height: 1.7;\">අපෙන් භාණ්ඩ ලබා ගැනීමෙන් ඔබ ලැබූ ලාභය<br><span style=\"font-size: 12px; color: #000000ff;\">Rs.20.00</span></div></div><div class=\"bill-footer\" style=\"text-align: center; font-size: 13px;\"><p style=\"margin: 4px 0; font-size: 15px;\">ස්තූතියි! නැවත එන්න</p><p style=\"margin: 6px 0; font-size: 12px;\">=== Gadget Technologies 071-1071666 ===</p></div>', '[{\"id\":104,\"item_name_sinhala\":\"අල\",\"item_name_english\":\"ala\",\"barcode\":\"004786426\",\"unit_of_measurement\":\"pcs\",\"regular_price\":210,\"our_price\":200,\"stock_quantity\":4000,\"quantity\":1},{\"id\":105,\"item_name_sinhala\":\"බී ළුෑණු\",\"item_name_english\":\"beeluunu\",\"barcode\":\"113943378\",\"unit_of_measurement\":\"kg\",\"regular_price\":200,\"our_price\":190,\"stock_quantity\":59,\"quantity\":1}]', '2025-11-14 10:09:27'),
(181, 51, '2025-11-14', NULL, NULL, NULL, 980.00, 1000.00, 20.00, 0, 'cash', '<div class=\"bill-header\" style=\"padding-top: 0; margin-top: 0;\"><div style=\"text-align: center; margin-bottom: 8px; margin-top: 0; padding-top: 0;\"><img src=\"logo.png\" alt=\"Store Logo\" style=\"max-width: 100%; width: 95%; height: auto; max-height: 300px; margin-top: 0; margin-bottom: 6px; display: block; margin-left: auto; margin-right: auto; object-fit: contain; padding-top: 0;\"><h2 style=\"margin: 4px 0 0 0; font-size: 22px; font-weight: bold;\"></h2></div><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">පාසල අසල දොරපනේ</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Tel: 071-3552017</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center; font-weight: bold;\">බිල් අංකය: 51</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Date: 14/11/2025 Time: 15:42:48</p><div style=\"margin: 4px 0; border-bottom: 1px dashed black; width: 100%;\"></div></div><div class=\"bill-items\" style=\"margin-bottom: 8px;\"><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">අල</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.200.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.210</div><div>අපේ මිල: Rs.200</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">1.00 × Rs.200.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">බී ළුෑණු</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.190.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.200</div><div>අපේ මිල: Rs.190</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">1.00 × Rs.190.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">රතු ළුණු</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.200.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.225</div><div>අපේ මිල: Rs.200</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">0.50 × Rs.400.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">පරිප්පු නො.1</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.190.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.200</div><div>අපේ මිල: Rs.190</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">0.50 × Rs.380.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">ලුණු කැට</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.150.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.150</div><div>අපේ මිල: Rs.150</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">1.00 × Rs.150.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">උළුහාල්</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.50.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.60</div><div>අපේ මිල: Rs.50</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">1.00 × Rs.50.00</div></div></div></div><div class=\"bill-summary\" style=\"text-align: right; font-size: 15px; margin-bottom: 4px;\"><div style=\"margin: 6px 0; font-weight: bold; font-size: 28px;\">මුළු මුදල: Rs. 980.00</div><div style=\"margin: 4px 0; font-weight: bold;\">ගෙවූ මුදල: Rs. 1000.00</div><div style=\"margin: 4px 0; font-size: 14px; font-weight: bold;\">ඉතිරි මුදල: Rs. 20.00</div><div style=\"border: 1px solid black; padding: 20px; margin-top: 8px; width: 100%; background-color: #ffffffff;\"><div style=\"text-align: center; font-size: 10px; font-weight: bold; line-height: 1.7;\">අපෙන් භාණ්ඩ ලබා ගැනීමෙන් ඔබ ලැබූ ලාභය<br><span style=\"font-size: 12px; color: #000000ff;\">Rs.65.00</span></div></div><div class=\"bill-footer\" style=\"text-align: center; font-size: 13px;\"><p style=\"margin: 4px 0; font-size: 15px;\">ස්තූතියි! නැවත එන්න</p><p style=\"margin: 6px 0; font-size: 12px;\">=== Gadget Technologies 071-1071666 ===</p></div>', '[{\"id\":104,\"item_name_sinhala\":\"අල\",\"item_name_english\":\"ala\",\"barcode\":\"004786426\",\"unit_of_measurement\":\"pcs\",\"regular_price\":210,\"our_price\":200,\"stock_quantity\":3999,\"quantity\":1},{\"id\":105,\"item_name_sinhala\":\"බී ළුෑණු\",\"item_name_english\":\"beeluunu\",\"barcode\":\"113943378\",\"unit_of_measurement\":\"kg\",\"regular_price\":200,\"our_price\":190,\"stock_quantity\":58,\"quantity\":1},{\"id\":106,\"item_name_sinhala\":\"රතු ළුණු\",\"item_name_english\":\"rathu\",\"barcode\":\"838150515\",\"unit_of_measurement\":\"kg\",\"regular_price\":450,\"our_price\":400,\"stock_quantity\":10,\"quantity\":0.5},{\"id\":108,\"item_name_sinhala\":\"පරිප්පු නො.1\",\"item_name_english\":\"parippu\",\"barcode\":\"965372777\",\"unit_of_measurement\":\"pcs\",\"regular_price\":400,\"our_price\":380,\"stock_quantity\":47,\"quantity\":0.5},{\"id\":135,\"item_name_sinhala\":\"ලුණු කැට\",\"item_name_english\":\"lunu\",\"barcode\":\"157117825\",\"unit_of_measurement\":\"pcs\",\"regular_price\":150,\"our_price\":150,\"stock_quantity\":5000,\"quantity\":1},{\"id\":353,\"item_name_sinhala\":\"උළුහාල්\",\"item_name_english\":\"uluhal\",\"barcode\":\"952642348\",\"unit_of_measurement\":\"pcs\",\"regular_price\":60,\"our_price\":50,\"stock_quantity\":30,\"quantity\":1}]', '2025-11-14 10:12:48'),
(182, 50, '2025-11-16', NULL, NULL, NULL, 4500.00, 4500.00, 0.00, 0, 'cash', '<p style=\"margin: 3px 0; font-size: 14px; text-align: center; font-weight: bold;\">බිල් අංකය: 50</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Date: 16/11/2025 Time: 16:54:49</p><div style=\"margin: 4px 0; border-bottom: 1px dashed black; width: 100%;\"></div></div><div class=\"bill-items\" style=\"margin-bottom: 8px;\"><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">රතු හාල්</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.1950.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.2000</div><div>අපේ මිල: Rs.1950</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">10.00 × Rs.195.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">සුදු ළුණු</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.100.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.104</div><div>අපේ මිල: Rs.100</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">0.20 × Rs.500.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">බී ළුෑණු</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.190.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.200</div><div>අපේ මිල: Rs.190</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">1.00 × Rs.190.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">පරිප්පු නො.2</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.520.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.560</div><div>අපේ මිල: Rs.520</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">2.00 × Rs.260.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">අල</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.200.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.210</div><div>අපේ මිල: Rs.200</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">1.00 × Rs.200.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">සීනි</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.520.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.540</div><div>අපේ මිල: Rs.520</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">2.00 × Rs.260.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">කඩල</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.240.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.260</div><div>අපේ මිල: Rs.240</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">0.50 × Rs.480.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">සන්ලයිට්</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.440.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.440</div><div>අපේ මිල: Rs.440</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">1.00 × Rs.440.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">වෙනත්</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.100.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.100</div><div>අපේ මිල: Rs.100</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">100.00 × Rs.1.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">පපඩම්</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.240.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.240</div><div>අපේ මිල: Rs.240</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">2.40 × Rs.100.00</div></div></div></div><div class=\"bill-summary\" style=\"text-align: right; font-size: 15px; margin-bottom: 4px;\"><div style=\"margin: 6px 0; font-weight: bold; font-size: 28px;\">මුළු මුදල: Rs. 4500.00</div><div style=\"margin: 4px 0; font-weight: bold;\">ගෙවූ මුදල: Rs. 4500.00</div><div style=\"margin: 4px 0; font-size: 14px; font-weight: bold;\">ඉතිරි මුදල: Rs. 0.00</div><div style=\"border: 1px solid black; padding: 20px; margin-top: 8px; width: 100%; background-color: #ffffffff;\"><div style=\"text-align: center; font-size: 10px; font-weight: bold; line-height: 1.7;\">අපෙන් භාණ්ඩ ලබා ගැනීමෙන් ඔබ ලැබූ ලාභය<br><span style=\"font-size: 12px; color: #000000ff;\">Rs.154.00</span></div></div><div class=\"bill-footer\" style=\"text-align: center; font-size: 13px;\"><p style=\"margin: 4px 0; font-size: 15px;\">ස්තූතියි! නැවත එන්න</p></div>', '[{\"id\":121,\"item_name_sinhala\":\"රතු හාල්\",\"item_name_english\":\"rathu\",\"barcode\":\"7638698\",\"unit_of_measurement\":\"kg\",\"regular_price\":200,\"our_price\":195,\"stock_quantity\":49850,\"quantity\":10},{\"id\":107,\"item_name_sinhala\":\"සුදු ළුණු\",\"item_name_english\":\"sudu\",\"barcode\":\"910168663\",\"unit_of_measurement\":\"pcs\",\"regular_price\":520,\"our_price\":500,\"stock_quantity\":4998,\"quantity\":0.2},{\"id\":105,\"item_name_sinhala\":\"බී ළුෑණු\",\"item_name_english\":\"beeluunu\",\"barcode\":\"113943378\",\"unit_of_measurement\":\"kg\",\"regular_price\":200,\"our_price\":190,\"stock_quantity\":57,\"quantity\":1},{\"id\":109,\"item_name_sinhala\":\"පරිප්පු නො.2\",\"item_name_english\":\"parippu\",\"barcode\":\"991179274\",\"unit_of_measurement\":\"kg\",\"regular_price\":280,\"our_price\":260,\"stock_quantity\":156,\"quantity\":2},{\"id\":104,\"item_name_sinhala\":\"අල\",\"item_name_english\":\"ala\",\"barcode\":\"004786426\",\"unit_of_measurement\":\"pcs\",\"regular_price\":210,\"our_price\":200,\"stock_quantity\":3998,\"quantity\":1},{\"id\":365,\"item_name_sinhala\":\"සීනි\",\"item_name_english\":\"sini\",\"barcode\":\"597603757\",\"unit_of_measurement\":\"pcs\",\"regular_price\":270,\"our_price\":260,\"stock_quantity\":492,\"quantity\":2},{\"id\":116,\"item_name_sinhala\":\"කඩල\",\"item_name_english\":\"kadala\",\"barcode\":\"349521076\",\"unit_of_measurement\":\"pcs\",\"regular_price\":520,\"our_price\":480,\"stock_quantity\":17,\"quantity\":0.5},{\"id\":67,\"item_name_sinhala\":\"සන්ලයිට්\",\"item_name_english\":\"sun\",\"barcode\":\"4792081039869\",\"unit_of_measurement\":\"pcs\",\"regular_price\":440,\"our_price\":440,\"stock_quantity\":50,\"quantity\":1},{\"id\":88,\"item_name_sinhala\":\"වෙනත්\",\"item_name_english\":\"we\",\"barcode\":\"045504190\",\"unit_of_measurement\":\"pcs\",\"regular_price\":1,\"our_price\":1,\"stock_quantity\":9.223372036854776e+18,\"quantity\":100},{\"id\":252,\"item_name_sinhala\":\"පපඩම්\",\"item_name_english\":\"papadam\",\"barcode\":\"135165947\",\"unit_of_measurement\":\"pcs\",\"regular_price\":100,\"our_price\":100,\"stock_quantity\":49,\"quantity\":2.4}]', '2025-11-16 11:24:49'),
(183, 51, '2025-11-16', NULL, NULL, NULL, 780.00, 1000.00, 220.00, 0, 'cash', '<div class=\"bill-header\" style=\"padding-top: 0; margin-top: 0;\"><div style=\"text-align: center; margin-bottom: 8px; margin-top: 0; padding-top: 0;\"><img src=\"logo.png\" alt=\"Store Logo\" style=\"max-width: 100%; width: 95%; height: auto; max-height: 300px; margin-top: 0; margin-bottom: 6px; display: block; margin-left: auto; margin-right: auto; object-fit: contain; padding-top: 0;\"><h2 style=\"margin: 4px 0 0 0; font-size: 22px; font-weight: bold;\"></h2></div><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">පාසල අසල දොරපනේ</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Tel: 071-3552017</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center; font-weight: bold;\">බිල් අංකය: 51</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Date: 16/11/2025 Time: 17:27:01</p><div style=\"margin: 4px 0; border-bottom: 1px dashed black; width: 100%;\"></div></div><div class=\"bill-items\" style=\"margin-bottom: 8px;\"><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">පොල් තෙල්</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.650.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.700</div><div>අපේ මිල: Rs.650</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">1.00 × Rs.650.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">දත් බුරුසු</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.130.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.130</div><div>අපේ මිල: Rs.130</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">130.00 × Rs.1.00</div></div></div></div><div class=\"bill-summary\" style=\"text-align: right; font-size: 15px; margin-bottom: 4px;\"><div style=\"margin: 6px 0; font-weight: bold; font-size: 28px;\">මුළු මුදල: Rs. 780.00</div><div style=\"margin: 4px 0; font-weight: bold;\">ගෙවූ මුදල: Rs. 1000.00</div><div style=\"margin: 4px 0; font-size: 14px; font-weight: bold;\">ඉතිරි මුදල: Rs. 220.00</div><div style=\"border: 1px solid black; padding: 20px; margin-top: 8px; width: 100%; background-color: #ffffffff;\"><div style=\"text-align: center; font-size: 10px; font-weight: bold; line-height: 1.7;\">අපෙන් භාණ්ඩ ලබා ගැනීමෙන් ඔබ ලැබූ ලාභය<br><span style=\"font-size: 12px; color: #000000ff;\">Rs.50.00</span></div></div><div class=\"bill-footer\" style=\"text-align: center; font-size: 13px;\"><p style=\"margin: 4px 0; font-size: 15px;\">ස්තූතියි! නැවත එන්න</p><p style=\"margin: 6px 0; font-size: 12px;\">=== Gadget Technologies 071-1071666 ===</p></div>', '[{\"id\":117,\"item_name_sinhala\":\"පොල් තෙල්\",\"item_name_english\":\"polthel\",\"barcode\":\"385217979\",\"unit_of_measurement\":\"ml\",\"regular_price\":700,\"our_price\":650,\"stock_quantity\":48,\"quantity\":1},{\"id\":388,\"item_name_sinhala\":\"දත් බුරුසු\",\"item_name_english\":\"dath burusu\",\"barcode\":\"744172341\",\"unit_of_measurement\":\"pcs\",\"regular_price\":1,\"our_price\":1,\"stock_quantity\":1500,\"quantity\":130}]', '2025-11-16 11:57:01'),
(184, 52, '2025-11-16', NULL, NULL, NULL, 780.00, 1000.00, 220.00, 0, 'cash', '<div class=\"bill-header\" style=\"padding-top: 0; margin-top: 0;\"><div style=\"text-align: center; margin-bottom: 8px; margin-top: 0; padding-top: 0;\"><img src=\"logo.png\" alt=\"Store Logo\" style=\"max-width: 100%; width: 95%; height: auto; max-height: 300px; margin-top: 0; margin-bottom: 6px; display: block; margin-left: auto; margin-right: auto; object-fit: contain; padding-top: 0;\"><h2 style=\"margin: 4px 0 0 0; font-size: 22px; font-weight: bold;\"></h2></div><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">පාසල අසල දොරපනේ</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Tel: 071-3552017</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center; font-weight: bold;\">බිල් අංකය: 52</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Date: 16/11/2025 Time: 17:27:02</p><div style=\"margin: 4px 0; border-bottom: 1px dashed black; width: 100%;\"></div></div><div class=\"bill-items\" style=\"margin-bottom: 8px;\"><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">පොල් තෙල්</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.650.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.700</div><div>අපේ මිල: Rs.650</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">1.00 × Rs.650.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">දත් බුරුසු</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.130.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.130</div><div>අපේ මිල: Rs.130</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">130.00 × Rs.1.00</div></div></div></div><div class=\"bill-summary\" style=\"text-align: right; font-size: 15px; margin-bottom: 4px;\"><div style=\"margin: 6px 0; font-weight: bold; font-size: 28px;\">මුළු මුදල: Rs. 780.00</div><div style=\"margin: 4px 0; font-weight: bold;\">ගෙවූ මුදල: Rs. 1000.00</div><div style=\"margin: 4px 0; font-size: 14px; font-weight: bold;\">ඉතිරි මුදල: Rs. 220.00</div><div style=\"border: 1px solid black; padding: 20px; margin-top: 8px; width: 100%; background-color: #ffffffff;\"><div style=\"text-align: center; font-size: 10px; font-weight: bold; line-height: 1.7;\">අපෙන් භාණ්ඩ ලබා ගැනීමෙන් ඔබ ලැබූ ලාභය<br><span style=\"font-size: 12px; color: #000000ff;\">Rs.50.00</span></div></div><div class=\"bill-footer\" style=\"text-align: center; font-size: 13px;\"><p style=\"margin: 4px 0; font-size: 15px;\">ස්තූතියි! නැවත එන්න</p><p style=\"margin: 6px 0; font-size: 12px;\">=== Gadget Technologies 071-1071666 ===</p></div>', '[{\"id\":117,\"item_name_sinhala\":\"පොල් තෙල්\",\"item_name_english\":\"polthel\",\"barcode\":\"385217979\",\"unit_of_measurement\":\"ml\",\"regular_price\":700,\"our_price\":650,\"stock_quantity\":48,\"quantity\":1},{\"id\":388,\"item_name_sinhala\":\"දත් බුරුසු\",\"item_name_english\":\"dath burusu\",\"barcode\":\"744172341\",\"unit_of_measurement\":\"pcs\",\"regular_price\":1,\"our_price\":1,\"stock_quantity\":1500,\"quantity\":130}]', '2025-11-16 11:57:02');
INSERT INTO `bill_records` (`id`, `bill_number`, `bill_date`, `bill_time`, `customer_phone`, `customer_id`, `total_amount`, `paid_amount`, `change_amount`, `is_credit`, `paymenttype`, `bill_content`, `items_json`, `created_at`) VALUES
(185, 53, '2025-11-16', NULL, NULL, NULL, 780.00, 1000.00, 220.00, 0, 'cash', '<div class=\"bill-header\" style=\"padding-top: 0; margin-top: 0;\"><div style=\"text-align: center; margin-bottom: 8px; margin-top: 0; padding-top: 0;\"><img src=\"logo.png\" alt=\"Store Logo\" style=\"max-width: 100%; width: 95%; height: auto; max-height: 300px; margin-top: 0; margin-bottom: 6px; display: block; margin-left: auto; margin-right: auto; object-fit: contain; padding-top: 0;\"><h2 style=\"margin: 4px 0 0 0; font-size: 22px; font-weight: bold;\"></h2></div><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">පාසල අසල දොරපනේ</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Tel: 071-3552017</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center; font-weight: bold;\">බිල් අංකය: 53</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Date: 16/11/2025 Time: 17:27:02</p><div style=\"margin: 4px 0; border-bottom: 1px dashed black; width: 100%;\"></div></div><div class=\"bill-items\" style=\"margin-bottom: 8px;\"><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">පොල් තෙල්</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.650.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.700</div><div>අපේ මිල: Rs.650</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">1.00 × Rs.650.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">දත් බුරුසු</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.130.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.130</div><div>අපේ මිල: Rs.130</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">130.00 × Rs.1.00</div></div></div></div><div class=\"bill-summary\" style=\"text-align: right; font-size: 15px; margin-bottom: 4px;\"><div style=\"margin: 6px 0; font-weight: bold; font-size: 28px;\">මුළු මුදල: Rs. 780.00</div><div style=\"margin: 4px 0; font-weight: bold;\">ගෙවූ මුදල: Rs. 1000.00</div><div style=\"margin: 4px 0; font-size: 14px; font-weight: bold;\">ඉතිරි මුදල: Rs. 220.00</div><div style=\"border: 1px solid black; padding: 20px; margin-top: 8px; width: 100%; background-color: #ffffffff;\"><div style=\"text-align: center; font-size: 10px; font-weight: bold; line-height: 1.7;\">අපෙන් භාණ්ඩ ලබා ගැනීමෙන් ඔබ ලැබූ ලාභය<br><span style=\"font-size: 12px; color: #000000ff;\">Rs.50.00</span></div></div><div class=\"bill-footer\" style=\"text-align: center; font-size: 13px;\"><p style=\"margin: 4px 0; font-size: 15px;\">ස්තූතියි! නැවත එන්න</p><p style=\"margin: 6px 0; font-size: 12px;\">=== Gadget Technologies 071-1071666 ===</p></div>', '[{\"id\":117,\"item_name_sinhala\":\"පොල් තෙල්\",\"item_name_english\":\"polthel\",\"barcode\":\"385217979\",\"unit_of_measurement\":\"ml\",\"regular_price\":700,\"our_price\":650,\"stock_quantity\":48,\"quantity\":1},{\"id\":388,\"item_name_sinhala\":\"දත් බුරුසු\",\"item_name_english\":\"dath burusu\",\"barcode\":\"744172341\",\"unit_of_measurement\":\"pcs\",\"regular_price\":1,\"our_price\":1,\"stock_quantity\":1500,\"quantity\":130}]', '2025-11-16 11:57:02'),
(186, 54, '2025-11-16', NULL, NULL, NULL, 925.00, 925.00, 0.00, 0, 'cash', '<div class=\"bill-header\" style=\"padding-top: 0; margin-top: 0;\"><div style=\"text-align: center; margin-bottom: 8px; margin-top: 0; padding-top: 0;\"><img src=\"logo.png\" alt=\"Store Logo\" style=\"max-width: 100%; width: 95%; height: auto; max-height: 300px; margin-top: 0; margin-bottom: 6px; display: block; margin-left: auto; margin-right: auto; object-fit: contain; padding-top: 0;\"><h2 style=\"margin: 4px 0 0 0; font-size: 22px; font-weight: bold;\"></h2></div><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">පාසල අසල දොරපනේ</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Tel: 071-3552017</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center; font-weight: bold;\">බිල් අංකය: 54</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Date: 16/11/2025 Time: 17:35:16</p><div style=\"margin: 4px 0; border-bottom: 1px dashed black; width: 100%;\"></div></div><div class=\"bill-items\" style=\"margin-bottom: 8px;\"><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">හාල්මැස්සන්</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.240.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.260</div><div>අපේ මිල: Rs.240</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">0.20 × Rs.1200.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">පරිප්පු නො.2</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.130.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.140</div><div>අපේ මිල: Rs.130</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">0.50 × Rs.260.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">මන්චි ක්‍රීම් ක්‍රැකර් 190g</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.200.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.200</div><div>අපේ මිල: Rs.200</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">1.00 × Rs.200.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">කරවල</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.355.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.355</div><div>අපේ මිල: Rs.355</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">355.00 × Rs.1.00</div></div></div></div><div class=\"bill-summary\" style=\"text-align: right; font-size: 15px; margin-bottom: 4px;\"><div style=\"margin: 6px 0; font-weight: bold; font-size: 28px;\">මුළු මුදල: Rs. 925.00</div><div style=\"margin: 4px 0; font-weight: bold;\">ගෙවූ මුදල: Rs. 925.00</div><div style=\"margin: 4px 0; font-size: 14px; font-weight: bold;\">ඉතිරි මුදල: Rs. 0.00</div><div style=\"border: 1px solid black; padding: 20px; margin-top: 8px; width: 100%; background-color: #ffffffff;\"><div style=\"text-align: center; font-size: 10px; font-weight: bold; line-height: 1.7;\">අපෙන් භාණ්ඩ ලබා ගැනීමෙන් ඔබ ලැබූ ලාභය<br><span style=\"font-size: 12px; color: #000000ff;\">Rs.30.00</span></div></div><div class=\"bill-footer\" style=\"text-align: center; font-size: 13px;\"><p style=\"margin: 4px 0; font-size: 15px;\">ස්තූතියි! නැවත එන්න</p><p style=\"margin: 6px 0; font-size: 12px;\">=== Gadget Technologies 071-1071666 ===</p></div>', '[{\"id\":111,\"item_name_sinhala\":\"හාල්මැස්සන්\",\"item_name_english\":\"halmasso\",\"barcode\":\"040630134-\",\"unit_of_measurement\":\"pcs\",\"regular_price\":1300,\"our_price\":1200,\"stock_quantity\":20,\"quantity\":0.2},{\"id\":109,\"item_name_sinhala\":\"පරිප්පු නො.2\",\"item_name_english\":\"parippu\",\"barcode\":\"991179274\",\"unit_of_measurement\":\"kg\",\"regular_price\":280,\"our_price\":260,\"stock_quantity\":154,\"quantity\":0.5},{\"id\":18,\"item_name_sinhala\":\"මන්චි ක්‍රීම් ක්‍රැකර් 190g\",\"item_name_english\":\"mcra\",\"barcode\":\"8888101430337\",\"unit_of_measurement\":\"pcs\",\"regular_price\":200,\"our_price\":200,\"stock_quantity\":50,\"quantity\":1},{\"id\":112,\"item_name_sinhala\":\"කරවල\",\"item_name_english\":\"karawala\",\"barcode\":\"076194472\",\"unit_of_measurement\":\"pcs\",\"regular_price\":1,\"our_price\":1,\"stock_quantity\":3120,\"quantity\":355}]', '2025-11-16 12:05:16'),
(187, 55, '2025-11-16', NULL, NULL, NULL, 2020.00, 2020.00, 0.00, 0, 'cash', '<div class=\"bill-header\" style=\"padding-top: 0; margin-top: 0;\"><div style=\"text-align: center; margin-bottom: 8px; margin-top: 0; padding-top: 0;\"><img src=\"logo.png\" alt=\"Store Logo\" style=\"max-width: 100%; width: 95%; height: auto; max-height: 300px; margin-top: 0; margin-bottom: 6px; display: block; margin-left: auto; margin-right: auto; object-fit: contain; padding-top: 0;\"><h2 style=\"margin: 4px 0 0 0; font-size: 22px; font-weight: bold;\"></h2></div><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">පාසල අසල දොරපනේ</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Tel: 071-3552017</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center; font-weight: bold;\">බිල් අංකය: 55</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Date: 16/11/2025 Time: 17:44:42</p><div style=\"margin: 4px 0; border-bottom: 1px dashed black; width: 100%;\"></div></div><div class=\"bill-items\" style=\"margin-bottom: 8px;\"><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">රතු හාල්</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.1950.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.2000</div><div>අපේ මිල: Rs.1950</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">10.00 × Rs.195.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">බිත්තර</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.70.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.70</div><div>අපේ මිල: Rs.70</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">2.00 × Rs.35.00</div></div></div></div><div class=\"bill-summary\" style=\"text-align: right; font-size: 15px; margin-bottom: 4px;\"><div style=\"margin: 6px 0; font-weight: bold; font-size: 28px;\">මුළු මුදල: Rs. 2020.00</div><div style=\"margin: 4px 0; font-weight: bold;\">ගෙවූ මුදල: Rs. 2020.00</div><div style=\"margin: 4px 0; font-size: 14px; font-weight: bold;\">ඉතිරි මුදල: Rs. 0.00</div><div style=\"border: 1px solid black; padding: 20px; margin-top: 8px; width: 100%; background-color: #ffffffff;\"><div style=\"text-align: center; font-size: 10px; font-weight: bold; line-height: 1.7;\">අපෙන් භාණ්ඩ ලබා ගැනීමෙන් ඔබ ලැබූ ලාභය<br><span style=\"font-size: 12px; color: #000000ff;\">Rs.50.00</span></div></div><div class=\"bill-footer\" style=\"text-align: center; font-size: 13px;\"><p style=\"margin: 4px 0; font-size: 15px;\">ස්තූතියි! නැවත එන්න</p><p style=\"margin: 6px 0; font-size: 12px;\">=== Gadget Technologies 071-1071666 ===</p></div>', '[{\"id\":121,\"item_name_sinhala\":\"රතු හාල්\",\"item_name_english\":\"rathu\",\"barcode\":\"7638698\",\"unit_of_measurement\":\"kg\",\"regular_price\":200,\"our_price\":195,\"stock_quantity\":49840,\"quantity\":10},{\"id\":110,\"item_name_sinhala\":\"බිත්තර\",\"item_name_english\":\"biththara\",\"barcode\":\"015366342\",\"unit_of_measurement\":\"pcs\",\"regular_price\":35,\"our_price\":35,\"stock_quantity\":432,\"quantity\":2}]', '2025-11-16 12:14:42'),
(188, 56, '2025-11-16', NULL, NULL, NULL, 13635.00, 15000.00, 1365.00, 0, 'cash', '<div class=\"bill-header\" style=\"padding-top: 0; margin-top: 0;\"><div style=\"text-align: center; margin-bottom: 8px; margin-top: 0; padding-top: 0;\"><img src=\"logo.png\" alt=\"Store Logo\" style=\"max-width: 100%; width: 95%; height: auto; max-height: 300px; margin-top: 0; margin-bottom: 6px; display: block; margin-left: auto; margin-right: auto; object-fit: contain; padding-top: 0;\"><h2 style=\"margin: 4px 0 0 0; font-size: 22px; font-weight: bold;\"></h2></div><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">පාසල අසල දොරපනේ</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Tel: 071-3552017</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center; font-weight: bold;\">බිල් අංකය: 56</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Date: 16/11/2025 Time: 17:48:49</p><div style=\"margin: 4px 0; border-bottom: 1px dashed black; width: 100%;\"></div></div><div class=\"bill-items\" style=\"margin-bottom: 8px;\"><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">කලින් හිඟ මුදල</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.13445.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.13445</div><div>අපේ මිල: Rs.13445</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">13445.00 × Rs.1.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">බී ළුෑණු</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.190.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.200</div><div>අපේ මිල: Rs.190</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">1.00 × Rs.190.00</div></div></div></div><div class=\"bill-summary\" style=\"text-align: right; font-size: 15px; margin-bottom: 4px;\"><div style=\"margin: 6px 0; font-weight: bold; font-size: 28px;\">මුළු මුදල: Rs. 13635.00</div><div style=\"margin: 4px 0; font-weight: bold;\">ගෙවූ මුදල: Rs. 15000.00</div><div style=\"margin: 4px 0; font-size: 14px; font-weight: bold;\">ඉතිරි මුදල: Rs. 1365.00</div><div style=\"border: 1px solid black; padding: 20px; margin-top: 8px; width: 100%; background-color: #ffffffff;\"><div style=\"text-align: center; font-size: 10px; font-weight: bold; line-height: 1.7;\">අපෙන් භාණ්ඩ ලබා ගැනීමෙන් ඔබ ලැබූ ලාභය<br><span style=\"font-size: 12px; color: #000000ff;\">Rs.10.00</span></div></div><div class=\"bill-footer\" style=\"text-align: center; font-size: 13px;\"><p style=\"margin: 4px 0; font-size: 15px;\">ස්තූතියි! නැවත එන්න</p><p style=\"margin: 6px 0; font-size: 12px;\">=== Gadget Technologies 071-1071666 ===</p></div>', '[{\"id\":332,\"item_name_sinhala\":\"කලින් හිඟ මුදල\",\"item_name_english\":\"naya\",\"barcode\":\"925445829\",\"unit_of_measurement\":\"pcs\",\"regular_price\":1,\"our_price\":1,\"stock_quantity\":24220,\"quantity\":13445},{\"id\":105,\"item_name_sinhala\":\"බී ළුෑණු\",\"item_name_english\":\"beeluunu\",\"barcode\":\"113943378\",\"unit_of_measurement\":\"kg\",\"regular_price\":200,\"our_price\":190,\"stock_quantity\":56,\"quantity\":1}]', '2025-11-16 12:18:49'),
(189, 57, '2025-11-16', NULL, NULL, NULL, 2165.00, 2165.00, 0.00, 0, 'cash', '<div class=\"bill-header\" style=\"padding-top: 0; margin-top: 0;\"><div style=\"text-align: center; margin-bottom: 8px; margin-top: 0; padding-top: 0;\"><img src=\"logo.png\" alt=\"Store Logo\" style=\"max-width: 100%; width: 95%; height: auto; max-height: 300px; margin-top: 0; margin-bottom: 6px; display: block; margin-left: auto; margin-right: auto; object-fit: contain; padding-top: 0;\"><h2 style=\"margin: 4px 0 0 0; font-size: 22px; font-weight: bold;\"></h2></div><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">පාසල අසල දොරපනේ</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Tel: 071-3552017</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center; font-weight: bold;\">බිල් අංකය: 57</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Date: 16/11/2025 Time: 17:56:43</p><div style=\"margin: 4px 0; border-bottom: 1px dashed black; width: 100%;\"></div></div><div class=\"bill-items\" style=\"margin-bottom: 8px;\"><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">සුදු ළුණු</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.125.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.130</div><div>අපේ මිල: Rs.125</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">0.25 × Rs.500.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">නයි මිරිස්</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.120.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.120</div><div>අපේ මිල: Rs.120</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">0.10 × Rs.1200.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">සුදු සීනි පැකට්</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.230.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.250</div><div>අපේ මිල: Rs.230</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">1.00 × Rs.230.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">අල</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.200.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.210</div><div>අපේ මිල: Rs.200</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">1.00 × Rs.200.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">වෙනත්</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.1250.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.1250</div><div>අපේ මිල: Rs.1250</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">1250.00 × Rs.1.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">සෝයා සෝස්</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.240.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.243</div><div>අපේ මිල: Rs.240</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">1.00 × Rs.240.00</div></div></div></div><div class=\"bill-summary\" style=\"text-align: right; font-size: 15px; margin-bottom: 4px;\"><div style=\"margin: 6px 0; font-weight: bold; font-size: 28px;\">මුළු මුදල: Rs. 2165.00</div><div style=\"margin: 4px 0; font-weight: bold;\">ගෙවූ මුදල: Rs. 2165.00</div><div style=\"margin: 4px 0; font-size: 14px; font-weight: bold;\">ඉතිරි මුදල: Rs. 0.00</div><div style=\"border: 1px solid black; padding: 20px; margin-top: 8px; width: 100%; background-color: #ffffffff;\"><div style=\"text-align: center; font-size: 10px; font-weight: bold; line-height: 1.7;\">අපෙන් භාණ්ඩ ලබා ගැනීමෙන් ඔබ ලැබූ ලාභය<br><span style=\"font-size: 12px; color: #000000ff;\">Rs.38.00</span></div></div><div class=\"bill-footer\" style=\"text-align: center; font-size: 13px;\"><p style=\"margin: 4px 0; font-size: 15px;\">ස්තූතියි! නැවත එන්න</p><p style=\"margin: 6px 0; font-size: 12px;\">=== Gadget Technologies 071-1071666 ===</p></div>', '[{\"id\":107,\"item_name_sinhala\":\"සුදු ළුණු\",\"item_name_english\":\"sudu\",\"barcode\":\"910168663\",\"unit_of_measurement\":\"pcs\",\"regular_price\":520,\"our_price\":500,\"stock_quantity\":4998,\"quantity\":0.25},{\"id\":406,\"item_name_sinhala\":\"නයි මිරිස්\",\"item_name_english\":\"naimiris\",\"barcode\":\"121684852\",\"unit_of_measurement\":\"pcs\",\"regular_price\":1200,\"our_price\":1200,\"stock_quantity\":5,\"quantity\":0.1},{\"id\":362,\"item_name_sinhala\":\"සුදු සීනි පැකට්\",\"item_name_english\":\"sini\",\"barcode\":\"872168955\",\"unit_of_measurement\":\"pcs\",\"regular_price\":250,\"our_price\":230,\"stock_quantity\":99,\"quantity\":1},{\"id\":104,\"item_name_sinhala\":\"අල\",\"item_name_english\":\"ala\",\"barcode\":\"004786426\",\"unit_of_measurement\":\"pcs\",\"regular_price\":210,\"our_price\":200,\"stock_quantity\":3997,\"quantity\":1},{\"id\":88,\"item_name_sinhala\":\"වෙනත්\",\"item_name_english\":\"we\",\"barcode\":\"045504190\",\"unit_of_measurement\":\"pcs\",\"regular_price\":1,\"our_price\":1,\"stock_quantity\":9.223372036854776e+18,\"quantity\":1250},{\"id\":168,\"item_name_sinhala\":\"සෝයා සෝස්\",\"item_name_english\":\"soya\",\"barcode\":\"4792018551235\",\"unit_of_measurement\":\"pcs\",\"regular_price\":243,\"our_price\":240,\"stock_quantity\":10,\"quantity\":1}]', '2025-11-16 12:26:43'),
(190, 58, '2025-11-16', NULL, NULL, NULL, 625.00, 1000.00, 375.00, 0, 'cash', '<div class=\"bill-header\" style=\"padding-top: 0; margin-top: 0;\"><div style=\"text-align: center; margin-bottom: 8px; margin-top: 0; padding-top: 0;\"><img src=\"logo.png\" alt=\"Store Logo\" style=\"max-width: 100%; width: 95%; height: auto; max-height: 300px; margin-top: 0; margin-bottom: 6px; display: block; margin-left: auto; margin-right: auto; object-fit: contain; padding-top: 0;\"><h2 style=\"margin: 4px 0 0 0; font-size: 22px; font-weight: bold;\"></h2></div><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">පාසල අසල දොරපනේ</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Tel: 071-3552017</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center; font-weight: bold;\">බිල් අංකය: 58</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Date: 16/11/2025 Time: 18:04:46</p><div style=\"margin: 4px 0; border-bottom: 1px dashed black; width: 100%;\"></div></div><div class=\"bill-items\" style=\"margin-bottom: 8px;\"><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">සම්බා</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.280.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.290</div><div>අපේ මිල: Rs.280</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">1.00 × Rs.280.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">ඇස්ට්‍රා 40g</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.85.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.85</div><div>අපේ මිල: Rs.85</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">1.00 × Rs.85.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">සීනි</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.260.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.270</div><div>අපේ මිල: Rs.260</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">1.00 × Rs.260.00</div></div></div></div><div class=\"bill-summary\" style=\"text-align: right; font-size: 15px; margin-bottom: 4px;\"><div style=\"margin: 6px 0; font-weight: bold; font-size: 28px;\">මුළු මුදල: Rs. 625.00</div><div style=\"margin: 4px 0; font-weight: bold;\">ගෙවූ මුදල: Rs. 1000.00</div><div style=\"margin: 4px 0; font-size: 14px; font-weight: bold;\">ඉතිරි මුදල: Rs. 375.00</div><div style=\"border: 1px solid black; padding: 20px; margin-top: 8px; width: 100%; background-color: #ffffffff;\"><div style=\"text-align: center; font-size: 10px; font-weight: bold; line-height: 1.7;\">අපෙන් භාණ්ඩ ලබා ගැනීමෙන් ඔබ ලැබූ ලාභය<br><span style=\"font-size: 12px; color: #000000ff;\">Rs.20.00</span></div></div><div class=\"bill-footer\" style=\"text-align: center; font-size: 13px;\"><p style=\"margin: 4px 0; font-size: 15px;\">ස්තූතියි! නැවත එන්න</p><p style=\"margin: 6px 0; font-size: 12px;\">=== Gadget Technologies 071-1071666 ===</p></div>', '[{\"id\":407,\"item_name_sinhala\":\"සම්බා\",\"item_name_english\":\"samba\",\"barcode\":\"580098863\",\"unit_of_measurement\":\"pcs\",\"regular_price\":290,\"our_price\":280,\"stock_quantity\":200,\"quantity\":1},{\"id\":243,\"item_name_sinhala\":\"ඇස්ට්‍රා 40g\",\"item_name_english\":\"astra\",\"barcode\":\"4796025380017\",\"unit_of_measurement\":\"pcs\",\"regular_price\":85,\"our_price\":85,\"stock_quantity\":50,\"quantity\":1},{\"id\":365,\"item_name_sinhala\":\"සීනි\",\"item_name_english\":\"sini\",\"barcode\":\"597603757\",\"unit_of_measurement\":\"pcs\",\"regular_price\":270,\"our_price\":260,\"stock_quantity\":490,\"quantity\":1}]', '2025-11-16 12:34:46'),
(191, 50, '2025-11-17', NULL, NULL, NULL, 740.00, 1000.00, 260.00, 0, 'cash', '<div class=\"bill-header\" style=\"padding-top: 0; margin-top: 0;\"><div style=\"text-align: center; margin-bottom: 8px; margin-top: 0; padding-top: 0;\"><img src=\"logo.png\" alt=\"Store Logo\" style=\"max-width: 100%; width: 95%; height: auto; max-height: 300px; margin-top: 0; margin-bottom: 6px; display: block; margin-left: auto; margin-right: auto; object-fit: contain; padding-top: 0;\"><h2 style=\"margin: 4px 0 0 0; font-size: 22px; font-weight: bold;\"></h2></div><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">පාසල අසල දොරපනේ</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Tel: 071-3552017</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center; font-weight: bold;\">බිල් අංකය: 50</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Date: 17/11/2025 Time: 12:14:04</p><div style=\"margin: 4px 0; border-bottom: 1px dashed black; width: 100%;\"></div></div><div class=\"bill-items\" style=\"margin-bottom: 8px;\"><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">අල</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.200.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.210</div><div>අපේ මිල: Rs.200</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">1.00 × Rs.200.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">බී ළුෑණු</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.190.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.200</div><div>අපේ මිල: Rs.190</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">1.00 × Rs.190.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">බිත්තර</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.350.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.350</div><div>අපේ මිල: Rs.350</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">10.00 × Rs.35.00</div></div></div></div><div class=\"bill-summary\" style=\"text-align: right; font-size: 15px; margin-bottom: 4px;\"><div style=\"margin: 6px 0; font-weight: bold; font-size: 28px;\">මුළු මුදල: Rs. 740.00</div><div style=\"margin: 4px 0; font-weight: bold;\">ගෙවූ මුදල: Rs. 1000.00</div><div style=\"margin: 4px 0; font-size: 14px; font-weight: bold;\">ඉතිරි මුදල: Rs. 260.00</div><div style=\"border: 1px solid black; padding: 20px; margin-top: 8px; width: 100%; background-color: #ffffffff;\"><div style=\"text-align: center; font-size: 10px; font-weight: bold; line-height: 1.7;\">අපෙන් භාණ්ඩ ලබා ගැනීමෙන් ඔබ ලැබූ ලාභය<br><span style=\"font-size: 12px; color: #000000ff;\">Rs.20.00</span></div></div><div class=\"bill-footer\" style=\"text-align: center; font-size: 13px;\"><p style=\"margin: 4px 0; font-size: 15px;\">ස්තූතියි! නැවත එන්න</p><p style=\"margin: 6px 0; font-size: 12px;\">=== Gadget Technologies 071-1071666 ===</p></div>', '[{\"id\":104,\"item_name_sinhala\":\"අල\",\"item_name_english\":\"ala\",\"barcode\":\"004786426\",\"unit_of_measurement\":\"pcs\",\"regular_price\":210,\"our_price\":200,\"stock_quantity\":3996,\"quantity\":1},{\"id\":105,\"item_name_sinhala\":\"බී ළුෑණු\",\"item_name_english\":\"beeluunu\",\"barcode\":\"113943378\",\"unit_of_measurement\":\"kg\",\"regular_price\":200,\"our_price\":190,\"stock_quantity\":55,\"quantity\":1},{\"id\":110,\"item_name_sinhala\":\"බිත්තර\",\"item_name_english\":\"biththara\",\"barcode\":\"015366342\",\"unit_of_measurement\":\"pcs\",\"regular_price\":35,\"our_price\":35,\"stock_quantity\":430,\"quantity\":10}]', '2025-11-17 06:44:05'),
(192, 50, '2025-11-18', NULL, NULL, NULL, 1420.00, 1420.00, 0.00, 0, 'cash', '<div class=\"bill-header\" style=\"padding-top: 0; margin-top: 0;\"><div style=\"text-align: center; margin-bottom: 8px; margin-top: 0; padding-top: 0;\"><img src=\"logo.png\" alt=\"Store Logo\" style=\"max-width: 100%; width: 95%; height: auto; max-height: 300px; margin-top: 0; margin-bottom: 6px; display: block; margin-left: auto; margin-right: auto; object-fit: contain; padding-top: 0;\"><h2 style=\"margin: 4px 0 0 0; font-size: 22px; font-weight: bold;\"></h2></div><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">පාසල අසල දොරපනේ</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Tel: 071-3552017</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center; font-weight: bold;\">බිල් අංකය: 50</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Date: 18/11/2025 Time: 15:30:23</p><div style=\"margin: 4px 0; border-bottom: 1px dashed black; width: 100%;\"></div></div><div class=\"bill-items\" style=\"margin-bottom: 8px;\"><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">කරවල</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.210.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.210</div><div>අපේ මිල: Rs.210</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">210.00 × Rs.1.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">රතු ළුණු</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.100.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.112.5</div><div>අපේ මිල: Rs.100</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">0.25 × Rs.400.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">සෙරෙප්පු</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.700.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.700</div><div>අපේ මිල: Rs.700</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">700.00 × Rs.1.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">පරිප්පු නො.1</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.190.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.200</div><div>අපේ මිල: Rs.190</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">0.50 × Rs.380.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">ගිනි පෙට්ටි</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.40.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.40</div><div>අපේ මිල: Rs.40</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">2.00 × Rs.20.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">වෙනත්</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.180.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.180</div><div>අපේ මිල: Rs.180</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">180.00 × Rs.1.00</div></div></div></div><div class=\"bill-summary\" style=\"text-align: right; font-size: 15px; margin-bottom: 4px;\"><div style=\"margin: 6px 0; font-weight: bold; font-size: 28px;\">මුළු මුදල: Rs. 1420.00</div><div style=\"margin: 4px 0; font-weight: bold;\">ගෙවූ මුදල: Rs. 1420.00</div><div style=\"margin: 4px 0; font-size: 14px; font-weight: bold;\">ඉතිරි මුදල: Rs. 0.00</div><div style=\"border: 1px solid black; padding: 20px; margin-top: 8px; width: 100%; background-color: #ffffffff;\"><div style=\"text-align: center; font-size: 10px; font-weight: bold; line-height: 1.7;\">අපෙන් භාණ්ඩ ලබා ගැනීමෙන් ඔබ ලැබූ ලාභය<br><span style=\"font-size: 12px; color: #000000ff;\">Rs.22.50</span></div></div><div class=\"bill-footer\" style=\"text-align: center; font-size: 13px;\"><p style=\"margin: 4px 0; font-size: 15px;\">ස්තූතියි! නැවත එන්න</p><p style=\"margin: 6px 0; font-size: 12px;\">=== Gadget Technologies 071-1071666 ===</p></div>', '[{\"id\":112,\"item_name_sinhala\":\"කරවල\",\"item_name_english\":\"karawala\",\"barcode\":\"076194472\",\"unit_of_measurement\":\"pcs\",\"regular_price\":1,\"our_price\":1,\"stock_quantity\":2765,\"quantity\":210},{\"id\":106,\"item_name_sinhala\":\"රතු ළුණු\",\"item_name_english\":\"rathu\",\"barcode\":\"838150515\",\"unit_of_measurement\":\"kg\",\"regular_price\":450,\"our_price\":400,\"stock_quantity\":10,\"quantity\":0.25},{\"id\":118,\"item_name_sinhala\":\"සෙරෙප්පු\",\"item_name_english\":\"sereppu\",\"barcode\":\"434451719\",\"unit_of_measurement\":\"pcs\",\"regular_price\":1,\"our_price\":1,\"stock_quantity\":5000,\"quantity\":700},{\"id\":108,\"item_name_sinhala\":\"පරිප්පු නො.1\",\"item_name_english\":\"parippu\",\"barcode\":\"965372777\",\"unit_of_measurement\":\"pcs\",\"regular_price\":400,\"our_price\":380,\"stock_quantity\":47,\"quantity\":0.5},{\"id\":276,\"item_name_sinhala\":\"ගිනි පෙට්ටි\",\"item_name_english\":\"gini\",\"barcode\":\"933819278\",\"unit_of_measurement\":\"pcs\",\"regular_price\":20,\"our_price\":20,\"stock_quantity\":4994,\"quantity\":2},{\"id\":88,\"item_name_sinhala\":\"වෙනත්\",\"item_name_english\":\"we\",\"barcode\":\"045504190\",\"unit_of_measurement\":\"pcs\",\"regular_price\":1,\"our_price\":1,\"stock_quantity\":9.223372036854776e+18,\"quantity\":180}]', '2025-11-18 10:00:23');
INSERT INTO `bill_records` (`id`, `bill_number`, `bill_date`, `bill_time`, `customer_phone`, `customer_id`, `total_amount`, `paid_amount`, `change_amount`, `is_credit`, `paymenttype`, `bill_content`, `items_json`, `created_at`) VALUES
(193, 51, '2025-11-18', NULL, NULL, NULL, 1750.00, 1750.00, 0.00, 0, 'cash', '<div class=\"bill-header\" style=\"padding-top: 0; margin-top: 0;\"><div style=\"text-align: center; margin-bottom: 8px; margin-top: 0; padding-top: 0;\"><img src=\"logo.png\" alt=\"Store Logo\" style=\"max-width: 100%; width: 95%; height: auto; max-height: 300px; margin-top: 0; margin-bottom: 6px; display: block; margin-left: auto; margin-right: auto; object-fit: contain; padding-top: 0;\"><h2 style=\"margin: 4px 0 0 0; font-size: 22px; font-weight: bold;\"></h2></div><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">පාසල අසල දොරපනේ</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Tel: 071-3552017</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center; font-weight: bold;\">බිල් අංකය: 51</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Date: 18/11/2025 Time: 15:35:53</p><div style=\"margin: 4px 0; border-bottom: 1px dashed black; width: 100%;\"></div></div><div class=\"bill-items\" style=\"margin-bottom: 8px;\"><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">වෙනත්</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.800.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.800</div><div>අපේ මිල: Rs.800</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">800.00 × Rs.1.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">මැලිබන් චොකලට් ක්‍රීම් බිස්කට් 400g</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.450.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.450</div><div>අපේ මිල: Rs.450</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">1.00 × Rs.450.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">පොල් තෙල්</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.325.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.350</div><div>අපේ මිල: Rs.325</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">0.50 × Rs.650.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">බිත්තර</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.175.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.175</div><div>අපේ මිල: Rs.175</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">5.00 × Rs.35.00</div></div></div></div><div class=\"bill-summary\" style=\"text-align: right; font-size: 15px; margin-bottom: 4px;\"><div style=\"margin: 6px 0; font-weight: bold; font-size: 28px;\">මුළු මුදල: Rs. 1750.00</div><div style=\"margin: 4px 0; font-weight: bold;\">ගෙවූ මුදල: Rs. 1750.00</div><div style=\"margin: 4px 0; font-size: 14px; font-weight: bold;\">ඉතිරි මුදල: Rs. 0.00</div><div style=\"border: 1px solid black; padding: 20px; margin-top: 8px; width: 100%; background-color: #ffffffff;\"><div style=\"text-align: center; font-size: 10px; font-weight: bold; line-height: 1.7;\">අපෙන් භාණ්ඩ ලබා ගැනීමෙන් ඔබ ලැබූ ලාභය<br><span style=\"font-size: 12px; color: #000000ff;\">Rs.25.00</span></div></div><div class=\"bill-footer\" style=\"text-align: center; font-size: 13px;\"><p style=\"margin: 4px 0; font-size: 15px;\">ස්තූතියි! නැවත එන්න</p><p style=\"margin: 6px 0; font-size: 12px;\">=== Gadget Technologies 071-1071666 ===</p></div>', '[{\"id\":88,\"item_name_sinhala\":\"වෙනත්\",\"item_name_english\":\"we\",\"barcode\":\"045504190\",\"unit_of_measurement\":\"pcs\",\"regular_price\":1,\"our_price\":1,\"stock_quantity\":9.223372036854776e+18,\"quantity\":800},{\"id\":28,\"item_name_sinhala\":\"මැලිබන් චොකලට් ක්‍රීම් බිස්කට් 400g\",\"item_name_english\":\"macho\",\"barcode\":\"4791034070546\",\"unit_of_measurement\":\"pcs\",\"regular_price\":450,\"our_price\":450,\"stock_quantity\":50,\"quantity\":1},{\"id\":117,\"item_name_sinhala\":\"පොල් තෙල්\",\"item_name_english\":\"polthel\",\"barcode\":\"385217979\",\"unit_of_measurement\":\"ml\",\"regular_price\":700,\"our_price\":650,\"stock_quantity\":45,\"quantity\":0.5},{\"id\":110,\"item_name_sinhala\":\"බිත්තර\",\"item_name_english\":\"biththara\",\"barcode\":\"015366342\",\"unit_of_measurement\":\"pcs\",\"regular_price\":35,\"our_price\":35,\"stock_quantity\":420,\"quantity\":5}]', '2025-11-18 10:05:53'),
(194, 52, '2025-11-18', NULL, NULL, NULL, 1065.00, 1100.00, 35.00, 0, 'cash', '<div class=\"bill-header\" style=\"padding-top: 0; margin-top: 0;\"><div style=\"text-align: center; margin-bottom: 8px; margin-top: 0; padding-top: 0;\"><img src=\"logo.png\" alt=\"Store Logo\" style=\"max-width: 100%; width: 95%; height: auto; max-height: 300px; margin-top: 0; margin-bottom: 6px; display: block; margin-left: auto; margin-right: auto; object-fit: contain; padding-top: 0;\"><h2 style=\"margin: 4px 0 0 0; font-size: 22px; font-weight: bold;\"></h2></div><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">පාසල අසල දොරපනේ</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Tel: 071-3552017</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center; font-weight: bold;\">බිල් අංකය: 52</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Date: 18/11/2025 Time: 15:48:30</p><div style=\"margin: 4px 0; border-bottom: 1px dashed black; width: 100%;\"></div></div><div class=\"bill-items\" style=\"margin-bottom: 8px;\"><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">පරිප්පු නො.2</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.130.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.140</div><div>අපේ මිල: Rs.130</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">0.50 × Rs.260.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">බී ළුෑණු</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.190.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.200</div><div>අපේ මිල: Rs.190</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">1.00 × Rs.190.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">හාල්මැස්සන්</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.120.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.130</div><div>අපේ මිල: Rs.120</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">0.10 × Rs.1200.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">කහ</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.180.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.180</div><div>අපේ මිල: Rs.180</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">1.00 × Rs.180.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">උළුහාල්</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.50.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.60</div><div>අපේ මිල: Rs.50</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">1.00 × Rs.50.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">පපඩම්</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.10.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.10</div><div>අපේ මිල: Rs.10</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">0.10 × Rs.100.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">සිග්නල් ටූත් පේස්ට් 40g</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.125.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.125</div><div>අපේ මිල: Rs.125</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">1.00 × Rs.125.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">වෙනත්</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.260.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.260</div><div>අපේ මිල: Rs.260</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">260.00 × Rs.1.00</div></div></div></div><div class=\"bill-summary\" style=\"text-align: right; font-size: 15px; margin-bottom: 4px;\"><div style=\"margin: 6px 0; font-weight: bold; font-size: 28px;\">මුළු මුදල: Rs. 1065.00</div><div style=\"margin: 4px 0; font-weight: bold;\">ගෙවූ මුදල: Rs. 1100.00</div><div style=\"margin: 4px 0; font-size: 14px; font-weight: bold;\">ඉතිරි මුදල: Rs. 35.00</div><div style=\"border: 1px solid black; padding: 20px; margin-top: 8px; width: 100%; background-color: #ffffffff;\"><div style=\"text-align: center; font-size: 10px; font-weight: bold; line-height: 1.7;\">අපෙන් භාණ්ඩ ලබා ගැනීමෙන් ඔබ ලැබූ ලාභය<br><span style=\"font-size: 12px; color: #000000ff;\">Rs.40.00</span></div></div><div class=\"bill-footer\" style=\"text-align: center; font-size: 13px;\"><p style=\"margin: 4px 0; font-size: 15px;\">ස්තූතියි! නැවත එන්න</p><p style=\"margin: 6px 0; font-size: 12px;\">=== Gadget Technologies 071-1071666 ===</p></div>', '[{\"id\":109,\"item_name_sinhala\":\"පරිප්පු නො.2\",\"item_name_english\":\"parippu\",\"barcode\":\"991179274\",\"unit_of_measurement\":\"kg\",\"regular_price\":280,\"our_price\":260,\"stock_quantity\":153,\"quantity\":0.5},{\"id\":105,\"item_name_sinhala\":\"බී ළුෑණු\",\"item_name_english\":\"beeluunu\",\"barcode\":\"113943378\",\"unit_of_measurement\":\"kg\",\"regular_price\":200,\"our_price\":190,\"stock_quantity\":54,\"quantity\":1},{\"id\":111,\"item_name_sinhala\":\"හාල්මැස්සන්\",\"item_name_english\":\"halmasso\",\"barcode\":\"040630134-\",\"unit_of_measurement\":\"pcs\",\"regular_price\":1300,\"our_price\":1200,\"stock_quantity\":20,\"quantity\":0.1},{\"id\":228,\"item_name_sinhala\":\"කහ\",\"item_name_english\":\"kaha\",\"barcode\":\"323719216\",\"unit_of_measurement\":\"pcs\",\"regular_price\":180,\"our_price\":180,\"stock_quantity\":490,\"quantity\":1},{\"id\":353,\"item_name_sinhala\":\"උළුහාල්\",\"item_name_english\":\"uluhal\",\"barcode\":\"952642348\",\"unit_of_measurement\":\"pcs\",\"regular_price\":60,\"our_price\":50,\"stock_quantity\":29,\"quantity\":1},{\"id\":252,\"item_name_sinhala\":\"පපඩම්\",\"item_name_english\":\"papadam\",\"barcode\":\"135165947\",\"unit_of_measurement\":\"pcs\",\"regular_price\":100,\"our_price\":100,\"stock_quantity\":46,\"quantity\":0.1},{\"id\":80,\"item_name_sinhala\":\"සිග්නල් ටූත් පේස්ට් 40g\",\"item_name_english\":\"signal\",\"barcode\":\"4792081029433\",\"unit_of_measurement\":\"pcs\",\"regular_price\":125,\"our_price\":125,\"stock_quantity\":50,\"quantity\":1},{\"id\":186,\"item_name_sinhala\":\"වෙනත්\",\"item_name_english\":\"we2\",\"barcode\":\"400735117\",\"unit_of_measurement\":\"pcs\",\"regular_price\":1,\"our_price\":1,\"stock_quantity\":499999994050,\"quantity\":260}]', '2025-11-18 10:18:30'),
(195, 53, '2025-11-18', NULL, NULL, NULL, 575.00, 1000.00, 425.00, 0, 'cash', '<div class=\"bill-header\" style=\"padding-top: 0; margin-top: 0;\"><div style=\"text-align: center; margin-bottom: 8px; margin-top: 0; padding-top: 0;\"><img src=\"logo.png\" alt=\"Store Logo\" style=\"max-width: 100%; width: 95%; height: auto; max-height: 300px; margin-top: 0; margin-bottom: 6px; display: block; margin-left: auto; margin-right: auto; object-fit: contain; padding-top: 0;\"><h2 style=\"margin: 4px 0 0 0; font-size: 22px; font-weight: bold;\"></h2></div><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">පාසල අසල දොරපනේ</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Tel: 071-3552017</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center; font-weight: bold;\">බිල් අංකය: 53</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Date: 18/11/2025 Time: 16:21:48</p><div style=\"margin: 4px 0; border-bottom: 1px dashed black; width: 100%;\"></div></div><div class=\"bill-items\" style=\"margin-bottom: 8px;\"><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">රතු හාල්</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.390.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.400</div><div>අපේ මිල: Rs.390</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">2.00 × Rs.195.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">පැනඩෝල්</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.60.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.60</div><div>අපේ මිල: Rs.60</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">1.00 × Rs.60.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">ෂොපින් බෑග්</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.5.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.5</div><div>අපේ මිල: Rs.5</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">5.00 × Rs.1.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">වෙනත්</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.120.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.120</div><div>අපේ මිල: Rs.120</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">120.00 × Rs.1.00</div></div></div></div><div class=\"bill-summary\" style=\"text-align: right; font-size: 15px; margin-bottom: 4px;\"><div style=\"margin: 6px 0; font-weight: bold; font-size: 28px;\">මුළු මුදල: Rs. 575.00</div><div style=\"margin: 4px 0; font-weight: bold;\">ගෙවූ මුදල: Rs. 1000.00</div><div style=\"margin: 4px 0; font-size: 14px; font-weight: bold;\">ඉතිරි මුදල: Rs. 425.00</div><div style=\"border: 1px solid black; padding: 20px; margin-top: 8px; width: 100%; background-color: #ffffffff;\"><div style=\"text-align: center; font-size: 10px; font-weight: bold; line-height: 1.7;\">අපෙන් භාණ්ඩ ලබා ගැනීමෙන් ඔබ ලැබූ ලාභය<br><span style=\"font-size: 12px; color: #000000ff;\">Rs.10.00</span></div></div><div class=\"bill-footer\" style=\"text-align: center; font-size: 13px;\"><p style=\"margin: 4px 0; font-size: 15px;\">ස්තූතියි! නැවත එන්න</p><p style=\"margin: 6px 0; font-size: 12px;\">=== Gadget Technologies 071-1071666 ===</p></div>', '[{\"id\":121,\"item_name_sinhala\":\"රතු හාල්\",\"item_name_english\":\"rathu\",\"barcode\":\"7638698\",\"unit_of_measurement\":\"kg\",\"regular_price\":200,\"our_price\":195,\"stock_quantity\":49830,\"quantity\":2},{\"id\":177,\"item_name_sinhala\":\"පැනඩෝල්\",\"item_name_english\":\"panadol\",\"barcode\":\"4792099010010\",\"unit_of_measurement\":\"pcs\",\"regular_price\":60,\"our_price\":60,\"stock_quantity\":1000,\"quantity\":1},{\"id\":319,\"item_name_sinhala\":\"ෂොපින් බෑග්\",\"item_name_english\":\"shopin\",\"barcode\":\"347384926\",\"unit_of_measurement\":\"pcs\",\"regular_price\":1,\"our_price\":1,\"stock_quantity\":4905,\"quantity\":5},{\"id\":88,\"item_name_sinhala\":\"වෙනත්\",\"item_name_english\":\"we\",\"barcode\":\"045504190\",\"unit_of_measurement\":\"pcs\",\"regular_price\":1,\"our_price\":1,\"stock_quantity\":9.223372036854776e+18,\"quantity\":120}]', '2025-11-18 10:51:48'),
(196, 54, '2025-11-18', NULL, NULL, NULL, 100.00, 0.00, 0.00, 0, 'cash', '<div class=\"bill-header\" style=\"padding-top: 0; margin-top: 0;\"><div style=\"text-align: center; margin-bottom: 8px; margin-top: 0; padding-top: 0;\"><img src=\"logo.png\" alt=\"Store Logo\" style=\"max-width: 100%; width: 95%; height: auto; max-height: 300px; margin-top: 0; margin-bottom: 6px; display: block; margin-left: auto; margin-right: auto; object-fit: contain; padding-top: 0;\"><h2 style=\"margin: 4px 0 0 0; font-size: 22px; font-weight: bold;\"></h2></div><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">පාසල අසල දොරපනේ</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Tel: 071-3552017</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center; font-weight: bold;\">බිල් අංකය: 54</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Date: 18/11/2025 Time: 16:53:41</p><div style=\"margin: 4px 0; border-bottom: 1px dashed black; width: 100%;\"></div></div><div class=\"bill-items\" style=\"margin-bottom: 8px;\"><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">ගම් බෝතල්</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.100.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.100</div><div>අපේ මිල: Rs.100</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">1.00 × Rs.100.00</div></div></div></div><div class=\"bill-summary\" style=\"text-align: right; font-size: 15px; margin-bottom: 4px;\"><div style=\"margin: 6px 0; font-weight: bold; font-size: 28px;\">මුළු මුදල: Rs. 100.00</div><div style=\"margin: 4px 0; font-weight: bold;\">ගෙවූ මුදල: Rs. 0.00</div><div style=\"margin: 4px 0; font-size: 14px; font-weight: bold;\">ඉතිරි මුදල: Rs. 0.00</div><div style=\"border: 1px solid black; padding: 20px; margin-top: 8px; width: 100%; background-color: #ffffffff;\"><div style=\"text-align: center; font-size: 10px; font-weight: bold; line-height: 1.7;\">අපෙන් භාණ්ඩ ලබා ගැනීමෙන් ඔබ ලැබූ ලාභය<br><span style=\"font-size: 12px; color: #000000ff;\">Rs.0.00</span></div></div><div class=\"bill-footer\" style=\"text-align: center; font-size: 13px;\"><p style=\"margin: 4px 0; font-size: 15px;\">ස්තූතියි! නැවත එන්න</p><p style=\"margin: 6px 0; font-size: 12px;\">=== Gadget Technologies 071-1071666 ===</p></div>', '[{\"id\":304,\"item_name_sinhala\":\"ගම් බෝතල්\",\"item_name_english\":\"gam\",\"barcode\":\"857333177\",\"unit_of_measurement\":\"pcs\",\"regular_price\":100,\"our_price\":100,\"stock_quantity\":100,\"quantity\":1}]', '2025-11-18 11:23:41'),
(197, 50, '2025-11-19', NULL, NULL, NULL, 3130.00, 5000.00, 1870.00, 0, 'cash', '<div class=\"bill-header\" style=\"padding-top: 0; margin-top: 0;\"><div style=\"text-align: center; margin-bottom: 8px; margin-top: 0; padding-top: 0;\"><img src=\"logo.png\" alt=\"Store Logo\" style=\"max-width: 100%; width: 95%; height: auto; max-height: 300px; margin-top: 0; margin-bottom: 6px; display: block; margin-left: auto; margin-right: auto; object-fit: contain; padding-top: 0;\"><h2 style=\"margin: 4px 0 0 0; font-size: 22px; font-weight: bold;\"></h2></div><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">පාසල අසල දොරපනේ</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Tel: 071-3552017</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center; font-weight: bold;\">බිල් අංකය: 50</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Date: 19/11/2025 Time: 15:21:47</p><div style=\"margin: 4px 0; border-bottom: 1px dashed black; width: 100%;\"></div></div><div class=\"bill-items\" style=\"margin-bottom: 8px;\"><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">රතු හාල්</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.1950.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.2000</div><div>අපේ මිල: Rs.1950</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">10.00 × Rs.195.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">බී ළුෑණු</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.190.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.200</div><div>අපේ මිල: Rs.190</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">1.00 × Rs.190.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">වෙනත්</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.360.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.360</div><div>අපේ මිල: Rs.360</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">360.00 × Rs.1.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">පිටි</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.180.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.190</div><div>අපේ මිල: Rs.180</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">1.00 × Rs.180.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">වටානා පරිප්පු</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.100.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.125</div><div>අපේ මිල: Rs.100</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">0.50 × Rs.200.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">සිග්නල් ටූත් පේස්ට් 120g</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.240.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.240</div><div>අපේ මිල: Rs.240</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">1.00 × Rs.240.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">ඊස්ට්</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.110.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.110</div><div>අපේ මිල: Rs.110</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">1.00 × Rs.110.00</div></div></div></div><div class=\"bill-summary\" style=\"text-align: right; font-size: 15px; margin-bottom: 4px;\"><div style=\"margin: 6px 0; font-weight: bold; font-size: 28px;\">මුළු මුදල: Rs. 3130.00</div><div style=\"margin: 4px 0; font-weight: bold;\">ගෙවූ මුදල: Rs. 5000.00</div><div style=\"margin: 4px 0; font-size: 14px; font-weight: bold;\">ඉතිරි මුදල: Rs. 1870.00</div><div style=\"border: 1px solid black; padding: 20px; margin-top: 8px; width: 100%; background-color: #ffffffff;\"><div style=\"text-align: center; font-size: 10px; font-weight: bold; line-height: 1.7;\">අපෙන් භාණ්ඩ ලබා ගැනීමෙන් ඔබ ලැබූ ලාභය<br><span style=\"font-size: 12px; color: #000000ff;\">Rs.95.00</span></div></div><div class=\"bill-footer\" style=\"text-align: center; font-size: 13px;\"><p style=\"margin: 4px 0; font-size: 15px;\">ස්තූතියි! නැවත එන්න</p><p style=\"margin: 6px 0; font-size: 12px;\">=== Gadget Technologies 071-1071666 ===</p></div>', '[{\"id\":121,\"item_name_sinhala\":\"රතු හාල්\",\"item_name_english\":\"rathu\",\"barcode\":\"7638698\",\"unit_of_measurement\":\"kg\",\"regular_price\":200,\"our_price\":195,\"stock_quantity\":49828,\"quantity\":10},{\"id\":105,\"item_name_sinhala\":\"බී ළුෑණු\",\"item_name_english\":\"beeluunu\",\"barcode\":\"113943378\",\"unit_of_measurement\":\"kg\",\"regular_price\":200,\"our_price\":190,\"stock_quantity\":53,\"quantity\":1},{\"id\":88,\"item_name_sinhala\":\"වෙනත්\",\"item_name_english\":\"we\",\"barcode\":\"045504190\",\"unit_of_measurement\":\"pcs\",\"regular_price\":1,\"our_price\":1,\"stock_quantity\":9.223372036854776e+18,\"quantity\":360},{\"id\":115,\"item_name_sinhala\":\"පිටි\",\"item_name_english\":\"piti\",\"barcode\":\"261148332\",\"unit_of_measurement\":\"pcs\",\"regular_price\":190,\"our_price\":180,\"stock_quantity\":94,\"quantity\":1},{\"id\":387,\"item_name_sinhala\":\"වටානා පරිප්පු\",\"item_name_english\":\"watana\",\"barcode\":\"290345372\",\"unit_of_measurement\":\"pcs\",\"regular_price\":250,\"our_price\":200,\"stock_quantity\":1200,\"quantity\":0.5},{\"id\":81,\"item_name_sinhala\":\"සිග්නල් ටූත් පේස්ට් 120g\",\"item_name_english\":\"signal\",\"barcode\":\"4792081029457\",\"unit_of_measurement\":\"pcs\",\"regular_price\":240,\"our_price\":240,\"stock_quantity\":49,\"quantity\":1},{\"id\":341,\"item_name_sinhala\":\"ඊස්ට්\",\"item_name_english\":\"est\",\"barcode\":\"244713270\",\"unit_of_measurement\":\"pcs\",\"regular_price\":110,\"our_price\":110,\"stock_quantity\":100,\"quantity\":1}]', '2025-11-19 09:51:47'),
(198, 51, '2025-11-19', NULL, NULL, NULL, 610.00, 5120.00, 4510.00, 0, 'cash', '<div class=\"bill-header\" style=\"padding-top: 0; margin-top: 0;\"><div style=\"text-align: center; margin-bottom: 8px; margin-top: 0; padding-top: 0;\"><img src=\"logo.png\" alt=\"Store Logo\" style=\"max-width: 100%; width: 95%; height: auto; max-height: 300px; margin-top: 0; margin-bottom: 6px; display: block; margin-left: auto; margin-right: auto; object-fit: contain; padding-top: 0;\"><h2 style=\"margin: 4px 0 0 0; font-size: 22px; font-weight: bold;\"></h2></div><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">පාසල අසල දොරපනේ</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Tel: 071-3552017</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center; font-weight: bold;\">බිල් අංකය: 51</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Date: 19/11/2025 Time: 17:33:42</p><div style=\"margin: 4px 0; border-bottom: 1px dashed black; width: 100%;\"></div></div><div class=\"bill-items\" style=\"margin-bottom: 8px;\"><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">අල</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.200.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.210</div><div>අපේ මිල: Rs.200</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">1.00 × Rs.200.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">වටානා පරිප්පු</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.100.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.125</div><div>අපේ මිල: Rs.100</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">0.50 × Rs.200.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">දුම්කොළ</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.130.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.130</div><div>අපේ මිල: Rs.130</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">130.00 × Rs.1.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 2px 0 2px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">කෑම</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.180.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.180</div><div>අපේ මිල: Rs.180</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">180.00 × Rs.1.00</div></div></div></div><div class=\"bill-summary\" style=\"text-align: right; font-size: 15px; margin-bottom: 4px;\"><div style=\"margin: 6px 0; font-weight: bold; font-size: 28px;\">මුළු මුදල: Rs. 610.00</div><div style=\"margin: 4px 0; font-weight: bold;\">ගෙවූ මුදල: Rs. 5120.00</div><div style=\"margin: 4px 0; font-size: 14px; font-weight: bold;\">ඉතිරි මුදල: Rs. 4510.00</div><div style=\"border: 1px solid black; padding: 20px; margin-top: 8px; width: 100%; background-color: #ffffffff;\"><div style=\"text-align: center; font-size: 10px; font-weight: bold; line-height: 1.7;\">අපෙන් භාණ්ඩ ලබා ගැනීමෙන් ඔබ ලැබූ ලාභය<br><span style=\"font-size: 12px; color: #000000ff;\">Rs.35.00</span></div></div><div class=\"bill-footer\" style=\"text-align: center; font-size: 13px;\"><p style=\"margin: 4px 0; font-size: 15px;\">ස්තූතියි! නැවත එන්න</p><p style=\"margin: 6px 0; font-size: 12px;\">=== Gadget Technologies 071-1071666 ===</p></div>', '[{\"id\":104,\"item_name_sinhala\":\"අල\",\"item_name_english\":\"ala\",\"barcode\":\"004786426\",\"unit_of_measurement\":\"pcs\",\"regular_price\":210,\"our_price\":200,\"stock_quantity\":3995,\"quantity\":1},{\"id\":387,\"item_name_sinhala\":\"වටානා පරිප්පු\",\"item_name_english\":\"watana\",\"barcode\":\"290345372\",\"unit_of_measurement\":\"pcs\",\"regular_price\":250,\"our_price\":200,\"stock_quantity\":1199,\"quantity\":0.5},{\"id\":306,\"item_name_sinhala\":\"දුම්කොළ\",\"item_name_english\":\"dumkola\",\"barcode\":\"965336065\",\"unit_of_measurement\":\"pcs\",\"regular_price\":1,\"our_price\":1,\"stock_quantity\":49350,\"quantity\":130},{\"id\":410,\"item_name_sinhala\":\"කෑම\",\"item_name_english\":\"kaama\",\"barcode\":\"120698790\",\"unit_of_measurement\":\"pcs\",\"regular_price\":1,\"our_price\":1,\"stock_quantity\":9.223372036854776e+18,\"quantity\":180}]', '2025-11-19 12:03:42'),
(199, 50, '2025-11-20', NULL, NULL, NULL, 1950.00, 2000.00, 50.00, 0, 'cash', '<div class=\"bill-header\" style=\"padding-top: 0; margin-top: 0;\"><div style=\"text-align: center; margin-bottom: 8px; margin-top: 0; padding-top: 0;\"><img src=\"logo.png\" alt=\"Store Logo\" style=\"max-width: 100%; width: 95%; height: auto; max-height: 300px; margin-top: 0; margin-bottom: 6px; display: block; margin-left: auto; margin-right: auto; object-fit: contain; padding-top: 0;\"><h2 style=\"margin: 4px 0 0 0; font-size: 22px; font-weight: bold;\"></h2></div><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">පාසල අසල දොරපනේ</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Tel: 071-3552017</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center; font-weight: bold;\">බිල් අංකය: 50</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Date: 20/11/2025 Time: 09:30:00</p><div style=\"margin: 4px 0; border-bottom: 1px dashed black; width: 100%;\"></div></div><div class=\"bill-items\" style=\"margin-bottom: 8px;\"><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">රතු හාල්</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.1950.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.2000</div><div>අපේ මිල: Rs.1950</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">10.00 × Rs.195.00</div></div></div></div><div class=\"bill-summary\" style=\"text-align: right; font-size: 15px; margin-bottom: 4px;\"><div style=\"margin: 6px 0; font-weight: bold; font-size: 28px;\">මුළු මුදල: Rs. 1950.00</div><div style=\"margin: 4px 0; font-weight: bold;\">ගෙවූ මුදල: Rs. 2000.00</div><div style=\"margin: 4px 0; font-size: 14px; font-weight: bold;\">ඉතිරි මුදල: Rs. 50.00</div><div style=\"border: 1px solid black; padding: 20px; margin-top: 8px; width: 100%; background-color: #ffffffff;\"><div style=\"text-align: center; font-size: 10px; font-weight: bold; line-height: 1.7;\">අපෙන් භාණ්ඩ ලබා ගැනීමෙන් ඔබ ලැබූ ලාභය<br><span style=\"font-size: 12px; color: #000000ff;\">Rs.50.00</span></div></div><div class=\"bill-footer\" style=\"text-align: center; font-size: 13px;\"><p style=\"margin: 4px 0; font-size: 15px;\">ස්තූතියි! නැවත එන්න</p><p style=\"margin: 6px 0; font-size: 12px;\">=== Gadget Technologies 071-1071666 ===</p></div>', '[{\"id\":121,\"item_name_sinhala\":\"රතු හාල්\",\"item_name_english\":\"rathu\",\"barcode\":\"7638698\",\"unit_of_measurement\":\"kg\",\"regular_price\":200,\"our_price\":195,\"stock_quantity\":49818,\"quantity\":10}]', '2025-11-20 04:00:00'),
(200, 51, '2025-11-20', NULL, NULL, NULL, 1960.00, 2000.00, 40.00, 0, 'cash', '<div class=\"bill-header\" style=\"padding-top: 0; margin-top: 0;\"><div style=\"text-align: center; margin-bottom: 8px; margin-top: 0; padding-top: 0;\"><img src=\"logo.png\" alt=\"Store Logo\" style=\"max-width: 100%; width: 95%; height: auto; max-height: 300px; margin-top: 0; margin-bottom: 6px; display: block; margin-left: auto; margin-right: auto; object-fit: contain; padding-top: 0;\"><h2 style=\"margin: 4px 0 0 0; font-size: 22px; font-weight: bold;\"></h2></div><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">පාසල අසල දොරපනේ</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Tel: 071-3552017</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center; font-weight: bold;\">බිල් අංකය: 51</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Date: 20/11/2025 Time: 11:04:18</p><div style=\"margin: 4px 0; border-bottom: 1px dashed black; width: 100%;\"></div></div><div class=\"bill-items\" style=\"margin-bottom: 8px;\"><div class=\"bill-item\" style=\"margin-bottom: 1px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.0;\">කුකුල් මස්</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.1960.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.2225</div><div>අපේ මිල: Rs.1958</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">1.78 × Rs.1100.00</div></div></div></div><div class=\"bill-summary\" style=\"text-align: right; font-size: 15px; margin-bottom: 4px;\"><div style=\"margin: 6px 0; font-weight: bold; font-size: 28px;\">මුළු මුදල: Rs. 1960.00</div><div style=\"margin: 4px 0; font-weight: bold;\">ගෙවූ මුදල: Rs. 2000.00</div><div style=\"margin: 4px 0; font-size: 14px; font-weight: bold;\">ඉතිරි මුදල: Rs. 40.00</div><div style=\"border: 1px solid black; padding: 20px; margin-top: 8px; width: 100%; background-color: #ffffffff;\"><div style=\"text-align: center; font-size: 10px; font-weight: bold; line-height: 1.7;\">අපෙන් භාණ්ඩ ලබා ගැනීමෙන් ඔබ ලැබූ ලාභය<br><span style=\"font-size: 12px; color: #000000ff;\">Rs.267.27</span></div></div><div class=\"bill-footer\" style=\"text-align: center; font-size: 13px;\"><p style=\"margin: 4px 0; font-size: 15px;\">ස්තූතියි! නැවත එන්න</p><p style=\"margin: 6px 0; font-size: 12px;\">=== Gadget Technologies 071-1071666 ===</p></div>', '[{\"id\":222,\"item_name_sinhala\":\"කුකුල් මස්\",\"item_name_english\":\"kukul\",\"barcode\":\"997661572\",\"unit_of_measurement\":\"pcs\",\"regular_price\":1250,\"our_price\":1100,\"stock_quantity\":9600,\"quantity\":1.7818181818181817}]', '2025-11-20 05:34:18');
