{"id":74,"date":"2025-05-02T08:14:55","date_gmt":"2025-05-02T08:14:55","guid":{"rendered":"https:\/\/stock.kinginvestment.in\/?p=74"},"modified":"2025-05-02T10:10:35","modified_gmt":"2025-05-02T10:10:35","slug":"cpvc-pipe-fitting","status":"publish","type":"post","link":"https:\/\/stock.kinginvestment.in\/index.php\/2025\/05\/02\/cpvc-pipe-fitting\/","title":{"rendered":"CPVC Pipe Fitting"},"content":{"rendered":"\n<p><\/p>\n\n\n\n<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n    <meta charset=\"UTF-8\">\n    <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n    <title>Bhowmik Plumbing Order Book<\/title>\n    <style>\n        body {\n            font-family: Arial, sans-serif;\n            margin: 0;\n            padding: 20px;\n            background-color: #f4f4f4;\n        }\n        h1 {\n            text-align: center;\n            color: #333;\n            font-size: 1.5em;\n        }\n        .container {\n            max-width: 600px;\n            margin: 0 auto;\n            background: #fff;\n            padding: 20px;\n            border-radius: 8px;\n            box-shadow: 0 0 10px rgba(0,0,0,0.1);\n        }\n        .form-group {\n            margin-bottom: 15px;\n        }\n        label {\n            display: block;\n            font-weight: bold;\n            margin-bottom: 5px;\n            color: #555;\n        }\n        input[type=\"text\"], input[type=\"number\"] {\n            width: 100%;\n            padding: 8px;\n            border: 1px solid #ddd;\n            border-radius: 4px;\n            box-sizing: border-box;\n        }\n        input[type=\"number\"] {\n            width: 80px;\n            margin-left: 10px;\n        }\n        .item-row {\n            display: flex;\n            justify-content: space-between;\n            align-items: center;\n            padding: 10px 0;\n            border-bottom: 1px solid #eee;\n        }\n        .item-row:last-child {\n            border-bottom: none;\n        }\n        button {\n            display: block;\n            width: 100%;\n            padding: 12px;\n            background-color: #28a745;\n            color: #fff;\n            border: none;\n            border-radius: 4px;\n            font-size: 1em;\n            cursor: pointer;\n            margin-top: 20px;\n        }\n        button:hover {\n            background-color: #218838;\n        }\n        @media (max-width: 400px) {\n            .container {\n                padding: 15px;\n            }\n            h1 {\n                font-size: 1.2em;\n            }\n            input[type=\"number\"] {\n                width: 60px;\n            }\n            .item-row {\n                flex-direction: column;\n                align-items: flex-start;\n            }\n            input[type=\"number\"] {\n                margin-left: 0;\n                margin-top: 5px;\n            }\n        }\n    <\/style>\n<\/head>\n<body>\n    <div class=\"container\">\n        <h1>Bhowmik Plumbing Services<\/h1>\n        <div class=\"form-group\">\n            <label for=\"clientName\">Client Name<\/label>\n            <input type=\"text\" id=\"clientName\" placeholder=\"Enter client name\">\n        <\/div>\n        <div id=\"items\">\n            <div class=\"item-row\"><span>1. CPVC Pipe 3\/4&#8243;<\/span><input type=\"number\" min=\"0\" value=\"0\" data-item=\"CPVC Pipe 3\/4&quot;\"><\/div>\n            <div class=\"item-row\"><span>2. CPVC Pipe 1&#8243;<\/span><input type=\"number\" min=\"0\" value=\"0\" data-item=\"CPVC Pipe 1&quot;\"><\/div>\n            <div class=\"item-row\"><span>3. Elbow 3\/4&#8243;<\/span><input type=\"number\" min=\"0\" value=\"0\" data-item=\"Elbow 3\/4&quot;\"><\/div>\n            <div class=\"item-row\"><span>4. Elbow 1&#8243;<\/span><input type=\"number\" min=\"0\" value=\"0\" data-item=\"Elbow 1&quot;\"><\/div>\n            <div class=\"item-row\"><span>5. Elbow 1(1\/2)&#8221;<\/span><input type=\"number\" min=\"0\" value=\"0\" data-item=\"Elbow 1(1\/2)&quot;\"><\/div>\n            <div class=\"item-row\"><span>6. Brush Elbow 3\/4&#8243; * 1\/2&#8243;<\/span><input type=\"number\" min=\"0\" value=\"0\" data-item=\"Brush Elbow 3\/4&quot; * 1\/2&quot;\"><\/div>\n            <div class=\"item-row\"><span>7. Socket 3\/4&#8243;<\/span><input type=\"number\" min=\"0\" value=\"0\" data-item=\"Socket 3\/4&quot;\"><\/div>\n            <div class=\"item-row\"><span>8. Socket 1&#8243;<\/span><input type=\"number\" min=\"0\" value=\"0\" data-item=\"Socket 1&quot;\"><\/div>\n            <div class=\"item-row\"><span>9. Brass MTA 3\/4&#8243; * 1\/2&#8243;<\/span><input type=\"number\" min=\"0\" value=\"0\" data-item=\"Brass MTA 3\/4&quot; * 1\/2&quot;\"><\/div>\n            <div class=\"item-row\"><span>10. Brass FTA 3\/4&#8243; * 1\/2&#8243;<\/span><input type=\"number\" min=\"0\" value=\"0\" data-item=\"Brass FTA 3\/4&quot; * 1\/2&quot;\"><\/div>\n            <div class=\"item-row\"><span>11. TEE 3\/4&#8243;<\/span><input type=\"number\" min=\"0\" value=\"0\" data-item=\"TEE 3\/4&quot;\"><\/div>\n            <div class=\"item-row\"><span>12. TEE 1&#8243;<\/span><input type=\"number\" min=\"0\" value=\"0\" data-item=\"TEE 1&quot;\"><\/div>\n            <div class=\"item-row\"><span>13. Tank Nipple 3\/4&#8243;<\/span><input type=\"number\" min=\"0\" value=\"0\" data-item=\"Tank Nipple 3\/4&quot;\"><\/div>\n            <div class=\"item-row\"><span>14. Tank Nipple 1&#8243;<\/span><input type=\"number\" min=\"0\" value=\"0\" data-item=\"Tank Nipple 1&quot;\"><\/div>\n            <div class=\"item-row\"><span>15. Ball Valve 1&#8243;<\/span><input type=\"number\" min=\"0\" value=\"0\" data-item=\"Ball Valve 1&quot;\"><\/div>\n            <div class=\"item-row\"><span>16. Ball Valve 3\/4&#8243;<\/span><input type=\"number\" min=\"0\" value=\"0\" data-item=\"Ball Valve 3\/4&quot;\"><\/div>\n            <div class=\"item-row\"><span>17. Brass TEE 3\/4&#8243; * 1\/2&#8243;<\/span><input type=\"number\" min=\"0\" value=\"0\" data-item=\"Brass TEE 3\/4&quot; * 1\/2&quot;\"><\/div>\n            <div class=\"item-row\"><span>18. Bush 1&#8243; * 3\/4&#8243;<\/span><input type=\"number\" min=\"0\" value=\"0\" data-item=\"Bush 1&quot; * 3\/4&quot;\"><\/div>\n            <div class=\"item-row\"><span>19. Stape Over Band 3\/4&#8243;<\/span><input type=\"number\" min=\"0\" value=\"0\" data-item=\"Stape Over Band 3\/4&quot;\"><\/div>\n            <div class=\"item-row\"><span>20. Stape Over Band 1&#8243;<\/span><input type=\"number\" min=\"0\" value=\"0\" data-item=\"Stape Over Band 1&quot;\"><\/div>\n            <div class=\"item-row\"><span>21. Union 3\/4&#8243;<\/span><input type=\"number\" min=\"0\" value=\"0\" data-item=\"Union 3\/4&quot;\"><\/div>\n            <div class=\"item-row\"><span>22. Union 1&#8243;<\/span><input type=\"number\" min=\"0\" value=\"0\" data-item=\"Union 1&quot;\"><\/div>\n            <div class=\"item-row\"><span>23. PVC Solvent<\/span><input type=\"number\" min=\"0\" value=\"0\" data-item=\"PVC Solvent\"><\/div>\n            <div class=\"item-row\"><span>24. Conceal Stop Cock 1\/2&#8243;<\/span><input type=\"number\" min=\"0\" value=\"0\" data-item=\"Conceal Stop Cock 1\/2&quot;\"><\/div>\n            <div class=\"item-row\"><span>25. Conceal Stop Cock 1&#8243;<\/span><input type=\"number\" min=\"0\" value=\"0\" data-item=\"Conceal Stop Cock 1&quot;\"><\/div>\n            <div class=\"item-row\"><span>26. Plug 1\/2&#8243;<\/span><input type=\"number\" min=\"0\" value=\"0\" data-item=\"Plug 1\/2&quot;\"><\/div>\n            <div class=\"item-row\"><span>27. Flush Tank Long Band<\/span><input type=\"number\" min=\"0\" value=\"0\" data-item=\"Flush Tank Long Band\"><\/div>\n            <div class=\"item-row\"><span>28. Indian Seat<\/span><input type=\"number\" min=\"0\" value=\"0\" data-item=\"Indian Seat\"><\/div>\n            <div class=\"item-row\"><span>29. Ladies Urinal<\/span><input type=\"number\" min=\"0\" value=\"0\" data-item=\"Ladies Urinal\"><\/div>\n            <div class=\"item-row\"><span>30. Boys Urinal<\/span><input type=\"number\" min=\"0\" value=\"0\" data-item=\"Boys Urinal\"><\/div>\n            <div class=\"item-row\"><span>31. Comod<\/span><input type=\"number\" min=\"0\" value=\"0\" data-item=\"Comod\"><\/div>\n        <\/div>\n        <button onclick=\"generatePDF()\">Download PDF<\/button>\n    <\/div>\n\n    <script src=\"https:\/\/cdnjs.cloudflare.com\/ajax\/libs\/jspdf\/2.5.1\/jspdf.umd.min.js\"><\/script>\n    <script>\n        function generatePDF() {\n            const { jsPDF } = window.jspdf;\n            const doc = new jsPDF();\n            const clientName = document.getElementById('clientName').value.trim() || 'Client';\n            const items = document.querySelectorAll('.item-row input');\n            const orderedItems = [];\n            let itemCounter = 1;\n\n            items.forEach(input => {\n                const quantity = parseInt(input.value) || 0;\n                if (quantity > 0) {\n                    orderedItems.push({ name: input.dataset.item, quantity });\n                }\n            });\n\n            if (orderedItems.length === 0) {\n                alert('Please select at least one item with a quantity greater than 0.');\n                return;\n            }\n\n            const timestamp = new Date().toLocaleString();\n            const pageHeight = doc.internal.pageSize.height;\n            const margin = 20;\n            let y = 20;\n\n            \/\/ Header\n            doc.setFontSize(16);\n            doc.setTextColor(0, 102, 204);\n            doc.text('Bhowmik Plumbing Services', margin, y);\n            y += 10;\n            doc.setFontSize(10);\n            doc.setTextColor(100);\n            doc.text('All type of plumbing,fitting and installation', margin, y);\n            y += 5;\n            doc.text('Contact: 7478358233, 8609891320 | Place: Bhuniakhali', margin, y);\n            y += 10;\n            doc.text(`Client: ${clientName}`, margin, y);\n            y += 5;\n            doc.text(`Date: ${timestamp}`, margin, y);\n            y += 10;\n\n            \/\/ Table Header\n            doc.setFillColor(0, 102, 204);\n            doc.rect(margin, y, 170, 10, 'F');\n            doc.setTextColor(255);\n            doc.setFontSize(12);\n            doc.text('S.No', margin + 5, y + 7);\n            doc.text('Item', margin + 25, y + 7);\n            doc.text('Quantity', margin + 140, y + 7);\n            y += 10;\n\n            \/\/ Table Rows\n            doc.setFontSize(10);\n            doc.setTextColor(0);\n            orderedItems.forEach((item, index) => {\n                if (y > pageHeight - 40) {\n                    doc.addPage();\n                    y = margin;\n                    \/\/ Repeat Table Header on new page\n                    doc.setFillColor(0, 102, 204);\n                    doc.rect(margin, y, 170, 10, 'F');\n                    doc.setTextColor(255);\n                    doc.setFontSize(12);\n                    doc.text('S.No', margin + 5, y + 7);\n                    doc.text('Item', margin + 25, y + 7);\n                    doc.text('Quantity', margin + 140, y + 7);\n                    y += 10;\n                    doc.setFontSize(10);\n                    doc.setTextColor(0);\n                }\n                doc.setFillColor(index % 2 === 0 ? 240 : 255, 245, 255);\n                doc.rect(margin, y, 170, 10, 'F');\n                doc.text(`${itemCounter++}`, margin + 5, y + 7);\n                doc.text(item.name, margin + 25, y + 7);\n                doc.text(`${item.quantity}`, margin + 140, y + 7);\n                y += 10;\n            });\n\n            \/\/ Footer\n            if (y > pageHeight - 60) {\n                doc.addPage();\n                y = margin;\n            }\n            y += 10;\n            doc.setFontSize(10);\n            doc.setTextColor(100);\n            doc.text('All kind of home water pipeline work done here.', margin, y);\n            y += 5;\n            doc.text('After every new work there will be 3 month free service.', margin, y);\n            y += 5;\n            doc.text('TECHNICIAN: Mr Sandip Bhowmik', margin, y);\n            y += 5;\n            doc.text('(Working since 2021, All India work experience)', margin, y);\n\n            \/\/ Save PDF\n            const pdfName = `${clientName}_Bhowmik_Plumbing_Order.pdf`.replace(\/[^a-zA-Z0-9]\/g, '_');\n            doc.save(pdfName);\n        }\n    <\/script>\n<\/body>\n<\/html>\n","protected":false},"excerpt":{"rendered":"<p>Bhowmik Plumbing Order Book Bhowmik Plumbing Services Client Name 1. CPVC Pipe 3\/4&#8243; 2. CPVC Pipe 1&#8243; 3. Elbow 3\/4&#8243; 4. Elbow 1&#8243; 5. Elbow 1(1\/2)&#8221; 6. Brush Elbow 3\/4&#8243; * 1\/2&#8243; 7. Socket 3\/4&#8243; 8. Socket 1&#8243; 9. Brass MTA 3\/4&#8243; * 1\/2&#8243; 10. Brass FTA 3\/4&#8243; * 1\/2&#8243; 11. TEE 3\/4&#8243; 12. TEE [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-container-style":"default","site-container-layout":"default","site-sidebar-layout":"default","site-transparent-header":"default","disable-article-header":"default","disable-site-header":"default","disable-site-footer":"default","disable-content-area-spacing":"default","footnotes":""},"categories":[1],"tags":[],"class_list":["post-74","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/stock.kinginvestment.in\/index.php\/wp-json\/wp\/v2\/posts\/74","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/stock.kinginvestment.in\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/stock.kinginvestment.in\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/stock.kinginvestment.in\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/stock.kinginvestment.in\/index.php\/wp-json\/wp\/v2\/comments?post=74"}],"version-history":[{"count":10,"href":"https:\/\/stock.kinginvestment.in\/index.php\/wp-json\/wp\/v2\/posts\/74\/revisions"}],"predecessor-version":[{"id":91,"href":"https:\/\/stock.kinginvestment.in\/index.php\/wp-json\/wp\/v2\/posts\/74\/revisions\/91"}],"wp:attachment":[{"href":"https:\/\/stock.kinginvestment.in\/index.php\/wp-json\/wp\/v2\/media?parent=74"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/stock.kinginvestment.in\/index.php\/wp-json\/wp\/v2\/categories?post=74"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/stock.kinginvestment.in\/index.php\/wp-json\/wp\/v2\/tags?post=74"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}