# [01-May-2025 09:47:11] /finance/root/bg/invoices.html 167.99.142.201

set names utf8

SELECT * FROM `invoices` AS `Inv` WHERE `Inv`.`Type` > 0 ORDER BY `Inv`.`PostDate` DESC, `Inv`.`ID` DESC
# [01-May-2025 09:47:23] /finance/root/bg/invoices.html?from=01.05.2024&to=31.05.2024&keyword= 167.99.142.201

set names utf8

SELECT * FROM `invoices` AS `Inv` WHERE `Inv`.`Type` > 0 AND `Inv`.`PostDate` BETWEEN '2024-05-01 00:00:00' AND '2024-05-31 23:59:59'  ORDER BY `Inv`.`PostDate` DESC, `Inv`.`ID` DESC
# [01-May-2025 09:47:49] /finance/root/bg/invoices/2240.html 167.99.142.201

set names utf8

SELECT
                `Inv`.*,
                `Original`.`PostDate` AS `OriginalPostDate`
            FROM
                `invoices` AS `Inv`
                LEFT JOIN `invoices` AS `Original` ON `Inv`.`ParentID` = `Original`.`ID`
            WHERE
                `Inv`.`ID` = 2240
            LIMIT 1

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('May') AND
                `Language` = 'bg'
             ORDER BY
                `labels`.`Label` ASC
# [01-May-2025 09:50:10] /finance/root/bg/invoices.html?from=01.05.2025&to=31.05.2025&keyword= 167.99.142.201

set names utf8

SELECT * FROM `invoices` AS `Inv` WHERE `Inv`.`Type` > 0 AND `Inv`.`PostDate` BETWEEN '2025-05-01 00:00:00' AND '2025-05-31 23:59:59'  ORDER BY `Inv`.`PostDate` DESC, `Inv`.`ID` DESC
# [01-May-2025 09:50:20] /finance/root/bg/invoices.html?from=01.04.2025&to=30.04.2025&keyword=&sum=1 167.99.142.201

set names utf8

SELECT * FROM `invoices` AS `Inv` WHERE `Inv`.`Type` > 0 AND `Inv`.`PostDate` BETWEEN '2025-04-01 00:00:00' AND '2025-04-30 23:59:59'  ORDER BY `Inv`.`PostDate` DESC, `Inv`.`ID` DESC
# [01-May-2025 10:36:56] /finance/root/bg/ajax/invoices/form/clone/2445.html?pid=2445&_=1746085016369 167.99.142.201

set names utf8

SELECT
                *
            FROM
                `invoices`
            WHERE
                `ID` = 2445
            LIMIT 1

SELECT
                `ID`,
                `Data`
            FROM
                `clients`
            WHERE
         `Type` = 0 AND 
                    `Top` = 1
                ORDER BY
                    `PostDate`
                LIMIT 20

SELECT
                `ID`,
                `Data`
            FROM
                `clients`
            WHERE
         `Type` = 1 AND 
                    `Top` = 1
                ORDER BY
                    `PostDate`
                LIMIT 20
# [01-May-2025 10:37:07] /finance/root/bg/ajax/invoices/insert.html?_=1746085028097 167.99.142.201

set names utf8

SELECT
                *
            FROM
                `clients`
            WHERE
                `ID` = 2 AND
                `Visible` = 1
            LIMIT 1

SELECT
                *
            FROM
                `clients`
            WHERE
                `ID` = 1 AND
                `Visible` = 1
            LIMIT 1

SELECT MAX(`ID`) + 1 FROM `invoices` WHERE `Type` > 0 AND `ID` < 1000000000

SELECT * FROM `invoices` LIMIT 1

SHOW COLUMNS FROM `invoices`

INSERT INTO `invoices` SET `ID` = '2469', `Language` = 'bg', `PostDate` = '2025-05-01', `LastUpdate` = '2025-05-01 10:37:07', `Type` = '1', `ParentID` = 0, `Data` = '2rTWvv8x44ed7Hvcgw3TD-NDWMqgK8KTg4wjaKqGsbUMd8U3LnKC4ax3FoDskzbBtgKtfsNfzgiZIWsM-pSIIUEwsjHTqXiT3mI__DxIFNEgFGg15Xxz1UfqBXK0avnxqOjj2YT1HHEj5SXgw-6zmuLZhFSLnX8kiqg9Ok2EIMTed_6PNRuGTxoTzkBKngOAzrv8u0BDpEiOhh69OisK1E-SLOxxSv0Kal65mpYoR5Dq9J8WQjd3LMBFEcRPeeviBuxGik9r5tTtvus5C19dNnBbXEYhhRBc6caF1Eha9AQhDOQnin0b4pGt2LH8TpGDFwH7qkkjR1Q9LOmFJb3YE3qCribMjPY7hpJQiOyiDeui3WvdeWskrb8ZfK92QFURP5_s53grRMJP_RRJ9xnLqONOutpquEZev4ueXy2Avhpw-znyRrWSVsGRr0ToF69BQviTXH49b1_xxP4zonlI07-cWBuOoG007_nKOw2fpxoxj9ZqwuFzCe14PQLZec05wsNufwdDN14FN-8DxNefSEXx7qTuKFEbiYw5fg7iyYANRmrlfI1CWXsbFsRE8uepVePaMXLirr-V5Jid2BJSldS5Z3shVu-3OH1GvdDgMADvQYiPq2xGIxEcviUmPFxjIA3Y4SCkKruAO5sbLKKlVLu9O4xQMeKVpFQYMQ6AKsB-DxLTC_nghsE3Xcn2GKgbn-Kyc4OXdfEx-GUbu91G7peOLZAdE5MxQ2hlkhpE8bsK15E4elSn5Np60Sq99V8nY0EfuU5--jAdlHCuUNfLThrsS7jTN8gEWvmMWbwc0_-Z-PDE8ljAgVJV5Zy04akSKLWh-MsZLad120YI6LEe-Gk_qA4sEDfUllizRkxA0r1eW-EE8uTkAZXtZwUcldtHxA6IG1o3qP_KHpxoxIpZMWjGsC0mMNx3LrfabuUIepEjBUn1cobug1GUdequlP9dbLKdVwHOr9HALcgIW0yfSq0rQYKFgAS80Fp2ub4cDMQlnsloR52HvuIb6o5U7vmg6FPZbDAtxNbrzBe1j3ws0iVwpYBzg_nXk7QJ6dHhNfYeUh8VW7Yj9X5ZQy99HNj06v7FXwy2jiL-6176SQOiwHMlzMFV6MvX3ZKHOQNP7nSEEZ7_Slh-9iWPTxeoYVPkF9sLySg2jbrpZ5OnC7Xx0w', `SearchKey` = 'wofCpMOiwrDg8OgwqCrMKDwqTDi8Ksw4Dn8KhwrLChMKuw4TCvcOIwwofCscK8wrDgsK6wqCqcKDwqTDwofCpMOIwrDg8OgwqCocKDwqTCwrDCisKpw6LCsMK0w4LCpMKtwrDCtsKKwrDgsKgwwofCscK8wrDgcOQwrPCusKDwqTCn8Krw5rCucKhwrfChMKhwqrCvcOIw5TCiMKJwp3DgMwofCpMOPwrDg8OgwqCpMKDwqTDgMKsw4zCucKhwr'
# [01-May-2025 10:37:07] /finance/root/bg/invoices.html?from=01.04.2025&to=30.04.2025&keyword=&sum=1 167.99.142.201

