{"id":1407,"date":"2018-03-15T12:55:29","date_gmt":"2018-03-15T11:55:29","guid":{"rendered":"http:\/\/www.dutchnationalteam.nl\/mdnt\/?page_id=1407"},"modified":"2019-09-17T14:17:06","modified_gmt":"2019-09-17T13:17:06","slug":"sponsor-team-equipment","status":"publish","type":"page","link":"https:\/\/www.dutchnationalteam.nl\/mdnt\/partners\/personal\/sponsor-team-equipment\/","title":{"rendered":"Sponsor Team Equipment"},"content":{"rendered":"<h1 style=\"text-align: center;\"><strong>Want to sponsor a piece of equipment for the Dutch team to use at the European Championships? Select an item from the menu below.<\/strong><\/h1>\n<p style=\"text-align: center;\">Why? Donating through this option means you will purchase a specific piece of gear for all players. This will reduce the equipment costs per player.<\/p>\n<p style=\"text-align: center;\">Some of the gear must be purchased like: uniforms, gloves, helmets, etc&#8230;. Other items like rain jackets, hats and sweat pants are optional and purchased individually by players. Everything on this list has been selected by the players as something they&#8217;d like to have.<\/p>\n<p style=\"text-align: center;\">The amount you donate depends on the equipment type you wish to sponsor (socks\/hats are cheaper than helmets\/gloves).<\/p>\n<p>&nbsp;<\/p>\n<form enctype=\"multipart\/form-data\" data-mollie-forms=\"2.9.3\" method=\"post\" id=\"rfmp_1435\" class=\"\"><input type=\"hidden\" id=\"mollie_forms_1435_nonce\" name=\"mollie_forms_1435_nonce\" value=\"ed03233ea4\" \/><input type=\"hidden\" name=\"_wp_http_referer\" value=\"\/mdnt\/wp-json\/wp\/v2\/pages\/1407\" \/><input type=\"hidden\" name=\"mollie-forms-post\" value=\"1435\"><div class=\"mollie_forms_field_row\" style=\"margin:10px 0\" ><label for=\"form_1435_field_0\">Name <span class=\"mollie-forms-required\">*<\/span><\/label><br><input type=\"text\" name=\"form_1435_field_0\" id=\"form_1435_field_0\" value label=\"Name\" class required style=\"width: 100%\"><\/div><div class=\"mollie_forms_field_row\" style=\"margin:10px 0\" ><label for=\"form_1435_field_1\">Email <span class=\"mollie-forms-required\">*<\/span><\/label><br><input type=\"email\" name=\"form_1435_field_1\" id=\"form_1435_field_1\" value label=\"Email\" class required style=\"width: 100%\"><\/div><div class=\"mollie_forms_field_row\" style=\"margin:10px 0\" ><label for=\"form_1435_field_2\">Choose an option to sponsor <span class=\"mollie-forms-required\">*<\/span><\/label><br><select name=\"rfmp_priceoptions_1435\" onchange=\"mollie_forms_recurring_methods_1435();mollie_forms_1435_totals();\" id=\"form_1435_field_2\" class required style=\"width: 100%;\"><option value=\"\">-- Choose an option --<\/option><option   data-frequency=\"once\" \n                                    data-freq=\"\" \n                                    data-pricetype=\"fixed\" \n                                    data-price=\"0.00\" \n                                    data-vat=\"\" \n                                    value=\"1\" >\n                                Choose a set of clothes: (&euro; 0,00)\n                          <\/option><option   data-frequency=\"once\" \n                                    data-freq=\"\" \n                                    data-pricetype=\"fixed\" \n                                    data-price=\"272.00\" \n                                    data-vat=\"\" \n                                    value=\"2\" >\n                                Socks (2 pairs) (&euro; 272,00)\n                          <\/option><option   data-frequency=\"once\" \n                                    data-freq=\"\" \n                                    data-pricetype=\"fixed\" \n                                    data-price=\"340.00\" \n                                    data-vat=\"\" \n                                    value=\"3\" >\n                                Hat (&euro; 340,00)\n                          <\/option><option   data-frequency=\"once\" \n                                    data-freq=\"\" \n                                    data-pricetype=\"fixed\" \n                                    data-price=\"405.00\" \n                                    data-vat=\"\" \n                                    value=\"4\" >\n                                Helmet stickers (&euro; 405,00)\n                          <\/option><option   data-frequency=\"once\" \n                                    data-freq=\"\" \n                                    data-pricetype=\"fixed\" \n                                    data-price=\"510.00\" \n                                    data-vat=\"\" \n                                    value=\"5\" >\n                                Practice shorts (&euro; 510,00)\n                          <\/option><option   data-frequency=\"once\" \n                                    data-freq=\"\" \n                                    data-pricetype=\"fixed\" \n                                    data-price=\"540.00\" \n                                    data-vat=\"\" \n                                    value=\"6\" >\n                                Pinnies (&euro; 540,00)\n                          <\/option><option   data-frequency=\"once\" \n                                    data-freq=\"\" \n                                    data-pricetype=\"fixed\" \n                                    data-price=\"680.00\" \n                                    data-vat=\"\" \n                                    value=\"7\" >\n                                Polo (&euro; 680,00)\n                          <\/option><option   data-frequency=\"once\" \n                                    data-freq=\"\" \n                                    data-pricetype=\"fixed\" \n                                    data-price=\"680.00\" \n                                    data-vat=\"\" \n                                    value=\"8\" >\n                                Long sleeve cotton shirt (&euro; 680,00)\n                          <\/option><option   data-frequency=\"once\" \n                                    data-freq=\"\" \n                                    data-pricetype=\"fixed\" \n                                    data-price=\"850.00\" \n                                    data-vat=\"\" \n                                    value=\"9\" >\n                                Hoodie (&euro; 850,00)\n                          <\/option><option   data-frequency=\"once\" \n                                    data-freq=\"\" \n                                    data-pricetype=\"fixed\" \n                                    data-price=\"850.00\" \n                                    data-vat=\"\" \n                                    value=\"10\" >\n                                Sweat pants (&euro; 850,00)\n                          <\/option><option   data-frequency=\"once\" \n                                    data-freq=\"\" \n                                    data-pricetype=\"fixed\" \n                                    data-price=\"850.00\" \n                                    data-vat=\"\" \n                                    value=\"11\" >\n                                Wind breaker pants (&euro; 850,00)\n                          <\/option><option   data-frequency=\"once\" \n                                    data-freq=\"\" \n                                    data-pricetype=\"fixed\" \n                                    data-price=\"850.00\" \n                                    data-vat=\"\" \n                                    value=\"12\" >\n                                Polyester pants (&euro; 850,00)\n                          <\/option><option   data-frequency=\"once\" \n                                    data-freq=\"\" \n                                    data-pricetype=\"fixed\" \n                                    data-price=\"850.00\" \n                                    data-vat=\"\" \n                                    value=\"13\" >\n                                Quarter Zip Pullover (&euro; 850,00)\n                          <\/option><option   data-frequency=\"once\" \n                                    data-freq=\"\" \n                                    data-pricetype=\"fixed\" \n                                    data-price=\"1005.00\" \n                                    data-vat=\"\" \n                                    value=\"14\" >\n                                Cotton fan shirt (&euro; 1005,00)\n                          <\/option><option   data-frequency=\"once\" \n                                    data-freq=\"\" \n                                    data-pricetype=\"fixed\" \n                                    data-price=\"1020.00\" \n                                    data-vat=\"\" \n                                    value=\"15\" >\n                                Shooter shirt (2 shirts) (&euro; 1020,00)\n                          <\/option><option   data-frequency=\"once\" \n                                    data-freq=\"\" \n                                    data-pricetype=\"fixed\" \n                                    data-price=\"1190.00\" \n                                    data-vat=\"\" \n                                    value=\"16\" >\n                                Rain pants (&euro; 1190,00)\n                          <\/option><option   data-frequency=\"once\" \n                                    data-freq=\"\" \n                                    data-pricetype=\"fixed\" \n                                    data-price=\"1360.00\" \n                                    data-vat=\"\" \n                                    value=\"17\" >\n                                Travel bag  (&euro; 1360,00)\n                          <\/option><option   data-frequency=\"once\" \n                                    data-freq=\"\" \n                                    data-pricetype=\"fixed\" \n                                    data-price=\"1530.00\" \n                                    data-vat=\"\" \n                                    value=\"18\" >\n                                Rain jacket (&euro; 1530,00)\n                          <\/option><option   data-frequency=\"once\" \n                                    data-freq=\"\" \n                                    data-pricetype=\"fixed\" \n                                    data-price=\"1755.00\" \n                                    data-vat=\"\" \n                                    value=\"19\" >\n                                Arm pads (&euro; 1755,00)\n                          <\/option><option   data-frequency=\"once\" \n                                    data-freq=\"\" \n                                    data-pricetype=\"fixed\" \n                                    data-price=\"2160.00\" \n                                    data-vat=\"\" \n                                    value=\"20\" >\n                                Uniforms (home &amp; away) (&euro; 2160,00)\n                          <\/option><option   data-frequency=\"once\" \n                                    data-freq=\"\" \n                                    data-pricetype=\"fixed\" \n                                    data-price=\"2592.00\" \n                                    data-vat=\"\" \n                                    value=\"21\" >\n                                Helmets (&euro; 2592,00)\n                          <\/option><option   data-frequency=\"once\" \n                                    data-freq=\"\" \n                                    data-pricetype=\"fixed\" \n                                    data-price=\"2430.00\" \n                                    data-vat=\"\" \n                                    value=\"22\" >\n                                Gloves (&euro; 2430,00)\n                          <\/option><\/select><p id=\"rfmp_open_amount_1435\" style=\"display:none;\">\n                    <label>Amount \n                        <span style=\"color:red;\">*<\/span><br>\n                        <span class=\"rfmp_currency_1435\">&euro;<\/span> \n                        <input type=\"number\" step=\"any\" value=\"\" onchange=\"mollie_forms_1435_totals();\" onkeyup=\"mollie_forms_1435_totals();\" name=\"rfmp_amount_1435\"> \n                        <span id=\"rfmp_amount_freq_1435\"><\/span>\n                    <\/label>\n                    <input type=\"hidden\" name=\"rfmp_amount_required_1435\" id=\"rfmp_open_amount_required_1435\" value=\"0\">\n                  <\/p>\n        <script>\n        window.onload = setTimeout(mollie_forms_1435_totals, 100);\n        function mollie_forms_1435_totals() {\n            var priceoption = document.getElementsByName(\"rfmp_priceoptions_1435\");\n            var quantities  = document.getElementsByClassName(\"rfmp_priceoptions_1435_quantity\");\n            var subtotal = 0, total = 0, vat = 0;\n            \n            \n            \/\/ Add shipping costs to total\n            var shippingCosts = \"\";\n            if (shippingCosts) {\n                var shippingVat = 0.21 * parseFloat(shippingCosts);\n                vat   += shippingVat;\n                total += parseFloat(shippingCosts);\n                subtotal += parseFloat(shippingCosts);\n                \n            }\n            \n            if (0 in priceoption) {\n                var openAmount  = document.getElementsByName(\"rfmp_amount_1435\");\n            \n                \/\/ single price option\n                if (priceoption[0].tagName == \"INPUT\") {\n                    for (var i = 0, length = priceoption.length; i < length; i++) {\n                        if (priceoption[i].checked) {\n                        \n                            if (priceoption[i].dataset.pricetype == \"open\") {\n                                openAmount[0].setAttribute(\"min\", isNaN(priceoption[i].dataset.price) ? 0 : priceoption[i].dataset.price);\n                                var optionPrice = parseFloat(openAmount[0].value);\n                            } else {\n                                openAmount[0].removeAttribute(\"min\");\n                                var optionPrice = parseFloat(priceoption[i].dataset.price);\n                            }\n\n                            if (optionPrice <= 0 || isNaN(optionPrice)) {\n                                break;\n                            }\n                            \n                            var optionVat = (parseInt(priceoption[i].dataset.vat) \/ 100) * optionPrice;\n                        \n                            vat += optionVat;\n                            total += optionPrice;\n                            subtotal += optionPrice;\n                            \n                            break;\n                        }\n                    }\n                } else {\n                    if (priceoption[0].options[priceoption[0].selectedIndex].dataset.pricetype == \"open\") {\n                        openAmount[0].setAttribute(\"min\", isNaN(priceoption[0].options[priceoption[0].selectedIndex].dataset.price) ? 0 : priceoption[0].options[priceoption[0].selectedIndex].dataset.price);\n                        var optionPrice = parseFloat(openAmount[0].value);\n                    } else {\n                        openAmount[0].removeAttribute(\"min\");\n                        var optionPrice = parseFloat(priceoption[0].options[priceoption[0].selectedIndex].dataset.price);\n                    }\n                            \n                    if (optionPrice > 0 || isNaN(optionPrice)) {\n                        var optionVat = (parseInt(priceoption[0].options[priceoption[0].selectedIndex].dataset.vat) \/ 100) * optionPrice;\n                        vat   += optionVat;\n                        total += optionPrice;\n                        subtotal += optionPrice;\n                        \n                    }\n                }\n            } else if (quantities) {\n                \/\/ multiple price options with quantity\n                for (var i = 0; i < quantities.length; i++) {\n                    var q = parseInt(quantities[i].value);\n                    if (q <= 0 || isNaN(q)) {\n                        continue;\n                    }\n                    \n                    var optionPrice = parseFloat(quantities[i].dataset.price) * q;\n                    if (optionPrice > 0 || isNaN(optionPrice)) {\n                        var optionVat = (parseInt(quantities[i].dataset.vat) \/ 100) * optionPrice;\n                        vat   += optionVat;\n                        total += optionPrice;\n                        subtotal += optionPrice;\n                        \n                    }\n                }\n            }\n            \n            \/\/ payment method extra costs\n            var methods = document.getElementsByName(\"rfmp_payment_method_1435\");\n            if (total > 0) {\n\t            if (0 in methods) {\n\t                if (methods[0].tagName == \"INPUT\") {\n\t                    \/\/ radio buttons\n\t                    for (var i = 0; i < methods.length; i++) {\n\t                        if (methods[i].checked) {\n\t                            var methodAmount = ((parseInt(methods[i].dataset.variable) \/ 100) * total) + parseFloat(methods[i].dataset.fixed);\n\t                            var methodVat = 0.21 * methodAmount;\n\t                            vat   += methodVat;\n\t                            total += methodAmount;\n\t                            subtotal += methodAmount;\n\t                            \n\t                            break;\n\t                        }\n\t                    }\n\t                } else {\n\t                    \/\/ dropdown\n\t                    var methodAmount = ((parseInt(methods[0].options[methods[0].selectedIndex].dataset.variable) \/ 100) * total) + parseFloat(methods[0].options[methods[0].selectedIndex].dataset.fixed);\n\t                    var methodVat = 0.21 * methodAmount;\n\t                    vat   += methodVat;\n\t                    total += methodAmount;\n\t                    subtotal += methodAmount;\n\t                    \n\t                }\n\t            }\n            }\n\n            \/\/ Display subtotal\n            var subtotalValue = document.getElementById(\"rfmp_totals_1435_subtotal_value\");\n            if (subtotalValue) {\n                var subtotalAmount = subtotal.toFixed(2) > 0 ? subtotal.toFixed(2) : \"0.00\";\n                subtotalValue.innerHTML = subtotalAmount.replace(\".\", \",\");\n            }\n            \n            \/\/ Display total\n            var totalValue = document.getElementById(\"rfmp_totals_1435_total_value\");\n            if (totalValue) {\n                var totalAmount = total.toFixed(2) > 0 ? total.toFixed(2) : \"0.00\";\n                totalValue.innerHTML = totalAmount.replace(\".\", \",\");\n            }\n            \n            \/\/ Display VAT\n            var totalVatValue = document.getElementById(\"rfmp_totals_1435_vat_value\");\n            if (totalVatValue) {\n                var totalVat = vat.toFixed(2) > 0 ? vat.toFixed(2) : \"0.00\";\n                totalVatValue.innerHTML = totalVat.replace(\".\", \",\");\n            }\n            \n            \n            if (total <= 0 || isNaN(total)) {\n                document.getElementById(\"payment_methods_1435\").style.display = \"none\";\n            } else {\n                document.getElementById(\"payment_methods_1435\").style.display = \"block\";\n            }\n        }\n        <\/script><\/div><div class=\"mollie_forms_field_row\" style=\"margin:10px 0\" id=\"payment_methods_1435\"><label for=\"form_1435_field_3\">Payment method <span class=\"mollie-forms-required\">*<\/span><\/label><br>\n            <script>\n            window.onload = setTimeout(mollie_forms_recurring_methods_1435, 100);\n            function mollie_forms_recurring_methods_1435() {\n                var priceoptions = document.getElementsByName(\"rfmp_priceoptions_1435\");\n                var freq = \"\";\n                var frequency = \"once\";\n                if (0 in priceoptions) {\n                    if (priceoptions[0].tagName == \"INPUT\") {\n                        for (var i = 0, length = priceoptions.length; i < length; i++) {\n                            if (priceoptions[i].checked) {\n                                frequency = priceoptions[i].dataset.frequency;\n                                var pricetype = priceoptions[i].dataset.pricetype;\n                                freq = priceoptions[i].dataset.freq;\n                                break;\n                            }\n                        }\n                    } else {\n                        frequency = priceoptions[0].options[priceoptions[0].selectedIndex].dataset.frequency ? priceoptions[0].options[priceoptions[0].selectedIndex].dataset.frequency : \"once\";\n                        var pricetype = priceoptions[0].options[priceoptions[0].selectedIndex].dataset.pricetype;\n                        freq = priceoptions[0].options[priceoptions[0].selectedIndex].dataset.freq;\n                    }\n                } else {\n                    var quantities = document.getElementsByClassName(\"rfmp_priceoptions_1435_quantity\");\n                    var pricetype = \"fixed\";\n                    frequency = \"once\";\n                    for (var i = 0, length = quantities.length; i < length; i++) {\n                        if (quantities[i].value > 0) {\n                            if (quantities[i].dataset.frequency != \"once\") {\n                                frequency = \"recurring\";\n                            }\n                        }\n                    }\n                }\n\n                var checkbox = document.getElementsByName(\"rfmp_checkbox_1435\")[0];\n                if (frequency==\"once\") {\n                    checkbox.removeAttribute(\"required\");\n                } else {\n                    checkbox.setAttribute(\"required\", \"required\");\n                }\n\n                document.getElementById(\"rfmp_checkbox_1435\").style.display = (frequency==\"once\" ? \"none\" : \"block\");\n                document.getElementById(\"rfmp_checkbox_hidden_1435\").value = (frequency==\"once\" ? 0 : 1);\n                document.getElementById(\"rfmp_open_amount_1435\").style.display = (pricetype==\"open\" ? \"block\" : \"none\");\n                document.getElementById(\"rfmp_open_amount_required_1435\").value = (pricetype==\"open\" ? 1 : 0);\n                document.getElementById(\"rfmp_amount_freq_1435\").innerHTML = freq;\n                \n                if (location.protocol === \"https:\" && window.ApplePaySession && window.ApplePaySession.canMakePayments()) {\n                    \/\/\n                } else if (document.getElementById(\"rfmp_pm_applepay_1435\") !== null) {\n                    document.getElementById(\"rfmp_pm_applepay_1435\").remove();\n                }\n                \n                \n            }\n            <\/script><ul id=\"form_1435_field_3\" label=\"Payment method\" class required style=\"list-style-type:none;margin:0;\"><\/ul><input type=\"hidden\" id=\"rfmp_checkbox_hidden_1435\" name=\"rfmp_checkbox_hidden_1435\" value=\"0\"><br><label id=\"rfmp_checkbox_1435\" style=\"display:none;\">\n                            <input type=\"checkbox\" name=\"rfmp_checkbox_1435\" value=\"1\">I hereby give authorization to collect the recurring amount from my account periodically.\n                         <\/label><\/div><div class=\"mollie_forms_field_row\" style=\"margin:10px 0\" ><\/div><div class=\"mollie_forms_field_row\" style=\"margin:10px 0\" ><\/div><div class=\"mollie_forms_field_row\" style=\"margin:10px 0\" ><br><button type=\"submit\" name=\"form_1435_field_6\" id=\"form_1435_field_6\" value label=\"Submit\" class required>Submit<\/button><\/div><\/form>\n","protected":false},"excerpt":{"rendered":"<p>Want to sponsor a piece of equipment for the Dutch team to use at the European Championships? Select an item from the menu below. Why? Donating through this option means you will purchase a specific piece of gear for all players. This will reduce the equipment costs per player. Some of the gear must be &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.dutchnationalteam.nl\/mdnt\/partners\/personal\/sponsor-team-equipment\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Sponsor Team Equipment&#8221;<\/span><\/a><\/p>\n","protected":false},"author":5,"featured_media":0,"parent":1394,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_links_to":"","_links_to_target":""},"_links":{"self":[{"href":"https:\/\/www.dutchnationalteam.nl\/mdnt\/wp-json\/wp\/v2\/pages\/1407"}],"collection":[{"href":"https:\/\/www.dutchnationalteam.nl\/mdnt\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.dutchnationalteam.nl\/mdnt\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.dutchnationalteam.nl\/mdnt\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/www.dutchnationalteam.nl\/mdnt\/wp-json\/wp\/v2\/comments?post=1407"}],"version-history":[{"count":12,"href":"https:\/\/www.dutchnationalteam.nl\/mdnt\/wp-json\/wp\/v2\/pages\/1407\/revisions"}],"predecessor-version":[{"id":1550,"href":"https:\/\/www.dutchnationalteam.nl\/mdnt\/wp-json\/wp\/v2\/pages\/1407\/revisions\/1550"}],"up":[{"embeddable":true,"href":"https:\/\/www.dutchnationalteam.nl\/mdnt\/wp-json\/wp\/v2\/pages\/1394"}],"wp:attachment":[{"href":"https:\/\/www.dutchnationalteam.nl\/mdnt\/wp-json\/wp\/v2\/media?parent=1407"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}