{"id":7765,"date":"2026-05-30T19:18:52","date_gmt":"2026-05-30T19:18:52","guid":{"rendered":"https:\/\/archsector.com\/?page_id=7765"},"modified":"2026-05-30T19:18:53","modified_gmt":"2026-05-30T19:18:53","slug":"estimate","status":"publish","type":"page","link":"https:\/\/archsector.com\/ar\/estimate\/","title":{"rendered":"Estimate"},"content":{"rendered":"\n<div class=\"sa-estimator-wrapper\">\r\n    <div class=\"company-header\">\r\n        <div class=\"company-logo-area\">\r\n                    <\/div>\r\n        <h2>\u0634\u0631\u0643\u0629 \u0627\u0631\u062a\u0634\u0633\u064a\u0643\u062a\u0648\u0631 \u0644\u0644\u0645\u0642\u0627\u0648\u0644\u0627\u062a \u0648\u0627\u0644\u062e\u062f\u0645\u0627\u062a \u0627\u0644\u0647\u0646\u062f\u0633\u064a\u0629<\/h2>\r\n        <h3>Arch Sector Contracting<\/h3>\r\n        <p class=\"reg-numbers\">\u0627\u0644\u0631\u0642\u0645 \u0627\u0644\u0645\u0648\u062d\u062f: 1640265 | \u0627\u0644\u0631\u0642\u0645 \u0627\u0644\u0636\u0631\u064a\u0628\u064a: 13076811500003<\/p>\r\n    <\/div>\r\n    \r\n    <h4>\ud83c\udfd7\ufe0f \u062d\u0627\u0633\u0628\u0629 \u0627\u0644\u062a\u0643\u0627\u0644\u064a\u0641 \u0627\u0644\u0625\u0646\u0634\u0627\u0626\u064a\u0629<\/h4>\r\n    <h5>Construction Cost Estimator<\/h5>\r\n    <p class=\"description\">\u0623\u062f\u062e\u0644 \u0627\u0644\u0645\u0633\u0627\u062d\u0629 \u0627\u0644\u0625\u062c\u0645\u0627\u0644\u064a\u0629 \u0628\u0627\u0644\u0645\u062a\u0631 \u0627\u0644\u0645\u0631\u0628\u0639 \u0644\u062d\u0633\u0627\u0628 \u0627\u0644\u062a\u0643\u0644\u0641\u0629 \u0627\u0644\u062a\u0642\u062f\u064a\u0631\u064a\u0629 \u0644\u0644\u0645\u0634\u0631\u0648\u0639 \/ Enter total area in square meters to calculate estimated project cost<\/p>\r\n    \r\n    <div class=\"estimator-controls\">\r\n        <label for=\"total-area\">\u0627\u0644\u0645\u0633\u0627\u062d\u0629 \u0627\u0644\u0625\u062c\u0645\u0627\u0644\u064a\u0629 \/ Total Area (\u0645\u00b2):<\/label>\r\n        <input type=\"number\" id=\"total-area\" class=\"area-input\" placeholder=\"\u0623\u062f\u062e\u0644 \u0627\u0644\u0645\u0633\u0627\u062d\u0629 \/ Enter area\" value=\"450\" step=\"1\">\r\n        <button id=\"calculate-btn\" class=\"calculate-btn\">\u062d\u0633\u0627\u0628 \u0627\u0644\u062a\u0643\u0627\u0644\u064a\u0641 \/ Calculate<\/button>\r\n    <\/div>\r\n    \r\n    <div class=\"table-container\">\r\n        <table class=\"estimator-table\" id=\"estimator-table\">\r\n            <thead>\r\n                <tr>\r\n                    <th>#<\/th>\r\n                    <th>\u0627\u0644\u0628\u064a\u0627\u0646 \/ ITEM<\/th>\r\n                    <th>\u0627\u0644\u0648\u062d\u062f\u0629 \/ UNIT<\/th>\r\n                    <th>\u0627\u0644\u0643\u0645\u064a\u0629 \/ QTY<\/th>\r\n                    <th>\u0633\u0639\u0631 \u0627\u0644\u0648\u062d\u062f\u0629 \/ UNIT PRICE (\u0631.\u0633)<\/th>\r\n                    <th>\u0627\u0644\u0625\u062c\u0645\u0627\u0644\u064a \/ TOTAL (\u0631.\u0633)<\/th>\r\n                <\/tr>\r\n            <\/thead>\r\n            <tbody id=\"items-list\">\r\n                <!-- Items will be populated by JavaScript -->\r\n            <\/tbody>\r\n            <tfoot>\r\n                <tr class=\"subtotal-row\">\r\n                    <td colspan=\"5\" class=\"text-right\"><strong>\u0627\u0644\u0645\u062c\u0645\u0648\u0639 \u0627\u0644\u0641\u0631\u0639\u064a \/ Subtotal<\/strong><\/td>\r\n                    <td class=\"subtotal-amount\">0.00 \u0631.\u0633<\/td>\r\n                <\/tr>\r\n                <tr class=\"vat-row\">\r\n                    <td colspan=\"5\" class=\"text-right\">\u0636\u0631\u064a\u0628\u0629 \u0627\u0644\u0642\u064a\u0645\u0629 \u0627\u0644\u0645\u0636\u0627\u0641\u0629 (15%) \/ VAT (15%)<\/td>\r\n                    <td class=\"vat-amount\">0.00 \u0631.\u0633<\/td>\r\n                <\/tr>\r\n                <tr class=\"total-row\">\r\n                    <td colspan=\"5\" class=\"text-right\"><strong>\u0627\u0644\u0625\u062c\u0645\u0627\u0644\u064a \u0634\u0627\u0645\u0644 \u0627\u0644\u0636\u0631\u064a\u0628\u0629 \/ Total incl. VAT<\/strong><\/td>\r\n                    <td class=\"total-amount\"><strong>0.00 \u0631.\u0633<\/strong><\/td>\r\n                <\/tr>\r\n            <\/tfoot>\r\n        <\/table>\r\n    <\/div>\r\n    \r\n    <div class=\"download-section\">\r\n        <button id=\"download-pdf\" class=\"download-pdf-btn\">\ud83d\udcc4 \u062a\u062d\u0645\u064a\u0644 \u0639\u0631\u0636 \u0627\u0644\u0633\u0639\u0631 \/ Download Quotation PDF<\/button>\r\n    <\/div>\r\n<\/div>\r\n\r\n<script>\r\nconst itemsData = [\r\n    { name: \"Total square meter with regular foundation\", unit: \"\u0645\u00b2\", price: 550 },\r\n    { name: \"Total square meter with raft foundation\", unit: \"\u0645\u00b2\", price: 700 },\r\n    { name: \"Fence\", unit: \"\u0645 \u0637\u0648\u0644\u064a\", price: 143 },\r\n    { name: \"Water Tank\", unit: \"\u0637\u0646\", price: 40 },\r\n    { name: \"Septic Tank\", unit: \"\u0645\u00b2\", price: 35 },\r\n    { name: \"Guard Room\", unit: \"\u0645\u00b2\", price: 30 },\r\n    { name: \"Plaster\", unit: \"\u0645\u00b2\", price: 73 },\r\n    { name: \"Paint\", unit: \"\u0645\u00b2\", price: 90 },\r\n    { name: \"Electrical work finish stage\", unit: \"\u0645\u00b2\", price: 135 },\r\n    { name: \"Plumbing work finish stage\", unit: \"\u0645\u00b2\", price: 132 },\r\n    { name: \"Flooring finish stage\", unit: \"\u0645\u00b2\", price: 65 },\r\n    { name: \"Aluminum work\", unit: \"\u0645\u00b2\", price: 60 },\r\n    { name: \"Doors WPC\", unit: \"\u0645\u00b2\", price: 50 },\r\n    { name: \"Surface Insulation\", unit: \"\u0645\u00b2\", price: 43 },\r\n    { name: \"Basement\", unit: \"\u0645\u00b2\", price: 800 }\r\n];\r\n\r\n\/\/ Arabic names for display in form\r\nconst arabicNames = {\r\n    \"Total square meter with regular foundation\": \"\u0627\u0644\u0623\u0633\u0627\u0633\u0627\u062a \u0627\u0644\u0639\u0627\u062f\u064a\u0629 (\u0645\u062a\u0631 \u0645\u0631\u0628\u0639)\",\r\n    \"Total square meter with raft foundation\": \"\u0627\u0644\u0623\u0633\u0627\u0633\u0627\u062a \u0627\u0644\u0644\u0628\u0634\u064a\u0629 (\u0645\u062a\u0631 \u0645\u0631\u0628\u0639)\",\r\n    \"Fence\": \"\u0627\u0644\u0633\u0648\u0631 (\u0645\u062a\u0631 \u0637\u0648\u0644\u064a)\",\r\n    \"Water Tank\": \"\u062e\u0632\u0627\u0646 \u0627\u0644\u0645\u064a\u0627\u0647 (\u0637\u0646)\",\r\n    \"Septic Tank\": \"\u062e\u0632\u0627\u0646 \u0627\u0644\u0635\u0631\u0641 \u0627\u0644\u0635\u062d\u064a (\u0645\u062a\u0631 \u0645\u0631\u0628\u0639)\",\r\n    \"Guard Room\": \"\u063a\u0631\u0641\u0629 \u0627\u0644\u062d\u0627\u0631\u0633 (\u0645\u062a\u0631 \u0645\u0631\u0628\u0639)\",\r\n    \"Plaster\": \"\u0627\u0644\u0644\u064a\u0627\u0633\u0629 (\u0645\u062a\u0631 \u0645\u0631\u0628\u0639)\",\r\n    \"Paint\": \"\u0627\u0644\u062f\u0647\u0627\u0646 (\u0645\u062a\u0631 \u0645\u0631\u0628\u0639)\",\r\n    \"Electrical work finish stage\": \"\u0627\u0644\u0623\u0639\u0645\u0627\u0644 \u0627\u0644\u0643\u0647\u0631\u0628\u0627\u0626\u064a\u0629 (\u0645\u062a\u0631 \u0645\u0631\u0628\u0639)\",\r\n    \"Plumbing work finish stage\": \"\u0627\u0644\u0623\u0639\u0645\u0627\u0644 \u0627\u0644\u0635\u062d\u064a\u0629 (\u0645\u062a\u0631 \u0645\u0631\u0628\u0639)\",\r\n    \"Flooring finish stage\": \"\u0627\u0644\u0623\u0631\u0636\u064a\u0627\u062a (\u0645\u062a\u0631 \u0645\u0631\u0628\u0639)\",\r\n    \"Aluminum work\": \"\u0627\u0644\u0623\u0644\u0645\u0646\u064a\u0648\u0645 (\u0645\u062a\u0631 \u0645\u0631\u0628\u0639)\",\r\n    \"Doors WPC\": \"\u0627\u0644\u0623\u0628\u0648\u0627\u0628 WPC (\u0645\u062a\u0631 \u0645\u0631\u0628\u0639)\",\r\n    \"Surface Insulation\": \"\u0627\u0644\u0639\u0632\u0644 \u0627\u0644\u0633\u0637\u062d\u064a (\u0645\u062a\u0631 \u0645\u0631\u0628\u0639)\",\r\n    \"Basement\": \"\u0627\u0644\u0642\u0628\u0648 (\u0645\u062a\u0631 \u0645\u0631\u0628\u0639)\"\r\n};\r\n\r\nfunction updateEstimates() {\r\n    let area = parseFloat(document.getElementById('total-area').value);\r\n    if (isNaN(area) || area <= 0) area = 0;\r\n    \r\n    let subtotal = 0;\r\n    const tbody = document.getElementById('items-list');\r\n    tbody.innerHTML = '';\r\n    \r\n    itemsData.forEach((item, index) => {\r\n        const total = area * item.price;\r\n        subtotal += total;\r\n        \r\n        const row = tbody.insertRow();\r\n        row.insertCell(0).innerHTML = (index + 1);\r\n        \/\/ Show Arabic name first, then English\r\n        row.insertCell(1).innerHTML = `<div class=\"item-name-ar\"><strong>${arabicNames[item.name]}<\/strong><\/div><div class=\"item-name-en\" style=\"font-size: 11px; color: #666;\">${item.name}<\/div>`;\r\n        row.insertCell(2).innerHTML = item.unit;\r\n        row.insertCell(3).innerHTML = area.toFixed(2);\r\n        row.insertCell(4).innerHTML = item.price.toLocaleString('en-US', {minimumFractionDigits: 2, maximumFractionDigits: 2});\r\n        row.insertCell(5).innerHTML = total.toLocaleString('en-US', {minimumFractionDigits: 2, maximumFractionDigits: 2}) + ' \u0631.\u0633';\r\n    });\r\n    \r\n    const vat = subtotal * 0.15;\r\n    const totalWithVat = subtotal + vat;\r\n    \r\n    document.querySelector('.subtotal-amount').innerHTML = subtotal.toLocaleString('en-US', {minimumFractionDigits: 2, maximumFractionDigits: 2}) + ' \u0631.\u0633';\r\n    document.querySelector('.vat-amount').innerHTML = vat.toLocaleString('en-US', {minimumFractionDigits: 2, maximumFractionDigits: 2}) + ' \u0631.\u0633';\r\n    document.querySelector('.total-amount').innerHTML = totalWithVat.toLocaleString('en-US', {minimumFractionDigits: 2, maximumFractionDigits: 2}) + ' \u0631.\u0633';\r\n    \r\n    \/\/ Store data for PDF\r\n    window.currentCalculation = {\r\n        area: area,\r\n        items: itemsData.map(item => ({\r\n            name: item.name,\r\n            unit: item.unit,\r\n            quantity: area,\r\n            price: item.price,\r\n            total: area * item.price\r\n        })),\r\n        subtotal: subtotal,\r\n        vat: vat,\r\n        total: totalWithVat\r\n    };\r\n}\r\n\r\ndocument.getElementById('calculate-btn').addEventListener('click', updateEstimates);\r\ndocument.getElementById('total-area').addEventListener('input', updateEstimates);\r\n\r\ndocument.getElementById('download-pdf').addEventListener('click', function() {\r\n    if (!window.currentCalculation) {\r\n        updateEstimates();\r\n    }\r\n    \r\n    const formData = new FormData();\r\n    formData.append('action', 'sae_generate_pdf');\r\n    formData.append('nonce', sae_ajax.nonce);\r\n    formData.append('items', JSON.stringify(window.currentCalculation.items));\r\n    \r\n    fetch(sae_ajax.ajax_url, {\r\n        method: 'POST',\r\n        body: formData\r\n    })\r\n    .then(response => response.blob())\r\n    .then(blob => {\r\n        const url = window.URL.createObjectURL(blob);\r\n        const a = document.createElement('a');\r\n        a.href = url;\r\n        a.download = `ArchSector_Quotation_${new Date().toISOString().slice(0,19).replace(\/:\/g, '-')}.pdf`;\r\n        document.body.appendChild(a);\r\n        a.click();\r\n        a.remove();\r\n        window.URL.revokeObjectURL(url);\r\n    })\r\n    .catch(error => console.error('Error:', error));\r\n});\r\n\r\n\/\/ Initial calculation\r\nupdateEstimates();\r\n<\/script>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-7765","page","type-page","status-publish","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.7 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Estimate - ARCH SECTOR<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/archsector.com\/ar\/estimate\/\" \/>\n<meta property=\"og:locale\" content=\"ar_AR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Estimate - ARCH SECTOR\" \/>\n<meta property=\"og:url\" content=\"https:\/\/archsector.com\/ar\/estimate\/\" \/>\n<meta property=\"og:site_name\" content=\"ARCH SECTOR\" \/>\n<meta property=\"article:modified_time\" content=\"2026-05-30T19:18:53+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u0648\u0642\u062a \u0627\u0644\u0642\u0631\u0627\u0621\u0629 \u0627\u0644\u0645\u064f\u0642\u062f\u0651\u0631\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/archsector.com\\\/estimate\\\/\",\"url\":\"https:\\\/\\\/archsector.com\\\/estimate\\\/\",\"name\":\"Estimate - ARCH SECTOR\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/archsector.com\\\/#website\"},\"datePublished\":\"2026-05-30T19:18:52+00:00\",\"dateModified\":\"2026-05-30T19:18:53+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/archsector.com\\\/estimate\\\/#breadcrumb\"},\"inLanguage\":\"ar\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/archsector.com\\\/estimate\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/archsector.com\\\/estimate\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/archsector.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Estimate\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/archsector.com\\\/#website\",\"url\":\"https:\\\/\\\/archsector.com\\\/\",\"name\":\"ARCH SECTOR\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/archsector.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ar\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Estimate - ARCH SECTOR","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/archsector.com\/ar\/estimate\/","og_locale":"ar_AR","og_type":"article","og_title":"Estimate - ARCH SECTOR","og_url":"https:\/\/archsector.com\/ar\/estimate\/","og_site_name":"ARCH SECTOR","article_modified_time":"2026-05-30T19:18:53+00:00","twitter_card":"summary_large_image","twitter_misc":{"\u0648\u0642\u062a \u0627\u0644\u0642\u0631\u0627\u0621\u0629 \u0627\u0644\u0645\u064f\u0642\u062f\u0651\u0631":"\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/archsector.com\/estimate\/","url":"https:\/\/archsector.com\/estimate\/","name":"Estimate - ARCH SECTOR","isPartOf":{"@id":"https:\/\/archsector.com\/#website"},"datePublished":"2026-05-30T19:18:52+00:00","dateModified":"2026-05-30T19:18:53+00:00","breadcrumb":{"@id":"https:\/\/archsector.com\/estimate\/#breadcrumb"},"inLanguage":"ar","potentialAction":[{"@type":"ReadAction","target":["https:\/\/archsector.com\/estimate\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/archsector.com\/estimate\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/archsector.com\/"},{"@type":"ListItem","position":2,"name":"Estimate"}]},{"@type":"WebSite","@id":"https:\/\/archsector.com\/#website","url":"https:\/\/archsector.com\/","name":"\u0627\u0631\u062a\u0634\u0633\u064a\u0643\u062a\u0648\u0631","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/archsector.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ar"}]}},"_links":{"self":[{"href":"https:\/\/archsector.com\/ar\/wp-json\/wp\/v2\/pages\/7765","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/archsector.com\/ar\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/archsector.com\/ar\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/archsector.com\/ar\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/archsector.com\/ar\/wp-json\/wp\/v2\/comments?post=7765"}],"version-history":[{"count":1,"href":"https:\/\/archsector.com\/ar\/wp-json\/wp\/v2\/pages\/7765\/revisions"}],"predecessor-version":[{"id":7766,"href":"https:\/\/archsector.com\/ar\/wp-json\/wp\/v2\/pages\/7765\/revisions\/7766"}],"wp:attachment":[{"href":"https:\/\/archsector.com\/ar\/wp-json\/wp\/v2\/media?parent=7765"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}