set names utf8

SELECT * FROM `invoices` AS `Inv` WHERE `Inv`.`Type` > 0 AND `Inv`.`PostDate` BETWEEN '2025-04-01 00:00:00' AND '2025-04-30 23:59:59'  ORDER BY `Inv`.`PostDate` DESC, `Inv`.`ID` DESC
# [01-May-2025 10:37:12] /finance/root/bg/ajax/invoices/form/clone/2448.html?pid=2448&_=1746085032693 167.99.142.201

set names utf8

SELECT
                *
            FROM
                `invoices`
            WHERE
                `ID` = 2448
            LIMIT 1

SELECT
                `ID`,
                `Data`
            FROM
                `clients`
            WHERE
         `Type` = 0 AND 
                    `Top` = 1
                ORDER BY
                    `PostDate`
                LIMIT 20

SELECT
                `ID`,
                `Data`
            FROM
                `clients`
            WHERE
         `Type` = 1 AND 
                    `Top` = 1
                ORDER BY
                    `PostDate`
                LIMIT 20
# [01-May-2025 10:37:17] /finance/root/bg/ajax/invoices/insert.html?_=1746085037536 167.99.142.201

set names utf8

SELECT
                *
            FROM
                `clients`
            WHERE
                `ID` = 3 AND
                `Visible` = 1
            LIMIT 1

SELECT
                *
            FROM
                `clients`
            WHERE
                `ID` = 1 AND
                `Visible` = 1
            LIMIT 1

SELECT MAX(`ID`) + 1 FROM `invoices` WHERE `Type` > 0 AND `ID` < 1000000000

SELECT * FROM `invoices` LIMIT 1

SHOW COLUMNS FROM `invoices`

INSERT INTO `invoices` SET `ID` = '2470', `Language` = 'bg', `PostDate` = '2025-05-01', `LastUpdate` = '2025-05-01 10:37:17', `Type` = '1', `ParentID` = 0, `Data` = 'agR-xFS-sT1ihIKOZBQgAJ7q2onuJ7fGPSToG-x547ArprynDFpsl_YYGFEkyIW6st1TISAwr9A9g-MTsGT5MX2cs2US95LiNQtMRFTOB8dtxot4505ZyGqql7yD1mHcH6t6HYG5J5KSG5doMWuhnoQMK5Jzj-hvShHUdCyk-xy6x66g4d0WedD-bOFJtBbTCqSSKOfY-04681do8oB2nYY4MuYRi498bU18TlK_8_emzYc_eoigvuzdr0p2APS6-zewaBXYC9pn9oWSbf5f6yTp3fLk8VkZ7FH1iE-4dQbl5HowXrKB7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5rCucKhwrfChMKhwqrCvcOIw5TCiMKJwp3DgMwofCpMOPwrDg8OgwqCpMKDwqTDgMKsw4zCucKhwrrChMKhwrTCvMOWw6TCiMwofCpMOiw4DCtsOgwqCwofCscOAwrDgcOQwqDr'
# [01-May-2025 10:37:17] /finance/root/bg/invoices.html?from=01.04.2025&to=30.04.2025&keyword=&sum=1 167.99.142.201

set names utf8

SELECT * FROM `invoices` AS `Inv` WHERE `Inv`.`Type` > 0 AND `Inv`.`PostDate` BETWEEN '2025-04-01 00:00:00' AND '2025-04-30 23:59:59'  ORDER BY `Inv`.`PostDate` DESC, `Inv`.`ID` DESC
# [01-May-2025 10:37:21] /finance/root/bg/ajax/invoices/form/clone/2449.html?pid=2449&_=1746085041342 167.99.142.201

set names utf8

SELECT
                *
            FROM
                `invoices`
            WHERE
                `ID` = 2449
            LIMIT 1

SELECT
                `ID`,
                `Data`
            FROM
                `clients`
            WHERE
         `Type` = 0 AND 
                    `Top` = 1
                ORDER BY
                    `PostDate`
                LIMIT 20

SELECT
                `ID`,
                `Data`
            FROM
                `clients`
            WHERE
         `Type` = 1 AND 
                    `Top` = 1
                ORDER BY
                    `PostDate`
                LIMIT 20
# [01-May-2025 10:37:26] /finance/root/bg/ajax/invoices/insert.html?_=1746085046554 167.99.142.201

set names utf8

SELECT
                *
            FROM
                `clients`
            WHERE
                `ID` = 4 AND
                `Visible` = 1
            LIMIT 1

SELECT
                *
            FROM
                `clients`
            WHERE
                `ID` = 1 AND
                `Visible` = 1
            LIMIT 1

SELECT MAX(`ID`) + 1 FROM `invoices` WHERE `Type` > 0 AND `ID` < 1000000000

SELECT * FROM `invoices` LIMIT 1

SHOW COLUMNS FROM `invoices`

INSERT INTO `invoices` SET `ID` = '2471', `Language` = 'bg', `PostDate` = '2025-05-01', `LastUpdate` = '2025-05-01 10:37:26', `Type` = '1', `ParentID` = 0, `Data` = 'm-JANqyiiNDsN4eHaXGun95B54nCfLY0Fe0WfjVzwvbN4mqTmu_hNeCOwR_P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FWsvn4k25E45q3LbQ4DqbuT0TyrgJU4kj1TNL1Au0raN4F5S9V6bSJwZhOufq6w', `SearchKey` = 'wofCpMOqwrDg8OgwqCrcKDwqTDhMKrw5jCwofCpMOqwrDgMK6wqCrcKDwqTDlsKsw43CucKdwqDChMKhw4TCvcOJwqnCjMKewp3DjcKlwqPCvMOCwpfCpcKCwoCwofCpMKnwrDg8OgwqCwrnCr8Kpw6PCp8ODwwofCscK8wrDgcOQwrPCusKDwqTCn8Krw5rCucKhwrfChMKhwqrCvcOIw5TCiMKJwp3DgMwofCpMOPwrDg8OgwqCpMKDwqTDgM'
# [01-May-2025 10:37:26] /finance/root/bg/invoices.html?from=01.04.2025&to=30.04.2025&keyword=&sum=1 167.99.142.201

