-- phpMyAdmin SQL Dump
-- version 5.2.2
-- https://www.phpmyadmin.net/
--
-- Host: localhost:3306
-- Generation Time: Dec 05, 2025 at 05:14 PM
-- Server version: 8.4.3
-- PHP Version: 8.3.16

SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
START TRANSACTION;
SET time_zone = "+00:00";


/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8mb4 */;

--
-- Database: `sales_pos`
--

-- --------------------------------------------------------

--
-- Table structure for table `bill_records`
--

CREATE TABLE `bill_records` (
  `id` int NOT NULL,
  `bill_number` int NOT NULL,
  `bill_date` date NOT NULL,
  `bill_time` time DEFAULT NULL,
  `customer_phone` varchar(20) DEFAULT NULL,
  `customer_id` int DEFAULT NULL,
  `total_amount` decimal(10,2) NOT NULL,
  `paid_amount` decimal(10,2) NOT NULL,
  `change_amount` decimal(10,2) NOT NULL,
  `is_credit` tinyint(1) NOT NULL DEFAULT '0',
  `paymenttype` varchar(20) DEFAULT 'cash',
  `bill_content` text NOT NULL,
  `items_json` text NOT NULL,
  `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

--
-- Dumping data for table `bill_records`
--

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
(1, 50, '2025-09-02', NULL, NULL, NULL, 525.00, 1000.00, 475.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: 03/09/2025 Time: 02:21:36</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: 6px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px;\"><span style=\"font-size: 20px; font-weight: bold; flex: 1; line-height: 1.2;\">ෂැම්පූ</span><span style=\"font-size: 20px; font-weight: bold; text-align: right;\">Rs.320.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; color: #555; margin-bottom: 5px; line-height: 1.3;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.340.00</div><div>අපේ මිල: Rs.320.00</div></div><div style=\"text-align: right; align-self: center; font-size: 14px;\">1 × Rs.320.00</div></div><div style=\"border-bottom: 1px dotted #aaa; margin: 5px 0 4px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 6px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px;\"><span style=\"font-size: 20px; font-weight: bold; flex: 1; line-height: 1.2;\">සබන්</span><span style=\"font-size: 20px; font-weight: bold; text-align: right;\">Rs.85.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; color: #555; margin-bottom: 5px; line-height: 1.3;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.95.00</div><div>අපේ මිල: Rs.85.00</div></div><div style=\"text-align: right; align-self: center; font-size: 14px;\">1 × Rs.85.00</div></div><div style=\"border-bottom: 1px dotted #aaa; margin: 5px 0 4px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 6px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px;\"><span style=\"font-size: 20px; font-weight: bold; flex: 1; line-height: 1.2;\">සීනි 1kg</span><span style=\"font-size: 20px; font-weight: bold; text-align: right;\">Rs.120.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; color: #555; margin-bottom: 5px; line-height: 1.3;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.130.00</div><div>අපේ මිල: Rs.120.00</div></div><div style=\"text-align: right; align-self: center; font-size: 14px;\">1 × Rs.120.00</div></div></div></div><div style=\"border-top: 2px solid black; padding-top: 6px; margin-top: 8px; width: 100%;\"></div><div class=\"bill-summary\" style=\"text-align: right; font-size: 15px; margin-bottom: 8px;\"><div style=\"margin: 4px 0; font-weight: bold; font-size: 20px;\">TOTAL: Rs. 525.00</div><div style=\"margin: 4px 0;\">Paid: Rs. 1000.00</div><div style=\"margin: 4px 0; font-size: 18px;\">Change: Rs. 475.00</div></div><div style=\"border: 2px solid black; padding: 8px; margin-top: 10px; width: 100%; background-color: #f9f9f9;\"><div style=\"text-align: center; font-size: 16px; font-weight: bold; line-height: 1.3;\">අපෙන් භාණ්ඩ ලබා ගැනීමෙන් ඔබ ලැබූ ලාභය<br><span style=\"font-size: 18px; color: #2E7D32;\">Rs.40.00</span></div></div><div style=\"border-top: 1px dashed black; padding-top: 6px; margin-top: 8px; width: 100%;\"></div><div class=\"bill-footer\" style=\"text-align: center; font-size: 13px;\"><p style=\"margin: 4px 0; font-size: 13px;\">ස්තූතියි!</p><p style=\"margin: 4px 0; font-size: 13px;\">නැවත එන්න</p><p style=\"margin: 6px 0; font-size: 12px;\">========================</p></div>', '[{\"id\":8,\"item_name_sinhala\":\"ෂැම්පූ\",\"item_name_english\":\"Shampoo\",\"barcode\":\"1008\",\"unit_of_measurement\":\"ml\",\"regular_price\":340,\"our_price\":320,\"stock_quantity\":18,\"quantity\":1},{\"id\":7,\"item_name_sinhala\":\"සබන්\",\"item_name_english\":\"Soap\",\"barcode\":\"1007\",\"unit_of_measurement\":\"pcs\",\"regular_price\":95,\"our_price\":85,\"stock_quantity\":33,\"quantity\":1},{\"id\":4,\"item_name_sinhala\":\"සීනි 1kg\",\"item_name_english\":\"Sugar 1kg\",\"barcode\":\"1004\",\"unit_of_measurement\":\"kg\",\"regular_price\":130,\"our_price\":120,\"stock_quantity\":37,\"quantity\":1}]', '2025-09-02 20:51:36'),
(2, 51, '2025-09-02', NULL, NULL, NULL, 680.00, 1000.00, 320.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: 03/09/2025 Time: 02:22: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: 6px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px;\"><span style=\"font-size: 20px; font-weight: bold; flex: 1; line-height: 1.2;\">සහල් 1kg</span><span style=\"font-size: 20px; font-weight: bold; text-align: right;\">Rs.150.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; color: #555; margin-bottom: 5px; line-height: 1.3;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.160.00</div><div>අපේ මිල: Rs.150.00</div></div><div style=\"text-align: right; align-self: center; font-size: 14px;\">1 × Rs.150.00</div></div><div style=\"border-bottom: 1px dotted #aaa; margin: 5px 0 4px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 6px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px;\"><span style=\"font-size: 20px; font-weight: bold; flex: 1; line-height: 1.2;\">පොල් තෙල් 500ml</span><span style=\"font-size: 20px; font-weight: bold; text-align: right;\">Rs.280.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; color: #555; margin-bottom: 5px; line-height: 1.3;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.300.00</div><div>අපේ මිල: Rs.280.00</div></div><div style=\"text-align: right; align-self: center; font-size: 14px;\">1 × Rs.280.00</div></div><div style=\"border-bottom: 1px dotted #aaa; margin: 5px 0 4px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 6px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px;\"><span style=\"font-size: 20px; font-weight: bold; flex: 1; line-height: 1.2;\">තේ පැකට්</span><span style=\"font-size: 20px; font-weight: bold; text-align: right;\">Rs.250.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; color: #555; margin-bottom: 5px; line-height: 1.3;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.270.00</div><div>අපේ මිල: Rs.250.00</div></div><div style=\"text-align: right; align-self: center; font-size: 14px;\">1 × Rs.250.00</div></div></div></div><div style=\"border-top: 2px solid black; padding-top: 6px; margin-top: 8px; width: 100%;\"></div><div class=\"bill-summary\" style=\"text-align: right; font-size: 15px; margin-bottom: 8px;\"><div style=\"margin: 4px 0; font-weight: bold; font-size: 20px;\">TOTAL: Rs. 680.00</div><div style=\"margin: 4px 0;\">Paid: Rs. 1000.00</div><div style=\"margin: 4px 0; font-size: 18px;\">Change: Rs. 320.00</div></div><div style=\"border: 2px solid black; padding: 8px; margin-top: 10px; width: 100%; background-color: #f9f9f9;\"><div style=\"text-align: center; font-size: 16px; font-weight: bold; line-height: 1.3;\">අපෙන් භාණ්ඩ ලබා ගැනීමෙන් ඔබ ලැබූ ලාභය<br><span style=\"font-size: 18px; color: #2E7D32;\">Rs.50.00</span></div></div><div style=\"border-top: 1px dashed black; padding-top: 6px; margin-top: 8px; width: 100%;\"></div><div class=\"bill-footer\" style=\"text-align: center; font-size: 13px;\"><p style=\"margin: 4px 0; font-size: 13px;\">ස්තූතියි!</p><p style=\"margin: 4px 0; font-size: 13px;\">නැවත එන්න</p><p style=\"margin: 6px 0; font-size: 12px;\">========================</p></div>', '[{\"id\":1,\"item_name_sinhala\":\"සහල් 1kg\",\"item_name_english\":\"Rice 1kg\",\"barcode\":\"1001\",\"unit_of_measurement\":\"kg\",\"regular_price\":160,\"our_price\":150,\"stock_quantity\":38,\"quantity\":1},{\"id\":10,\"item_name_sinhala\":\"පොල් තෙල් 500ml\",\"item_name_english\":\"Coconut Oil 500ml\",\"barcode\":\"1010\",\"unit_of_measurement\":\"ml\",\"regular_price\":300,\"our_price\":280,\"stock_quantity\":24,\"quantity\":1},{\"id\":5,\"item_name_sinhala\":\"තේ පැකට්\",\"item_name_english\":\"Tea Packets\",\"barcode\":\"1005\",\"unit_of_measurement\":\"pcs\",\"regular_price\":270,\"our_price\":250,\"stock_quantity\":36,\"quantity\":1}]', '2025-09-02 20:52:24'),
(3, 52, '2025-09-02', NULL, NULL, NULL, 525.00, 1000.00, 475.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: 03/09/2025 Time: 02:23: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: 6px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px;\"><span style=\"font-size: 20px; font-weight: bold; flex: 1; line-height: 1.2;\">ෂැම්පූ</span><span style=\"font-size: 20px; font-weight: bold; text-align: right;\">Rs.320.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; color: #555; margin-bottom: 5px; line-height: 1.3;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.340.00</div><div>අපේ මිල: Rs.320.00</div></div><div style=\"text-align: right; align-self: center; font-size: 14px;\">1 × Rs.320.00</div></div><div style=\"border-bottom: 1px dotted #aaa; margin: 5px 0 4px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 6px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px;\"><span style=\"font-size: 20px; font-weight: bold; flex: 1; line-height: 1.2;\">සබන්</span><span style=\"font-size: 20px; font-weight: bold; text-align: right;\">Rs.85.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; color: #555; margin-bottom: 5px; line-height: 1.3;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.95.00</div><div>අපේ මිල: Rs.85.00</div></div><div style=\"text-align: right; align-self: center; font-size: 14px;\">1 × Rs.85.00</div></div><div style=\"border-bottom: 1px dotted #aaa; margin: 5px 0 4px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 6px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px;\"><span style=\"font-size: 20px; font-weight: bold; flex: 1; line-height: 1.2;\">සීනි 1kg</span><span style=\"font-size: 20px; font-weight: bold; text-align: right;\">Rs.120.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; color: #555; margin-bottom: 5px; line-height: 1.3;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.130.00</div><div>අපේ මිල: Rs.120.00</div></div><div style=\"text-align: right; align-self: center; font-size: 14px;\">1 × Rs.120.00</div></div></div></div><div style=\"border-top: 2px solid black; padding-top: 6px; margin-top: 8px; width: 100%;\"></div><div class=\"bill-summary\" style=\"text-align: right; font-size: 15px; margin-bottom: 8px;\"><div style=\"margin: 4px 0; font-weight: bold; font-size: 20px;\">TOTAL: Rs. 525.00</div><div style=\"margin: 4px 0;\">Paid: Rs. 1000.00</div><div style=\"margin: 4px 0; font-size: 18px;\">Change: Rs. 475.00</div></div><div style=\"border: 2px solid black; padding: 8px; margin-top: 10px; width: 100%; background-color: #f9f9f9;\"><div style=\"text-align: center; font-size: 16px; font-weight: bold; line-height: 1.3;\">අපෙන් භාණ්ඩ ලබා ගැනීමෙන් ඔබ ලැබූ ලාභය<br><span style=\"font-size: 18px; color: #2E7D32;\">Rs.40.00</span></div></div><div style=\"border-top: 1px dashed black; padding-top: 6px; margin-top: 8px; width: 100%;\"></div><div class=\"bill-footer\" style=\"text-align: center; font-size: 13px;\"><p style=\"margin: 4px 0; font-size: 13px;\">ස්තූතියි!</p><p style=\"margin: 4px 0; font-size: 13px;\">නැවත එන්න</p><p style=\"margin: 6px 0; font-size: 12px;\">========================</p></div>', '[{\"id\":8,\"item_name_sinhala\":\"ෂැම්පූ\",\"item_name_english\":\"Shampoo\",\"barcode\":\"1008\",\"unit_of_measurement\":\"ml\",\"regular_price\":340,\"our_price\":320,\"stock_quantity\":18,\"quantity\":1},{\"id\":7,\"item_name_sinhala\":\"සබන්\",\"item_name_english\":\"Soap\",\"barcode\":\"1007\",\"unit_of_measurement\":\"pcs\",\"regular_price\":95,\"our_price\":85,\"stock_quantity\":33,\"quantity\":1},{\"id\":4,\"item_name_sinhala\":\"සීනි 1kg\",\"item_name_english\":\"Sugar 1kg\",\"barcode\":\"1004\",\"unit_of_measurement\":\"kg\",\"regular_price\":130,\"our_price\":120,\"stock_quantity\":37,\"quantity\":1}]', '2025-09-02 20:53:21'),
(4, 53, '2025-09-02', NULL, NULL, NULL, 675.00, 1000.00, 325.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: 03/09/2025 Time: 02:23:44</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: 6px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px;\"><span style=\"font-size: 20px; font-weight: bold; flex: 1; line-height: 1.2;\">ෂැම්පූ</span><span style=\"font-size: 20px; font-weight: bold; text-align: right;\">Rs.320.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; color: #555; margin-bottom: 5px; line-height: 1.3;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.340.00</div><div>අපේ මිල: Rs.320.00</div></div><div style=\"text-align: right; align-self: center; font-size: 14px;\">1 × Rs.320.00</div></div><div style=\"border-bottom: 1px dotted #aaa; margin: 5px 0 4px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 6px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px;\"><span style=\"font-size: 20px; font-weight: bold; flex: 1; line-height: 1.2;\">සබන්</span><span style=\"font-size: 20px; font-weight: bold; text-align: right;\">Rs.85.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; color: #555; margin-bottom: 5px; line-height: 1.3;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.95.00</div><div>අපේ මිල: Rs.85.00</div></div><div style=\"text-align: right; align-self: center; font-size: 14px;\">1 × Rs.85.00</div></div><div style=\"border-bottom: 1px dotted #aaa; margin: 5px 0 4px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 6px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px;\"><span style=\"font-size: 20px; font-weight: bold; flex: 1; line-height: 1.2;\">සීනි 1kg</span><span style=\"font-size: 20px; font-weight: bold; text-align: right;\">Rs.120.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; color: #555; margin-bottom: 5px; line-height: 1.3;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.130.00</div><div>අපේ මිල: Rs.120.00</div></div><div style=\"text-align: right; align-self: center; font-size: 14px;\">1 × Rs.120.00</div></div><div style=\"border-bottom: 1px dotted #aaa; margin: 5px 0 4px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 6px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px;\"><span style=\"font-size: 20px; font-weight: bold; flex: 1; line-height: 1.2;\">සහල් 1kg</span><span style=\"font-size: 20px; font-weight: bold; text-align: right;\">Rs.150.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; color: #555; margin-bottom: 5px; line-height: 1.3;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.160.00</div><div>අපේ මිල: Rs.150.00</div></div><div style=\"text-align: right; align-self: center; font-size: 14px;\">1 × Rs.150.00</div></div></div></div><div style=\"border-top: 2px solid black; padding-top: 6px; margin-top: 8px; width: 100%;\"></div><div class=\"bill-summary\" style=\"text-align: right; font-size: 15px; margin-bottom: 8px;\"><div style=\"margin: 4px 0; font-weight: bold; font-size: 20px;\">TOTAL: Rs. 675.00</div><div style=\"margin: 4px 0;\">Paid: Rs. 1000.00</div><div style=\"margin: 4px 0; font-size: 18px;\">Change: Rs. 325.00</div></div><div style=\"border: 2px solid black; padding: 8px; margin-top: 10px; width: 100%; background-color: #f9f9f9;\"><div style=\"text-align: center; font-size: 16px; font-weight: bold; line-height: 1.3;\">අපෙන් භාණ්ඩ ලබා ගැනීමෙන් ඔබ ලැබූ ලාභය<br><span style=\"font-size: 18px; color: #2E7D32;\">Rs.50.00</span></div></div><div style=\"border-top: 1px dashed black; padding-top: 6px; margin-top: 8px; width: 100%;\"></div><div class=\"bill-footer\" style=\"text-align: center; font-size: 13px;\"><p style=\"margin: 4px 0; font-size: 13px;\">ස්තූතියි!</p><p style=\"margin: 4px 0; font-size: 13px;\">නැවත එන්න</p><p style=\"margin: 6px 0; font-size: 12px;\">========================</p></div>', '[{\"id\":8,\"item_name_sinhala\":\"ෂැම්පූ\",\"item_name_english\":\"Shampoo\",\"barcode\":\"1008\",\"unit_of_measurement\":\"ml\",\"regular_price\":340,\"our_price\":320,\"stock_quantity\":18,\"quantity\":1},{\"id\":7,\"item_name_sinhala\":\"සබන්\",\"item_name_english\":\"Soap\",\"barcode\":\"1007\",\"unit_of_measurement\":\"pcs\",\"regular_price\":95,\"our_price\":85,\"stock_quantity\":33,\"quantity\":1},{\"id\":4,\"item_name_sinhala\":\"සීනි 1kg\",\"item_name_english\":\"Sugar 1kg\",\"barcode\":\"1004\",\"unit_of_measurement\":\"kg\",\"regular_price\":130,\"our_price\":120,\"stock_quantity\":37,\"quantity\":1},{\"id\":1,\"item_name_sinhala\":\"සහල් 1kg\",\"item_name_english\":\"Rice 1kg\",\"barcode\":\"1001\",\"unit_of_measurement\":\"kg\",\"regular_price\":160,\"our_price\":150,\"stock_quantity\":38,\"quantity\":1}]', '2025-09-02 20:53:44'),
(5, 54, '2025-09-02', NULL, NULL, NULL, 675.00, 1000.00, 325.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: 03/09/2025 Time: 02:26:38</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: 6px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px;\"><span style=\"font-size: 20px; font-weight: bold; flex: 1; line-height: 1.2;\">ෂැම්පූ</span><span style=\"font-size: 20px; font-weight: bold; text-align: right;\">Rs.320.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; color: #555; margin-bottom: 5px; line-height: 1.3;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.340.00</div><div>අපේ මිල: Rs.320.00</div></div><div style=\"text-align: right; align-self: center; font-size: 14px;\">1 × Rs.320.00</div></div><div style=\"border-bottom: 1px dotted #aaa; margin: 5px 0 4px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 6px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px;\"><span style=\"font-size: 20px; font-weight: bold; flex: 1; line-height: 1.2;\">සබන්</span><span style=\"font-size: 20px; font-weight: bold; text-align: right;\">Rs.85.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; color: #555; margin-bottom: 5px; line-height: 1.3;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.95.00</div><div>අපේ මිල: Rs.85.00</div></div><div style=\"text-align: right; align-self: center; font-size: 14px;\">1 × Rs.85.00</div></div><div style=\"border-bottom: 1px dotted #aaa; margin: 5px 0 4px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 6px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px;\"><span style=\"font-size: 20px; font-weight: bold; flex: 1; line-height: 1.2;\">සීනි 1kg</span><span style=\"font-size: 20px; font-weight: bold; text-align: right;\">Rs.120.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; color: #555; margin-bottom: 5px; line-height: 1.3;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.130.00</div><div>අපේ මිල: Rs.120.00</div></div><div style=\"text-align: right; align-self: center; font-size: 14px;\">1 × Rs.120.00</div></div><div style=\"border-bottom: 1px dotted #aaa; margin: 5px 0 4px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 6px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px;\"><span style=\"font-size: 20px; font-weight: bold; flex: 1; line-height: 1.2;\">සහල් 1kg</span><span style=\"font-size: 20px; font-weight: bold; text-align: right;\">Rs.150.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; color: #555; margin-bottom: 5px; line-height: 1.3;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.160.00</div><div>අපේ මිල: Rs.150.00</div></div><div style=\"text-align: right; align-self: center; font-size: 14px;\">1 × Rs.150.00</div></div></div></div><div style=\"border-top: 2px solid black; padding-top: 6px; margin-top: 8px; width: 100%;\"></div><div class=\"bill-summary\" style=\"text-align: right; font-size: 15px; margin-bottom: 8px;\"><div style=\"margin: 4px 0; font-weight: bold; font-size: 20px;\">TOTAL: Rs. 675.00</div><div style=\"margin: 4px 0;\">Paid: Rs. 1000.00</div><div style=\"margin: 4px 0; font-size: 18px;\">Change: Rs. 325.00</div></div><div style=\"border: 2px solid black; padding: 8px; margin-top: 10px; width: 100%; background-color: #f9f9f9;\"><div style=\"text-align: center; font-size: 16px; font-weight: bold; line-height: 1.3;\">අපෙන් භාණ්ඩ ලබා ගැනීමෙන් ඔබ ලැබූ ලාභය<br><span style=\"font-size: 18px; color: #2E7D32;\">Rs.50.00</span></div></div><div style=\"border-top: 1px dashed black; padding-top: 6px; margin-top: 8px; width: 100%;\"></div><div class=\"bill-footer\" style=\"text-align: center; font-size: 13px;\"><p style=\"margin: 4px 0; font-size: 13px;\">ස්තූතියි!</p><p style=\"margin: 4px 0; font-size: 13px;\">නැවත එන්න</p><p style=\"margin: 6px 0; font-size: 12px;\">========================</p></div>', '[{\"id\":8,\"item_name_sinhala\":\"ෂැම්පූ\",\"item_name_english\":\"Shampoo\",\"barcode\":\"1008\",\"unit_of_measurement\":\"ml\",\"regular_price\":340,\"our_price\":320,\"stock_quantity\":18,\"quantity\":1},{\"id\":7,\"item_name_sinhala\":\"සබන්\",\"item_name_english\":\"Soap\",\"barcode\":\"1007\",\"unit_of_measurement\":\"pcs\",\"regular_price\":95,\"our_price\":85,\"stock_quantity\":33,\"quantity\":1},{\"id\":4,\"item_name_sinhala\":\"සීනි 1kg\",\"item_name_english\":\"Sugar 1kg\",\"barcode\":\"1004\",\"unit_of_measurement\":\"kg\",\"regular_price\":130,\"our_price\":120,\"stock_quantity\":37,\"quantity\":1},{\"id\":1,\"item_name_sinhala\":\"සහල් 1kg\",\"item_name_english\":\"Rice 1kg\",\"barcode\":\"1001\",\"unit_of_measurement\":\"kg\",\"regular_price\":160,\"our_price\":150,\"stock_quantity\":38,\"quantity\":1}]', '2025-09-02 20:56:38'),
(6, 55, '2025-09-02', NULL, NULL, NULL, 4250.00, 5000.00, 750.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: 03/09/2025 Time: 03:09: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: 6px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px;\"><span style=\"font-size: 20px; font-weight: bold; flex: 1; line-height: 1.2;\">ගෑස්</span><span style=\"font-size: 20px; font-weight: bold; text-align: right;\">Rs.4250.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; color: #555; margin-bottom: 5px; line-height: 1.3;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.4250.00</div><div>අපේ මිල: Rs.4250.00</div></div><div style=\"text-align: right; align-self: center; font-size: 14px;\">1 × Rs.4250.00</div></div></div></div><div style=\"border-top: 2px solid black; padding-top: 6px; margin-top: 8px; width: 100%;\"></div><div class=\"bill-summary\" style=\"text-align: right; font-size: 15px; margin-bottom: 8px;\"><div style=\"margin: 4px 0; font-weight: bold; font-size: 20px;\">TOTAL: Rs. 4250.00</div><div style=\"margin: 4px 0;\">Paid: Rs. 5000.00</div><div style=\"margin: 4px 0; font-size: 18px;\">Change: Rs. 750.00</div></div><div style=\"border: 2px solid black; padding: 8px; margin-top: 10px; width: 100%; background-color: #f9f9f9;\"><div style=\"text-align: center; font-size: 16px; font-weight: bold; line-height: 1.3;\">අපෙන් භාණ්ඩ ලබා ගැනීමෙන් ඔබ ලැබූ ලාභය<br><span style=\"font-size: 18px; color: #2E7D32;\">Rs.0.00</span></div></div><div style=\"border-top: 1px dashed black; padding-top: 6px; margin-top: 8px; width: 100%;\"></div><div class=\"bill-footer\" style=\"text-align: center; font-size: 13px;\"><p style=\"margin: 4px 0; font-size: 13px;\">ස්තූතියි!</p><p style=\"margin: 4px 0; font-size: 13px;\">නැවත එන්න</p><p style=\"margin: 6px 0; font-size: 12px;\">========================</p></div>', '[{\"id\":13,\"item_name_sinhala\":\"ගෑස්\",\"item_name_english\":\"gas\",\"barcode\":\"067156039\",\"unit_of_measurement\":\"pcs\",\"regular_price\":4250,\"our_price\":4250,\"stock_quantity\":6,\"quantity\":1}]', '2025-09-02 21:39:59'),
(7, 50, '2025-09-03', NULL, NULL, NULL, 4150.00, 5000.00, 850.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: 03/09/2025 Time: 22:56: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: 6px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px;\"><span style=\"font-size: 20px; font-weight: bold; flex: 1; line-height: 1.2;\">ගෑස්</span><span style=\"font-size: 20px; font-weight: bold; text-align: right;\">Rs.4000.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; color: #555; margin-bottom: 5px; line-height: 1.3;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.4200.00</div><div>අපේ මිල: Rs.4000.00</div></div><div style=\"text-align: right; align-self: center; font-size: 14px;\">1 × Rs.4000.00</div></div><div style=\"border-bottom: 1px dotted #aaa; margin: 5px 0 4px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 6px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px;\"><span style=\"font-size: 20px; font-weight: bold; flex: 1; line-height: 1.2;\">සීනි 1kg</span><span style=\"font-size: 20px; font-weight: bold; text-align: right;\">Rs.150.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; color: #555; margin-bottom: 5px; line-height: 1.3;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.160.00</div><div>අපේ මිල: Rs.150.00</div></div><div style=\"text-align: right; align-self: center; font-size: 14px;\">1 × Rs.150.00</div></div></div></div><div style=\"border-top: 2px solid black; padding-top: 6px; margin-top: 8px; width: 100%;\"></div><div class=\"bill-summary\" style=\"text-align: right; font-size: 15px; margin-bottom: 8px;\"><div style=\"margin: 4px 0; font-weight: bold; font-size: 20px;\">TOTAL: Rs. 4150.00</div><div style=\"margin: 4px 0;\">Paid: Rs. 5000.00</div><div style=\"margin: 4px 0; font-size: 18px;\">Change: Rs. 850.00</div></div><div style=\"border: 2px solid black; padding: 8px; margin-top: 10px; width: 100%; background-color: #f9f9f9;\"><div style=\"text-align: center; font-size: 16px; font-weight: bold; line-height: 1.3;\">අපෙන් භාණ්ඩ ලබා ගැනීමෙන් ඔබ ලැබූ ලාභය<br><span style=\"font-size: 18px; color: #2E7D32;\">Rs.210.00</span></div></div><div style=\"border-top: 1px dashed black; padding-top: 6px; margin-top: 8px; width: 100%;\"></div><div class=\"bill-footer\" style=\"text-align: center; font-size: 13px;\"><p style=\"margin: 4px 0; font-size: 13px;\">ස්තූතියි!</p><p style=\"margin: 4px 0; font-size: 13px;\">නැවත එන්න</p><p style=\"margin: 6px 0; font-size: 12px;\">========================</p></div>', '[{\"id\":14,\"item_name_sinhala\":\"ගෑස්\",\"item_name_english\":\"gas\",\"barcode\":\"RP20406480\",\"unit_of_measurement\":\"pcs\",\"regular_price\":4200,\"our_price\":4000,\"stock_quantity\":10,\"quantity\":1},{\"id\":4,\"item_name_sinhala\":\"සීනි 1kg\",\"item_name_english\":\"Sugar 1kg\",\"barcode\":\"1004\",\"unit_of_measurement\":\"kg\",\"regular_price\":160,\"our_price\":150,\"stock_quantity\":10,\"quantity\":1}]', '2025-09-03 17:26:30'),
(8, 51, '2025-09-03', NULL, NULL, NULL, 4000.00, -4000.00, 0.00, 1, '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: 03/09/2025 Time: 23:14:46</p><p style=\"margin: 4px 0; font-weight: bold; text-align: center; font-size: 15px;\">======= ණය බිල් =======</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: 6px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px;\"><span style=\"font-size: 20px; font-weight: bold; flex: 1; line-height: 1.2;\">ගෑස්</span><span style=\"font-size: 20px; font-weight: bold; text-align: right;\">Rs.4000.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; color: #555; margin-bottom: 5px; line-height: 1.3;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.4200.00</div><div>අපේ මිල: Rs.4000.00</div></div><div style=\"text-align: right; align-self: center; font-size: 14px;\">1 × Rs.4000.00</div></div></div></div><div style=\"border-top: 2px solid black; padding-top: 6px; margin-top: 8px; width: 100%;\"></div><div class=\"bill-summary\" style=\"text-align: right; font-size: 15px; margin-bottom: 8px;\"><div style=\"margin: 4px 0;\">Subtotal: Rs. 4000.00</div><div style=\"margin: 4px 0;\">Credit Given: Rs. 4000.00</div><div style=\"margin: 5px 0; font-weight: bold; font-size: 20px;\">Balance Due: Rs. 0.00</div></div><div style=\"border: 2px solid black; padding: 8px; margin-top: 10px; width: 100%; background-color: #f9f9f9;\"><div style=\"text-align: center; font-size: 16px; font-weight: bold; line-height: 1.3;\">අපෙන් භාණ්ඩ ලබා ගැනීමෙන් ඔබ ලැබූ ලාභය<br><span style=\"font-size: 18px; color: #2E7D32;\">Rs.200.00</span></div></div><div style=\"border-top: 1px dashed black; padding-top: 6px; margin-top: 8px; width: 100%;\"></div><div class=\"bill-footer\" style=\"text-align: center; font-size: 13px;\"><div style=\"border: 2px solid black; padding: 5px; margin: 6px 0; font-weight: bold; font-size: 12px;\">ණය බිල්පත<br>ඉතිරි මුදල ඉක්මනින් ගෙවන්න</div><p style=\"margin: 4px 0; font-size: 13px;\">ස්තූතියි!</p><p style=\"margin: 4px 0; font-size: 13px;\">නැවත එන්න</p><p style=\"margin: 6px 0; font-size: 12px;\">========================</p></div>', '[{\"id\":14,\"item_name_sinhala\":\"ගෑස්\",\"item_name_english\":\"gas\",\"barcode\":\"RP20406480\",\"unit_of_measurement\":\"pcs\",\"regular_price\":4200,\"our_price\":4000,\"stock_quantity\":10,\"quantity\":1}]', '2025-09-03 17:44:46'),
(9, 52, '2025-09-03', NULL, NULL, NULL, 4150.00, 5000.00, 850.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: 04/09/2025 Time: 00:04: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: 6px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px;\"><span style=\"font-size: 20px; font-weight: bold; flex: 1; line-height: 1.2;\">ගෑස්</span><span style=\"font-size: 20px; font-weight: bold; text-align: right;\">Rs.4000.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; color: #555; margin-bottom: 5px; line-height: 1.3;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.4200.00</div><div>අපේ මිල: Rs.4000.00</div></div><div style=\"text-align: right; align-self: center; font-size: 14px;\">1 × Rs.4000.00</div></div><div style=\"border-bottom: 1px dotted #aaa; margin: 5px 0 4px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 6px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px;\"><span style=\"font-size: 20px; font-weight: bold; flex: 1; line-height: 1.2;\">සීනි 1kg</span><span style=\"font-size: 20px; font-weight: bold; text-align: right;\">Rs.150.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; color: #555; margin-bottom: 5px; line-height: 1.3;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.160.00</div><div>අපේ මිල: Rs.150.00</div></div><div style=\"text-align: right; align-self: center; font-size: 14px;\">1 × Rs.150.00</div></div></div></div><div style=\"border-top: 2px solid black; padding-top: 6px; margin-top: 8px; width: 100%;\"></div><div class=\"bill-summary\" style=\"text-align: right; font-size: 15px; margin-bottom: 8px;\"><div style=\"margin: 4px 0; font-weight: bold; font-size: 20px;\">TOTAL: Rs. 4150.00</div><div style=\"margin: 4px 0;\">Paid: Rs. 5000.00</div><div style=\"margin: 4px 0; font-size: 18px;\">Change: Rs. 850.00</div></div><div style=\"border: 2px solid black; padding: 8px; margin-top: 10px; width: 100%; background-color: #f9f9f9;\"><div style=\"text-align: center; font-size: 16px; font-weight: bold; line-height: 1.3;\">අපෙන් භාණ්ඩ ලබා ගැනීමෙන් ඔබ ලැබූ ලාභය<br><span style=\"font-size: 18px; color: #2E7D32;\">Rs.210.00</span></div></div><div style=\"border-top: 1px dashed black; padding-top: 6px; margin-top: 8px; width: 100%;\"></div><div class=\"bill-footer\" style=\"text-align: center; font-size: 13px;\"><p style=\"margin: 4px 0; font-size: 13px;\">ස්තූතියි!</p><p style=\"margin: 4px 0; font-size: 13px;\">නැවත එන්න</p><p style=\"margin: 6px 0; font-size: 12px;\">========================</p></div>', '[{\"id\":14,\"item_name_sinhala\":\"ගෑස්\",\"item_name_english\":\"gas\",\"barcode\":\"RP20406480\",\"unit_of_measurement\":\"pcs\",\"regular_price\":4200,\"our_price\":4000,\"stock_quantity\":10,\"quantity\":1},{\"id\":4,\"item_name_sinhala\":\"සීනි 1kg\",\"item_name_english\":\"Sugar 1kg\",\"barcode\":\"1004\",\"unit_of_measurement\":\"kg\",\"regular_price\":160,\"our_price\":150,\"stock_quantity\":10,\"quantity\":1}]', '2025-09-03 18:34:01'),
(10, 53, '2025-09-03', NULL, NULL, NULL, 4150.00, 5000.00, 850.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: 04/09/2025 Time: 00:11:03</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: 6px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px;\"><span style=\"font-size: 20px; font-weight: bold; flex: 1; line-height: 1.2;\">ගෑස්</span><span style=\"font-size: 20px; font-weight: bold; text-align: right;\">Rs.4000.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; color: #555; margin-bottom: 5px; line-height: 1.3;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.4200.00</div><div>අපේ මිල: Rs.4000.00</div></div><div style=\"text-align: right; align-self: center; font-size: 14px;\">1 × Rs.4000.00</div></div><div style=\"border-bottom: 1px dotted #aaa; margin: 5px 0 4px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 6px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px;\"><span style=\"font-size: 20px; font-weight: bold; flex: 1; line-height: 1.2;\">සීනි 1kg</span><span style=\"font-size: 20px; font-weight: bold; text-align: right;\">Rs.150.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; color: #555; margin-bottom: 5px; line-height: 1.3;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.160.00</div><div>අපේ මිල: Rs.150.00</div></div><div style=\"text-align: right; align-self: center; font-size: 14px;\">1 × Rs.150.00</div></div></div></div><div style=\"border-top: 2px solid black; padding-top: 6px; margin-top: 8px; width: 100%;\"></div><div class=\"bill-summary\" style=\"text-align: right; font-size: 15px; margin-bottom: 8px;\"><div style=\"margin: 4px 0; font-weight: bold; font-size: 20px;\">TOTAL: Rs. 4150.00</div><div style=\"margin: 4px 0;\">Paid: Rs. 5000.00</div><div style=\"margin: 4px 0; font-size: 18px;\">Change: Rs. 850.00</div></div><div style=\"border: 2px solid black; padding: 8px; margin-top: 10px; width: 100%; background-color: #f9f9f9;\"><div style=\"text-align: center; font-size: 16px; font-weight: bold; line-height: 1.3;\">අපෙන් භාණ්ඩ ලබා ගැනීමෙන් ඔබ ලැබූ ලාභය<br><span style=\"font-size: 18px; color: #2E7D32;\">Rs.210.00</span></div></div><div style=\"border-top: 1px dashed black; padding-top: 6px; margin-top: 8px; width: 100%;\"></div><div class=\"bill-footer\" style=\"text-align: center; font-size: 13px;\"><p style=\"margin: 4px 0; font-size: 13px;\">ස්තූතියි!</p><p style=\"margin: 4px 0; font-size: 13px;\">නැවත එන්න</p><p style=\"margin: 6px 0; font-size: 12px;\">========================</p></div>', '[{\"id\":14,\"item_name_sinhala\":\"ගෑස්\",\"item_name_english\":\"gas\",\"barcode\":\"RP20406480\",\"unit_of_measurement\":\"pcs\",\"regular_price\":4200,\"our_price\":4000,\"stock_quantity\":10,\"quantity\":1},{\"id\":4,\"item_name_sinhala\":\"සීනි 1kg\",\"item_name_english\":\"Sugar 1kg\",\"barcode\":\"1004\",\"unit_of_measurement\":\"kg\",\"regular_price\":160,\"our_price\":150,\"stock_quantity\":10,\"quantity\":1}]', '2025-09-03 18:41:03');
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
(11, 54, '2025-09-03', NULL, NULL, NULL, 8150.00, 10000.00, 1850.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: 04/09/2025 Time: 00:16: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: 6px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px;\"><span style=\"font-size: 20px; font-weight: bold; flex: 1; line-height: 1.2;\">ගෑස්</span><span style=\"font-size: 20px; font-weight: bold; text-align: right;\">Rs.8000.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; color: #555; margin-bottom: 5px; line-height: 1.3;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.4200.00</div><div>අපේ මිල: Rs.4000.00</div></div><div style=\"text-align: right; align-self: center; font-size: 14px;\">2 × Rs.4000.00</div></div><div style=\"border-bottom: 1px dotted #aaa; margin: 5px 0 4px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 6px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px;\"><span style=\"font-size: 20px; font-weight: bold; flex: 1; line-height: 1.2;\">සීනි 1kg</span><span style=\"font-size: 20px; font-weight: bold; text-align: right;\">Rs.150.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; color: #555; margin-bottom: 5px; line-height: 1.3;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.160.00</div><div>අපේ මිල: Rs.150.00</div></div><div style=\"text-align: right; align-self: center; font-size: 14px;\">1 × Rs.150.00</div></div></div></div><div style=\"border-top: 2px solid black; padding-top: 6px; margin-top: 8px; width: 100%;\"></div><div class=\"bill-summary\" style=\"text-align: right; font-size: 15px; margin-bottom: 8px;\"><div style=\"margin: 4px 0; font-weight: bold; font-size: 20px;\">TOTAL: Rs. 8150.00</div><div style=\"margin: 4px 0;\">Paid: Rs. 10000.00</div><div style=\"margin: 4px 0; font-size: 18px;\">Change: Rs. 1850.00</div></div><div style=\"border: 2px solid black; padding: 8px; margin-top: 10px; width: 100%; background-color: #f9f9f9;\"><div style=\"text-align: center; font-size: 16px; font-weight: bold; line-height: 1.3;\">අපෙන් භාණ්ඩ ලබා ගැනීමෙන් ඔබ ලැබූ ලාභය<br><span style=\"font-size: 18px; color: #2E7D32;\">Rs.410.00</span></div></div><div style=\"border-top: 1px dashed black; padding-top: 6px; margin-top: 8px; width: 100%;\"></div><div class=\"bill-footer\" style=\"text-align: center; font-size: 13px;\"><p style=\"margin: 4px 0; font-size: 13px;\">ස්තූතියි!</p><p style=\"margin: 4px 0; font-size: 13px;\">නැවත එන්න</p><p style=\"margin: 6px 0; font-size: 12px;\">========================</p></div>', '[{\"id\":14,\"item_name_sinhala\":\"ගෑස්\",\"item_name_english\":\"gas\",\"barcode\":\"RP20406480\",\"unit_of_measurement\":\"pcs\",\"regular_price\":4200,\"our_price\":4000,\"stock_quantity\":10,\"quantity\":2},{\"id\":4,\"item_name_sinhala\":\"සීනි 1kg\",\"item_name_english\":\"Sugar 1kg\",\"barcode\":\"1004\",\"unit_of_measurement\":\"kg\",\"regular_price\":160,\"our_price\":150,\"stock_quantity\":10,\"quantity\":1}]', '2025-09-03 18:46:59'),
(12, 55, '2025-09-03', NULL, NULL, NULL, 4150.00, 5000.00, 850.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: 04/09/2025 Time: 00:19:31</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: 6px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px;\"><span style=\"font-size: 20px; font-weight: bold; flex: 1; line-height: 1.2;\">ගෑස්</span><span style=\"font-size: 20px; font-weight: bold; text-align: right;\">Rs.4000.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; color: #555; margin-bottom: 5px; line-height: 1.3;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.4200.00</div><div>අපේ මිල: Rs.4000.00</div></div><div style=\"text-align: right; align-self: center; font-size: 14px;\">1 × Rs.4000.00</div></div><div style=\"border-bottom: 1px dotted #aaa; margin: 5px 0 4px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 6px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px;\"><span style=\"font-size: 20px; font-weight: bold; flex: 1; line-height: 1.2;\">සීනි 1kg</span><span style=\"font-size: 20px; font-weight: bold; text-align: right;\">Rs.150.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; color: #555; margin-bottom: 5px; line-height: 1.3;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.160.00</div><div>අපේ මිල: Rs.150.00</div></div><div style=\"text-align: right; align-self: center; font-size: 14px;\">1 × Rs.150.00</div></div></div></div><div style=\"border-top: 2px solid black; padding-top: 6px; margin-top: 8px; width: 100%;\"></div><div class=\"bill-summary\" style=\"text-align: right; font-size: 15px; margin-bottom: 8px;\"><div style=\"margin: 4px 0; font-weight: bold; font-size: 20px;\">TOTAL: Rs. 4150.00</div><div style=\"margin: 4px 0;\">Paid: Rs. 5000.00</div><div style=\"margin: 4px 0; font-size: 18px;\">Change: Rs. 850.00</div></div><div style=\"border: 2px solid black; padding: 8px; margin-top: 10px; width: 100%; background-color: #f9f9f9;\"><div style=\"text-align: center; font-size: 16px; font-weight: bold; line-height: 1.3;\">අපෙන් භාණ්ඩ ලබා ගැනීමෙන් ඔබ ලැබූ ලාභය<br><span style=\"font-size: 18px; color: #2E7D32;\">Rs.210.00</span></div></div><div style=\"border-top: 1px dashed black; padding-top: 6px; margin-top: 8px; width: 100%;\"></div><div class=\"bill-footer\" style=\"text-align: center; font-size: 13px;\"><p style=\"margin: 4px 0; font-size: 13px;\">ස්තූතියි!</p><p style=\"margin: 4px 0; font-size: 13px;\">නැවත එන්න</p><p style=\"margin: 6px 0; font-size: 12px;\">========================</p></div>', '[{\"id\":14,\"item_name_sinhala\":\"ගෑස්\",\"item_name_english\":\"gas\",\"barcode\":\"RP20406480\",\"unit_of_measurement\":\"pcs\",\"regular_price\":4200,\"our_price\":4000,\"stock_quantity\":10,\"quantity\":1},{\"id\":4,\"item_name_sinhala\":\"සීනි 1kg\",\"item_name_english\":\"Sugar 1kg\",\"barcode\":\"1004\",\"unit_of_measurement\":\"kg\",\"regular_price\":160,\"our_price\":150,\"stock_quantity\":10,\"quantity\":1}]', '2025-09-03 18:49:31'),
(13, 56, '2025-09-03', NULL, NULL, NULL, 4150.00, 5000.00, 850.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: 04/09/2025 Time: 00:19:54</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: 6px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px;\"><span style=\"font-size: 20px; font-weight: bold; flex: 1; line-height: 1.2;\">සීනි 1kg</span><span style=\"font-size: 20px; font-weight: bold; text-align: right;\">Rs.150.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; color: #555; margin-bottom: 5px; line-height: 1.3;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.160.00</div><div>අපේ මිල: Rs.150.00</div></div><div style=\"text-align: right; align-self: center; font-size: 14px;\">1 × Rs.150.00</div></div><div style=\"border-bottom: 1px dotted #aaa; margin: 5px 0 4px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 6px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px;\"><span style=\"font-size: 20px; font-weight: bold; flex: 1; line-height: 1.2;\">ගෑස්</span><span style=\"font-size: 20px; font-weight: bold; text-align: right;\">Rs.4000.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; color: #555; margin-bottom: 5px; line-height: 1.3;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.4200.00</div><div>අපේ මිල: Rs.4000.00</div></div><div style=\"text-align: right; align-self: center; font-size: 14px;\">1 × Rs.4000.00</div></div></div></div><div style=\"border-top: 2px solid black; padding-top: 6px; margin-top: 8px; width: 100%;\"></div><div class=\"bill-summary\" style=\"text-align: right; font-size: 15px; margin-bottom: 8px;\"><div style=\"margin: 4px 0; font-weight: bold; font-size: 20px;\">TOTAL: Rs. 4150.00</div><div style=\"margin: 4px 0;\">Paid: Rs. 5000.00</div><div style=\"margin: 4px 0; font-size: 18px;\">Change: Rs. 850.00</div></div><div style=\"border: 2px solid black; padding: 8px; margin-top: 10px; width: 100%; background-color: #f9f9f9;\"><div style=\"text-align: center; font-size: 16px; font-weight: bold; line-height: 1.3;\">අපෙන් භාණ්ඩ ලබා ගැනීමෙන් ඔබ ලැබූ ලාභය<br><span style=\"font-size: 18px; color: #000000ff;\">Rs.210.00</span></div></div><div class=\"bill-footer\" style=\"text-align: center; font-size: 13px;\"><p style=\"margin: 4px 0; font-size: 13px;\">ස්තූතියි! නැවත එන්න</p><p style=\"margin: 6px 0; font-size: 12px;\">========================</p></div>', '[{\"id\":4,\"item_name_sinhala\":\"සීනි 1kg\",\"item_name_english\":\"Sugar 1kg\",\"barcode\":\"1004\",\"unit_of_measurement\":\"kg\",\"regular_price\":160,\"our_price\":150,\"stock_quantity\":10,\"quantity\":1},{\"id\":14,\"item_name_sinhala\":\"ගෑස්\",\"item_name_english\":\"gas\",\"barcode\":\"RP20406480\",\"unit_of_measurement\":\"pcs\",\"regular_price\":4200,\"our_price\":4000,\"stock_quantity\":10,\"quantity\":1}]', '2025-09-03 18:49:54'),
(14, 57, '2025-09-03', NULL, NULL, NULL, 4150.00, 5000.00, 850.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: 04/09/2025 Time: 00:20: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: 6px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px;\"><span style=\"font-size: 20px; font-weight: bold; flex: 1; line-height: 1.2;\">සීනි 1kg</span><span style=\"font-size: 20px; font-weight: bold; text-align: right;\">Rs.150.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; color: #555; margin-bottom: 5px; line-height: 1.3;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.160.00</div><div>අපේ මිල: Rs.150.00</div></div><div style=\"text-align: right; align-self: center; font-size: 14px;\">1 × Rs.150.00</div></div><div style=\"border-bottom: 1px dotted #aaa; margin: 5px 0 4px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 6px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px;\"><span style=\"font-size: 20px; font-weight: bold; flex: 1; line-height: 1.2;\">ගෑස්</span><span style=\"font-size: 20px; font-weight: bold; text-align: right;\">Rs.4000.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; color: #555; margin-bottom: 5px; line-height: 1.3;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.4200.00</div><div>අපේ මිල: Rs.4000.00</div></div><div style=\"text-align: right; align-self: center; font-size: 14px;\">1 × Rs.4000.00</div></div></div></div><div style=\"border-top: 2px solid black; padding-top: 6px; margin-top: 8px; width: 100%;\"></div><div class=\"bill-summary\" style=\"text-align: right; font-size: 15px; margin-bottom: 8px;\"><div style=\"margin: 4px 0; font-weight: bold; font-size: 20px;\">TOTAL: Rs. 4150.00</div><div style=\"margin: 4px 0;\">Paid: Rs. 5000.00</div><div style=\"margin: 4px 0; font-size: 18px;\">Change: Rs. 850.00</div></div><div style=\"border: 2px solid black; padding: 8px; margin-top: 10px; width: 100%; background-color: #f9f9f9;\"><div style=\"text-align: center; font-size: 16px; font-weight: bold; line-height: 1.3;\">අපෙන් භාණ්ඩ ලබා ගැනීමෙන් ඔබ ලැබූ ලාභය<br><span style=\"font-size: 18px; color: #000000ff;\">Rs.210.00</span></div></div><p style=\"margin: 4px 0; font-size: 13px;\">ස්තූතියි! නැවත එන්න</p><p style=\"margin: 6px 0; font-size: 12px;\">========================</p></div>', '[{\"id\":4,\"item_name_sinhala\":\"සීනි 1kg\",\"item_name_english\":\"Sugar 1kg\",\"barcode\":\"1004\",\"unit_of_measurement\":\"kg\",\"regular_price\":160,\"our_price\":150,\"stock_quantity\":10,\"quantity\":1},{\"id\":14,\"item_name_sinhala\":\"ගෑස්\",\"item_name_english\":\"gas\",\"barcode\":\"RP20406480\",\"unit_of_measurement\":\"pcs\",\"regular_price\":4200,\"our_price\":4000,\"stock_quantity\":10,\"quantity\":1}]', '2025-09-03 18:50:40'),
(15, 58, '2025-09-03', NULL, NULL, NULL, 4150.00, 5000.00, 850.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: 04/09/2025 Time: 00:21: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: 6px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px;\"><span style=\"font-size: 20px; font-weight: bold; flex: 1; line-height: 1.2;\">ගෑස්</span><span style=\"font-size: 20px; font-weight: bold; text-align: right;\">Rs.4000.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; color: #555; margin-bottom: 5px; line-height: 1.3;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.4200.00</div><div>අපේ මිල: Rs.4000.00</div></div><div style=\"text-align: right; align-self: center; font-size: 14px;\">1 × Rs.4000.00</div></div><div style=\"border-bottom: 1px dotted #aaa; margin: 5px 0 4px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 6px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px;\"><span style=\"font-size: 20px; font-weight: bold; flex: 1; line-height: 1.2;\">සීනි 1kg</span><span style=\"font-size: 20px; font-weight: bold; text-align: right;\">Rs.150.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; color: #555; margin-bottom: 5px; line-height: 1.3;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.160.00</div><div>අපේ මිල: Rs.150.00</div></div><div style=\"text-align: right; align-self: center; font-size: 14px;\">1 × Rs.150.00</div></div></div></div><div style=\"border-top: 2px solid black; padding-top: 6px; margin-top: 8px; width: 100%;\"></div><div class=\"bill-summary\" style=\"text-align: right; font-size: 15px; margin-bottom: 8px;\"><div style=\"margin: 4px 0; font-weight: bold; font-size: 20px;\">TOTAL: Rs. 4150.00</div><div style=\"margin: 4px 0;\">Paid: Rs. 5000.00</div><div style=\"margin: 4px 0; font-size: 18px;\">Change: Rs. 850.00</div></div><div style=\"border: 2px solid black; padding: 8px; margin-top: 10px; width: 100%; background-color: #f9f9f9;\"><div style=\"text-align: center; font-size: 16px; font-weight: bold; line-height: 1.3;\">අපෙන් භාණ්ඩ ලබා ගැනීමෙන් ඔබ ලැබූ ලාභය<br><span style=\"font-size: 18px; color: #000000ff;\">Rs.210.00</span></div></div><p style=\"margin: 4px 0; font-size: 13px;\">ස්තූතියි! නැවත එන්න</p><p style=\"margin: 6px 0; font-size: 12px;\">========================</p></div>', '[{\"id\":14,\"item_name_sinhala\":\"ගෑස්\",\"item_name_english\":\"gas\",\"barcode\":\"RP20406480\",\"unit_of_measurement\":\"pcs\",\"regular_price\":4200,\"our_price\":4000,\"stock_quantity\":10,\"quantity\":1},{\"id\":4,\"item_name_sinhala\":\"සීනි 1kg\",\"item_name_english\":\"Sugar 1kg\",\"barcode\":\"1004\",\"unit_of_measurement\":\"kg\",\"regular_price\":160,\"our_price\":150,\"stock_quantity\":10,\"quantity\":1}]', '2025-09-03 18:51:13'),
(16, 59, '2025-09-03', NULL, NULL, NULL, 4150.00, 5000.00, 850.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: 04/09/2025 Time: 00:21:31</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: 6px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px;\"><span style=\"font-size: 20px; font-weight: bold; flex: 1; line-height: 1.2;\">ගෑස්</span><span style=\"font-size: 20px; font-weight: bold; text-align: right;\">Rs.4000.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; color: #555; margin-bottom: 5px; line-height: 1.3;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.4200.00</div><div>අපේ මිල: Rs.4000.00</div></div><div style=\"text-align: right; align-self: center; font-size: 14px;\">1 × Rs.4000.00</div></div><div style=\"border-bottom: 1px dotted #aaa; margin: 5px 0 4px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 6px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px;\"><span style=\"font-size: 20px; font-weight: bold; flex: 1; line-height: 1.2;\">සීනි 1kg</span><span style=\"font-size: 20px; font-weight: bold; text-align: right;\">Rs.150.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; color: #555; margin-bottom: 5px; line-height: 1.3;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.160.00</div><div>අපේ මිල: Rs.150.00</div></div><div style=\"text-align: right; align-self: center; font-size: 14px;\">1 × Rs.150.00</div></div></div></div><div style=\"border-top: 2px solid black; padding-top: 6px; margin-top: 8px; width: 100%;\"></div><div class=\"bill-summary\" style=\"text-align: right; font-size: 15px; margin-bottom: 8px;\"><div style=\"margin: 4px 0; font-weight: bold; font-size: 20px;\">TOTAL: Rs. 4150.00</div><div style=\"margin: 4px 0;\">Paid: Rs. 5000.00</div><div style=\"margin: 4px 0; font-size: 18px;\">Change: Rs. 850.00</div></div><div style=\"border: 2px solid black; padding: 8px; margin-top: 10px; width: 100%; background-color: #f9f9f9;\"><div style=\"text-align: center; font-size: 16px; font-weight: bold; line-height: 1.3;\">අපෙන් භාණ්ඩ ලබා ගැනීමෙන් ඔබ ලැබූ ලාභය<br><span style=\"font-size: 18px; color: #000000ff;\">Rs.210.00</span></div></div><div class=\"bill-footer\" style=\"text-align: center; font-size: 13px;\"><p style=\"margin: 4px 0; font-size: 13px;\">ස්තූතියි! නැවත එන්න</p><p style=\"margin: 6px 0; font-size: 12px;\">========================</p></div>', '[{\"id\":14,\"item_name_sinhala\":\"ගෑස්\",\"item_name_english\":\"gas\",\"barcode\":\"RP20406480\",\"unit_of_measurement\":\"pcs\",\"regular_price\":4200,\"our_price\":4000,\"stock_quantity\":10,\"quantity\":1},{\"id\":4,\"item_name_sinhala\":\"සීනි 1kg\",\"item_name_english\":\"Sugar 1kg\",\"barcode\":\"1004\",\"unit_of_measurement\":\"kg\",\"regular_price\":160,\"our_price\":150,\"stock_quantity\":10,\"quantity\":1}]', '2025-09-03 18:51:31'),
(17, 60, '2025-09-03', NULL, NULL, NULL, 4150.00, 5000.00, 850.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: 04/09/2025 Time: 00:23: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: 6px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px;\"><span style=\"font-size: 20px; font-weight: bold; flex: 1; line-height: 1.2;\">ගෑස්</span><span style=\"font-size: 20px; font-weight: bold; text-align: right;\">Rs.4000.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; color: #555; margin-bottom: 5px; line-height: 1.3;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.4200.00</div><div>අපේ මිල: Rs.4000.00</div></div><div style=\"text-align: right; align-self: center; font-size: 14px;\">1 × Rs.4000.00</div></div><div style=\"border-bottom: 1px dotted #aaa; margin: 5px 0 4px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 6px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px;\"><span style=\"font-size: 20px; font-weight: bold; flex: 1; line-height: 1.2;\">සීනි 1kg</span><span style=\"font-size: 20px; font-weight: bold; text-align: right;\">Rs.150.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; color: #555; margin-bottom: 5px; line-height: 1.3;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.160.00</div><div>අපේ මිල: Rs.150.00</div></div><div style=\"text-align: right; align-self: center; font-size: 14px;\">1 × Rs.150.00</div></div></div></div><div style=\"border-top: 2px solid black; padding-top: 6px; margin-top: 8px; width: 100%;\"></div><div class=\"bill-summary\" style=\"text-align: right; font-size: 15px; margin-bottom: 8px;\"><div style=\"margin: 4px 0; font-weight: bold; font-size: 20px;\">මුළු මුදල: Rs. 4150.00</div><div style=\"margin: 4px 0;\">Paid: Rs. 5000.00</div><div style=\"margin: 4px 0; font-size: 18px;\">ඉතිරි මුදල: Rs. 850.00</div></div><div style=\"border: 2px solid black; padding: 8px; margin-top: 10px; width: 100%; background-color: #f9f9f9;\"><div style=\"text-align: center; font-size: 16px; font-weight: bold; line-height: 1.3;\">අපෙන් භාණ්ඩ ලබා ගැනීමෙන් ඔබ ලැබූ ලාභය<br><span style=\"font-size: 18px; color: #000000ff;\">Rs.210.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;\">========================</p></div>', '[{\"id\":14,\"item_name_sinhala\":\"ගෑස්\",\"item_name_english\":\"gas\",\"barcode\":\"RP20406480\",\"unit_of_measurement\":\"pcs\",\"regular_price\":4200,\"our_price\":4000,\"stock_quantity\":10,\"quantity\":1},{\"id\":4,\"item_name_sinhala\":\"සීනි 1kg\",\"item_name_english\":\"Sugar 1kg\",\"barcode\":\"1004\",\"unit_of_measurement\":\"kg\",\"regular_price\":160,\"our_price\":150,\"stock_quantity\":10,\"quantity\":1}]', '2025-09-03 18:53:59'),
(18, 61, '2025-09-03', NULL, NULL, NULL, 4150.00, 5000.00, 850.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: 04/09/2025 Time: 00:25: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: 6px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px;\"><span style=\"font-size: 20px; font-weight: bold; flex: 1; line-height: 1.2;\">ගෑස්</span><span style=\"font-size: 20px; font-weight: bold; text-align: right;\">Rs.4000.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; color: #555; margin-bottom: 5px; line-height: 1.3;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.4200.00</div><div>අපේ මිල: Rs.4000.00</div></div><div style=\"text-align: right; align-self: center; font-size: 14px;\">1 × Rs.4000.00</div></div><div style=\"border-bottom: 1px dotted #aaa; margin: 5px 0 4px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 6px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px;\"><span style=\"font-size: 20px; font-weight: bold; flex: 1; line-height: 1.2;\">සීනි 1kg</span><span style=\"font-size: 20px; font-weight: bold; text-align: right;\">Rs.150.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; color: #555; margin-bottom: 5px; line-height: 1.3;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.160.00</div><div>අපේ මිල: Rs.150.00</div></div><div style=\"text-align: right; align-self: center; font-size: 14px;\">1 × Rs.150.00</div></div></div></div><div style=\"border-top: 2px solid black; padding-top: 6px; margin-top: 8px; width: 100%;\"></div><div class=\"bill-summary\" style=\"text-align: right; font-size: 15px; margin-bottom: 8px;\"><div style=\"margin: 4px 0; font-weight: bold; font-size: 20px;\">මුළු මුදල: Rs. 4150.00</div><div style=\"margin: 4px 0;\">ගෙවූ මුදල: Rs. 5000.00</div><div style=\"margin: 4px 0; font-size: 14px;\">ඉතිරි මුදල: Rs. 850.00</div></div><div style=\"border: 2px solid black; padding: 8px; margin-top: 10px; width: 100%; background-color: #f9f9f9;\"><div style=\"text-align: center; font-size: 16px; font-weight: bold; line-height: 1.3;\">අපෙන් භාණ්ඩ ලබා ගැනීමෙන් ඔබ ලැබූ ලාභය<br><span style=\"font-size: 18px; color: #000000ff;\">Rs.210.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;\">========================</p></div>', '[{\"id\":14,\"item_name_sinhala\":\"ගෑස්\",\"item_name_english\":\"gas\",\"barcode\":\"RP20406480\",\"unit_of_measurement\":\"pcs\",\"regular_price\":4200,\"our_price\":4000,\"stock_quantity\":10,\"quantity\":1},{\"id\":4,\"item_name_sinhala\":\"සීනි 1kg\",\"item_name_english\":\"Sugar 1kg\",\"barcode\":\"1004\",\"unit_of_measurement\":\"kg\",\"regular_price\":160,\"our_price\":150,\"stock_quantity\":10,\"quantity\":1}]', '2025-09-03 18:55:14'),
(19, 62, '2025-09-03', NULL, NULL, NULL, 4150.00, 5000.00, 850.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: 04/09/2025 Time: 00: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: 6px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px;\"><span style=\"font-size: 20px; font-weight: bold; flex: 1; line-height: 1.2;\">ගෑස්</span><span style=\"font-size: 20px; font-weight: bold; text-align: right;\">Rs.4000.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; color: #555; margin-bottom: 5px; line-height: 1.3;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.4200.00</div><div>අපේ මිල: Rs.4000.00</div></div><div style=\"text-align: right; align-self: center; font-size: 14px;\">1 × Rs.4000.00</div></div><div style=\"border-bottom: 1px dotted #aaa; margin: 5px 0 4px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 6px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px;\"><span style=\"font-size: 20px; font-weight: bold; flex: 1; line-height: 1.2;\">සීනි 1kg</span><span style=\"font-size: 20px; font-weight: bold; text-align: right;\">Rs.150.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; color: #555; margin-bottom: 5px; line-height: 1.3;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.160.00</div><div>අපේ මිල: Rs.150.00</div></div><div style=\"text-align: right; align-self: center; font-size: 14px;\">1 × Rs.150.00</div></div></div></div><div style=\"border-top: 2px solid black; padding-top: 6px; margin-top: 8px; width: 100%;\"></div><div class=\"bill-summary\" style=\"text-align: right; font-size: 15px; margin-bottom: 8px;\"><div style=\"margin: 4px 0; font-weight: bold; font-size: 22px;\">මුළු මුදල: Rs. 4150.00</div><div style=\"margin: 4px 0;font-weight: bold;\">ගෙවූ මුදල: Rs. 5000.00</div><div style=\"margin: 4px 0; font-size: 14px;\">ඉතිරි මුදල: Rs. 850.00</div></div><div style=\"border: 2px solid black; padding: 8px; margin-top: 10px; width: 100%; background-color: #f9f9f9;\"><div style=\"text-align: center; font-size: 16px; font-weight: bold; line-height: 1.3;\">අපෙන් භාණ්ඩ ලබා ගැනීමෙන් ඔබ ලැබූ ලාභය<br><span style=\"font-size: 18px; color: #000000ff;\">Rs.210.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;\">========================</p></div>', '[{\"id\":14,\"item_name_sinhala\":\"ගෑස්\",\"item_name_english\":\"gas\",\"barcode\":\"RP20406480\",\"unit_of_measurement\":\"pcs\",\"regular_price\":4200,\"our_price\":4000,\"stock_quantity\":10,\"quantity\":1},{\"id\":4,\"item_name_sinhala\":\"සීනි 1kg\",\"item_name_english\":\"Sugar 1kg\",\"barcode\":\"1004\",\"unit_of_measurement\":\"kg\",\"regular_price\":160,\"our_price\":150,\"stock_quantity\":10,\"quantity\":1}]', '2025-09-03 18:57:02'),
(20, 63, '2025-09-03', NULL, NULL, NULL, 150.00, 5000.00, 4850.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;\">බිල් අංකය: 63</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Date: 04/09/2025 Time: 00:28: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: 6px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px;\"><span style=\"font-size: 20px; font-weight: bold; flex: 1; line-height: 1.2;\">සීනි 1kg</span><span style=\"font-size: 20px; font-weight: bold; text-align: right;\">Rs.150.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; color: #555; margin-bottom: 5px; line-height: 1.3;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.160.00</div><div>අපේ මිල: Rs.150.00</div></div><div style=\"text-align: right; align-self: center; font-size: 14px;\">1 × Rs.150.00</div></div></div></div><div style=\"border-top: 2px solid black; padding-top: 6px; margin-top: 8px; width: 100%;\"></div><div class=\"bill-summary\" style=\"text-align: right; font-size: 15px; margin-bottom: 8px;\"><div style=\"margin: 4px 0; font-weight: bold; font-size: 22px;\">මුළු මුදල: Rs. 150.00</div><div style=\"margin: 4px 0;font-weight: semi-bold;\">ගෙවූ මුදල: Rs. 5000.00</div><div style=\"margin: 4px 0; font-size: 14px;\">ඉතිරි මුදල: Rs. 4850.00</div></div><div style=\"border: 2px solid black; padding: 8px; margin-top: 10px; width: 100%; background-color: #f9f9f9;\"><div style=\"text-align: center; font-size: 16px; font-weight: bold; line-height: 1.3;\">අපෙන් භාණ්ඩ ලබා ගැනීමෙන් ඔබ ලැබූ ලාභය<br><span style=\"font-size: 18px; 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;\">========================</p></div>', '[{\"id\":4,\"item_name_sinhala\":\"සීනි 1kg\",\"item_name_english\":\"Sugar 1kg\",\"barcode\":\"1004\",\"unit_of_measurement\":\"kg\",\"regular_price\":160,\"our_price\":150,\"stock_quantity\":10,\"quantity\":1}]', '2025-09-03 18:58:32'),
(21, 64, '2025-09-03', NULL, NULL, NULL, 150.00, 200.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;\">බිල් අංකය: 64</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Date: 04/09/2025 Time: 00:31: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: 6px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px;\"><span style=\"font-size: 20px; font-weight: bold; flex: 1; line-height: 1.2;\">සීනි 1kg</span><span style=\"font-size: 20px; font-weight: bold; text-align: right;\">Rs.150.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; color: #555; margin-bottom: 5px; line-height: 1.3;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.160.00</div><div>අපේ මිල: Rs.150.00</div></div><div style=\"text-align: right; align-self: center; font-size: 14px;\">1 × Rs.150.00</div></div></div></div><div style=\"border-top: 2px solid black; padding-top: 6px; margin-top: 8px; width: 100%;\"></div><div class=\"bill-summary\" style=\"text-align: right; font-size: 15px; margin-bottom: 8px;\"><div style=\"margin: 4px 0; font-weight: bold; font-size: 22px;\">මුළු මුදල: Rs. 150.00</div><div style=\"margin: 4px 0;font-weight: 700;\">ගෙවූ මුදල: Rs. 200.00</div><div style=\"margin: 4px 0; font-size: 14px;\">ඉතිරි මුදල: Rs. 50.00</div></div><div style=\"border: 2px solid black; padding: 8px; margin-top: 10px; width: 100%; background-color: #f9f9f9;\"><div style=\"text-align: center; font-size: 16px; font-weight: bold; line-height: 1.3;\">අපෙන් භාණ්ඩ ලබා ගැනීමෙන් ඔබ ලැබූ ලාභය<br><span style=\"font-size: 18px; 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;\">========================</p></div>', '[{\"id\":4,\"item_name_sinhala\":\"සීනි 1kg\",\"item_name_english\":\"Sugar 1kg\",\"barcode\":\"1004\",\"unit_of_measurement\":\"kg\",\"regular_price\":160,\"our_price\":150,\"stock_quantity\":10,\"quantity\":1}]', '2025-09-03 19:01:24'),
(22, 65, '2025-09-03', NULL, NULL, NULL, 150.00, 200.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;\">බිල් අංකය: 65</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Date: 04/09/2025 Time: 00:32: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: 6px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px;\"><span style=\"font-size: 20px; font-weight: bold; flex: 1; line-height: 1.2;\">සීනි 1kg</span><span style=\"font-size: 20px; font-weight: bold; text-align: right;\">Rs.150.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; color: #555; margin-bottom: 5px; line-height: 1.3;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.160.00</div><div>අපේ මිල: Rs.150.00</div></div><div style=\"text-align: right; align-self: center; font-size: 14px;\">1 × Rs.150.00</div></div></div></div><div style=\"border-top: 2px solid black; padding-top: 6px; margin-top: 8px; width: 100%;\"></div><div class=\"bill-summary\" style=\"text-align: right; font-size: 15px; margin-bottom: 8px;\"><div style=\"margin: 4px 0; font-weight: bold; font-size: 22px;\">මුළු මුදල: Rs. 150.00</div><div style=\"margin: 4px 0;font-weight: 600;\">ගෙවූ මුදල: Rs. 200.00</div><div style=\"margin: 4px 0; font-size: 14px;\">ඉතිරි මුදල: Rs. 50.00</div></div><div style=\"border: 2px solid black; padding: 8px; margin-top: 10px; width: 100%; background-color: #f9f9f9;\"><div style=\"text-align: center; font-size: 16px; font-weight: bold; line-height: 1.3;\">අපෙන් භාණ්ඩ ලබා ගැනීමෙන් ඔබ ලැබූ ලාභය<br><span style=\"font-size: 18px; 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;\">========================</p></div>', '[{\"id\":4,\"item_name_sinhala\":\"සීනි 1kg\",\"item_name_english\":\"Sugar 1kg\",\"barcode\":\"1004\",\"unit_of_measurement\":\"kg\",\"regular_price\":160,\"our_price\":150,\"stock_quantity\":10,\"quantity\":1}]', '2025-09-03 19:02:17'),
(23, 66, '2025-09-03', NULL, NULL, NULL, 150.00, 200.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;\">බිල් අංකය: 66</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Date: 04/09/2025 Time: 00:32:44</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: 6px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px;\"><span style=\"font-size: 20px; font-weight: bold; flex: 1; line-height: 1.2;\">සීනි 1kg</span><span style=\"font-size: 20px; font-weight: bold; text-align: right;\">Rs.150.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; color: #555; margin-bottom: 5px; line-height: 1.3;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.160.00</div><div>අපේ මිල: Rs.150.00</div></div><div style=\"text-align: right; align-self: center; font-size: 14px;\">1 × Rs.150.00</div></div></div></div><div style=\"border-top: 2px solid black; padding-top: 6px; margin-top: 8px; width: 100%;\"></div><div class=\"bill-summary\" style=\"text-align: right; font-size: 15px; margin-bottom: 8px;\"><div style=\"margin: 4px 0; font-weight: bold; font-size: 22px;\">මුළු මුදල: Rs. 150.00</div><div style=\"margin: 4px 0;font-weight: 400;\">ගෙවූ මුදල: Rs. 200.00</div><div style=\"margin: 4px 0; font-size: 14px;\">ඉතිරි මුදල: Rs. 50.00</div></div><div style=\"border: 2px solid black; padding: 8px; margin-top: 10px; width: 100%; background-color: #f9f9f9;\"><div style=\"text-align: center; font-size: 16px; font-weight: bold; line-height: 1.3;\">අපෙන් භාණ්ඩ ලබා ගැනීමෙන් ඔබ ලැබූ ලාභය<br><span style=\"font-size: 18px; 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;\">========================</p></div>', '[{\"id\":4,\"item_name_sinhala\":\"සීනි 1kg\",\"item_name_english\":\"Sugar 1kg\",\"barcode\":\"1004\",\"unit_of_measurement\":\"kg\",\"regular_price\":160,\"our_price\":150,\"stock_quantity\":10,\"quantity\":1}]', '2025-09-03 19:02:44');
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
(24, 67, '2025-09-03', NULL, NULL, NULL, 150.00, 200.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;\">බිල් අංකය: 67</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Date: 04/09/2025 Time: 00:34: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: 6px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px;\"><span style=\"font-size: 20px; font-weight: bold; flex: 1; line-height: 1.2;\">සීනි 1kg</span><span style=\"font-size: 20px; font-weight: bold; text-align: right;\">Rs.150.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; color: #555; margin-bottom: 5px; line-height: 1.3;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.160.00</div><div>අපේ මිල: Rs.150.00</div></div><div style=\"text-align: right; align-self: center; font-size: 14px;\">1 × Rs.150.00</div></div></div></div><div style=\"border-top: 2px solid black; padding-top: 6px; margin-top: 8px; width: 100%;\"></div><div class=\"bill-summary\" style=\"text-align: right; font-size: 15px; margin-bottom: 8px;\"><div style=\"margin: 4px 0; font-weight: bold; font-size: 22px;\">මුළු මුදල: Rs. 150.00</div><div style=\"margin: 4px 0;font-weight: 650;\">ගෙවූ මුදල: Rs. 200.00</div><div style=\"margin: 4px 0; font-size: 14px;\">ඉතිරි මුදල: Rs. 50.00</div></div><div style=\"border: 2px solid black; padding: 8px; margin-top: 10px; width: 100%; background-color: #f9f9f9;\"><div style=\"text-align: center; font-size: 16px; font-weight: bold; line-height: 1.3;\">අපෙන් භාණ්ඩ ලබා ගැනීමෙන් ඔබ ලැබූ ලාභය<br><span style=\"font-size: 18px; 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;\">========================</p></div>', '[{\"id\":4,\"item_name_sinhala\":\"සීනි 1kg\",\"item_name_english\":\"Sugar 1kg\",\"barcode\":\"1004\",\"unit_of_measurement\":\"kg\",\"regular_price\":160,\"our_price\":150,\"stock_quantity\":10,\"quantity\":1}]', '2025-09-03 19:04:33'),
(25, 68, '2025-09-03', NULL, NULL, NULL, 150.00, 200.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;\">බිල් අංකය: 68</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Date: 04/09/2025 Time: 00:35:03</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: 6px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px;\"><span style=\"font-size: 20px; font-weight: bold; flex: 1; line-height: 1.2;\">සීනි 1kg</span><span style=\"font-size: 20px; font-weight: bold; text-align: right;\">Rs.150.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; color: #555; margin-bottom: 5px; line-height: 1.3;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.160.00</div><div>අපේ මිල: Rs.150.00</div></div><div style=\"text-align: right; align-self: center; font-size: 14px;\">1 × Rs.150.00</div></div></div></div><div style=\"border-top: 2px solid black; padding-top: 6px; margin-top: 8px; width: 100%;\"></div><div class=\"bill-summary\" style=\"text-align: right; font-size: 15px; margin-bottom: 8px;\"><div style=\"margin: 4px 0; font-weight: bold; font-size: 22px;\">මුළු මුදල: Rs. 150.00</div><div style=\"margin: 4px 0;font-weight: 620;\">ගෙවූ මුදල: Rs. 200.00</div><div style=\"margin: 4px 0; font-size: 14px;\">ඉතිරි මුදල: Rs. 50.00</div></div><div style=\"border: 2px solid black; padding: 8px; margin-top: 10px; width: 100%; background-color: #f9f9f9;\"><div style=\"text-align: center; font-size: 16px; font-weight: bold; line-height: 1.3;\">අපෙන් භාණ්ඩ ලබා ගැනීමෙන් ඔබ ලැබූ ලාභය<br><span style=\"font-size: 18px; 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;\">========================</p></div>', '[{\"id\":4,\"item_name_sinhala\":\"සීනි 1kg\",\"item_name_english\":\"Sugar 1kg\",\"barcode\":\"1004\",\"unit_of_measurement\":\"kg\",\"regular_price\":160,\"our_price\":150,\"stock_quantity\":10,\"quantity\":1}]', '2025-09-03 19:05:03'),
(26, 69, '2025-09-03', NULL, NULL, NULL, 150.00, 200.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;\">බිල් අංකය: 69</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Date: 04/09/2025 Time: 00:35: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: 6px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px;\"><span style=\"font-size: 20px; font-weight: bold; flex: 1; line-height: 1.2;\">සීනි 1kg</span><span style=\"font-size: 20px; font-weight: bold; text-align: right;\">Rs.150.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; color: #555; margin-bottom: 5px; line-height: 1.3;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.160.00</div><div>අපේ මිල: Rs.150.00</div></div><div style=\"text-align: right; align-self: center; font-size: 14px;\">1 × Rs.150.00</div></div></div></div><div style=\"border-top: 2px solid black; padding-top: 6px; margin-top: 8px; width: 100%;\"></div><div class=\"bill-summary\" style=\"text-align: right; font-size: 15px; margin-bottom: 8px;\"><div style=\"margin: 4px 0; font-weight: bold; font-size: 22px;\">මුළු මුදල: Rs. 150.00</div><div style=\"margin: 4px 0;font-weight: 600;\">ගෙවූ මුදල: Rs. 200.00</div><div style=\"margin: 4px 0; font-size: 14px;\">ඉතිරි මුදල: Rs. 50.00</div></div><div style=\"border: 2px solid black; padding: 8px; margin-top: 10px; width: 100%; background-color: #f9f9f9;\"><div style=\"text-align: center; font-size: 16px; font-weight: bold; line-height: 1.3;\">අපෙන් භාණ්ඩ ලබා ගැනීමෙන් ඔබ ලැබූ ලාභය<br><span style=\"font-size: 18px; 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;\">========================</p></div>', '[{\"id\":4,\"item_name_sinhala\":\"සීනි 1kg\",\"item_name_english\":\"Sugar 1kg\",\"barcode\":\"1004\",\"unit_of_measurement\":\"kg\",\"regular_price\":160,\"our_price\":150,\"stock_quantity\":10,\"quantity\":1}]', '2025-09-03 19:05:40'),
(27, 70, '2025-09-03', NULL, NULL, NULL, 150.00, 200.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;\">බිල් අංකය: 70</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Date: 04/09/2025 Time: 00:36: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: 6px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px;\"><span style=\"font-size: 20px; font-weight: bold; flex: 1; line-height: 1.2;\">සීනි 1kg</span><span style=\"font-size: 20px; font-weight: bold; text-align: right;\">Rs.150.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; color: #555; margin-bottom: 5px; line-height: 1.3;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.160.00</div><div>අපේ මිල: Rs.150.00</div></div><div style=\"text-align: right; align-self: center; font-size: 14px;\">1 × Rs.150.00</div></div></div></div><div style=\"border-top: 2px solid black; padding-top: 6px; margin-top: 8px; width: 100%;\"></div><div class=\"bill-summary\" style=\"text-align: right; font-size: 15px; margin-bottom: 8px;\"><div style=\"margin: 4px 0; font-weight: bold; font-size: 22px;\">මුළු මුදල: Rs. 150.00</div><div style=\"margin: 4px 0;font-weight: 550;\">ගෙවූ මුදල: Rs. 200.00</div><div style=\"margin: 4px 0; font-size: 14px;\">ඉතිරි මුදල: Rs. 50.00</div></div><div style=\"border: 2px solid black; padding: 8px; margin-top: 10px; width: 100%; background-color: #f9f9f9;\"><div style=\"text-align: center; font-size: 16px; font-weight: bold; line-height: 1.3;\">අපෙන් භාණ්ඩ ලබා ගැනීමෙන් ඔබ ලැබූ ලාභය<br><span style=\"font-size: 18px; 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;\">========================</p></div>', '[{\"id\":4,\"item_name_sinhala\":\"සීනි 1kg\",\"item_name_english\":\"Sugar 1kg\",\"barcode\":\"1004\",\"unit_of_measurement\":\"kg\",\"regular_price\":160,\"our_price\":150,\"stock_quantity\":10,\"quantity\":1}]', '2025-09-03 19:06:02'),
(28, 71, '2025-09-03', NULL, NULL, NULL, 150.00, 200.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;\">බිල් අංකය: 71</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Date: 04/09/2025 Time: 00:36:54</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: 6px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px;\"><span style=\"font-size: 20px; font-weight: bold; flex: 1; line-height: 1.2;\">සීනි 1kg</span><span style=\"font-size: 20px; font-weight: bold; text-align: right;\">Rs.150.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; color: #555; margin-bottom: 5px; line-height: 1.3;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.160.00</div><div>අපේ මිල: Rs.150.00</div></div><div style=\"text-align: right; align-self: center; font-size: 14px;\">1 × Rs.150.00</div></div></div></div><div style=\"border-top: 2px solid black; padding-top: 6px; margin-top: 8px; width: 100%;\"></div><div class=\"bill-summary\" style=\"text-align: right; font-size: 15px; margin-bottom: 8px;\"><div style=\"margin: 4px 0; font-weight: bold; font-size: 22px;\">මුළු මුදල: Rs. 150.00</div><div style=\"margin: 4px 0;font-weight: 450;\">ගෙවූ මුදල: Rs. 200.00</div><div style=\"margin: 4px 0; font-size: 14px;\">ඉතිරි මුදල: Rs. 50.00</div></div><div style=\"border: 2px solid black; padding: 8px; margin-top: 10px; width: 100%; background-color: #f9f9f9;\"><div style=\"text-align: center; font-size: 16px; font-weight: bold; line-height: 1.3;\">අපෙන් භාණ්ඩ ලබා ගැනීමෙන් ඔබ ලැබූ ලාභය<br><span style=\"font-size: 18px; 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;\">========================</p></div>', '[{\"id\":4,\"item_name_sinhala\":\"සීනි 1kg\",\"item_name_english\":\"Sugar 1kg\",\"barcode\":\"1004\",\"unit_of_measurement\":\"kg\",\"regular_price\":160,\"our_price\":150,\"stock_quantity\":10,\"quantity\":1}]', '2025-09-03 19:06:54'),
(29, 72, '2025-09-03', NULL, NULL, NULL, 150.00, 200.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;\">බිල් අංකය: 72</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Date: 04/09/2025 Time: 00:40: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: 6px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px;\"><span style=\"font-size: 20px; font-weight: bold; flex: 1; line-height: 1.2;\">සීනි 1kg</span><span style=\"font-size: 20px; font-weight: bold; text-align: right;\">Rs.150.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; color: #555; margin-bottom: 5px; line-height: 1.3;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.160.00</div><div>අපේ මිල: Rs.150.00</div></div><div style=\"text-align: right; align-self: center; font-size: 14px;\">1 × Rs.150.00</div></div></div></div><div style=\"border-top: 2px solid black; padding-top: 6px; margin-top: 8px; width: 100%;\"></div><div class=\"bill-summary\" style=\"text-align: right; font-size: 15px; margin-bottom: 8px;\"><div style=\"margin: 4px 0; font-weight: bold; font-size: 22px;\">මුළු මුදල: Rs. 150.00</div><div style=\"margin: 4px 0;font-weight: 450;\">ගෙවූ මුදල: Rs. 200.00</div><div style=\"margin: 4px 0; font-size: 14px;\">ඉතිරි මුදල: Rs. 50.00</div></div><div style=\"border: 2px solid black; padding: 8px; margin-top: 10px; width: 100%; background-color: #f9f9f9;\"><div style=\"text-align: center; font-size: 12px; font-weight: bold; line-height: 1.3;\">අපෙන් භාණ්ඩ ලබා ගැනීමෙන් ඔබ ලැබූ ලාභය<br><span style=\"font-size: 18px; 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;\">========================</p></div>', '[{\"id\":4,\"item_name_sinhala\":\"සීනි 1kg\",\"item_name_english\":\"Sugar 1kg\",\"barcode\":\"1004\",\"unit_of_measurement\":\"kg\",\"regular_price\":160,\"our_price\":150,\"stock_quantity\":10,\"quantity\":1}]', '2025-09-03 19:10:30'),
(30, 73, '2025-09-03', NULL, NULL, NULL, 150.00, 2000.00, 1850.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;\">බිල් අංකය: 73</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Date: 04/09/2025 Time: 00: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: 6px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px;\"><span style=\"font-size: 20px; font-weight: bold; flex: 1; line-height: 1.2;\">සීනි 1kg</span><span style=\"font-size: 20px; font-weight: bold; text-align: right;\">Rs.150.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; color: #555; margin-bottom: 5px; line-height: 1.3;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.160.00</div><div>අපේ මිල: Rs.150.00</div></div><div style=\"text-align: right; align-self: center; font-size: 14px;\">1 × Rs.150.00</div></div></div></div><div style=\"border-top: 2px solid black; padding-top: 6px; margin-top: 8px; width: 100%;\"></div><div class=\"bill-summary\" style=\"text-align: right; font-size: 15px; margin-bottom: 8px;\"><div style=\"margin: 4px 0; font-weight: bold; font-size: 22px;\">මුළු මුදල: Rs. 150.00</div><div style=\"margin: 4px 0;font-weight: 450;\">ගෙවූ මුදල: Rs. 2000.00</div><div style=\"margin: 4px 0; font-size: 14px;\">ඉතිරි මුදල: Rs. 1850.00</div></div><div style=\"border: 2px solid black; padding: 8px; margin-top: 10px; width: 100%; background-color: #f9f9f9;\"><div style=\"text-align: center; font-size: 10px; font-weight: bold; line-height: 1.0;\">අපෙන් භාණ්ඩ ලබා ගැනීමෙන් ඔබ ලැබූ ලාභය<br><span style=\"font-size: 18px; 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;\">========================</p></div>', '[{\"id\":4,\"item_name_sinhala\":\"සීනි 1kg\",\"item_name_english\":\"Sugar 1kg\",\"barcode\":\"1004\",\"unit_of_measurement\":\"kg\",\"regular_price\":160,\"our_price\":150,\"stock_quantity\":10,\"quantity\":1}]', '2025-09-03 19:11:30'),
(31, 74, '2025-09-03', NULL, NULL, NULL, 150.00, 200.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;\">බිල් අංකය: 74</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Date: 04/09/2025 Time: 00:42:44</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: 6px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px;\"><span style=\"font-size: 20px; font-weight: bold; flex: 1; line-height: 1.2;\">සීනි 1kg</span><span style=\"font-size: 20px; font-weight: bold; text-align: right;\">Rs.150.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; color: #555; margin-bottom: 5px; line-height: 1.3;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.160.00</div><div>අපේ මිල: Rs.150.00</div></div><div style=\"text-align: right; align-self: center; font-size: 14px;\">1 × Rs.150.00</div></div></div></div><div style=\"border-top: 2px solid black; padding-top: 6px; margin-top: 8px; width: 100%;\"></div><div class=\"bill-summary\" style=\"text-align: right; font-size: 15px; margin-bottom: 8px;\"><div style=\"margin: 4px 0; font-weight: bold; font-size: 22px;\">මුළු මුදල: Rs. 150.00</div><div style=\"margin: 4px 0;font-weight: 450;\">ගෙවූ මුදල: Rs. 200.00</div><div style=\"margin: 4px 0; font-size: 14px;\">ඉතිරි මුදල: Rs. 50.00</div></div><div style=\"border: 1px solid black; padding: 8px; margin-top: 6px; width: 100%; background-color: #f9f9f9;\"><div style=\"text-align: center; font-size: 10px; font-weight: bold; line-height: 1.0;\">අපෙන් භාණ්ඩ ලබා ගැනීමෙන් ඔබ ලැබූ ලාභය<br><span style=\"font-size: 18px; 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;\">========================</p></div>', '[{\"id\":4,\"item_name_sinhala\":\"සීනි 1kg\",\"item_name_english\":\"Sugar 1kg\",\"barcode\":\"1004\",\"unit_of_measurement\":\"kg\",\"regular_price\":160,\"our_price\":150,\"stock_quantity\":10,\"quantity\":1}]', '2025-09-03 19:12:44'),
(32, 75, '2025-09-03', NULL, NULL, NULL, 150.00, 200.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;\">බිල් අංකය: 75</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Date: 04/09/2025 Time: 00:43: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: 6px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px;\"><span style=\"font-size: 20px; font-weight: bold; flex: 1; line-height: 1.2;\">සීනි 1kg</span><span style=\"font-size: 20px; font-weight: bold; text-align: right;\">Rs.150.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; color: #555; margin-bottom: 5px; line-height: 1.3;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.160.00</div><div>අපේ මිල: Rs.150.00</div></div><div style=\"text-align: right; align-self: center; font-size: 14px;\">1 × Rs.150.00</div></div></div></div><div style=\"border-top: 2px solid black; padding-top: 6px; margin-top: 8px; width: 100%;\"></div><div class=\"bill-summary\" style=\"text-align: right; font-size: 15px; margin-bottom: 8px;\"><div style=\"margin: 4px 0; font-weight: bold; font-size: 22px;\">මුළු මුදල: Rs. 150.00</div><div style=\"margin: 4px 0;font-weight: 450;\">ගෙවූ මුදල: Rs. 200.00</div><div style=\"margin: 4px 0; font-size: 14px;\">ඉතිරි මුදල: Rs. 50.00</div></div><div style=\"border: 1px solid black; padding: 6px; margin-top: 6px; width: 100%; background-color: #f9f9f9;\"><div style=\"text-align: center; font-size: 10px; font-weight: bold; line-height: 1.0;\">අපෙන් භාණ්ඩ ලබා ගැනීමෙන් ඔබ ලැබූ ලාභය<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;\">========================</p></div>', '[{\"id\":4,\"item_name_sinhala\":\"සීනි 1kg\",\"item_name_english\":\"Sugar 1kg\",\"barcode\":\"1004\",\"unit_of_measurement\":\"kg\",\"regular_price\":160,\"our_price\":150,\"stock_quantity\":10,\"quantity\":1}]', '2025-09-03 19:13:24'),
(33, 76, '2025-09-03', NULL, NULL, NULL, 150.00, 200.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;\">බිල් අංකය: 76</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Date: 04/09/2025 Time: 00:45: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: 6px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px;\"><span style=\"font-size: 20px; font-weight: bold; flex: 1; line-height: 1.2;\">සීනි 1kg</span><span style=\"font-size: 20px; font-weight: bold; text-align: right;\">Rs.150.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; color: #555; margin-bottom: 5px; line-height: 1.3;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.160.00</div><div>අපේ මිල: Rs.150.00</div></div><div style=\"text-align: right; align-self: center; font-size: 14px;\">1 × Rs.150.00</div></div></div></div><div style=\"border-top: 2px solid black; padding-top: 6px; margin-top: 8px; width: 100%;\"></div><div class=\"bill-summary\" style=\"text-align: right; font-size: 15px; margin-bottom: 8px;\"><div style=\"margin: 4px 0; font-weight: bold; font-size: 22px;\">මුළු මුදල: Rs. 150.00</div><div style=\"margin: 4px 0;font-weight: 450;\">ගෙවූ මුදල: Rs. 200.00</div><div style=\"margin: 4px 0; font-size: 14px;\">ඉතිරි මුදල: Rs. 50.00</div></div><div style=\"border: 1px solid black; padding: 10px; margin-top: 2px; width: 100%; background-color: #f9f9f9;\"><div style=\"text-align: center; font-size: 10px; font-weight: bold; line-height: 1.0;\">අපෙන් භාණ්ඩ ලබා ගැනීමෙන් ඔබ ලැබූ ලාභය<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;\">========================</p></div>', '[{\"id\":4,\"item_name_sinhala\":\"සීනි 1kg\",\"item_name_english\":\"Sugar 1kg\",\"barcode\":\"1004\",\"unit_of_measurement\":\"kg\",\"regular_price\":160,\"our_price\":150,\"stock_quantity\":10,\"quantity\":1}]', '2025-09-03 19:15:16'),
(34, 77, '2025-09-03', NULL, NULL, NULL, 150.00, 2000.00, 1850.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;\">බිල් අංකය: 77</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Date: 04/09/2025 Time: 00:45: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: 6px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px;\"><span style=\"font-size: 20px; font-weight: bold; flex: 1; line-height: 1.2;\">සීනි 1kg</span><span style=\"font-size: 20px; font-weight: bold; text-align: right;\">Rs.150.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; color: #555; margin-bottom: 5px; line-height: 1.3;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.160.00</div><div>අපේ මිල: Rs.150.00</div></div><div style=\"text-align: right; align-self: center; font-size: 14px;\">1 × Rs.150.00</div></div></div></div><div style=\"border-top: 2px solid black; padding-top: 6px; margin-top: 8px; width: 100%;\"></div><div class=\"bill-summary\" style=\"text-align: right; font-size: 15px; margin-bottom: 8px;\"><div style=\"margin: 4px 0; font-weight: bold; font-size: 22px;\">මුළු මුදල: Rs. 150.00</div><div style=\"margin: 4px 0;font-weight: 450;\">ගෙවූ මුදල: Rs. 2000.00</div><div style=\"margin: 4px 0; font-size: 14px;\">ඉතිරි මුදල: Rs. 1850.00</div></div><div style=\"border: 1px solid black; padding: 14px; margin-top: 2px; width: 100%; background-color: #f9f9f9;\"><div style=\"text-align: center; font-size: 10px; font-weight: bold; line-height: 1.0;\">අපෙන් භාණ්ඩ ලබා ගැනීමෙන් ඔබ ලැබූ ලාභය<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;\">========================</p></div>', '[{\"id\":4,\"item_name_sinhala\":\"සීනි 1kg\",\"item_name_english\":\"Sugar 1kg\",\"barcode\":\"1004\",\"unit_of_measurement\":\"kg\",\"regular_price\":160,\"our_price\":150,\"stock_quantity\":10,\"quantity\":1}]', '2025-09-03 19:15:39'),
(35, 78, '2025-09-03', NULL, NULL, NULL, 150.00, 200.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;\">බිල් අංකය: 78</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Date: 04/09/2025 Time: 00:46: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: 6px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px;\"><span style=\"font-size: 20px; font-weight: bold; flex: 1; line-height: 1.2;\">සීනි 1kg</span><span style=\"font-size: 20px; font-weight: bold; text-align: right;\">Rs.150.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; color: #555; margin-bottom: 5px; line-height: 1.3;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.160.00</div><div>අපේ මිල: Rs.150.00</div></div><div style=\"text-align: right; align-self: center; font-size: 14px;\">1 × Rs.150.00</div></div></div></div><div style=\"border-top: 2px solid black; padding-top: 6px; margin-top: 8px; width: 100%;\"></div><div class=\"bill-summary\" style=\"text-align: right; font-size: 15px; margin-bottom: 8px;\"><div style=\"margin: 4px 0; font-weight: bold; font-size: 22px;\">මුළු මුදල: Rs. 150.00</div><div style=\"margin: 4px 0;font-weight: 450;\">ගෙවූ මුදල: Rs. 200.00</div><div style=\"margin: 4px 0; font-size: 14px;\">ඉතිරි මුදල: Rs. 50.00</div></div><div style=\"border: 1px solid black; padding: 20px; margin-top: 2px; width: 100%; background-color: #f9f9f9;\"><div style=\"text-align: center; font-size: 10px; font-weight: bold; line-height: 1.0;\">අපෙන් භාණ්ඩ ලබා ගැනීමෙන් ඔබ ලැබූ ලාභය<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;\">========================</p></div>', '[{\"id\":4,\"item_name_sinhala\":\"සීනි 1kg\",\"item_name_english\":\"Sugar 1kg\",\"barcode\":\"1004\",\"unit_of_measurement\":\"kg\",\"regular_price\":160,\"our_price\":150,\"stock_quantity\":10,\"quantity\":1}]', '2025-09-03 19:16:34'),
(36, 79, '2025-09-03', NULL, NULL, NULL, 150.00, 200.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;\">බිල් අංකය: 79</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Date: 04/09/2025 Time: 00:47: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: 6px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px;\"><span style=\"font-size: 20px; font-weight: bold; flex: 1; line-height: 1.2;\">සීනි 1kg</span><span style=\"font-size: 20px; font-weight: bold; text-align: right;\">Rs.150.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; color: #555; margin-bottom: 5px; line-height: 1.3;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.160.00</div><div>අපේ මිල: Rs.150.00</div></div><div style=\"text-align: right; align-self: center; font-size: 14px;\">1 × Rs.150.00</div></div></div></div><div style=\"border-top: 2px solid black; padding-top: 6px; margin-top: 8px; width: 100%;\"></div><div class=\"bill-summary\" style=\"text-align: right; font-size: 15px; margin-bottom: 8px;\"><div style=\"margin: 4px 0; font-weight: bold; font-size: 22px;\">මුළු මුදල: Rs. 150.00</div><div style=\"margin: 4px 0;font-weight: 450;\">ගෙවූ මුදල: Rs. 200.00</div><div style=\"margin: 4px 0; font-size: 14px;\">ඉතිරි මුදල: Rs. 50.00</div></div><div style=\"border: 1px solid black; padding: 20px; margin-top: 8px; width: 100%; background-color: #f9f9f9;\"><div style=\"text-align: center; font-size: 10px; font-weight: bold; line-height: 1.0;\">අපෙන් භාණ්ඩ ලබා ගැනීමෙන් ඔබ ලැබූ ලාභය<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;\">========================</p></div>', '[{\"id\":4,\"item_name_sinhala\":\"සීනි 1kg\",\"item_name_english\":\"Sugar 1kg\",\"barcode\":\"1004\",\"unit_of_measurement\":\"kg\",\"regular_price\":160,\"our_price\":150,\"stock_quantity\":10,\"quantity\":1}]', '2025-09-03 19:17:09'),
(37, 80, '2025-09-03', NULL, NULL, NULL, 150.00, 2000.00, 1850.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;\">බිල් අංකය: 80</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Date: 04/09/2025 Time: 00:48: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: 6px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px;\"><span style=\"font-size: 20px; font-weight: bold; flex: 1; line-height: 1.2;\">සීනි 1kg</span><span style=\"font-size: 20px; font-weight: bold; text-align: right;\">Rs.150.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; color: #555; margin-bottom: 5px; line-height: 1.3;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.160.00</div><div>අපේ මිල: Rs.150.00</div></div><div style=\"text-align: right; align-self: center; font-size: 14px;\">1 × Rs.150.00</div></div></div></div><div style=\"border-top: 2px solid black; padding-top: 6px; margin-top: 8px; width: 100%;\"></div><div class=\"bill-summary\" style=\"text-align: right; font-size: 15px; margin-bottom: 8px;\"><div style=\"margin: 4px 0; font-weight: bold; font-size: 22px;\">මුළු මුදල: Rs. 150.00</div><div style=\"margin: 4px 0;font-weight: 450;\">ගෙවූ මුදල: Rs. 2000.00</div><div style=\"margin: 4px 0; font-size: 14px;\">ඉතිරි මුදල: Rs. 1850.00</div><div style=\"border: 1px solid black; padding: 20px; margin-top: 8px; width: 100%; background-color: #f9f9f9;\"><div style=\"text-align: center; font-size: 10px; font-weight: bold; line-height: 1.0;\">අපෙන් භාණ්ඩ ලබා ගැනීමෙන් ඔබ ලැබූ ලාභය<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;\">========================</p></div>', '[{\"id\":4,\"item_name_sinhala\":\"සීනි 1kg\",\"item_name_english\":\"Sugar 1kg\",\"barcode\":\"1004\",\"unit_of_measurement\":\"kg\",\"regular_price\":160,\"our_price\":150,\"stock_quantity\":10,\"quantity\":1}]', '2025-09-03 19:18:02'),
(38, 81, '2025-09-03', NULL, NULL, NULL, 150.00, 200.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;\">බිල් අංකය: 81</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Date: 04/09/2025 Time: 00:48:55</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: 6px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px;\"><span style=\"font-size: 20px; font-weight: bold; flex: 1; line-height: 1.2;\">සීනි 1kg</span><span style=\"font-size: 20px; font-weight: bold; text-align: right;\">Rs.150.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; color: #555; margin-bottom: 5px; line-height: 1.3;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.160.00</div><div>අපේ මිල: Rs.150.00</div></div><div style=\"text-align: right; align-self: center; font-size: 14px;\">1 × Rs.150.00</div></div></div></div><div style=\"border-top: 2px solid black; padding-top: 6px; margin-top: 8px; width: 100%;\"></div><div class=\"bill-summary\" style=\"text-align: right; font-size: 15px; margin-bottom: 8px;\"><div style=\"margin: 4px 0; font-weight: bold; font-size: 22px;\">මුළු මුදල: Rs. 150.00</div><div style=\"margin: 4px 0;font-weight: 450;\">ගෙවූ මුදල: Rs. 200.00</div><div style=\"margin: 4px 0; font-size: 14px;\">ඉතිරි මුදල: Rs. 50.00</div><div style=\"border: 1px solid black; padding: 20px; margin-top: 16px; width: 100%; background-color: #f9f9f9;\"><div style=\"text-align: center; font-size: 10px; font-weight: bold; line-height: 1.6;\">අපෙන් භාණ්ඩ ලබා ගැනීමෙන් ඔබ ලැබූ ලාභය<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;\">========================</p></div>', '[{\"id\":4,\"item_name_sinhala\":\"සීනි 1kg\",\"item_name_english\":\"Sugar 1kg\",\"barcode\":\"1004\",\"unit_of_measurement\":\"kg\",\"regular_price\":160,\"our_price\":150,\"stock_quantity\":10,\"quantity\":1}]', '2025-09-03 19:18:55'),
(39, 82, '2025-09-03', NULL, NULL, NULL, 150.00, 2000.00, 1850.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;\">බිල් අංකය: 82</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Date: 04/09/2025 Time: 00:49:15</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: 6px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px;\"><span style=\"font-size: 20px; font-weight: bold; flex: 1; line-height: 1.2;\">සීනි 1kg</span><span style=\"font-size: 20px; font-weight: bold; text-align: right;\">Rs.150.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; color: #555; margin-bottom: 5px; line-height: 1.3;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.160.00</div><div>අපේ මිල: Rs.150.00</div></div><div style=\"text-align: right; align-self: center; font-size: 14px;\">1 × Rs.150.00</div></div></div></div><div style=\"border-top: 2px solid black; padding-top: 6px; margin-top: 8px; width: 100%;\"></div><div class=\"bill-summary\" style=\"text-align: right; font-size: 15px; margin-bottom: 8px;\"><div style=\"margin: 4px 0; font-weight: bold; font-size: 22px;\">මුළු මුදල: Rs. 150.00</div><div style=\"margin: 4px 0;font-weight: 450;\">ගෙවූ මුදල: Rs. 2000.00</div><div style=\"margin: 4px 0; font-size: 14px;\">ඉතිරි මුදල: Rs. 1850.00</div><div style=\"border: 1px solid black; padding: 20px; margin-top: 16px; width: 100%; background-color: #f9f9f9;\"><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;\">========================</p></div>', '[{\"id\":4,\"item_name_sinhala\":\"සීනි 1kg\",\"item_name_english\":\"Sugar 1kg\",\"barcode\":\"1004\",\"unit_of_measurement\":\"kg\",\"regular_price\":160,\"our_price\":150,\"stock_quantity\":10,\"quantity\":1}]', '2025-09-03 19:19:15');
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
(40, 83, '2025-09-03', NULL, NULL, NULL, 150.00, 2000.00, 1850.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;\">බිල් අංකය: 83</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Date: 04/09/2025 Time: 00:49: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: 6px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px;\"><span style=\"font-size: 20px; font-weight: bold; flex: 1; line-height: 1.2;\">සීනි 1kg</span><span style=\"font-size: 20px; font-weight: bold; text-align: right;\">Rs.150.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; color: #555; margin-bottom: 5px; line-height: 1.3;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.160.00</div><div>අපේ මිල: Rs.150.00</div></div><div style=\"text-align: right; align-self: center; font-size: 14px;\">1 × Rs.150.00</div></div></div></div><div style=\"border-top: 2px solid black; padding-top: 6px; margin-top: 8px; width: 100%;\"></div><div class=\"bill-summary\" style=\"text-align: right; font-size: 15px; margin-bottom: 8px;\"><div style=\"margin: 4px 0; font-weight: bold; font-size: 22px;\">මුළු මුදල: Rs. 150.00</div><div style=\"margin: 4px 0;font-weight: 450;\">ගෙවූ මුදල: Rs. 2000.00</div><div style=\"margin: 4px 0; font-size: 14px;\">ඉතිරි මුදල: Rs. 1850.00</div><div style=\"border: 1px solid black; padding: 20px; margin-top: 8px; width: 100%; background-color: #f9f9f9;\"><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;\">========================</p></div>', '[{\"id\":4,\"item_name_sinhala\":\"සීනි 1kg\",\"item_name_english\":\"Sugar 1kg\",\"barcode\":\"1004\",\"unit_of_measurement\":\"kg\",\"regular_price\":160,\"our_price\":150,\"stock_quantity\":10,\"quantity\":1}]', '2025-09-03 19:19:41'),
(41, 84, '2025-09-03', NULL, NULL, NULL, 150.00, 2000.00, 1850.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;\">බිල් අංකය: 84</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Date: 04/09/2025 Time: 00:51:06</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: 6px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px;\"><span style=\"font-size: 20px; font-weight: bold; flex: 1; line-height: 1.2;\">සීනි 1kg</span><span style=\"font-size: 20px; font-weight: bold; text-align: right;\">Rs.150.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; color: #555; margin-bottom: 5px; line-height: 1.3;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.160.00</div><div>අපේ මිල: Rs.150.00</div></div><div style=\"text-align: right; align-self: center; font-size: 14px;\">1 × Rs.150.00</div></div></div></div><div style=\"border-top: 2px solid black; padding-top: 0px; margin-top: 0px; width: 100%;\"></div><div class=\"bill-summary\" style=\"text-align: right; font-size: 15px; margin-bottom: 8px;\"><div style=\"margin: 4px 0; font-weight: bold; font-size: 22px;\">මුළු මුදල: Rs. 150.00</div><div style=\"margin: 4px 0;font-weight: 450;\">ගෙවූ මුදල: Rs. 2000.00</div><div style=\"margin: 4px 0; font-size: 14px;\">ඉතිරි මුදල: Rs. 1850.00</div><div style=\"border: 1px solid black; padding: 20px; margin-top: 8px; width: 100%; background-color: #f9f9f9;\"><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;\">========================</p></div>', '[{\"id\":4,\"item_name_sinhala\":\"සීනි 1kg\",\"item_name_english\":\"Sugar 1kg\",\"barcode\":\"1004\",\"unit_of_measurement\":\"kg\",\"regular_price\":160,\"our_price\":150,\"stock_quantity\":10,\"quantity\":1}]', '2025-09-03 19:21:06'),
(42, 85, '2025-09-03', NULL, NULL, NULL, 150.00, 2000.00, 1850.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;\">බිල් අංකය: 85</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Date: 04/09/2025 Time: 00:51:28</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: 6px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px;\"><span style=\"font-size: 20px; font-weight: bold; flex: 1; line-height: 1.2;\">සීනි 1kg</span><span style=\"font-size: 20px; font-weight: bold; text-align: right;\">Rs.150.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; color: #555; margin-bottom: 5px; line-height: 1.3;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.160.00</div><div>අපේ මිල: Rs.150.00</div></div><div style=\"text-align: right; align-self: center; font-size: 14px;\">1 × Rs.150.00</div></div></div></div><div style=\"border-top: 1px solid black; padding-top: 6px; margin-top: 8px; width: 100%;\"></div><div class=\"bill-summary\" style=\"text-align: right; font-size: 15px; margin-bottom: 8px;\"><div style=\"margin: 4px 0; font-weight: bold; font-size: 22px;\">මුළු මුදල: Rs. 150.00</div><div style=\"margin: 4px 0;font-weight: 450;\">ගෙවූ මුදල: Rs. 2000.00</div><div style=\"margin: 4px 0; font-size: 14px;\">ඉතිරි මුදල: Rs. 1850.00</div><div style=\"border: 1px solid black; padding: 20px; margin-top: 8px; width: 100%; background-color: #f9f9f9;\"><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;\">========================</p></div>', '[{\"id\":4,\"item_name_sinhala\":\"සීනි 1kg\",\"item_name_english\":\"Sugar 1kg\",\"barcode\":\"1004\",\"unit_of_measurement\":\"kg\",\"regular_price\":160,\"our_price\":150,\"stock_quantity\":10,\"quantity\":1}]', '2025-09-03 19:21:28'),
(43, 86, '2025-09-03', NULL, NULL, NULL, 150.00, 2000.00, 1850.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;\">බිල් අංකය: 86</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Date: 04/09/2025 Time: 00:52: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: 6px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px;\"><span style=\"font-size: 20px; font-weight: bold; flex: 1; line-height: 1.2;\">සීනි 1kg</span><span style=\"font-size: 20px; font-weight: bold; text-align: right;\">Rs.150.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; color: #555; margin-bottom: 5px; line-height: 1.3;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.160.00</div><div>අපේ මිල: Rs.150.00</div></div><div style=\"text-align: right; align-self: center; font-size: 14px;\">1 × Rs.150.00</div></div></div></div><div style=\"border-top: 1px solid black; padding-top: 6px; margin-top: 8px; width: 100%;\"><div class=\"bill-summary\" style=\"text-align: right; font-size: 15px; margin-bottom: 8px;\"><div style=\"margin: 4px 0; font-weight: bold; font-size: 22px;\">මුළු මුදල: Rs. 150.00</div><div style=\"margin: 4px 0;font-weight: 450;\">ගෙවූ මුදල: Rs. 2000.00</div><div style=\"margin: 4px 0; font-size: 14px;\">ඉතිරි මුදල: Rs. 1850.00</div><div style=\"border: 1px solid black; padding: 20px; margin-top: 8px; width: 100%; background-color: #f9f9f9;\"><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;\">========================</p></div>', '[{\"id\":4,\"item_name_sinhala\":\"සීනි 1kg\",\"item_name_english\":\"Sugar 1kg\",\"barcode\":\"1004\",\"unit_of_measurement\":\"kg\",\"regular_price\":160,\"our_price\":150,\"stock_quantity\":10,\"quantity\":1}]', '2025-09-03 19:22:12'),
(44, 87, '2025-09-03', NULL, NULL, NULL, 150.00, 2000.00, 1850.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;\">බිල් අංකය: 87</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Date: 04/09/2025 Time: 00:52: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: 6px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px;\"><span style=\"font-size: 20px; font-weight: bold; flex: 1; line-height: 1.2;\">සීනි 1kg</span><span style=\"font-size: 20px; font-weight: bold; text-align: right;\">Rs.150.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; color: #555; margin-bottom: 5px; line-height: 1.3;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.160.00</div><div>අපේ මිල: Rs.150.00</div></div><div style=\"text-align: right; align-self: center; font-size: 14px;\">1 × Rs.150.00</div></div></div></div><div style=\"border-top: 1px solid black; padding-top: 6px; margin-top: 8px; width: 100%;\"></div><div style=\"margin: 4px 0; font-weight: bold; font-size: 22px;\">මුළු මුදල: Rs. 150.00</div><div style=\"margin: 4px 0;font-weight: 450;\">ගෙවූ මුදල: Rs. 2000.00</div><div style=\"margin: 4px 0; font-size: 14px;\">ඉතිරි මුදල: Rs. 1850.00</div><div style=\"border: 1px solid black; padding: 20px; margin-top: 8px; width: 100%; background-color: #f9f9f9;\"><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;\">========================</p></div>', '[{\"id\":4,\"item_name_sinhala\":\"සීනි 1kg\",\"item_name_english\":\"Sugar 1kg\",\"barcode\":\"1004\",\"unit_of_measurement\":\"kg\",\"regular_price\":160,\"our_price\":150,\"stock_quantity\":10,\"quantity\":1}]', '2025-09-03 19:22:51'),
(45, 88, '2025-09-03', NULL, NULL, NULL, 150.00, 200.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;\">බිල් අංකය: 88</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Date: 04/09/2025 Time: 00:56: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: 6px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px;\"><span style=\"font-size: 20px; font-weight: bold; flex: 1; line-height: 1.2;\">සීනි 1kg</span><span style=\"font-size: 20px; font-weight: bold; text-align: right;\">Rs.150.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; color: #555; margin-bottom: 5px; line-height: 1.3;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.160.00</div><div>අපේ මිල: Rs.150.00</div></div><div style=\"text-align: right; align-self: center; font-size: 14px;\">1 × Rs.150.00</div></div></div></div><div style=\"border-top: 1px solid black; border-bottom: 0px solid black; padding-top: 6px; margin-top: 8px; width: 100%;\"></div><div class=\"bill-summary\" style=\"text-align: right; font-size: 15px; margin-bottom: 8px;\"><div style=\"margin: 4px 0; font-weight: bold; font-size: 22px;\">මුළු මුදල: Rs. 150.00</div><div style=\"margin: 4px 0;font-weight: 450;\">ගෙවූ මුදල: Rs. 200.00</div><div style=\"margin: 4px 0; font-size: 14px;\">ඉතිරි මුදල: Rs. 50.00</div><div style=\"border: 1px solid black; padding: 20px; margin-top: 8px; width: 100%; background-color: #f9f9f9;\"><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;\">========================</p></div>', '[{\"id\":4,\"item_name_sinhala\":\"සීනි 1kg\",\"item_name_english\":\"Sugar 1kg\",\"barcode\":\"1004\",\"unit_of_measurement\":\"kg\",\"regular_price\":160,\"our_price\":150,\"stock_quantity\":10,\"quantity\":1}]', '2025-09-03 19:26:30'),
(46, 89, '2025-09-03', NULL, NULL, NULL, 150.00, 200.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;\">බිල් අංකය: 89</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Date: 04/09/2025 Time: 00:56: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: 6px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px;\"><span style=\"font-size: 20px; font-weight: bold; flex: 1; line-height: 1.2;\">සීනි 1kg</span><span style=\"font-size: 20px; font-weight: bold; text-align: right;\">Rs.150.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; color: #555; margin-bottom: 5px; line-height: 1.3;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.160.00</div><div>අපේ මිල: Rs.150.00</div></div><div style=\"text-align: right; align-self: center; font-size: 14px;\">1 × Rs.150.00</div></div></div></div><div style=\"border-top: 1px solid black; border-bottom: 0px solid black; padding-top: 6px; margin-top: 8px; width: 100%;\"></div><div class=\"bill-summary\" style=\"text-align: right; font-size: 15px; margin-bottom: 8px;\"><div style=\"margin: 4px 0; font-weight: bold; font-size: 22px;\">මුළු මුදල: Rs. 150.00</div><div style=\"margin: 4px 0;font-weight: 450;\">ගෙවූ මුදල: Rs. 200.00</div><div style=\"margin: 4px 0; font-size: 14px;\">ඉතිරි මුදල: Rs. 50.00</div><div style=\"border: 1px solid black; padding: 20px; margin-top: 8px; width: 100%; background-color: #f9f9f9;\"><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;\">========================</p></div>', '[{\"id\":4,\"item_name_sinhala\":\"සීනි 1kg\",\"item_name_english\":\"Sugar 1kg\",\"barcode\":\"1004\",\"unit_of_measurement\":\"kg\",\"regular_price\":160,\"our_price\":150,\"stock_quantity\":10,\"quantity\":1}]', '2025-09-03 19:26:45'),
(47, 90, '2025-09-03', NULL, NULL, NULL, 150.00, 2000.00, 1850.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;\">බිල් අංකය: 90</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Date: 04/09/2025 Time: 00:57: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: 6px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px;\"><span style=\"font-size: 20px; font-weight: bold; flex: 1; line-height: 1.2;\">සීනි 1kg</span><span style=\"font-size: 20px; font-weight: bold; text-align: right;\">Rs.150.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; color: #555; margin-bottom: 5px; line-height: 1.3;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.160.00</div><div>අපේ මිල: Rs.150.00</div></div><div style=\"text-align: right; align-self: center; font-size: 14px;\">1 × Rs.150.00</div></div></div></div><div style=\"border-top: 1px solid black; padding-top: 0px; margin-top: 8px; width: 100%;\"></div><div class=\"bill-summary\" style=\"text-align: right; font-size: 15px; margin-bottom: 8px;\"><div style=\"margin: 4px 0; font-weight: bold; font-size: 22px;\">මුළු මුදල: Rs. 150.00</div><div style=\"margin: 4px 0;font-weight: 450;\">ගෙවූ මුදල: Rs. 2000.00</div><div style=\"margin: 4px 0; font-size: 14px;\">ඉතිරි මුදල: Rs. 1850.00</div><div style=\"border: 1px solid black; padding: 20px; margin-top: 8px; width: 100%; background-color: #f9f9f9;\"><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;\">========================</p></div>', '[{\"id\":4,\"item_name_sinhala\":\"සීනි 1kg\",\"item_name_english\":\"Sugar 1kg\",\"barcode\":\"1004\",\"unit_of_measurement\":\"kg\",\"regular_price\":160,\"our_price\":150,\"stock_quantity\":10,\"quantity\":1}]', '2025-09-03 19:27:17'),
(48, 91, '2025-09-03', NULL, NULL, NULL, 150.00, 200.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;\">බිල් අංකය: 91</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Date: 04/09/2025 Time: 00:58: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: 6px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px;\"><span style=\"font-size: 20px; font-weight: bold; flex: 1; line-height: 1.2;\">සීනි 1kg</span><span style=\"font-size: 20px; font-weight: bold; text-align: right;\">Rs.150.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; color: #555; margin-bottom: 5px; line-height: 1.3;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.160.00</div><div>අපේ මිල: Rs.150.00</div></div><div style=\"text-align: right; align-self: center; font-size: 14px;\">1 × Rs.150.00</div></div></div></div><div style=\"border-bottom: 1px dotted #aaa; margin: 5px 0 4px 0; width: 100%;\"></div><div class=\"bill-summary\" style=\"text-align: right; font-size: 15px; margin-bottom: 8px;\"><div style=\"margin: 4px 0; font-weight: bold; font-size: 22px;\">මුළු මුදල: Rs. 150.00</div><div style=\"margin: 4px 0;font-weight: 450;\">ගෙවූ මුදල: Rs. 200.00</div><div style=\"margin: 4px 0; font-size: 14px;\">ඉතිරි මුදල: Rs. 50.00</div><div style=\"border: 1px solid black; padding: 20px; margin-top: 8px; width: 100%; background-color: #f9f9f9;\"><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;\">========================</p></div>', '[{\"id\":4,\"item_name_sinhala\":\"සීනි 1kg\",\"item_name_english\":\"Sugar 1kg\",\"barcode\":\"1004\",\"unit_of_measurement\":\"kg\",\"regular_price\":160,\"our_price\":150,\"stock_quantity\":10,\"quantity\":1}]', '2025-09-03 19:28:08'),
(49, 92, '2025-09-03', NULL, NULL, NULL, 150.00, 200.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;\">බිල් අංකය: 92</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Date: 04/09/2025 Time: 00:58: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: 6px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px;\"><span style=\"font-size: 20px; font-weight: bold; flex: 1; line-height: 1.2;\">සීනි 1kg</span><span style=\"font-size: 20px; font-weight: bold; text-align: right;\">Rs.150.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; color: #555; margin-bottom: 5px; line-height: 1.3;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.160.00</div><div>අපේ මිල: Rs.150.00</div></div><div style=\"text-align: right; align-self: center; font-size: 14px;\">1 × Rs.150.00</div></div></div></div><div class=\"bill-summary\" style=\"text-align: right; font-size: 15px; margin-bottom: 8px;\"><div style=\"margin: 4px 0; font-weight: bold; font-size: 22px;\">මුළු මුදල: Rs. 150.00</div><div style=\"margin: 4px 0;font-weight: 450;\">ගෙවූ මුදල: Rs. 200.00</div><div style=\"margin: 4px 0; font-size: 14px;\">ඉතිරි මුදල: Rs. 50.00</div><div style=\"border: 1px solid black; padding: 20px; margin-top: 8px; width: 100%; background-color: #f9f9f9;\"><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;\">========================</p></div>', '[{\"id\":4,\"item_name_sinhala\":\"සීනි 1kg\",\"item_name_english\":\"Sugar 1kg\",\"barcode\":\"1004\",\"unit_of_measurement\":\"kg\",\"regular_price\":160,\"our_price\":150,\"stock_quantity\":10,\"quantity\":1}]', '2025-09-03 19:28:34'),
(50, 93, '2025-09-03', NULL, NULL, NULL, 150.00, 200.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;\">බිල් අංකය: 93</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Date: 04/09/2025 Time: 01:00:19</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: 6px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px;\"><span style=\"font-size: 20px; font-weight: bold; flex: 1; line-height: 1.2;\">සීනි 1kg</span><span style=\"font-size: 20px; font-weight: bold; text-align: right;\">Rs.150.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; color: #000000ff; margin-bottom: 5px; line-height: 1.3;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.160.00</div><div>අපේ මිල: Rs.150.00</div></div><div style=\"text-align: right; align-self: center; font-size: 14px;\">1 × Rs.150.00</div></div></div></div><div class=\"bill-summary\" style=\"text-align: right; font-size: 15px; margin-bottom: 8px;\"><div style=\"margin: 4px 0; font-weight: bold; font-size: 22px;\">මුළු මුදල: Rs. 150.00</div><div style=\"margin: 4px 0;font-weight: 450;\">ගෙවූ මුදල: Rs. 200.00</div><div style=\"margin: 4px 0; font-size: 14px;\">ඉතිරි මුදල: Rs. 50.00</div><div style=\"border: 1px solid black; padding: 20px; margin-top: 8px; width: 100%; background-color: #f9f9f9;\"><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;\">========================</p></div>', '[{\"id\":4,\"item_name_sinhala\":\"සීනි 1kg\",\"item_name_english\":\"Sugar 1kg\",\"barcode\":\"1004\",\"unit_of_measurement\":\"kg\",\"regular_price\":160,\"our_price\":150,\"stock_quantity\":10,\"quantity\":1}]', '2025-09-03 19:30:19'),
(51, 94, '2025-09-03', NULL, NULL, NULL, 150.00, 200.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;\">බිල් අංකය: 94</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Date: 04/09/2025 Time: 01:02: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: 6px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px;\"><span style=\"font-size: 20px; font-weight: bold; flex: 1; line-height: 1.2;\">සීනි 1kg</span><span style=\"font-size: 20px; font-weight: bold; text-align: right;\">Rs.150.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; color: #000000ff; margin-bottom: 5px; line-height: 1.3;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.160.00</div><div>අපේ මිල: Rs.150.00</div></div><div style=\"text-align: right; align-self: center; font-size: 14px;\">1 × Rs.150.00</div></div></div></div><div class=\"bill-summary\" style=\"text-align: right; font-size: 15px; margin-bottom: 8px;\"><div style=\"margin: 4px 0; font-weight: bold; font-size: 22px;\">මුළු මුදල: Rs. 150.00</div><div style=\"margin: 4px 0;font-weight: 450;\">ගෙවූ මුදල: Rs. 200.00</div><div style=\"margin: 4px 0; font-size: 14px;\">ඉතිරි මුදල: Rs. 50.00</div><div style=\"border: 1px solid black; padding: 20px; margin-top: 8px; width: 100%; background-color: #f9f9f9;\"><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;\">========================</p></div>', '[{\"id\":4,\"item_name_sinhala\":\"සීනි 1kg\",\"item_name_english\":\"Sugar 1kg\",\"barcode\":\"1004\",\"unit_of_measurement\":\"kg\",\"regular_price\":160,\"our_price\":150,\"stock_quantity\":10,\"quantity\":1}]', '2025-09-03 19:32:17'),
(52, 95, '2025-09-03', NULL, NULL, NULL, 150.00, 500.00, 350.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;\">බිල් අංකය: 95</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Date: 04/09/2025 Time: 01:03: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: 6px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px;\"><span style=\"font-size: 20px; font-weight: bold; flex: 1; line-height: 1.2;\">සීනි 1kg</span><span style=\"font-size: 20px; font-weight: bold; text-align: right;\">Rs.150.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; color: #000000ff; margin-bottom: 5px; line-height: 1.3;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.160.00</div><div>අපේ මිල: Rs.150.00</div></div><div style=\"text-align: right; align-self: center; font-size: 14px;\">1 × Rs.150.00</div></div></div></div><div class=\"bill-summary\" style=\"text-align: right; font-size: 15px; margin-bottom: 8px;\"><div style=\"margin: 4px 0; font-weight: bold; font-size: 22px;\">මුළු මුදල: Rs. 150.00</div><div style=\"margin: 4px 0;font-weight: 450;\">ගෙවූ මුදල: Rs. 500.00</div><div style=\"margin: 4px 0; font-size: 14px;\">ඉතිරි මුදල: Rs. 350.00</div><div style=\"border: 1px solid black; padding: 20px; margin-top: 8px; width: 100%; background-color: #f9f9f9;\"><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;\">========================</p></div>', '[{\"id\":4,\"item_name_sinhala\":\"සීනි 1kg\",\"item_name_english\":\"Sugar 1kg\",\"barcode\":\"1004\",\"unit_of_measurement\":\"kg\",\"regular_price\":160,\"our_price\":150,\"stock_quantity\":10,\"quantity\":1}]', '2025-09-03 19:33:09'),
(53, 96, '2025-09-03', NULL, NULL, NULL, 150.00, 200.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;\">බිල් අංකය: 96</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Date: 04/09/2025 Time: 01:04: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: 6px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px;\"><span style=\"font-size: 20px; font-weight: bold; flex: 1; line-height: 1.2;\">සීනි 1kg</span><span style=\"font-size: 20px; font-weight: bold; text-align: right;\">Rs.150.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; color: #000000ff; margin-bottom: 5px; line-height: 1.3;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.160.00</div><div>අපේ මිල: Rs.150.00</div></div><div style=\"text-align: right; align-self: center; font-size: 14px;\">1 × Rs.150.00</div></div></div></div><div class=\"bill-summary\" style=\"text-align: right; font-size: 15px; margin-bottom: 8px;\"><div style=\"margin: 4px 0; font-weight: bold; font-size: 22px;\">මුළු මුදල: Rs. 150.00</div><div style=\"margin: 4px 0;font-weight: 450;\">ගෙවූ මුදල: Rs. 200.00</div><div style=\"margin: 4px 0; font-size: 14px;\">ඉතිරි මුදල: Rs. 50.00</div><div style=\"border: 1px solid black; padding: 20px; margin-top: 8px; width: 100%; background-color: #f9f9f9;\"><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;\">========================</p></div>', '[{\"id\":4,\"item_name_sinhala\":\"සීනි 1kg\",\"item_name_english\":\"Sugar 1kg\",\"barcode\":\"1004\",\"unit_of_measurement\":\"kg\",\"regular_price\":160,\"our_price\":150,\"stock_quantity\":10,\"quantity\":1}]', '2025-09-03 19:34:45'),
(54, 97, '2025-09-03', NULL, NULL, NULL, 150.00, 200.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;\">බිල් අංකය: 97</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Date: 04/09/2025 Time: 01:06:29</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: 6px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px;\"><span style=\"font-size: 20px; font-weight: bold; flex: 1; line-height: 1.2;\">සීනි 1kg</span><span style=\"font-size: 20px; font-weight: bold; text-align: right;\">Rs.150.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; color: #000000ff; margin-bottom: 5px; line-height: 1.3;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.160.00</div><div>අපේ මිල: Rs.150.00</div></div><div style=\"text-align: right; align-self: center; font-size: 14px;\">1 × Rs.150.00</div></div></div></div><div class=\"bill-summary\" style=\"text-align: right; font-size: 15px; margin-bottom: 8px;\"><div style=\"margin: 4px 0; font-weight: bold; font-size: 28px;\">මුළු මුදල: Rs. 150.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. 50.00</div><div style=\"border: 1px solid black; padding: 20px; margin-top: 8px; width: 100%; background-color: #f9f9f9;\"><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;\">========================</p></div>', '[{\"id\":4,\"item_name_sinhala\":\"සීනි 1kg\",\"item_name_english\":\"Sugar 1kg\",\"barcode\":\"1004\",\"unit_of_measurement\":\"kg\",\"regular_price\":160,\"our_price\":150,\"stock_quantity\":10,\"quantity\":1}]', '2025-09-03 19:36:29'),
(55, 98, '2025-09-03', NULL, NULL, NULL, 150.00, 200.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;\">බිල් අංකය: 98</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Date: 04/09/2025 Time: 01:07: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: 6px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px;\"><span style=\"font-size: 20px; font-weight: bold; flex: 1; line-height: 1.2;\">සීනි 1kg</span><span style=\"font-size: 20px; font-weight: bold; text-align: right;\">Rs.150.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; color: #000000ff; margin-bottom: 5px; line-height: 1.3;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.160.00</div><div>අපේ මිල: Rs.150.00</div></div><div style=\"text-align: right; align-self: center; font-size: 14px;\">1 × Rs.150.00</div></div></div></div><div class=\"bill-summary\" style=\"text-align: right; font-size: 15px; margin-bottom: 8px;\"><div style=\"margin: 5px 0; font-weight: bold; font-size: 28px;\">මුළු මුදල: Rs. 150.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. 50.00</div><div style=\"border: 1px solid black; padding: 20px; margin-top: 8px; width: 100%; background-color: #f9f9f9;\"><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;\">========================</p></div>', '[{\"id\":4,\"item_name_sinhala\":\"සීනි 1kg\",\"item_name_english\":\"Sugar 1kg\",\"barcode\":\"1004\",\"unit_of_measurement\":\"kg\",\"regular_price\":160,\"our_price\":150,\"stock_quantity\":10,\"quantity\":1}]', '2025-09-03 19:37:33'),
(56, 99, '2025-09-03', NULL, NULL, NULL, 150.00, 200.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;\">බිල් අංකය: 99</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Date: 04/09/2025 Time: 01:08: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: 6px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px;\"><span style=\"font-size: 20px; font-weight: bold; flex: 1; line-height: 1.2;\">සීනි 1kg</span><span style=\"font-size: 20px; font-weight: bold; text-align: right;\">Rs.150.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; color: #000000ff; margin-bottom: 5px; line-height: 1.3;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.160.00</div><div>අපේ මිල: Rs.150.00</div></div><div style=\"text-align: right; align-self: center; font-size: 14px;\">1 × Rs.150.00</div></div></div></div><div class=\"bill-summary\" style=\"text-align: right; font-size: 15px; margin-bottom: 4px;\"><div style=\"margin: 5px 0; font-weight: bold; font-size: 28px;\">මුළු මුදල: Rs. 150.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. 50.00</div><div style=\"border: 1px solid black; padding: 20px; margin-top: 8px; width: 100%; background-color: #f9f9f9;\"><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;\">========================</p></div>', '[{\"id\":4,\"item_name_sinhala\":\"සීනි 1kg\",\"item_name_english\":\"Sugar 1kg\",\"barcode\":\"1004\",\"unit_of_measurement\":\"kg\",\"regular_price\":160,\"our_price\":150,\"stock_quantity\":10,\"quantity\":1}]', '2025-09-03 19:38:14');
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
(57, 100, '2025-09-03', NULL, NULL, NULL, 150.00, 2000.00, 1850.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;\">බිල් අංකය: 100</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Date: 04/09/2025 Time: 01:09: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: 6px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px;\"><span style=\"font-size: 20px; font-weight: bold; flex: 1; line-height: 1.2;\">සීනි 1kg</span><span style=\"font-size: 20px; font-weight: bold; text-align: right;\">Rs.150.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; color: #000000ff; margin-bottom: 5px; line-height: 1.3;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.160.00</div><div>අපේ මිල: Rs.150.00</div></div><div style=\"text-align: right; align-self: center; font-size: 14px;\">1 × 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. 150.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. 1850.00</div><div style=\"border: 1px solid black; padding: 20px; margin-top: 8px; width: 100%; background-color: #f9f9f9;\"><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;\">========================</p></div>', '[{\"id\":4,\"item_name_sinhala\":\"සීනි 1kg\",\"item_name_english\":\"Sugar 1kg\",\"barcode\":\"1004\",\"unit_of_measurement\":\"kg\",\"regular_price\":160,\"our_price\":150,\"stock_quantity\":10,\"quantity\":1}]', '2025-09-03 19:39:49'),
(58, 101, '2025-09-03', NULL, NULL, NULL, 150.00, 200.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;\">බිල් අංකය: 101</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Date: 04/09/2025 Time: 01:12: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: 6px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px;\"><span style=\"font-size: 20px; font-weight: bold; flex: 1; line-height: 1.2;\">සීනි 1kg</span><span style=\"font-size: 20px; 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.3;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.160.00</div><div>අපේ මිල: Rs.150.00</div></div><div style=\"text-align: right; align-self: center; font-size: 14px;\">1 × 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. 150.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. 50.00</div><div style=\"border: 1px solid black; padding: 20px; margin-top: 8px; width: 100%; background-color: #f9f9f9;\"><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;\">========================</p></div>', '[{\"id\":4,\"item_name_sinhala\":\"සීනි 1kg\",\"item_name_english\":\"Sugar 1kg\",\"barcode\":\"1004\",\"unit_of_measurement\":\"kg\",\"regular_price\":160,\"our_price\":150,\"stock_quantity\":10,\"quantity\":1}]', '2025-09-03 19:42:05'),
(59, 102, '2025-09-03', NULL, NULL, NULL, 150.00, 200.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;\">බිල් අංකය: 102</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Date: 04/09/2025 Time: 01:13: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: 2px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px;\"><span style=\"font-size: 20px; font-weight: bold; flex: 1; line-height: 1.2;\">සීනි 1kg</span><span style=\"font-size: 20px; 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.3;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.160.00</div><div>අපේ මිල: Rs.150.00</div></div><div style=\"text-align: right; align-self: center; font-size: 14px;\">1 × 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. 150.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. 50.00</div><div style=\"border: 1px solid black; padding: 20px; margin-top: 8px; width: 100%; background-color: #f9f9f9;\"><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;\">========================</p></div>', '[{\"id\":4,\"item_name_sinhala\":\"සීනි 1kg\",\"item_name_english\":\"Sugar 1kg\",\"barcode\":\"1004\",\"unit_of_measurement\":\"kg\",\"regular_price\":160,\"our_price\":150,\"stock_quantity\":10,\"quantity\":1}]', '2025-09-03 19:43:42'),
(60, 103, '2025-09-03', NULL, NULL, NULL, 4150.00, 5000.00, 850.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;\">බිල් අංකය: 103</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Date: 04/09/2025 Time: 01:14:06</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: 2px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px;\"><span style=\"font-size: 20px; font-weight: bold; flex: 1; line-height: 1.2;\">සීනි 1kg</span><span style=\"font-size: 20px; 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.3;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.160.00</div><div>අපේ මිල: Rs.150.00</div></div><div style=\"text-align: right; align-self: center; font-size: 14px;\">1 × Rs.150.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 5px 0 4px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 2px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px;\"><span style=\"font-size: 20px; font-weight: bold; flex: 1; line-height: 1.2;\">ගෑස්</span><span style=\"font-size: 20px; font-weight: bold; text-align: right;\">Rs.4000.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.3;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.4200.00</div><div>අපේ මිල: Rs.4000.00</div></div><div style=\"text-align: right; align-self: center; font-size: 14px;\">1 × Rs.4000.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. 4150.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. 850.00</div><div style=\"border: 1px solid black; padding: 20px; margin-top: 8px; width: 100%; background-color: #f9f9f9;\"><div style=\"text-align: center; font-size: 10px; font-weight: bold; line-height: 1.7;\">අපෙන් භාණ්ඩ ලබා ගැනීමෙන් ඔබ ලැබූ ලාභය<br><span style=\"font-size: 12px; color: #000000ff;\">Rs.210.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;\">========================</p></div>', '[{\"id\":4,\"item_name_sinhala\":\"සීනි 1kg\",\"item_name_english\":\"Sugar 1kg\",\"barcode\":\"1004\",\"unit_of_measurement\":\"kg\",\"regular_price\":160,\"our_price\":150,\"stock_quantity\":10,\"quantity\":1},{\"id\":14,\"item_name_sinhala\":\"ගෑස්\",\"item_name_english\":\"gas\",\"barcode\":\"RP20406480\",\"unit_of_measurement\":\"pcs\",\"regular_price\":4200,\"our_price\":4000,\"stock_quantity\":10,\"quantity\":1}]', '2025-09-03 19:44:06'),
(61, 104, '2025-09-03', NULL, NULL, NULL, 4150.00, 5000.00, 850.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;\">බිල් අංකය: 104</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Date: 04/09/2025 Time: 01:16: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: 2px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.2;\">සීනි 1kg</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.3;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.160.00</div><div>අපේ මිල: Rs.150.00</div></div><div style=\"text-align: right; align-self: center; font-size: 14px;\">1 × Rs.150.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 5px 0 4px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 2px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.2;\">ගෑස්</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.4000.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.3;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.4200.00</div><div>අපේ මිල: Rs.4000.00</div></div><div style=\"text-align: right; align-self: center; font-size: 14px;\">1 × Rs.4000.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. 4150.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. 850.00</div><div style=\"border: 1px solid black; padding: 20px; margin-top: 8px; width: 100%; background-color: #f9f9f9;\"><div style=\"text-align: center; font-size: 10px; font-weight: bold; line-height: 1.7;\">අපෙන් භාණ්ඩ ලබා ගැනීමෙන් ඔබ ලැබූ ලාභය<br><span style=\"font-size: 12px; color: #000000ff;\">Rs.210.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;\">========================</p></div>', '[{\"id\":4,\"item_name_sinhala\":\"සීනි 1kg\",\"item_name_english\":\"Sugar 1kg\",\"barcode\":\"1004\",\"unit_of_measurement\":\"kg\",\"regular_price\":160,\"our_price\":150,\"stock_quantity\":10,\"quantity\":1},{\"id\":14,\"item_name_sinhala\":\"ගෑස්\",\"item_name_english\":\"gas\",\"barcode\":\"RP20406480\",\"unit_of_measurement\":\"pcs\",\"regular_price\":4200,\"our_price\":4000,\"stock_quantity\":10,\"quantity\":1}]', '2025-09-03 19:46:53'),
(62, 105, '2025-09-03', NULL, NULL, NULL, 4150.00, 5000.00, 850.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;\">බිල් අංකය: 105</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Date: 04/09/2025 Time: 01:17:19</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: 2px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.2;\">සීනි 1kg</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.3;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.160.00</div><div>අපේ මිල: Rs.150.00</div></div><div style=\"text-align: right; align-self: center; font-size: 14px;\">1 × Rs.150.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 5px 0 4px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 2px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px;\"><span style=\"font-size: 16px; font-weight: bold; flex: 1; line-height: 1.2;\">ගෑස්</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.4000.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.3;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.4200.00</div><div>අපේ මිල: Rs.4000.00</div></div><div style=\"text-align: right; align-self: center; font-size: 14px;\">1 × Rs.4000.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. 4150.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. 850.00</div><div style=\"border: 1px solid black; padding: 20px; margin-top: 8px; width: 100%; background-color: #f9f9f9;\"><div style=\"text-align: center; font-size: 10px; font-weight: bold; line-height: 1.7;\">අපෙන් භාණ්ඩ ලබා ගැනීමෙන් ඔබ ලැබූ ලාභය<br><span style=\"font-size: 12px; color: #000000ff;\">Rs.210.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;\">========================</p></div>', '[{\"id\":4,\"item_name_sinhala\":\"සීනි 1kg\",\"item_name_english\":\"Sugar 1kg\",\"barcode\":\"1004\",\"unit_of_measurement\":\"kg\",\"regular_price\":160,\"our_price\":150,\"stock_quantity\":10,\"quantity\":1},{\"id\":14,\"item_name_sinhala\":\"ගෑස්\",\"item_name_english\":\"gas\",\"barcode\":\"RP20406480\",\"unit_of_measurement\":\"pcs\",\"regular_price\":4200,\"our_price\":4000,\"stock_quantity\":10,\"quantity\":1}]', '2025-09-03 19:47:19'),
(63, 106, '2025-09-03', NULL, NULL, NULL, 4150.00, 5000.00, 850.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;\">බිල් අංකය: 106</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Date: 04/09/2025 Time: 01:18: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: 2px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px;\"><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.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.3;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.160.00</div><div>අපේ මිල: Rs.150.00</div></div><div style=\"text-align: right; align-self: center; font-size: 14px;\">1 × Rs.150.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 5px 0 4px 0; width: 100%;\"></div></div><div class=\"bill-item\" style=\"margin-bottom: 2px;\"><div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px;\"><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.4000.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.3;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.4200.00</div><div>අපේ මිල: Rs.4000.00</div></div><div style=\"text-align: right; align-self: center; font-size: 14px;\">1 × Rs.4000.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. 4150.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. 850.00</div><div style=\"border: 1px solid black; padding: 20px; margin-top: 8px; width: 100%; background-color: #f9f9f9;\"><div style=\"text-align: center; font-size: 10px; font-weight: bold; line-height: 1.7;\">අපෙන් භාණ්ඩ ලබා ගැනීමෙන් ඔබ ලැබූ ලාභය<br><span style=\"font-size: 12px; color: #000000ff;\">Rs.210.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;\">========================</p></div>', '[{\"id\":4,\"item_name_sinhala\":\"සීනි 1kg\",\"item_name_english\":\"Sugar 1kg\",\"barcode\":\"1004\",\"unit_of_measurement\":\"kg\",\"regular_price\":160,\"our_price\":150,\"stock_quantity\":10,\"quantity\":1},{\"id\":14,\"item_name_sinhala\":\"ගෑස්\",\"item_name_english\":\"gas\",\"barcode\":\"RP20406480\",\"unit_of_measurement\":\"pcs\",\"regular_price\":4200,\"our_price\":4000,\"stock_quantity\":10,\"quantity\":1}]', '2025-09-03 19:48:09'),
(64, 107, '2025-09-03', NULL, NULL, NULL, 4150.00, 5000.00, 850.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;\">බිල් අංකය: 107</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Date: 04/09/2025 Time: 01:19: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: 2px;\"><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.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.160.00</div><div>අපේ මිල: Rs.150.00</div></div><div style=\"text-align: right; align-self: center; font-size: 14px;\">1 × Rs.150.00</div></div><div style=\"border-bottom: 1px dotted #000000ff; margin: 5px 0 4px 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: 2px;\"><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.4000.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.4200.00</div><div>අපේ මිල: Rs.4000.00</div></div><div style=\"text-align: right; align-self: center; font-size: 14px;\">1 × Rs.4000.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. 4150.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. 850.00</div><div style=\"border: 1px solid black; padding: 20px; margin-top: 8px; width: 100%; background-color: #f9f9f9;\"><div style=\"text-align: center; font-size: 10px; font-weight: bold; line-height: 1.7;\">අපෙන් භාණ්ඩ ලබා ගැනීමෙන් ඔබ ලැබූ ලාභය<br><span style=\"font-size: 12px; color: #000000ff;\">Rs.210.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;\">========================</p></div>', '[{\"id\":4,\"item_name_sinhala\":\"සීනි 1kg\",\"item_name_english\":\"Sugar 1kg\",\"barcode\":\"1004\",\"unit_of_measurement\":\"kg\",\"regular_price\":160,\"our_price\":150,\"stock_quantity\":10,\"quantity\":1},{\"id\":14,\"item_name_sinhala\":\"ගෑස්\",\"item_name_english\":\"gas\",\"barcode\":\"RP20406480\",\"unit_of_measurement\":\"pcs\",\"regular_price\":4200,\"our_price\":4000,\"stock_quantity\":10,\"quantity\":1}]', '2025-09-03 19:49:40'),
(65, 108, '2025-09-03', NULL, NULL, NULL, 4150.00, 5000.00, 850.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;\">බිල් අංකය: 108</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Date: 04/09/2025 Time: 01:21: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.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.160.00</div><div>අපේ මිල: Rs.150.00</div></div><div style=\"text-align: right; align-self: center; font-size: 14px;\">1 × 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.4000.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.4200.00</div><div>අපේ මිල: Rs.4000.00</div></div><div style=\"text-align: right; align-self: center; font-size: 14px;\">1 × Rs.4000.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. 4150.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. 850.00</div><div style=\"border: 1px solid black; padding: 20px; margin-top: 8px; width: 100%; background-color: #f9f9f9;\"><div style=\"text-align: center; font-size: 10px; font-weight: bold; line-height: 1.7;\">අපෙන් භාණ්ඩ ලබා ගැනීමෙන් ඔබ ලැබූ ලාභය<br><span style=\"font-size: 12px; color: #000000ff;\">Rs.210.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;\">========================</p></div>', '[{\"id\":4,\"item_name_sinhala\":\"සීනි 1kg\",\"item_name_english\":\"Sugar 1kg\",\"barcode\":\"1004\",\"unit_of_measurement\":\"kg\",\"regular_price\":160,\"our_price\":150,\"stock_quantity\":10,\"quantity\":1},{\"id\":14,\"item_name_sinhala\":\"ගෑස්\",\"item_name_english\":\"gas\",\"barcode\":\"RP20406480\",\"unit_of_measurement\":\"pcs\",\"regular_price\":4200,\"our_price\":4000,\"stock_quantity\":10,\"quantity\":1}]', '2025-09-03 19:51:34'),
(66, 109, '2025-09-03', NULL, NULL, NULL, 4150.00, 20000.00, 15850.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;\">බිල් අංකය: 109</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Date: 04/09/2025 Time: 01:24:44</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.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.160.00</div><div>අපේ මිල: Rs.150.00</div></div><div style=\"text-align: right; align-self: center; font-size: 14px;\">1 × 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.4000.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.4200.00</div><div>අපේ මිල: Rs.4000.00</div></div><div style=\"text-align: right; align-self: center; font-size: 14px;\">1 × Rs.4000.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. 4150.00</div><div style=\"margin: 4px 0; font-weight: bold;\">ගෙවූ මුදල: Rs. 20000.00</div><div style=\"margin: 4px 0; font-size: 14px; font-weight: bold;\">ඉතිරි මුදල: Rs. 15850.00</div><div style=\"border: 1px solid black; padding: 20px; margin-top: 8px; width: 100%; background-color: #f9f9f9;\"><div style=\"text-align: center; font-size: 10px; font-weight: bold; line-height: 1.7;\">අපෙන් භාණ්ඩ ලබා ගැනීමෙන් ඔබ ලැබූ ලාභය<br><span style=\"font-size: 12px; color: #000000ff;\">Rs.210.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\":\"සීනි 1kg\",\"item_name_english\":\"Sugar 1kg\",\"barcode\":\"1004\",\"unit_of_measurement\":\"kg\",\"regular_price\":160,\"our_price\":150,\"stock_quantity\":10,\"quantity\":1},{\"id\":14,\"item_name_sinhala\":\"ගෑස්\",\"item_name_english\":\"gas\",\"barcode\":\"RP20406480\",\"unit_of_measurement\":\"pcs\",\"regular_price\":4200,\"our_price\":4000,\"stock_quantity\":10,\"quantity\":1}]', '2025-09-03 19:54:44'),
(67, 110, '2025-09-03', NULL, NULL, NULL, 4150.00, 5000.00, 850.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;\">බිල් අංකය: 110</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Date: 04/09/2025 Time: 01:29:37</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.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.160.00</div><div>අපේ මිල: Rs.150.00</div></div><div style=\"text-align: right; align-self: center; font-size: 14px;\">1 × 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.4000.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.4200.00</div><div>අපේ මිල: Rs.4000.00</div></div><div style=\"text-align: right; align-self: center; font-size: 14px;\">1 × Rs.4000.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. 4150.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. 850.00</div><div style=\"border: 1px solid black; padding: 20px; margin-top: 8px; width: 100%; background-color: #f9f9f9;\"><div style=\"text-align: center; font-size: 10px; font-weight: bold; line-height: 1.7;\">අපෙන් භාණ්ඩ ලබා ගැනීමෙන් ඔබ ලැබූ ලාභය<br><span style=\"font-size: 12px; color: #000000ff;\">Rs.210.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\":\"සීනි 1kg\",\"item_name_english\":\"Sugar 1kg\",\"barcode\":\"1004\",\"unit_of_measurement\":\"kg\",\"regular_price\":160,\"our_price\":150,\"stock_quantity\":10,\"quantity\":1},{\"id\":14,\"item_name_sinhala\":\"ගෑස්\",\"item_name_english\":\"gas\",\"barcode\":\"RP20406480\",\"unit_of_measurement\":\"pcs\",\"regular_price\":4200,\"our_price\":4000,\"stock_quantity\":10,\"quantity\":1}]', '2025-09-03 19:59:37'),
(68, 111, '2025-09-03', NULL, NULL, NULL, 4150.00, 5000.00, 850.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;\">බිල් අංකය: 111</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Date: 04/09/2025 Time: 01:30:29</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.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.160.00</div><div>අපේ මිල: Rs.150.00</div></div><div style=\"text-align: right; align-self: center; font-size: 14px;\">1 × 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.4000.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.4200.00</div><div>අපේ මිල: Rs.4000.00</div></div><div style=\"text-align: right; align-self: center; font-size: 14px;\">1 × Rs.4000.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. 4150.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. 850.00</div><div style=\"border: 1px solid black; padding: 20px; margin-top: 8px; width: 100%; background-color: #f9f9f9;\"><div style=\"text-align: center; font-size: 10px; font-weight: bold; line-height: 1.7;\">අපෙන් භාණ්ඩ ලබා ගැනීමෙන් ඔබ ලැබූ ලාභය<br><span style=\"font-size: 12px; color: #000000ff;\">Rs.210.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\":\"සීනි 1kg\",\"item_name_english\":\"Sugar 1kg\",\"barcode\":\"1004\",\"unit_of_measurement\":\"kg\",\"regular_price\":160,\"our_price\":150,\"stock_quantity\":10,\"quantity\":1},{\"id\":14,\"item_name_sinhala\":\"ගෑස්\",\"item_name_english\":\"gas\",\"barcode\":\"RP20406480\",\"unit_of_measurement\":\"pcs\",\"regular_price\":4200,\"our_price\":4000,\"stock_quantity\":10,\"quantity\":1}]', '2025-09-03 20:00:29'),
(69, 112, '2025-09-03', NULL, NULL, NULL, 4150.00, 5000.00, 850.00, 0, 'cash', '<p style=\"margin: 3px 0; font-size: 14px; text-align: center; font-weight: bold;\">බිල් අංකය: 112</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Date: 04/09/2025 Time: 01:45: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;\">සීනි 1kg</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.160.00</div><div>අපේ මිල: Rs.150.00</div></div><div style=\"text-align: right; align-self: center; font-size: 14px;\">1 × 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.4000.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.4200.00</div><div>අපේ මිල: Rs.4000.00</div></div><div style=\"text-align: right; align-self: center; font-size: 14px;\">1 × Rs.4000.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. 4150.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. 850.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.210.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\":\"සීනි 1kg\",\"item_name_english\":\"Sugar 1kg\",\"barcode\":\"1004\",\"unit_of_measurement\":\"kg\",\"regular_price\":160,\"our_price\":150,\"stock_quantity\":10,\"quantity\":1},{\"id\":14,\"item_name_sinhala\":\"ගෑස්\",\"item_name_english\":\"gas\",\"barcode\":\"RP20406480\",\"unit_of_measurement\":\"pcs\",\"regular_price\":4200,\"our_price\":4000,\"stock_quantity\":10,\"quantity\":1}]', '2025-09-03 20:15:08');
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
(70, 113, '2025-09-03', NULL, NULL, NULL, 4150.00, 5000.00, 850.00, 0, 'cash', '<p style=\"margin: 3px 0; font-size: 14px; text-align: center; font-weight: bold;\">බිල් අංකය: 113</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Date: 04/09/2025 Time: 01:46: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;\">සීනි 1kg</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.160.00</div><div>අපේ මිල: Rs.150.00</div></div><div style=\"text-align: right; align-self: center; font-size: 14px;\">1 × 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.4000.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.4200.00</div><div>අපේ මිල: Rs.4000.00</div></div><div style=\"text-align: right; align-self: center; font-size: 14px;\">1 × Rs.4000.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. 4150.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.210.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;\"></p></div>', '[{\"id\":4,\"item_name_sinhala\":\"සීනි 1kg\",\"item_name_english\":\"Sugar 1kg\",\"barcode\":\"1004\",\"unit_of_measurement\":\"kg\",\"regular_price\":160,\"our_price\":150,\"stock_quantity\":10,\"quantity\":1},{\"id\":14,\"item_name_sinhala\":\"ගෑස්\",\"item_name_english\":\"gas\",\"barcode\":\"RP20406480\",\"unit_of_measurement\":\"pcs\",\"regular_price\":4200,\"our_price\":4000,\"stock_quantity\":10,\"quantity\":1}]', '2025-09-03 20:16:30'),
(71, 114, '2025-09-03', NULL, NULL, NULL, 4150.00, 5000.00, 850.00, 0, 'cash', '<p style=\"margin: 3px 0; font-size: 14px; text-align: center; font-weight: bold;\">බිල් අංකය: 114</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Date: 04/09/2025 Time: 01:47:55</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.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.160.00</div><div>අපේ මිල: Rs.150.00</div></div><div style=\"text-align: right; align-self: center; font-size: 14px;\">1 × 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.4000.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.4200.00</div><div>අපේ මිල: Rs.4000.00</div></div><div style=\"text-align: right; align-self: center; font-size: 14px;\">1 × Rs.4000.00</div></div></div></div><div class=\"bill-summary\" style=\"text-align: right; font-size: 15px; margin-bottom: 4px;\"><div style=\"margin: 4px 0; font-weight: bold; font-size: 50px;\">මුළු මුදල: Rs. 4150.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.210.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;\"></p></div>', '[{\"id\":4,\"item_name_sinhala\":\"සීනි 1kg\",\"item_name_english\":\"Sugar 1kg\",\"barcode\":\"1004\",\"unit_of_measurement\":\"kg\",\"regular_price\":160,\"our_price\":150,\"stock_quantity\":10,\"quantity\":1},{\"id\":14,\"item_name_sinhala\":\"ගෑස්\",\"item_name_english\":\"gas\",\"barcode\":\"RP20406480\",\"unit_of_measurement\":\"pcs\",\"regular_price\":4200,\"our_price\":4000,\"stock_quantity\":10,\"quantity\":1}]', '2025-09-03 20:17:55'),
(72, 115, '2025-09-03', NULL, NULL, NULL, 4150.00, 50000.00, 45850.00, 0, 'cash', '<p style=\"margin: 3px 0; font-size: 14px; text-align: center; font-weight: bold;\">බිල් අංකය: 115</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Date: 04/09/2025 Time: 01:48: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;\">සීනි 1kg</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.160.00</div><div>අපේ මිල: Rs.150.00</div></div><div style=\"text-align: right; align-self: center; font-size: 14px;\">1 × 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.4000.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.4200.00</div><div>අපේ මිල: Rs.4000.00</div></div><div style=\"text-align: right; align-self: center; font-size: 14px;\">1 × Rs.4000.00</div></div></div></div><div class=\"bill-summary\" style=\"text-align: right; font-size: 18px; margin-bottom: 4px;\"><div style=\"margin: 4px 0; font-weight: bold; font-size: 50px;\">මුළු මුදල: Rs. 4150.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.210.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;\"></p></div>', '[{\"id\":4,\"item_name_sinhala\":\"සීනි 1kg\",\"item_name_english\":\"Sugar 1kg\",\"barcode\":\"1004\",\"unit_of_measurement\":\"kg\",\"regular_price\":160,\"our_price\":150,\"stock_quantity\":10,\"quantity\":1},{\"id\":14,\"item_name_sinhala\":\"ගෑස්\",\"item_name_english\":\"gas\",\"barcode\":\"RP20406480\",\"unit_of_measurement\":\"pcs\",\"regular_price\":4200,\"our_price\":4000,\"stock_quantity\":10,\"quantity\":1}]', '2025-09-03 20:18:46'),
(73, 116, '2025-09-03', NULL, NULL, NULL, 4150.00, 5000.00, 850.00, 0, 'cash', '<p style=\"margin: 3px 0; font-size: 14px; text-align: center; font-weight: bold;\">බිල් අංකය: 116</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Date: 04/09/2025 Time: 01:50:03</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.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.160.00</div><div>අපේ මිල: Rs.150.00</div></div><div style=\"text-align: right; align-self: center; font-size: 14px;\">1 × 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.4000.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.4200.00</div><div>අපේ මිල: Rs.4000.00</div></div><div style=\"text-align: right; align-self: center; font-size: 14px;\">1 × Rs.4000.00</div></div></div></div><div class=\"bill-summary\" style=\"text-align: right; font-size: 20px; margin-bottom: 4px;\"><div style=\"margin: 4px 0; font-weight: bold; font-size: 20px;\">මුළු මුදල: Rs. 4150.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.210.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;\"></p></div>', '[{\"id\":4,\"item_name_sinhala\":\"සීනි 1kg\",\"item_name_english\":\"Sugar 1kg\",\"barcode\":\"1004\",\"unit_of_measurement\":\"kg\",\"regular_price\":160,\"our_price\":150,\"stock_quantity\":10,\"quantity\":1},{\"id\":14,\"item_name_sinhala\":\"ගෑස්\",\"item_name_english\":\"gas\",\"barcode\":\"RP20406480\",\"unit_of_measurement\":\"pcs\",\"regular_price\":4200,\"our_price\":4000,\"stock_quantity\":10,\"quantity\":1}]', '2025-09-03 20:20:03'),
(74, 117, '2025-09-03', NULL, NULL, NULL, 4150.00, 5000.00, 850.00, 0, 'cash', '<p style=\"margin: 3px 0; font-size: 14px; text-align: center; font-weight: bold;\">බිල් අංකය: 117</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Date: 04/09/2025 Time: 01:51: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: 0.8;\">සීනි 1kg</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.160.00</div><div>අපේ මිල: Rs.150.00</div></div><div style=\"text-align: right; align-self: center; font-size: 14px;\">1 × 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: 0.8;\">ගෑස්</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.4000.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.4200.00</div><div>අපේ මිල: Rs.4000.00</div></div><div style=\"text-align: right; align-self: center; font-size: 14px;\">1 × Rs.4000.00</div></div></div></div><div class=\"bill-summary\" style=\"text-align: right; font-size: 20px; margin-bottom: 4px;\"><div style=\"margin: 4px 0; font-weight: bold; font-size: 20px; line-height: 1.0;\">මුළු මුදල: Rs. 4150.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.210.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;\"></p></div>', '[{\"id\":4,\"item_name_sinhala\":\"සීනි 1kg\",\"item_name_english\":\"Sugar 1kg\",\"barcode\":\"1004\",\"unit_of_measurement\":\"kg\",\"regular_price\":160,\"our_price\":150,\"stock_quantity\":10,\"quantity\":1},{\"id\":14,\"item_name_sinhala\":\"ගෑස්\",\"item_name_english\":\"gas\",\"barcode\":\"RP20406480\",\"unit_of_measurement\":\"pcs\",\"regular_price\":4200,\"our_price\":4000,\"stock_quantity\":10,\"quantity\":1}]', '2025-09-03 20:21:41'),
(75, 118, '2025-09-03', NULL, NULL, NULL, 4150.00, 5000.00, 850.00, 0, 'cash', '<p style=\"margin: 3px 0; font-size: 14px; text-align: center; font-weight: bold;\">බිල් අංකය: 118</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Date: 04/09/2025 Time: 01:52: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: 0.8;\">සීනි 1kg</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.160.00</div><div>අපේ මිල: Rs.150.00</div></div><div style=\"text-align: right; align-self: center; font-size: 14px;\">1 × 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: 0.8;\">ගෑස්</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.4000.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.4200.00</div><div>අපේ මිල: Rs.4000.00</div></div><div style=\"text-align: right; align-self: center; font-size: 14px;\">1 × Rs.4000.00</div></div></div></div><div class=\"bill-summary\" style=\"text-align: right; font-size: 20px; margin-bottom: 4px;line-height: 0.8;\"><div style=\"margin: 4px 0; font-weight: bold; font-size: 20px; line-height: 1.0;\">මුළු මුදල: Rs. 4150.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.210.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;\"></p></div>', '[{\"id\":4,\"item_name_sinhala\":\"සීනි 1kg\",\"item_name_english\":\"Sugar 1kg\",\"barcode\":\"1004\",\"unit_of_measurement\":\"kg\",\"regular_price\":160,\"our_price\":150,\"stock_quantity\":10,\"quantity\":1},{\"id\":14,\"item_name_sinhala\":\"ගෑස්\",\"item_name_english\":\"gas\",\"barcode\":\"RP20406480\",\"unit_of_measurement\":\"pcs\",\"regular_price\":4200,\"our_price\":4000,\"stock_quantity\":10,\"quantity\":1}]', '2025-09-03 20:22:11'),
(76, 119, '2025-09-03', NULL, NULL, NULL, 4150.00, 50000.00, 45850.00, 0, 'cash', '<p style=\"margin: 3px 0; font-size: 14px; text-align: center; font-weight: bold;\">බිල් අංකය: 119</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Date: 04/09/2025 Time: 01:53:44</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: 0.8;\">සීනි 1kg</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.160.00</div><div>අපේ මිල: Rs.150.00</div></div><div style=\"text-align: right; align-self: center; font-size: 14px;\">1 × 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: 0.8;\">ගෑස්</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.4000.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.4200.00</div><div>අපේ මිල: Rs.4000.00</div></div><div style=\"text-align: right; align-self: center; font-size: 14px;\">1 × Rs.4000.00</div></div></div></div><div class=\"bill-summary\" style=\"text-align: right; font-size: 24px; margin-bottom: 6px;line-height: 0.8;\"><div style=\"margin: 4px 0; font-weight: bold; font-size: 24px; line-height: 1.0;\">මුළු මුදල: Rs. 4150.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.210.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;\"></p></div>', '[{\"id\":4,\"item_name_sinhala\":\"සීනි 1kg\",\"item_name_english\":\"Sugar 1kg\",\"barcode\":\"1004\",\"unit_of_measurement\":\"kg\",\"regular_price\":160,\"our_price\":150,\"stock_quantity\":10,\"quantity\":1},{\"id\":14,\"item_name_sinhala\":\"ගෑස්\",\"item_name_english\":\"gas\",\"barcode\":\"RP20406480\",\"unit_of_measurement\":\"pcs\",\"regular_price\":4200,\"our_price\":4000,\"stock_quantity\":10,\"quantity\":1}]', '2025-09-03 20:23:44'),
(77, 50, '2025-10-08', NULL, NULL, NULL, 150.00, 200.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: 09/10/2025 Time: 01:18:38</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.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.160.00</div><div>අපේ මිල: Rs.150.00</div></div><div style=\"text-align: right; align-self: center; font-size: 14px;\">1 × 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. 150.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. 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.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\":4,\"item_name_sinhala\":\"සීනි 1kg\",\"item_name_english\":\"Sugar 1kg\",\"barcode\":\"1004\",\"unit_of_measurement\":\"kg\",\"regular_price\":160,\"our_price\":150,\"stock_quantity\":10,\"quantity\":1}]', '2025-10-08 19:48:38'),
(78, 51, '2025-10-08', NULL, NULL, NULL, 150.00, 500.00, 350.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: 09/10/2025 Time: 01:21: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: 0.8;\">සීනි 1kg</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.160.00</div><div>අපේ මිල: Rs.150.00</div></div><div style=\"text-align: right; align-self: center; font-size: 14px;\">1 × Rs.150.00</div></div></div></div><div class=\"bill-summary\" style=\"text-align: right; font-size: 24px; margin-bottom: 6px;line-height: 0.8;\"><div style=\"margin: 4px 0; font-weight: bold; font-size: 24px; line-height: 1.0;\">මුළු මුදල: 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.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;\"></p></div>', '[{\"id\":4,\"item_name_sinhala\":\"සීනි 1kg\",\"item_name_english\":\"Sugar 1kg\",\"barcode\":\"1004\",\"unit_of_measurement\":\"kg\",\"regular_price\":160,\"our_price\":150,\"stock_quantity\":10,\"quantity\":1}]', '2025-10-08 19:51:34'),
(79, 50, '2025-10-10', NULL, NULL, NULL, 150.00, 500.00, 350.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/10/2025 Time: 14:47: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;\">සීනි 1kg</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.160.00</div><div>අපේ මිල: Rs.150.00</div></div><div style=\"text-align: right; align-self: center; font-size: 14px;\">1 × 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. 150.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. 350.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\":4,\"item_name_sinhala\":\"සීනි 1kg\",\"item_name_english\":\"Sugar 1kg\",\"barcode\":\"1004\",\"unit_of_measurement\":\"kg\",\"regular_price\":160,\"our_price\":150,\"stock_quantity\":10,\"quantity\":1}]', '2025-10-10 09:17:23'),
(80, 51, '2025-10-10', NULL, NULL, NULL, 150.00, 5000.00, 4850.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/10/2025 Time: 14:48:28</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.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.160.00</div><div>අපේ මිල: Rs.150.00</div></div><div style=\"text-align: right; align-self: center; font-size: 14px;\">1 × 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. 150.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. 4850.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\":4,\"item_name_sinhala\":\"සීනි 1kg\",\"item_name_english\":\"Sugar 1kg\",\"barcode\":\"1004\",\"unit_of_measurement\":\"kg\",\"regular_price\":160,\"our_price\":150,\"stock_quantity\":10,\"quantity\":1}]', '2025-10-10 09:18:28'),
(81, 52, '2025-10-10', NULL, NULL, NULL, 150.00, 500.00, 350.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/10/2025 Time: 14:50:37</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.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.160.00</div><div>අපේ මිල: Rs.150.00</div></div><div style=\"text-align: right; align-self: center; font-size: 14px;\">1 × 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. 150.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. 350.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\":4,\"item_name_sinhala\":\"සීනි 1kg\",\"item_name_english\":\"Sugar 1kg\",\"barcode\":\"1004\",\"unit_of_measurement\":\"kg\",\"regular_price\":160,\"our_price\":150,\"stock_quantity\":10,\"quantity\":1}]', '2025-10-10 09:20:37'),
(82, 53, '2025-10-10', NULL, NULL, NULL, 150.00, 500.00, 350.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/10/2025 Time: 14:51: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;\">සීනි 1kg</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.160.00</div><div>අපේ මිල: Rs.150.00</div></div><div style=\"text-align: right; align-self: center; font-size: 14px;\">1 × 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. 150.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. 350.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\":4,\"item_name_sinhala\":\"සීනි 1kg\",\"item_name_english\":\"Sugar 1kg\",\"barcode\":\"1004\",\"unit_of_measurement\":\"kg\",\"regular_price\":160,\"our_price\":150,\"stock_quantity\":10,\"quantity\":1}]', '2025-10-10 09:21:12'),
(83, 54, '2025-10-10', NULL, NULL, NULL, 150.00, 500.00, 350.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/10/2025 Time: 14:54: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;\">සීනි 1kg</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.160.00</div><div>අපේ මිල: Rs.150.00</div></div><div style=\"text-align: right; align-self: center; font-size: 14px;\">1 × 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. 150.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. 350.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\":4,\"item_name_sinhala\":\"සීනි 1kg\",\"item_name_english\":\"Sugar 1kg\",\"barcode\":\"1004\",\"unit_of_measurement\":\"kg\",\"regular_price\":160,\"our_price\":150,\"stock_quantity\":10,\"quantity\":1}]', '2025-10-10 09:24:24'),
(84, 55, '2025-10-10', NULL, NULL, NULL, 300.00, 300.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: 10/10/2025 Time: 14:55: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;\">සීනි 1kg</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.160.00</div><div>අපේ මිල: Rs.150.00</div></div><div style=\"text-align: right; align-self: center; font-size: 14px;\">2 × 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. 300.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. 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.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\":4,\"item_name_sinhala\":\"සීනි 1kg\",\"item_name_english\":\"Sugar 1kg\",\"barcode\":\"1004\",\"unit_of_measurement\":\"kg\",\"regular_price\":160,\"our_price\":150,\"stock_quantity\":10,\"quantity\":2}]', '2025-10-10 09:25:20'),
(85, 56, '2025-10-10', NULL, NULL, NULL, 150.00, 200.00, 50.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: 10/10/2025 Time: 14:55: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: 0.8;\">සීනි 1kg</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.160.00</div><div>අපේ මිල: Rs.150.00</div></div><div style=\"text-align: right; align-self: center; font-size: 14px;\">1 × Rs.150.00</div></div></div></div><div class=\"bill-summary\" style=\"text-align: right; font-size: 24px; margin-bottom: 6px;line-height: 0.8;\"><div style=\"margin: 4px 0; font-weight: bold; font-size: 24px; line-height: 1.0;\">මුළු මුදල: 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.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;\"></p></div>', '[{\"id\":4,\"item_name_sinhala\":\"සීනි 1kg\",\"item_name_english\":\"Sugar 1kg\",\"barcode\":\"1004\",\"unit_of_measurement\":\"kg\",\"regular_price\":160,\"our_price\":150,\"stock_quantity\":10,\"quantity\":1}]', '2025-10-10 09:25:49'),
(86, 57, '2025-10-10', NULL, NULL, NULL, 150.00, 200.00, 50.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/10/2025 Time: 14:55:50</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: 0.8;\">සීනි 1kg</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.160.00</div><div>අපේ මිල: Rs.150.00</div></div><div style=\"text-align: right; align-self: center; font-size: 14px;\">1 × Rs.150.00</div></div></div></div><div class=\"bill-summary\" style=\"text-align: right; font-size: 24px; margin-bottom: 6px;line-height: 0.8;\"><div style=\"margin: 4px 0; font-weight: bold; font-size: 24px; line-height: 1.0;\">මුළු මුදල: 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.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;\"></p></div>', '[{\"id\":4,\"item_name_sinhala\":\"සීනි 1kg\",\"item_name_english\":\"Sugar 1kg\",\"barcode\":\"1004\",\"unit_of_measurement\":\"kg\",\"regular_price\":160,\"our_price\":150,\"stock_quantity\":10,\"quantity\":1}]', '2025-10-10 09:25:50');
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
(87, 58, '2025-10-10', NULL, NULL, NULL, 4280.00, 5000.00, 720.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: 10/10/2025 Time: 14:59: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;\">සීනි 1kg</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.160.00</div><div>අපේ මිල: Rs.260.00</div></div><div style=\"text-align: right; align-self: center; font-size: 14px;\">1 × 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.4020.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.4200.00</div><div>අපේ මිල: Rs.4020.00</div></div><div style=\"text-align: right; align-self: center; font-size: 14px;\">1 × Rs.4020.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. 4280.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. 720.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\":4,\"item_name_sinhala\":\"සීනි 1kg\",\"item_name_english\":\"Sugar 1kg\",\"barcode\":\"1004\",\"unit_of_measurement\":\"kg\",\"regular_price\":160,\"our_price\":260,\"stock_quantity\":10,\"quantity\":1},{\"id\":14,\"item_name_sinhala\":\"ගෑස්\",\"item_name_english\":\"gas\",\"barcode\":\"RP20406480\",\"unit_of_measurement\":\"pcs\",\"regular_price\":4200,\"our_price\":4020,\"stock_quantity\":10,\"quantity\":1}]', '2025-10-10 09:29:40'),
(88, 59, '2025-10-10', NULL, NULL, NULL, 4150.00, 4500.00, 350.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: 10/10/2025 Time: 15:00: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: 0.8;\">සීනි 1kg</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.160.00</div><div>අපේ මිල: Rs.150.00</div></div><div style=\"text-align: right; align-self: center; font-size: 14px;\">1 × 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: 0.8;\">ගෑස්</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.4000.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.4200.00</div><div>අපේ මිල: Rs.4000.00</div></div><div style=\"text-align: right; align-self: center; font-size: 14px;\">1 × Rs.4000.00</div></div></div></div><div class=\"bill-summary\" style=\"text-align: right; font-size: 24px; margin-bottom: 6px;line-height: 0.8;\"><div style=\"margin: 4px 0; font-weight: bold; font-size: 24px; line-height: 1.0;\">මුළු මුදල: Rs. 4150.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.210.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;\"></p></div>', '[{\"id\":4,\"item_name_sinhala\":\"සීනි 1kg\",\"item_name_english\":\"Sugar 1kg\",\"barcode\":\"1004\",\"unit_of_measurement\":\"kg\",\"regular_price\":160,\"our_price\":150,\"stock_quantity\":10,\"quantity\":1},{\"id\":14,\"item_name_sinhala\":\"ගෑස්\",\"item_name_english\":\"gas\",\"barcode\":\"RP20406480\",\"unit_of_measurement\":\"pcs\",\"regular_price\":4200,\"our_price\":4000,\"stock_quantity\":10,\"quantity\":1}]', '2025-10-10 09:30:40'),
(89, 60, '2025-10-10', NULL, NULL, NULL, 4150.00, 5000.00, 850.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: 10/10/2025 Time: 15:03:28</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: 0.8;\">සීනි 1kg</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.160.00</div><div>අපේ මිල: Rs.150.00</div></div><div style=\"text-align: right; align-self: center; font-size: 14px;\">1 × 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: 0.8;\">ගෑස්</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.4000.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.4200.00</div><div>අපේ මිල: Rs.4000.00</div></div><div style=\"text-align: right; align-self: center; font-size: 14px;\">1 × Rs.4000.00</div></div></div></div><div class=\"bill-summary\" style=\"text-align: right; font-size: 24px; margin-bottom: 6px;line-height: 0.8;\"><div style=\"margin: 4px 0; font-weight: bold; font-size: 24px; line-height: 1.0;\">මුළු මුදල: Rs. 4150.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.210.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;\"></p></div>', '[{\"id\":4,\"item_name_sinhala\":\"සීනි 1kg\",\"item_name_english\":\"Sugar 1kg\",\"barcode\":\"1004\",\"unit_of_measurement\":\"kg\",\"regular_price\":160,\"our_price\":150,\"stock_quantity\":10,\"quantity\":1},{\"id\":14,\"item_name_sinhala\":\"ගෑස්\",\"item_name_english\":\"gas\",\"barcode\":\"RP20406480\",\"unit_of_measurement\":\"pcs\",\"regular_price\":4200,\"our_price\":4000,\"stock_quantity\":10,\"quantity\":1}]', '2025-10-10 09:33:28'),
(90, 50, '2025-10-13', 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;\">බිල් අංකය: 50</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Date: 13/10/2025 Time: 14:32: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;\">මන්චි චොක්ලට් පෆ් 200g</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.00</div><div>අපේ මිල: Rs.250.00</div></div><div style=\"text-align: right; align-self: center; font-size: 14px;\">1 × Rs.250.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.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.400.00</div><div>අපේ මිල: Rs.350.00</div></div><div style=\"text-align: right; align-self: center; font-size: 14px;\">1 × 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.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.430.00</div><div>අපේ මිල: Rs.380.00</div></div><div style=\"text-align: right; align-self: center; font-size: 14px;\">1 × Rs.380.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.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\":46,\"item_name_sinhala\":\"මන්චි චොක්ලට් පෆ් 200g\",\"item_name_english\":\"mch\",\"barcode\":\"8888101271404\",\"unit_of_measurement\":\"pcs\",\"regular_price\":250,\"our_price\":250,\"stock_quantity\":50,\"quantity\":1},{\"id\":17,\"item_name_sinhala\":\"චෙරිස් ක්‍රීම් ක්‍රැකර් 500g\",\"item_name_english\":\"ccra\",\"barcode\":\"4792102007198\",\"unit_of_measurement\":\"pcs\",\"regular_price\":400,\"our_price\":350,\"stock_quantity\":50,\"quantity\":1},{\"id\":21,\"item_name_sinhala\":\"චෙරිස් නයිස්\",\"item_name_english\":\"cnice\",\"barcode\":\"4792102003008\",\"unit_of_measurement\":\"pcs\",\"regular_price\":430,\"our_price\":380,\"stock_quantity\":50,\"quantity\":1}]', '2025-10-13 09:02:48'),
(91, 50, '2025-10-18', NULL, NULL, NULL, 600.00, 1000.00, 400.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/10/2025 Time: 18:41:10</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.1200.00</div><div>අපේ මිල: Rs.600.00</div></div><div style=\"text-align: right; align-self: center; font-size: 14px;\">1 × Rs.600.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. 600.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. 400.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.600.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\":218,\"item_name_sinhala\":\"අමු කජු\",\"item_name_english\":\"amu\",\"barcode\":\"978204198\",\"unit_of_measurement\":\"pcs\",\"regular_price\":1200,\"our_price\":600,\"stock_quantity\":800,\"quantity\":1}]', '2025-10-18 13:11:10'),
(92, 51, '2025-10-18', NULL, NULL, NULL, 600.00, 1000.00, 400.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/10/2025 Time: 18: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.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.1200.00</div><div>අපේ මිල: Rs.600.00</div></div><div style=\"text-align: right; align-self: center; font-size: 14px;\">1 × Rs.600.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. 600.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. 400.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.600.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\":218,\"item_name_sinhala\":\"අමු කජු\",\"item_name_english\":\"amu\",\"barcode\":\"978204198\",\"unit_of_measurement\":\"pcs\",\"regular_price\":1200,\"our_price\":600,\"stock_quantity\":800,\"quantity\":1}]', '2025-10-18 13:12:48'),
(93, 50, '2025-10-20', NULL, NULL, NULL, 160.00, 200.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: 20/10/2025 Time: 13:12: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.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.00</div><div>අපේ මිල: Rs.40.00</div></div><div style=\"text-align: right; align-self: center; font-size: 14px;\">1 × Rs.40.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.00</div><div>අපේ මිල: Rs.120.00</div></div><div style=\"text-align: right; align-self: center; font-size: 14px;\">1 × Rs.120.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. 160.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. 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.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\":221,\"item_name_sinhala\":\"ස්ටික්ස්\",\"item_name_english\":\"stick\",\"barcode\":\"4792192839006\",\"unit_of_measurement\":\"pcs\",\"regular_price\":40,\"our_price\":40,\"stock_quantity\":50,\"quantity\":1},{\"id\":220,\"item_name_sinhala\":\"ස්ටික්ස්\",\"item_name_english\":\"stick\",\"barcode\":\"4792192840224\",\"unit_of_measurement\":\"pcs\",\"regular_price\":120,\"our_price\":120,\"stock_quantity\":50,\"quantity\":1}]', '2025-10-20 07:42:49'),
(94, 51, '2025-10-20', NULL, NULL, NULL, 120.00, 200.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;\">බිල් අංකය: 51</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Date: 20/10/2025 Time: 13:15: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.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.00</div><div>අපේ මිල: Rs.120.00</div></div><div style=\"text-align: right; align-self: center; font-size: 14px;\">1 × Rs.120.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. 120.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. 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.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\":193,\"item_name_sinhala\":\"ස්ටික්ස්\",\"item_name_english\":\"stix\",\"barcode\":\"4792192839228\",\"unit_of_measurement\":\"pcs\",\"regular_price\":120,\"our_price\":120,\"stock_quantity\":20,\"quantity\":1}]', '2025-10-20 07:45:13'),
(95, 52, '2025-10-20', NULL, NULL, NULL, 120.00, 200.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;\">බිල් අංකය: 52</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Date: 20/10/2025 Time: 13:16:10</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.120.00</div><div>අපේ මිල: Rs.120.00</div></div><div style=\"text-align: right; align-self: center; font-size: 14px;\">1 × Rs.120.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. 120.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. 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.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\":219,\"item_name_sinhala\":\"ස්ටික්ස්\",\"item_name_english\":\"stick\",\"barcode\":\"4792192838221\",\"unit_of_measurement\":\"pcs\",\"regular_price\":120,\"our_price\":120,\"stock_quantity\":50,\"quantity\":1}]', '2025-10-20 07:46:10'),
(96, 53, '2025-10-20', NULL, NULL, NULL, 385.00, 500.00, 115.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: 20/10/2025 Time: 13:18:06</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.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.00</div><div>අපේ මිල: Rs.40.00</div></div><div style=\"text-align: right; align-self: center; font-size: 14px;\">1 × Rs.40.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;\">අයිඩෙක්ස් බාම් 9g</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.190.00</div><div>අපේ මිල: Rs.190.00</div></div><div style=\"text-align: right; align-self: center; font-size: 14px;\">1 × 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.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.00</div><div>අපේ මිල: Rs.60.00</div></div><div style=\"text-align: right; align-self: center; font-size: 14px;\">1 × 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.30.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.30.00</div><div>අපේ මිල: Rs.30.00</div></div><div style=\"text-align: right; align-self: center; font-size: 14px;\">1 × 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.65.00</span></div><div style=\"display: flex; justify-content: space-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.00</div><div>අපේ මිල: Rs.65.00</div></div><div style=\"text-align: right; align-self: center; font-size: 14px;\">1 × Rs.65.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. 385.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. 115.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.-5.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\":221,\"item_name_sinhala\":\"ස්ටික්ස්\",\"item_name_english\":\"stick\",\"barcode\":\"4792192839006\",\"unit_of_measurement\":\"pcs\",\"regular_price\":40,\"our_price\":40,\"stock_quantity\":50,\"quantity\":1},{\"id\":84,\"item_name_sinhala\":\"අයිඩෙක්ස් බාම් 9g\",\"item_name_english\":\"iodex\",\"barcode\":\"4792099011130\",\"unit_of_measurement\":\"pcs\",\"regular_price\":190,\"our_price\":190,\"stock_quantity\":50,\"quantity\":1},{\"id\":177,\"item_name_sinhala\":\"පැනඩෝල්\",\"item_name_english\":\"panadol\",\"barcode\":\"4792099010010\",\"unit_of_measurement\":\"pcs\",\"regular_price\":60,\"our_price\":60,\"stock_quantity\":100,\"quantity\":1},{\"id\":178,\"item_name_sinhala\":\"පොඩි සුප් කැට\",\"item_name_english\":\"podi sup\",\"barcode\":\"4792024016803\",\"unit_of_measurement\":\"pcs\",\"regular_price\":30,\"our_price\":30,\"stock_quantity\":40,\"quantity\":1},{\"id\":176,\"item_name_sinhala\":\"ලොකු සුප් කැට\",\"item_name_english\":\"lojku sup\",\"barcode\":\"4796005673245\",\"unit_of_measurement\":\"pcs\",\"regular_price\":60,\"our_price\":65,\"stock_quantity\":100,\"quantity\":1}]', '2025-10-20 07:48:06'),
(97, 54, '2025-10-20', NULL, NULL, NULL, 1440.00, 1500.00, 60.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: 20/10/2025 Time: 13:23: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.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.00</div><div>අපේ මිල: Rs.60.00</div></div><div style=\"text-align: right; align-self: center; font-size: 14px;\">1 × 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.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.00</div><div>අපේ මිල: Rs.130.00</div></div><div style=\"text-align: right; align-self: center; font-size: 14px;\">1 × 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.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.00</div><div>අපේ මිල: Rs.1250.00</div></div><div style=\"text-align: right; align-self: center; font-size: 14px;\">1 × Rs.1250.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. 1440.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. 60.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\":176,\"item_name_sinhala\":\"ලොකු සුප් කැට\",\"item_name_english\":\"lojku sup\",\"barcode\":\"4796005673245\",\"unit_of_measurement\":\"pcs\",\"regular_price\":60,\"our_price\":60,\"stock_quantity\":100,\"quantity\":1},{\"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\":1},{\"id\":165,\"item_name_sinhala\":\"සීසනින් පවුඩර්\",\"item_name_english\":\"seasoning\",\"barcode\":\"4792024000383\",\"unit_of_measurement\":\"pcs\",\"regular_price\":1250,\"our_price\":1250,\"stock_quantity\":10,\"quantity\":1}]', '2025-10-20 07:53:14');
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
(98, 55, '2025-10-20', NULL, NULL, NULL, 2835.00, 5000.00, 2165.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: 20/10/2025 Time: 14:11: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.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.00</div><div>අපේ මිල: Rs.1400.00</div></div><div style=\"text-align: right; align-self: center; font-size: 14px;\">1 × 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.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.250.00</div><div>අපේ මිල: Rs.240.00</div></div><div style=\"text-align: right; align-self: center; font-size: 14px;\">2 × 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.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.00</div><div>අපේ මිල: Rs.340.00</div></div><div style=\"text-align: right; align-self: center; font-size: 14px;\">1 × 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.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.00</div><div>අපේ මිල: Rs.150.00</div></div><div style=\"text-align: right; align-self: center; font-size: 14px;\">1 × 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;\">පරිප්පු නො.2</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.300.00</div><div>අපේ මිල: Rs.280.00</div></div><div style=\"text-align: right; align-self: center; font-size: 14px;\">1 × 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;\">සමපෝෂ 200g</span><span style=\"font-size: 16px; font-weight: bold; text-align: right;\">Rs.185.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.185.00</div><div>අපේ මිල: Rs.185.00</div></div><div style=\"text-align: right; align-self: center; font-size: 14px;\">1 × Rs.185.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. 2835.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. 2165.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.160.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\":120,\"item_name_sinhala\":\"තේ කොළ\",\"item_name_english\":\"thekola\",\"barcode\":\"491917680\",\"unit_of_measurement\":\"kg\",\"regular_price\":1500,\"our_price\":1400,\"stock_quantity\":20,\"quantity\":1},{\"id\":104,\"item_name_sinhala\":\"අල\",\"item_name_english\":\"ala\",\"barcode\":\"004786426\",\"unit_of_measurement\":\"pcs\",\"regular_price\":250,\"our_price\":240,\"stock_quantity\":50,\"quantity\":2},{\"id\":123,\"item_name_sinhala\":\"සම්බා\",\"item_name_english\":\"samba\",\"barcode\":\"628995813\",\"unit_of_measurement\":\"pcs\",\"regular_price\":360,\"our_price\":340,\"stock_quantity\":500,\"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\":50,\"quantity\":1},{\"id\":109,\"item_name_sinhala\":\"පරිප්පු නො.2\",\"item_name_english\":\"parippu\",\"barcode\":\"991179274\",\"unit_of_measurement\":\"pcs\",\"regular_price\":300,\"our_price\":280,\"stock_quantity\":50,\"quantity\":1},{\"id\":132,\"item_name_sinhala\":\"සමපෝෂ 200g\",\"item_name_english\":\"samapo\",\"barcode\":\"4792109000024\",\"unit_of_measurement\":\"pcs\",\"regular_price\":185,\"our_price\":185,\"stock_quantity\":20,\"quantity\":1}]', '2025-10-20 08:41:47'),
(99, 50, '2025-10-26', NULL, NULL, NULL, 140.00, 140.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: 26/10/2025 Time: 11:42: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;\">සීනි 1kg</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.4</div><div>අපේ මිල: Rs.140.4</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">0.54 × 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. 140.00</div><div style=\"margin: 4px 0; font-weight: bold;\">ගෙවූ මුදල: Rs. 140.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\":4,\"item_name_sinhala\":\"සීනි 1kg\",\"item_name_english\":\"sini\",\"barcode\":\"1004\",\"unit_of_measurement\":\"kg\",\"regular_price\":260,\"our_price\":260,\"stock_quantity\":200,\"quantity\":0.5384615384615384}]', '2025-10-26 06:12:52'),
(100, 51, '2025-10-26', 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;\">බිල් අංකය: 51</p><p style=\"margin: 3px 0; font-size: 14px; text-align: center;\">Date: 26/10/2025 Time: 11:46: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;\">සීනි 1kg</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></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.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\":4,\"item_name_sinhala\":\"සීනි 1kg\",\"item_name_english\":\"sini\",\"barcode\":\"1004\",\"unit_of_measurement\":\"kg\",\"regular_price\":280,\"our_price\":260,\"stock_quantity\":199,\"quantity\":1}]', '2025-10-26 06:16:01'),
(101, 52, '2025-10-26', NULL, NULL, NULL, 130.00, 130.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: 26/10/2025 Time: 11:50: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;\">සීනි 1kg</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. 130.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\":4,\"item_name_sinhala\":\"සීනි 1kg\",\"item_name_english\":\"sini\",\"barcode\":\"1004\",\"unit_of_measurement\":\"kg\",\"regular_price\":280,\"our_price\":260,\"stock_quantity\":100,\"quantity\":0.5}]', '2025-10-26 06:20:00'),
(102, 53, '2025-10-26', NULL, NULL, NULL, 130.00, 130.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: 26/10/2025 Time: 11:50:50</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.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. 130.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\":4,\"item_name_sinhala\":\"සීනි 1kg\",\"item_name_english\":\"sini\",\"barcode\":\"1004\",\"unit_of_measurement\":\"kg\",\"regular_price\":280,\"our_price\":260,\"stock_quantity\":100,\"quantity\":0.5}]', '2025-10-26 06:20:50'),
(103, 54, '2025-10-26', NULL, NULL, NULL, 200.00, 200.00, 0.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: 26/10/2025 Time: 11:52: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;\">සීනි 1kg</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.215.6</div><div>අපේ මිල: Rs.200.20000000000002</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">0.77 × 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. 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.15.38</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\":\"සීනි 1kg\",\"item_name_english\":\"sini\",\"barcode\":\"1004\",\"unit_of_measurement\":\"kg\",\"regular_price\":280,\"our_price\":260,\"stock_quantity\":99,\"quantity\":0.7692307692307693}]', '2025-10-26 06:22:21'),
(104, 55, '2025-10-26', NULL, NULL, NULL, 750.00, 1000.00, 250.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: 26/10/2025 Time: 12:33: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.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.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.180</div><div>අපේ මිල: Rs.170</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">1.00 × 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.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></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. 750.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. 250.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\":104,\"item_name_sinhala\":\"අල\",\"item_name_english\":\"ala\",\"barcode\":\"004786426\",\"unit_of_measurement\":\"pcs\",\"regular_price\":250,\"our_price\":240,\"stock_quantity\":50,\"quantity\":1},{\"id\":105,\"item_name_sinhala\":\"බී ළුෑණු\",\"item_name_english\":\"beeluunu\",\"barcode\":\"113943378\",\"unit_of_measurement\":\"kg\",\"regular_price\":180,\"our_price\":170,\"stock_quantity\":50,\"quantity\":1},{\"id\":123,\"item_name_sinhala\":\"සම්බා\",\"item_name_english\":\"samba\",\"barcode\":\"628995813\",\"unit_of_measurement\":\"pcs\",\"regular_price\":360,\"our_price\":340,\"stock_quantity\":500,\"quantity\":1}]', '2025-10-26 07:03:24'),
(105, 56, '2025-10-26', NULL, NULL, NULL, 4000.00, 4000.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: 26/10/2025 Time: 17:11: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.4000.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.4100</div><div>අපේ මිල: Rs.4000</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">20.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. 4000.00</div><div style=\"margin: 4px 0; font-weight: bold;\">ගෙවූ මුදල: Rs. 4000.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\":121,\"item_name_sinhala\":\"රතු හාල්\",\"item_name_english\":\"rathu\",\"barcode\":\"558455000\",\"unit_of_measurement\":\"kg\",\"regular_price\":205,\"our_price\":200,\"stock_quantity\":2000,\"quantity\":20}]', '2025-10-26 11:41:17'),
(106, 57, '2025-10-26', NULL, NULL, NULL, 375.00, 500.00, 125.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: 26/10/2025 Time: 17:15: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.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.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.80</div><div>අපේ මිල: Rs.75</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">0.25 × Rs.300.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.52</div><div>අපේ මිල: Rs.50</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">0.10 × 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;\">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. 375.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. 125.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.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\":98,\"quantity\":0.5},{\"id\":106,\"item_name_sinhala\":\"රතු ළුණු\",\"item_name_english\":\"rathu\",\"barcode\":\"838150515\",\"unit_of_measurement\":\"kg\",\"regular_price\":320,\"our_price\":300,\"stock_quantity\":20,\"quantity\":0.25},{\"id\":107,\"item_name_sinhala\":\"සුදු ළුණු\",\"item_name_english\":\"sudu\",\"barcode\":\"910168663\",\"unit_of_measurement\":\"pcs\",\"regular_price\":520,\"our_price\":500,\"stock_quantity\":5000,\"quantity\":0.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\":100,\"quantity\":2}]', '2025-10-26 11:45:26'),
(107, 50, '2025-10-27', 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: 27/10/2025 Time: 18:04: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.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.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.165</div><div>අපේ මිල: Rs.150</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">5.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. 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.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\":25,\"quantity\":0.2},{\"id\":110,\"item_name_sinhala\":\"බිත්තර\",\"item_name_english\":\"biththara\",\"barcode\":\"015366342\",\"unit_of_measurement\":\"pcs\",\"regular_price\":33,\"our_price\":30,\"stock_quantity\":500,\"quantity\":5}]', '2025-10-27 12:34:42'),
(108, 51, '2025-10-27', NULL, NULL, NULL, 2360.00, 2360.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: 27/10/2025 Time: 18:07: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;\">මන්චි හවායන් කුකීස් බිස්කට් 200g</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.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 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.2000.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.2050</div><div>අපේ මිල: Rs.2000</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">10.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. 2360.00</div><div style=\"margin: 4px 0; font-weight: bold;\">ගෙවූ මුදල: Rs. 2360.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\":31,\"item_name_sinhala\":\"මන්චි හවායන් කුකීස් බිස්කට් 200g\",\"item_name_english\":\"mha\",\"barcode\":\"8888101080402\",\"unit_of_measurement\":\"pcs\",\"regular_price\":240,\"our_price\":240,\"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\":1000,\"quantity\":120},{\"id\":121,\"item_name_sinhala\":\"රතු හාල්\",\"item_name_english\":\"rathu\",\"barcode\":\"558455000\",\"unit_of_measurement\":\"kg\",\"regular_price\":205,\"our_price\":200,\"stock_quantity\":1980,\"quantity\":10}]', '2025-10-27 12:37: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
(109, 52, '2025-10-27', NULL, NULL, NULL, 2540.00, 3000.00, 460.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: 27/10/2025 Time: 18:16: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.1000.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.1025</div><div>අපේ මිල: Rs.1000</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">5.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.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.80</div><div>අපේ මිල: Rs.80</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">4.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.460.00</span></div><div style=\"display: flex; justify-content: space-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.460</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">4.00 × Rs.115.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;\">මන්චි චොකලට් ක්‍රීම් බිස්කට් 210g</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 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.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;\">පරිප්පු නො.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.150</div><div>අපේ මිල: Rs.140</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">0.50 × 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;\">ලාඕජී</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.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.230.39999999999998</div><div>අපේ මිල: Rs.230.39999999999998</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">0.72 × Rs.320.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. 2540.00</div><div style=\"margin: 4px 0; font-weight: bold;\">ගෙවූ මුදල: Rs. 3000.00</div><div style=\"margin: 4px 0; font-size: 14px; font-weight: bold;\">ඉතිරි මුදල: Rs. 460.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.45.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\":\"558455000\",\"unit_of_measurement\":\"kg\",\"regular_price\":205,\"our_price\":200,\"stock_quantity\":1970,\"quantity\":5},{\"id\":276,\"item_name_sinhala\":\"ගිනි පෙට්ටි\",\"item_name_english\":\"gini\",\"barcode\":\"933819278\",\"unit_of_measurement\":\"pcs\",\"regular_price\":20,\"our_price\":20,\"stock_quantity\":5000,\"quantity\":4},{\"id\":277,\"item_name_sinhala\":\"මැගී නූඩ්ල්ස්\",\"item_name_english\":\"magii\",\"barcode\":\"4792024020190\",\"unit_of_measurement\":\"pcs\",\"regular_price\":115,\"our_price\":115,\"stock_quantity\":100,\"quantity\":4},{\"id\":26,\"item_name_sinhala\":\"මන්චි චොකලට් ක්‍රීම් බිස්කට් 210g\",\"item_name_english\":\"mcho\",\"barcode\":\"4792192845366\",\"unit_of_measurement\":\"pcs\",\"regular_price\":240,\"our_price\":240,\"stock_quantity\":50,\"quantity\":1},{\"id\":224,\"item_name_sinhala\":\"මිරිස් කුඩු\",\"item_name_english\":\"miris\",\"barcode\":\"110\",\"unit_of_measurement\":\"pcs\",\"regular_price\":110,\"our_price\":110,\"stock_quantity\":50,\"quantity\":1},{\"id\":4,\"item_name_sinhala\":\"සීනි\",\"item_name_english\":\"sini\",\"barcode\":\"1004\",\"unit_of_measurement\":\"kg\",\"regular_price\":280,\"our_price\":260,\"stock_quantity\":97,\"quantity\":0.5},{\"id\":109,\"item_name_sinhala\":\"පරිප්පු නො.2\",\"item_name_english\":\"parippu\",\"barcode\":\"991179274\",\"unit_of_measurement\":\"pcs\",\"regular_price\":300,\"our_price\":280,\"stock_quantity\":50,\"quantity\":0.5},{\"id\":278,\"item_name_sinhala\":\"ලාඕජී\",\"item_name_english\":\"laao\",\"barcode\":\"5063305007506\",\"unit_of_measurement\":\"pcs\",\"regular_price\":150,\"our_price\":150,\"stock_quantity\":100,\"quantity\":1},{\"id\":76,\"item_name_sinhala\":\"සුදන්ත\",\"item_name_english\":\"sudantha\",\"barcode\":\"4792022090324\",\"unit_of_measurement\":\"pcs\",\"regular_price\":320,\"our_price\":320,\"stock_quantity\":50,\"quantity\":0.71875}]', '2025-10-27 12:46:33'),
(110, 53, '2025-10-27', NULL, NULL, NULL, 905.00, 800.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: 27/10/2025 Time: 20:23: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.220.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.220</div><div>අපේ මිල: Rs.220</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">220.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.174</div><div>අපේ මිල: Rs.168</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">0.06 × 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.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.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.80</div><div>අපේ මිල: Rs.75</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">0.25 × Rs.300.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. 905.00</div><div style=\"margin: 4px 0; font-weight: bold;\">ගෙවූ මුදල: Rs. 800.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.46.43</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\":5000,\"quantity\":220},{\"id\":113,\"item_name_sinhala\":\"උම්බලකඩ\",\"item_name_english\":\"umbala\",\"barcode\":\"141137213\",\"unit_of_measurement\":\"pcs\",\"regular_price\":2900,\"our_price\":2800,\"stock_quantity\":20,\"quantity\":0.06428571428571428},{\"id\":4,\"item_name_sinhala\":\"සීනි\",\"item_name_english\":\"sini\",\"barcode\":\"1004\",\"unit_of_measurement\":\"kg\",\"regular_price\":280,\"our_price\":260,\"stock_quantity\":97,\"quantity\":0.5},{\"id\":106,\"item_name_sinhala\":\"රතු ළුණු\",\"item_name_english\":\"rathu\",\"barcode\":\"838150515\",\"unit_of_measurement\":\"kg\",\"regular_price\":320,\"our_price\":300,\"stock_quantity\":19,\"quantity\":0.25},{\"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.25}]', '2025-10-27 14:53:27'),
(111, 54, '2025-10-27', NULL, NULL, NULL, 400.00, 500.00, 100.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: 27/10/2025 Time: 20:28:38</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;\">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.220.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.232</div><div>අපේ මිල: Rs.224</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">0.08 × Rs.2800.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. 400.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. 100.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.7.86</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\":4780,\"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.07857142857142857}]', '2025-10-27 14:58:38'),
(112, 50, '2025-10-28', NULL, NULL, NULL, 730.00, 1000.00, 270.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: 28/10/2025 Time: 06:19: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;\">පරිප්පු නො.2</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.300</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;\">සීනි</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.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.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.84.6</div><div>අපේ මිල: Rs.79.89999999999999</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">0.47 × Rs.170.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. 730.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. 270.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.54.71</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\":\"pcs\",\"regular_price\":300,\"our_price\":280,\"stock_quantity\":49,\"quantity\":1},{\"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\":0.5},{\"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\":170,\"stock_quantity\":49,\"quantity\":0.47058823529411764}]', '2025-10-28 00:49:12'),
(113, 51, '2025-10-28', NULL, NULL, NULL, 195.00, 200.00, 5.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: 28/10/2025 Time: 11:58: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.195.00</span></div><div style=\"display: flex; justify-content: space-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.195</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">1.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. 195.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. 5.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.5.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\":\"hal\",\"unit_of_measurement\":\"kg\",\"regular_price\":200,\"our_price\":195,\"stock_quantity\":1350,\"quantity\":1}]', '2025-10-28 06:28:47'),
(114, 50, '2025-10-31', NULL, NULL, NULL, 2650.00, 3000.00, 350.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: 31/10/2025 Time: 15:55: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.880.00</span></div><div style=\"display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; color: #000000ff; margin-bottom: 5px; line-height: 1.1;\"><div style=\"line-height: 1.4;\"><div>සාමාන්‍ය මිල: Rs.880</div><div>අපේ මිල: Rs.880</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">880.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.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.540</div><div>අපේ මිල: Rs.450</div></div><div style=\"text-align: right; align-self: center; font-size: 12px;\">0.45 × 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;\">රතු ළුණු</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.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;\">චැලේන්ජ් ඉඳිආප්ප පිටි 1kg</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.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.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. 2650.00</div><div style=\"margin: 4px 0; font-weight: bold;\">ගෙවූ මුදල: Rs. 3000.00</div><div style=\"margin: 4px 0; font-size: 14px; font-weight: bold;\">ඉතිරි මුදල: Rs. 350.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.165.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\":112,\"item_name_sinhala\":\"කරවල\",\"item_name_english\":\"karawala\",\"barcode\":\"076194472\",\"unit_of_measurement\":\"pcs\",\"regular_price\":1,\"our_price\":1,\"stock_quantity\":4600,\"quantity\":880},{\"id\":308,\"item_name_sinhala\":\"මිරිස් කරල්\",\"item_name_english\":\"miriskaral\",\"barcode\":\"915834944\",\"unit_of_measurement\":\"pcs\",\"regular_price\":1200,\"our_price\":1000,\"stock_quantity\":20,\"quantity\":0.45},{\"id\":106,\"item_name_sinhala\":\"රතු ළුණු\",\"item_name_english\":\"rathu\",\"barcode\":\"838150515\",\"unit_of_measurement\":\"kg\",\"regular_price\":450,\"our_price\":400,\"stock_quantity\":12,\"quantity\":0.5},{\"id\":117,\"item_name_sinhala\":\"පොල් තෙල්\",\"item_name_english\":\"polthel\",\"barcode\":\"385217979\",\"unit_of_measurement\":\"ml\",\"regular_price\":700,\"our_price\":650,\"stock_quantity\":50,\"quantity\":1},{\"id\":140,\"item_name_sinhala\":\"චැලේන්ජ් ඉඳිආප්ප පිටි 1kg\",\"item_name_english\":\"idiappa\",\"barcode\":\"4796003990054\",\"unit_of_measurement\":\"pcs\",\"regular_price\":360,\"our_price\":360,\"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\":880,\"quantity\":100},{\"id\":186,\"item_name_sinhala\":\"වෙනත්\",\"item_name_english\":\"we2\",\"barcode\":\"400735117\",\"unit_of_measurement\":\"pcs\",\"regular_price\":1,\"our_price\":1,\"stock_quantity\":500,\"quantity\":10}]', '2025-10-31 10:25:48'),
(115, 51, '2025-10-31', NULL, NULL, NULL, 750.00, 750.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: 31/10/2025 Time: 16:05:37</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 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;\">වැනිලා අයිස් 1L</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;\">1.00 × Rs.520.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. 750.00</div><div style=\"margin: 4px 0; font-weight: bold;\">ගෙවූ මුදල: Rs. 750.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\":275,\"item_name_sinhala\":\"යෝගට්\",\"item_name_english\":\"yogat\",\"barcode\":\"70\",\"unit_of_measurement\":\"pcs\",\"regular_price\":70,\"our_price\":70,\"stock_quantity\":500,\"quantity\":3},{\"id\":259,\"item_name_sinhala\":\"වැනිලා අයිස් 1L\",\"item_name_english\":\"ice\",\"barcode\":\"4792085000155\",\"unit_of_measurement\":\"pcs\",\"regular_price\":520,\"our_price\":520,\"stock_quantity\":40,\"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\":490,\"quantity\":20}]', '2025-10-31 10:35:37'),
(116, 52, '2025-10-31', NULL, NULL, NULL, 180.00, 1000.00, 820.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: 31/10/2025 Time: 16:12: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.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></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. 1000.00</div><div style=\"margin: 4px 0; font-size: 14px; font-weight: bold;\">ඉතිරි මුදල: Rs. 820.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\":495,\"quantity\":6}]', '2025-10-31 10:42:27');