set names utf8

SELECT * FROM `invoices` AS `Inv` WHERE `Inv`.`Type` > 0 AND `Inv`.`PostDate` BETWEEN '2025-04-01 00:00:00' AND '2025-04-30 23:59:59'  ORDER BY `Inv`.`PostDate` DESC, `Inv`.`ID` DESC
# [01-May-2025 10:37:29] /finance/root/bg/ajax/invoices/form/clone/2451.html?pid=2451&_=1746085049550 167.99.142.201

set names utf8

SELECT
                *
            FROM
                `invoices`
            WHERE
                `ID` = 2451
            LIMIT 1

SELECT
                `ID`,
                `Data`
            FROM
                `clients`
            WHERE
         `Type` = 0 AND 
                    `Top` = 1
                ORDER BY
                    `PostDate`
                LIMIT 20

SELECT
                `ID`,
                `Data`
            FROM
                `clients`
            WHERE
         `Type` = 1 AND 
                    `Top` = 1
                ORDER BY
                    `PostDate`
                LIMIT 20
# [01-May-2025 10:37:32] /finance/root/bg/ajax/invoices/insert.html?_=1746085053096 167.99.142.201

set names utf8

SELECT
                *
            FROM
                `clients`
            WHERE
                `ID` = 5 AND
                `Visible` = 1
            LIMIT 1

SELECT
                *
            FROM
                `clients`
            WHERE
                `ID` = 1 AND
                `Visible` = 1
            LIMIT 1

SELECT MAX(`ID`) + 1 FROM `invoices` WHERE `Type` > 0 AND `ID` < 1000000000

SELECT * FROM `invoices` LIMIT 1

SHOW COLUMNS FROM `invoices`

INSERT INTO `invoices` SET `ID` = '2472', `Language` = 'bg', `PostDate` = '2025-05-01', `LastUpdate` = '2025-05-01 10:37:32', `Type` = '1', `ParentID` = 0, `Data` = 'E7jMjtWGUbfR72cd2PsD6D81Zn9SdUF-QHRGgxvjZyLaRRqr3Kl8lsNpI-GQzAjroIhWRdADVMOYRwQqnIhAuU4B21K1RQ-aoaF3eNHueEJq7oV03YqU-kwNDye2OWlJjvGIYrxQO7DbMvo3bhFbYvQ7Yv_X1HOVT9dvq8cYfClJKMaHyu53zPQ6pnwdpAH5Ez6GyNlfX7MAPRlFZazvO8KKWF9pQScRe_n8B1X_Hw8smZ9NA8FiTpZvSLqbqZbbAGzKh4TTByKDHNpb92ZacGNWeGcM4oAQQO6vZItTnXsL1k9cpAFYF8LdeHN7u25hiauga1lL0pXA0zCkHC7vvNo3VUtQM3hzlKjlJVZ-b7vquCN8-lbvTAwVy9G1cUDygVo83L3sbUrNTUAGEsXFspO1NLrWDMT3E3qhBeRg-oR0_uHEhrQawOwWDW6W8JhhDJNBOpTXfVzM5dZFdotOhpoIDLnUH-YTRvbi418t3TVBf9GUd_JbUHc8ctFLPD9NZSftGAw3cNX_PM_xfEXjxalMq3iyuuHXksUrfKUY2x9s8RJKD4NSXPVW-FX8wr7XUVvV8_irZ1Dzv6LnY3v6F6jArg8_QIuGvXAhcx_fHWx2hbAhoZBWUQt-QrKtz2MXbAYLRyPH_UYa53aQlnEWJ9g1G1bYNCMbJJYeZ-Gs9T2_syrbRYN5Wq55zC-ehuqAIxYn16iucrGSi83Ztt2VFVa02FLFsqZENxQHoo-b0tiYoZvcrdhFCz5EiE14ZHPKlFp8eIufTIqTCtSETkMYgQ-1Vt85Fgx4qCDRrrtCnW-cMC-dQbdHpPx-Z-EPNfySQTXOLeiWdvPG1v1tgNhgvt1eGzE4dS6e_6OuCebWB7LPKlXk4xtJ5d6lPsua5ERhHsTIjkv_mCu8NXvdfPWhiGwmiuE7W5iwc7Qx3fkrAoc-JwADjxa7zYxDXXU9dIK5nRYVkKDUIdcN8SNBuBvNypypJJ_YzbxnKG0IIcMXaFO_y0HTOSHfMk9KX5xNa2oNhC-DQ9wDwWIc6UFHSf68mi5wEtvFtNUPOItWVAQWYkU', `SearchKey` = 'wofCpMOiwrDgsKlwrPCuMKDwqTCwofCpMKnwrDg8OgwqCwrrCi8Kyw57CsMKewrLDqcK0wqDgcwofCscK8wrDgcOQwrPCusKDwqTCn8Krw5rCucKhwrfChMKhwqrCvcOIw5TCiMKJwp3DgMwofCpMOPwrDg8OgwqCpMKDwqTDgMKsw4zCucKhwrrChMKhwrTCvMOWw6TCiMwofCpMOWwrDgMwofCpMOqwrDgcOQwrPCtsKDwqTDhMKsw43DwofC'
# [01-May-2025 10:37:32] /finance/root/bg/invoices.html?from=01.04.2025&to=30.04.2025&keyword=&sum=1 167.99.142.201

set names utf8

SELECT * FROM `invoices` AS `Inv` WHERE `Inv`.`Type` > 0 AND `Inv`.`PostDate` BETWEEN '2025-04-01 00:00:00' AND '2025-04-30 23:59:59'  ORDER BY `Inv`.`PostDate` DESC, `Inv`.`ID` DESC
# [01-May-2025 10:37:37] /finance/root/bg/ajax/invoices/form/clone/2454.html?pid=2454&_=1746085057704 167.99.142.201

set names utf8

SELECT
                *
            FROM
                `invoices`
            WHERE
                `ID` = 2454
            LIMIT 1

SELECT
                `ID`,
                `Data`
            FROM
                `clients`
            WHERE
         `Type` = 0 AND 
                    `Top` = 1
                ORDER BY
                    `PostDate`
                LIMIT 20

SELECT
                `ID`,
                `Data`
            FROM
                `clients`
            WHERE
         `Type` = 1 AND 
                    `Top` = 1
                ORDER BY
                    `PostDate`
                LIMIT 20
# [01-May-2025 10:37:46] /finance/root/bg/ajax/invoices/insert.html?_=1746085066794 167.99.142.201

set names utf8

SELECT
                *
            FROM
                `clients`
            WHERE
                `ID` = 6 AND
                `Visible` = 1
            LIMIT 1

SELECT
                *
            FROM
                `clients`
            WHERE
                `ID` = 1 AND
                `Visible` = 1
            LIMIT 1

SELECT MAX(`ID`) + 1 FROM `invoices` WHERE `Type` > 0 AND `ID` < 1000000000

SELECT * FROM `invoices` LIMIT 1

SHOW COLUMNS FROM `invoices`

INSERT INTO `invoices` SET `ID` = '2473', `Language` = 'bg', `PostDate` = '2025-05-01', `LastUpdate` = '2025-05-01 10:37:46', `Type` = '1', `ParentID` = 0, `Data` = 'EFZmfxGOy8i355OBvE8g5yhcE8gKsPBXti8pn0J0RVD7OXv7tkEpwY1d1YAtseBSwQKyS8fJV0fO6I8wfBFleECUM-Vbr99dd95PHRmjs5SOww-dhSWxB9fulc-QFjHBplGszF7FTpWoMfhK9t-o65l9gx8o5z3bKkF_xNNW0H3OhbNcSTkWgh9ZqBuCFHT24KsSxaZPVDkIAxFkPYc7jWckSpseyLj8YLd6_NR3UBW53SRFkbt4H9Z4aEsD-EjdN5qq-XxzZBEjzfNhulpUdKN07WzZcnKPguDCJu-m5M9uawudJz_5ATulseo8tmwOHir93oofEg1ysrEMHRKwhi8mX8zl5iQ8hwVT4BeLNrIplPukyZR-Bv-FDwGlMCKhLsLPQdho63bKG2huE7YeuE91LT_4w1UZeVd86upvn8GtuJP-Tv7nF6KdEU7dWKhzXeqs2gLzitJa5PIwbrqx3As011zSpdVvLWCGZMnljPkk2uUBV3sKh8hjB3Tr1t2RigykAj3HFqa5ca6Ij1pWoNHHB5eQaTmYWUk0N18bBmpRDG6U1GUf1_SlgQSVpcuwDFzoDgSUUgqw-OMk77J7rLayjSU697uJ0xM1sT7kkw3NWomq8eQITnUca3uz1nS7EF61R0ylx4uAjwEmL0Zv-ZqY733Lk1yV6ue-Eklj4IAf-KynVnL-vyN_CU8mIVJC1pqTS4M8TlHTdJe7XiTljEmtybLJeqvYwYPkHHkutPeXaaTZMELLEYrAGxV0-PqldaSEz0rpUU5A5_x6AbDY9hD3ld-K4WopCUeDyU4F2vaM6jZUbeUDG4VDmZlY_UZC6z5198xwJS4fs-86_LU_oijdIcj9B43Cn1WDiQJPiUgfIGt9jw0q0rCJhIM0YofhBgXjPHBNdd6EpMBxsMz9olbksVV20N8QvvG6VATDd1DFtGX3MCsykVlQQO5p03A4UiZyDUgzpfsAPv9yOsOOjTVE1DZ06HVLPdgAD3WcW-KEUJOu77dgqUMxvTOoEz5x4aLzKeqW8LXQHETZ6nldFuXR5f7cBAGdnb0J0mz6BNkGH3va7OrM38Hgk8RihGiZMA5SZIeNv-GgM63lnz2WRcUwWkyAkMz8OkuvGyf6SNHeHXEyXcT8Ubf6Em9mvVlVbvqA8GuHIITR4I190aFMEL0eYBERsdEACnOVHrNyOUoJ1QzZZB_oEgE2USjBdK7XpiDhUTaizMmAdh-9X0E6HpBzVxXDW3RxDGaC8Jv6XWgAvZZ9Uf1diDqejF5Db-os', `SearchKey` = 'wofCpMKjw4DCt8OgwqCrMKDwqTCsMKrw5vCwqTDgsKxw6bCmswofCpMK0wrDgcwrHDhsOGw6fCr8OZw5jDrcKsworDgsOPw4nCssKwwwofCscOAwrDg8KlwrPCtcKDwqTCsMKrw5jDn8KdwqbChMKhwqrCvMOXw5TCiMKHwp3DgMwofCpMKjwrDgMwofCscK0wrDgcOQwqCqsKDwqTDosKrw5jCucKdwqfChMKhwoXCvMOUwwofCpMOiwrDgMK6'
# [01-May-2025 10:37:46] /finance/root/bg/invoices.html?from=01.04.2025&to=30.04.2025&keyword=&sum=1 167.99.142.201

set names utf8

SELECT * FROM `invoices` AS `Inv` WHERE `Inv`.`Type` > 0 AND `Inv`.`PostDate` BETWEEN '2025-04-01 00:00:00' AND '2025-04-30 23:59:59'  ORDER BY `Inv`.`PostDate` DESC, `Inv`.`ID` DESC
# [01-May-2025 10:37:51] /finance/root/bg/ajax/invoices/form/clone/2455.html?pid=2455&_=1746085071792 167.99.142.201

set names utf8

SELECT
                *
            FROM
                `invoices`
            WHERE
                `ID` = 2455
            LIMIT 1

SELECT
                `ID`,
                `Data`
            FROM
                `clients`
            WHERE
         `Type` = 0 AND 
                    `Top` = 1
                ORDER BY
                    `PostDate`
                LIMIT 20

SELECT
                `ID`,
                `Data`
            FROM
                `clients`
            WHERE
         `Type` = 1 AND 
                    `Top` = 1
                ORDER BY
                    `PostDate`
                LIMIT 20
# [01-May-2025 10:37:55] /finance/root/bg/ajax/invoices/insert.html?_=1746085076090 167.99.142.201

set names utf8

SELECT
                *
            FROM
                `clients`
            WHERE
                `ID` = 7 AND
                `Visible` = 1
            LIMIT 1

SELECT
                *
            FROM
                `clients`
            WHERE
                `ID` = 1 AND
                `Visible` = 1
            LIMIT 1

SELECT MAX(`ID`) + 1 FROM `invoices` WHERE `Type` > 0 AND `ID` < 1000000000

SELECT * FROM `invoices` LIMIT 1

SHOW COLUMNS FROM `invoices`

INSERT INTO `invoices` SET `ID` = '2474', `Language` = 'bg', `PostDate` = '2025-05-01', `LastUpdate` = '2025-05-01 10:37:55', `Type` = '1', `ParentID` = 0, `Data` = 'UuOshxUo8mW-moVJzENt0Sham50AO5ai59ULA1K-F3z_jwurcRtceRcjx2ZWtuuYPJ9hJq-gC4C1rrVjbugbFiA3DMnfJqnSXBSOSe719aqz1pfl9wv2H1dGi5GTkS6IJfUPVHvjSMG5OwxU_MWAQJhmEgLzaO44xAozS4RwoaMqO_NaxdUKHwq6c8FoyiMq5cn5qNbe9r85bB6O4GEbe7tsSP9FbLTqToQxcb5BY6kjeu19LXfQnJc6Uu18dmzzPZW4O1qpmn1epbToKxiOSzEGNo7NDW_s9OM8C1ybSW_KrbqQPv-2uBrCPcnd5_EKox6jib2pP5-eiz1iGxBhi4anu2cORpmaJLSeJDttf92quhxOtMvy0KvmoxzZWz5CADfRqfQhP3BFsBShvpOG5pkNprjQbh-JKknLc-69eq6SFxiVsbM_jHnz7IM6yN4GQ_0YUMUOFyNPI20OBTvDVfpoeqHAvIqjiYMxokQdZGCyqwhF_N8JdozZn0HpLiooAa0q0WXFWIzq8VJM3EmsDR-j3BcOGrSHpwNZhOOS-k1fcZehW83Z77nUqHm0HkRN5b1xaqAoRGlenXIpb_6Y0FQ6jyxj9220Tm66mOBRvIqn-9LhSxE6F0vtleMqdB5lPqC-_DnCl0y-K8AXGn5wPinvSiPj1_uabKdDcGLPRCuvZ6Ra_TOg0oAszFQn5C4QjBxMTqM3jZFfisUHGbgrQOurD6I9-5MDyJ21NTUi_N8JdH51_V6Y2jS8tE0gqs5-kh8YtrTeLuNG35qi_IShR9n1YlX0NBogO9Mkfmvy8h4iRUszvcbO65uS5VkZ52iRcRRnNTpZTgjrEpPGQHyQ5OK0vsH4Vkph-vAfC70Qks3G6mkMbGJp7EDUuREN6khVGgGWnltCOXkHz6VIAXFFIC9xKRTllTgyyxoSW65OOEcHr-F8m-GC3LnCge6hqfBC954O8shA0GdsBKYQp6x2VojrtfBjDnm9HpFeiA_qZ4OVrqQkxbw-O-pJYXDiRNeKwShbKwqFhAFjBVvyfVawchRAaP4r5SK1EkhREpnj2hgRp_XSXf3WHOrnIRY2IOTLJgb7G0GVt0evwI-d_SMVsBHCFgcttBSIXa0R1gKEOe9wvOIS6Zjkb-DjOF2a5bLBiT0ZYJX3hXGJ0KfBVSrOy51hJRyfF3hym4yMfvK_iAWrwLBhGxFmz78M0zMFge1hbNJhhJjq9hUrAhTZtVu3_cpw8qlXzxVT2yyDZBhwXt4', `SearchKey` = 'wofCscK0wrDgcOQwqDq8KDwqTDwofCscK8w4DCtMKlwrPCtcKDwqTCtMKrw5vDwofCpMOIwrDg8OgwqCocKDwqTCwrrDhcOGw5bCr8K0wr7CpcK2w4XCtswofCscOAwrDg8KlwrPCtcKDwqTCsMKrw5jDn8KdwqbChMKhwqrCvMOXw5TCiMKHwp3DgMwofCpMKjwrDgMwofCscK0wrDgcOQwqCqsKDwqTDosKrw5jCucKdwqfChMKhwoXCvMOUw'
# [01-May-2025 10:37:55] /finance/root/bg/invoices.html?from=01.04.2025&to=30.04.2025&keyword=&sum=1 167.99.142.201

set names utf8

SELECT * FROM `invoices` AS `Inv` WHERE `Inv`.`Type` > 0 AND `Inv`.`PostDate` BETWEEN '2025-04-01 00:00:00' AND '2025-04-30 23:59:59'  ORDER BY `Inv`.`PostDate` DESC, `Inv`.`ID` DESC
# [01-May-2025 10:37:59] /finance/root/bg/ajax/invoices/form/clone/2456.html?pid=2456&_=1746085079856 167.99.142.201

set names utf8

SELECT
                *
            FROM
                `invoices`
            WHERE
                `ID` = 2456
            LIMIT 1

SELECT
                `ID`,
                `Data`
            FROM
                `clients`
            WHERE
         `Type` = 0 AND 
                    `Top` = 1
                ORDER BY
                    `PostDate`
                LIMIT 20

SELECT
                `ID`,
                `Data`
            FROM
                `clients`
            WHERE
         `Type` = 1 AND 
                    `Top` = 1
                ORDER BY
                    `PostDate`
                LIMIT 20
# [01-May-2025 10:38:07] /finance/root/bg/ajax/invoices/insert.html?_=1746085087243 167.99.142.201

set names utf8

SELECT
                *
            FROM
                `clients`
            WHERE
                `ID` = 8 AND
                `Visible` = 1
            LIMIT 1

SELECT
                *
            FROM
                `clients`
            WHERE
                `ID` = 1 AND
                `Visible` = 1
            LIMIT 1

SELECT MAX(`ID`) + 1 FROM `invoices` WHERE `Type` > 0 AND `ID` < 1000000000

SELECT * FROM `invoices` LIMIT 1

SHOW COLUMNS FROM `invoices`

INSERT INTO `invoices` SET `ID` = '2475', `Language` = 'bg', `PostDate` = '2025-05-01', `LastUpdate` = '2025-05-01 10:38:07', `Type` = '1', `ParentID` = 0, `Data` = '6b0z-pSlWXtyEMneyEFBeKzZW2VEOKCfdiQF9ej9J9oncCkfTPKZsNjcL3sliKP8MGwFXUybJIiytB4fAV9XztX8b-XJ_qFRbqeK0df_s1p0gH2wB4FjvaSrhCGLg4eiVNiQfe6nR7VyvBFv5B1UBhUb5RsbuoEDysR-o4YmXihV2GebyfUqMG-UUFD3PY-_V0NoJR-O6AhhcVWD-CKsDGgULE72piO-SzTCdhOc9Rvy7n7cecj8Q3orZWLFP0i8uksKYgJi1ODYB_aGPboTLvVjvZcFBhp3F7dUCszc6nK4bhd9vG1EyV2u-jH4isIbR4vjv4rQCHbOKQuj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X5bPJoo3Z4H4BXe2ii_LIp1xZqtP0d9_1ZcVohOPL10xw8qB3jO6-LwowOr4-LaB9kbbSUrsWNueY9QjiUX_vZidixYYlslLp5hId2RlRhXOkb4ImO_EQ9etBxNqgOAVBB02X_yV6hZ2m5kZDL9QNyIUCqNwxtAeqEyrzwrDmqj7uPJOLW0oWdzCo3k2OreE4LlJXPIWvoagDxGwmJuk9Zd5QNtIZbN3EPcf9olWd0ao-2gHEfaFHKkpvjq86TYpRnedkUFsn38XlrxqRon6apzg54drbtMj42fWuOQV5WFI4xf82dOcnLh4QwQbHI8WldDZMHzIYDzxJuKc5eGacoslBUlMMIcxD7C5gjM-Nx2Me-lZnOUl-YZZ6nybBcMjViEx6rsl4MpTAEG-6LEJgBZ7XNX6YxjuyxWPbLvRvo9FI1pwAOGS_DDZXc5KJ8gin6oDdX1M_sN4Ay3RhGDx-djYgP9MnIqP_Hd85LH1Hz0Z1oOvwJuAUPL6Jz4z5GVBLc6VtXY1-o9cZU0_4rXhqssJJH5lZOKlFv_bmggH5KInbz9nYRmr4', `SearchKey` = 'wofCscOIwrDgsK6wqCpMKDwrHCsMKrw5vDn8KdwqfChMKhwpbCvcOIwwofCpMKnwrDg8OgwqCwrjCoMOcw5nCsMOZwqXDqMKswrDCwofCscOAwrDg8KlwrPCtcKDwqTCsMKrw5jDn8KdwqbChMKhwqrCvMOXw5TCiMKHwp3DgMwofCpMKjwrDgMwofCscK0wrDgcOQwqCqsKDwqTDosKrw5jCucKdwqfChMKhwoXCvMOUwwofCpMOiwrDgMK6wq'
# [01-May-2025 10:38:07] /finance/root/bg/invoices.html?from=01.04.2025&to=30.04.2025&keyword=&sum=1 167.99.142.201

set names utf8

SELECT * FROM `invoices` AS `Inv` WHERE `Inv`.`Type` > 0 AND `Inv`.`PostDate` BETWEEN '2025-04-01 00:00:00' AND '2025-04-30 23:59:59'  ORDER BY `Inv`.`PostDate` DESC, `Inv`.`ID` DESC
# [01-May-2025 10:38:10] /finance/root/bg/ajax/invoices/form/clone/2457.html?pid=2457&_=1746085090992 167.99.142.201

set names utf8

SELECT
                *
            FROM
                `invoices`
            WHERE
                `ID` = 2457
            LIMIT 1

SELECT
                `ID`,
                `Data`
            FROM
                `clients`
            WHERE
         `Type` = 0 AND 
                    `Top` = 1
                ORDER BY
                    `PostDate`
                LIMIT 20

SELECT
                `ID`,
                `Data`
            FROM
                `clients`
            WHERE
         `Type` = 1 AND 
                    `Top` = 1
                ORDER BY
                    `PostDate`
                LIMIT 20
# [01-May-2025 10:38:14] /finance/root/bg/ajax/invoices/insert.html?_=1746085094602 167.99.142.201

set names utf8

SELECT
                *
            FROM
                `clients`
            WHERE
                `ID` = 14 AND
                `Visible` = 1
            LIMIT 1

SELECT
                *
            FROM
                `clients`
            WHERE
                `ID` = 1 AND
                `Visible` = 1
            LIMIT 1

SELECT MAX(`ID`) + 1 FROM `invoices` WHERE `Type` > 0 AND `ID` < 1000000000

SELECT * FROM `invoices` LIMIT 1

SHOW COLUMNS FROM `invoices`

INSERT INTO `invoices` SET `ID` = '2476', `Language` = 'bg', `PostDate` = '2025-05-01', `LastUpdate` = '2025-05-01 10:38:14', `Type` = '1', `ParentID` = 0, `Data` = 'k9awmYGA82TalvPmov0eBHotMtlKUtB3HV4tRlgHpeWbMvAQ8K2HOWBrUprg1qQq1EkARURKtUa-89aHEWyGMJlzi6Wwl_nel_wyLatPPdl93X8Gh2nGQphN1MTeH8d_AfkAuZ9vbA9B62nPQnBot52YoBrks0nwndCXHdRI2FvpD-Nj5d2UPtdd8PssWbeCBjkmvYcitk0Add1-9_iHitJa5nHNf18CjjaAyPxyZdbHdJtaj2XGSrjGKlCVrjVnayhWwkdlZu_kK6wI2t6hkwnv5NsTOYwLXuGJAE6bHvalp3RJcRqOGofuC1Jl-9hgE30Mb864X3U5gXni8MTBMy5vOxeP4-oHl37wjfFGR5fnYh62mUxy4aqa0Qgvfw2KHL32Obl5LxC4FJZLUpZ81ZgSFwFhJsXAjtLNEr7thYa5Fa23kDJvA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.2025&keyword=&sum=1 167.99.142.201

set names utf8

SELECT * FROM `invoices` AS `Inv` WHERE `Inv`.`Type` > 0 AND `Inv`.`PostDate` BETWEEN '2025-04-01 00:00:00' AND '2025-04-30 23:59:59'  ORDER BY `Inv`.`PostDate` DESC, `Inv`.`ID` DESC
# [01-May-2025 10:38:31] /finance/root/bg/invoices/2459.html 167.99.142.201

set names utf8

SELECT
                `Inv`.*,
                `Original`.`PostDate` AS `OriginalPostDate`
            FROM
                `invoices` AS `Inv`
                LEFT JOIN `invoices` AS `Original` ON `Inv`.`ParentID` = `Original`.`ID`
            WHERE
                `Inv`.`ID` = 2459
            LIMIT 1

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('Apr') AND
                `Language` = 'bg'
             ORDER BY
                `labels`.`Label` ASC
# [01-May-2025 10:39:11] /finance/root/bg/invoices.html?from=01.04.2024&to=30.04.2024&keyword= 167.99.142.201

set names utf8

SELECT * FROM `invoices` AS `Inv` WHERE `Inv`.`Type` > 0 AND `Inv`.`PostDate` BETWEEN '2024-04-01 00:00:00' AND '2024-04-30 23:59:59'  ORDER BY `Inv`.`PostDate` DESC, `Inv`.`ID` DESC
# [01-May-2025 10:39:39] /finance/root/bg/invoices.html?from=30.04.2024&to=31.05.2024&keyword= 167.99.142.201

set names utf8

SELECT * FROM `invoices` AS `Inv` WHERE `Inv`.`Type` > 0 AND `Inv`.`PostDate` BETWEEN '2024-04-30 00:00:00' AND '2024-05-31 23:59:59'  ORDER BY `Inv`.`PostDate` DESC, `Inv`.`ID` DESC
# [01-May-2025 10:39:44] /finance/root/bg/ajax/invoices/form/clone/2243.html?pid=2243&_=1746085185124 167.99.142.201

set names utf8

SELECT
                *
            FROM
                `invoices`
            WHERE
                `ID` = 2243
            LIMIT 1

SELECT
                `ID`,
                `Data`
            FROM
                `clients`
            WHERE
         `Type` = 0 AND 
                    `Top` = 1
                ORDER BY
                    `PostDate`
                LIMIT 20

SELECT
                `ID`,
                `Data`
            FROM
                `clients`
            WHERE
         `Type` = 1 AND 
                    `Top` = 1
                ORDER BY
                    `PostDate`
                LIMIT 20
# [01-May-2025 10:39:53] /finance/root/bg/ajax/invoices/insert.html?_=1746085193559 167.99.142.201

set names utf8

SELECT
                *
            FROM
                `clients`
            WHERE
                `ID` = 29 AND
                `Visible` = 1
            LIMIT 1

SELECT
                *
            FROM
                `clients`
            WHERE
                `ID` = 1 AND
                `Visible` = 1
            LIMIT 1

SELECT MAX(`ID`) + 1 FROM `invoices` WHERE `Type` > 0 AND `ID` < 1000000000

SELECT * FROM `invoices` LIMIT 1

SHOW COLUMNS FROM `invoices`

INSERT INTO `invoices` SET `ID` = '2477', `Language` = 'bg', `PostDate` = '2025-05-01', `LastUpdate` = '2025-05-01 10:39:53', `Type` = '1', `ParentID` = 0, `Data` = 'hG2IK6mi5TRT63k-tMXrGS8u2ZKmhTEISsMlV6TAMiE6IIb1SBM2YBXPdSPdQ3Pj5WJrLwIXL6rkH1znz314xYiW3OgBVUXwVnqBbraUrPPYFxCjLhz2o3AzHHYAl2WW1cIrGIoPvf6fDM6FS0UaJWo47yQkR8NcfAHmYTfwP_83bjXcYc7fjOuisPtYkj853tF4R18zblZWvpsIwR6i20ehcxYFwwUlrfSMooGwL7_pXUCCONbQI8eWWcmNxNua0IMgLzNPcsvtGW-Nlaxvpeb9STuUJl4xYaV3KTICZGuL4g4zwai0K4UatKGYXoZQiqnuPvKgX7youk3wne2_2P0D5kaPH417r9BS-TayVDb7HEe1e_w6brLLMoUH7Jk8Q_x9mCCwTLR2xCb8Ow8-I16AJkaQNwFaArWaQyRvO6Kc1qKpndaTm4M3eRKV3PgoMy3DIWLszvx26YKhUmnl1kgp8EdtRyQUJyhXkkuf-9nkdLTfyWnfyM8JqAFjfepogVuch-qXXYOHd2DHP5Roh1jGLQENpe3va_qYJIds1NSxJgGc5V_0zDPc5sW6oE42IRbmUf_uopf3T3p0eRuDfqlfjgY4arJEh42Qwp-TYRXKU0w60J9JoJIosUuY_mGIn7EoM00Zh6fbiWoY4LcNb9ragS_PeUJ-uPfZ9_RyP1kHff5Gt3oFfQl8XUavSuOUtf0XF-ps617_uKHySxjnvP27KvnCSLTnsO6yj1TzqcCcXxSFhNnFBKX2IduwoW9y0saSUW7deXFK1vZ5nHFxOVKv_sSVTsUkbrh5YBbpCp5KKLVRC05z1329ZLGSt9a_W9kY20DYRhwxtjD1yXyjMixfckE89_4hsauu-ORiuCtf_AnaPwC0t5-kgYMZyuAf9VcIqKbDs8sNgRk21BTPjDmE_RNWhScgJat6vRn4IGPOgGVO2uqPPc41tp8J1TvFH0GxVa6FYY4Pl7mD3eiM8k6b54DM69dtEbt4BA_zExRUcuH_DOnivPAAq8ZV3LEKwXkp7lZvuZcdAN9xhA_7nNxmbh8PkDD72vsMG7XcI2xAwo-Uj-pp0Yu7sHkucr8w8OEGlyDf2RTt8Uun6-S0ckIfIF4B_TVDW6hh4vA0uObS-P7zBcs279vTbhgHnkjwgvHkHjj-vV5giY7sJ-zWNg', `SearchKey` = 'wofCpMK0w4DCtMK6wqDq8KDwqTDi8Ksw4DwofCscK4w4DCtsOgwqCwofCscK0wrDgsK6wqCp8KDwqTCo8Ksw4zCucKhwwofCpMOIwrDgMK6wqCwrDCsMK6w5bCsMK0w5jDnMK2wovDgsOPw4jDmMKww6nCtsKIwpzCwofCpMOEwrDg8OgwqCrMKDwqTDhMKrw5rDj8KdwwofCscOIwrDg8OgwrPCtsKDwrHCuMKrw5rCucKdwqjChMKhwwrrCi8'
# [01-May-2025 10:39:53] /finance/root/bg/invoices.html?from=30.04.2024&to=31.05.2024&keyword= 167.99.142.201

set names utf8

SELECT * FROM `invoices` AS `Inv` WHERE `Inv`.`Type` > 0 AND `Inv`.`PostDate` BETWEEN '2024-04-30 00:00:00' AND '2024-05-31 23:59:59'  ORDER BY `Inv`.`PostDate` DESC, `Inv`.`ID` DESC
# [01-May-2025 10:40:01] /finance/root/bg/invoices.html 167.99.142.201

set names utf8

SELECT * FROM `invoices` AS `Inv` WHERE `Inv`.`Type` > 0 ORDER BY `Inv`.`PostDate` DESC, `Inv`.`ID` DESC
# [01-May-2025 10:40:20] /finance/root/bg/invoices.html?from=01.05.2025&to=08.05.2025&keyword= 167.99.142.201

set names utf8

SELECT * FROM `invoices` AS `Inv` WHERE `Inv`.`Type` > 0 AND `Inv`.`PostDate` BETWEEN '2025-05-01 00:00:00' AND '2025-05-08 23:59:59'  ORDER BY `Inv`.`PostDate` DESC, `Inv`.`ID` DESC
# [01-May-2025 10:40:33] /finance/root/bg/invoices.html?from=01.05.2025&to=08.05.2025&keyword=&sum=1 167.99.142.201

set names utf8

SELECT * FROM `invoices` AS `Inv` WHERE `Inv`.`Type` > 0 AND `Inv`.`PostDate` BETWEEN '2025-05-01 00:00:00' AND '2025-05-08 23:59:59'  ORDER BY `Inv`.`PostDate` DESC, `Inv`.`ID` DESC
# [01-May-2025 10:40:58] /finance/root/bg/invoices/2469.html 167.99.142.201

set names utf8

SELECT
                `Inv`.*,
                `Original`.`PostDate` AS `OriginalPostDate`
            FROM
                `invoices` AS `Inv`
                LEFT JOIN `invoices` AS `Original` ON `Inv`.`ParentID` = `Original`.`ID`
            WHERE
                `Inv`.`ID` = 2469
            LIMIT 1

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('May') AND
                `Language` = 'bg'
             ORDER BY
                `labels`.`Label` ASC
# [01-May-2025 10:41:01] /finance/root/bg/invoices/2470.html 167.99.142.201

set names utf8

SELECT
                `Inv`.*,
                `Original`.`PostDate` AS `OriginalPostDate`
            FROM
                `invoices` AS `Inv`
                LEFT JOIN `invoices` AS `Original` ON `Inv`.`ParentID` = `Original`.`ID`
            WHERE
                `Inv`.`ID` = 2470
            LIMIT 1

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('May') AND
                `Language` = 'bg'
             ORDER BY
                `labels`.`Label` ASC
# [01-May-2025 10:41:02] /finance/root/bg/invoices/2471.html 167.99.142.201

set names utf8

SELECT
                `Inv`.*,
                `Original`.`PostDate` AS `OriginalPostDate`
            FROM
                `invoices` AS `Inv`
                LEFT JOIN `invoices` AS `Original` ON `Inv`.`ParentID` = `Original`.`ID`
            WHERE
                `Inv`.`ID` = 2471
            LIMIT 1

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('May') AND
                `Language` = 'bg'
             ORDER BY
                `labels`.`Label` ASC
# [01-May-2025 10:41:02] /finance/root/bg/invoices/2472.html 167.99.142.201

set names utf8

SELECT
                `Inv`.*,
                `Original`.`PostDate` AS `OriginalPostDate`
            FROM
                `invoices` AS `Inv`
                LEFT JOIN `invoices` AS `Original` ON `Inv`.`ParentID` = `Original`.`ID`
            WHERE
                `Inv`.`ID` = 2472
            LIMIT 1

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('May') AND
                `Language` = 'bg'
             ORDER BY
                `labels`.`Label` ASC
# [01-May-2025 10:41:03] /finance/root/bg/invoices/2473.html 167.99.142.201

set names utf8

SELECT
                `Inv`.*,
                `Original`.`PostDate` AS `OriginalPostDate`
            FROM
                `invoices` AS `Inv`
                LEFT JOIN `invoices` AS `Original` ON `Inv`.`ParentID` = `Original`.`ID`
            WHERE
                `Inv`.`ID` = 2473
            LIMIT 1

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('May') AND
                `Language` = 'bg'
             ORDER BY
                `labels`.`Label` ASC
# [01-May-2025 10:41:03] /finance/root/bg/invoices/2474.html 167.99.142.201

set names utf8

SELECT
                `Inv`.*,
                `Original`.`PostDate` AS `OriginalPostDate`
            FROM
                `invoices` AS `Inv`
                LEFT JOIN `invoices` AS `Original` ON `Inv`.`ParentID` = `Original`.`ID`
            WHERE
                `Inv`.`ID` = 2474
            LIMIT 1

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('May') AND
                `Language` = 'bg'
             ORDER BY
                `labels`.`Label` ASC
# [01-May-2025 10:41:04] /finance/root/bg/invoices/2475.html 167.99.142.201

set names utf8

SELECT
                `Inv`.*,
                `Original`.`PostDate` AS `OriginalPostDate`
            FROM
                `invoices` AS `Inv`
                LEFT JOIN `invoices` AS `Original` ON `Inv`.`ParentID` = `Original`.`ID`
            WHERE
                `Inv`.`ID` = 2475
            LIMIT 1

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('May') AND
                `Language` = 'bg'
             ORDER BY
                `labels`.`Label` ASC
# [01-May-2025 10:41:04] /finance/root/bg/invoices/2476.html 167.99.142.201

set names utf8

SELECT
                `Inv`.*,
                `Original`.`PostDate` AS `OriginalPostDate`
            FROM
                `invoices` AS `Inv`
                LEFT JOIN `invoices` AS `Original` ON `Inv`.`ParentID` = `Original`.`ID`
            WHERE
                `Inv`.`ID` = 2476
            LIMIT 1

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('May') AND
                `Language` = 'bg'
             ORDER BY
                `labels`.`Label` ASC
# [01-May-2025 10:41:05] /finance/root/bg/invoices/2477.html 167.99.142.201

set names utf8

SELECT
                `Inv`.*,
                `Original`.`PostDate` AS `OriginalPostDate`
            FROM
                `invoices` AS `Inv`
                LEFT JOIN `invoices` AS `Original` ON `Inv`.`ParentID` = `Original`.`ID`
            WHERE
                `Inv`.`ID` = 2477
            LIMIT 1

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('May') AND
                `Language` = 'bg'
             ORDER BY
                `labels`.`Label` ASC
