{"en_US": "<data inherit_id=\"payment.checkout\">\n        <!-- Make available anchor to inject donation form content -->\n        <xpath expr=\"//form/t[@t-set='provider_count']\" position=\"before\">\n            <t t-if=\"is_donation\">\n                <t t-set=\"donation_confirm_button_icon_class\" t-valuef=\"fa-gift\"/>\n                <t t-set=\"donation_confirm_button_label\">Donate Now</t>\n                <h3 class=\"o_page_header mt16 mb4\">Donation</h3>\n                <div class=\"row\">\n                    <div t-attf-class=\"mb-3 #{error.get('name') and 'o_has_error' or ''} col-lg-12 div_name\">\n                        <label class=\"col-form-label fw-bold\" for=\"name\">Name\n                            <span class=\"s_website_form_mark\"> *</span>\n                        </label>\n                        <input t-att-readonly=\"'1' if 'name' in partner_details and partner_id else None\" type=\"text\" name=\"name\" t-attf-class=\"form-control #{error.get('name') and 'is-invalid' or ''}\" t-att-value=\"partner_details.get('name')\"/>\n                    </div>\n                    <div class=\"w-100\"/>\n                    <div t-attf-class=\"mb-3 #{error.get('email') and 'o_has_error' or ''} col-lg-6\" id=\"div_email\">\n                        <label class=\"col-form-label fw-bold\" for=\"email\">Email\n                            <span class=\"s_website_form_mark\"> *</span>\n                        </label>\n                        <input t-att-readonly=\"'1' if 'email' in partner_details and partner_id else None\" type=\"email\" name=\"email\" t-attf-class=\"form-control #{error.get('email') and 'is-invalid' or ''}\" t-att-value=\"partner_details.get('email')\"/>\n                    </div>\n                    <t t-set=\"country_id\" t-value=\"partner_details.get('country_id')\"/>\n                    <div t-attf-class=\"mb-3 #{error.get('country_id') and 'o_has_error' or ''} col-lg-6 div_country\">\n                        <label class=\"col-form-label fw-bold\" for=\"country_id\">Country\n                            <span class=\"s_website_form_mark\"> *</span>\n                        </label>\n                        <select t-att-disabled=\"'1' if country_id and partner_id else None\" id=\"country_id\" name=\"country_id\" t-attf-class=\"o_wpayment_fee_impact form-select #{error.get('country_id') and 'is-invalid' or ''}\">\n                            <option value=\"\">Country...</option>\n                            <t t-foreach=\"countries\" t-as=\"c\">\n                                <option t-att-value=\"c.id\" t-att-selected=\"c.id == (country_id or -1)\">\n                                    <t t-out=\"c.name\"/>\n                                </option>\n                            </t>\n                        </select>\n                    </div>\n                    <div class=\"w-100\"/>\n                    <div class=\"mb-3 col-lg-12 o_donation_payment_form\">\n                        <div class=\"col-lg-6 px-0\">\n                            <label class=\"col-form-label fw-bold\">Amount (<t t-out=\"currency.symbol\"/>)</label>\n                            <t t-set=\"donation_layout\" t-value=\"donation_options.get('customAmount')\"/>\n                            <t t-set=\"prefilled_options\" t-value=\"donation_options.get('prefilledOptions')\"/>\n                            <t t-if=\"prefilled_options\">\n                                <t t-foreach=\"donation_amounts\" t-as=\"donation_amount\">\n                                    <div class=\"form-check my-2\">\n                                        <t t-set=\"is_checked\" t-value=\"float(amount) == float(donation_amount)\"/>\n                                        <t t-set=\"has_checked\" t-value=\"has_checked or is_checked\"/>\n                                        <input class=\"o_wpayment_fee_impact form-check-input\" type=\"radio\" name=\"amount\" t-attf-id=\"amount_#{donation_amount_index}\" t-att-value=\"donation_amount\" t-att-checked=\"is_checked or None\"/>\n                                        <label class=\"form-check-label mt-0\" t-attf-for=\"amount_#{donation_amount_index}\">\n                                            <t t-out=\"donation_amount\"/>\n                                            <span t-if=\"donation_options.get('descriptions')\" class=\"text-muted fst-italic ms-1\">\n                                                - <t t-out=\"donation_descriptions[donation_amount_index]\"/>\n                                            </span>\n                                        </label>\n                                    </div>\n                                </t>\n                                <div t-attf-class=\"form-check my-2 #{not donation_layout and 'd-none' or ''}\">\n                                    <input class=\"o_wpayment_fee_impact form-check-input\" type=\"radio\" id=\"other_amount\" name=\"amount\" t-att-value=\"amount\" t-att-checked=\"not has_checked or None\"/>\n                                    <label class=\"form-check-label mt-0 d-block\" for=\"other_amount\">\n                                        <t t-call=\"website_payment.donation_input\">\n                                            <t t-set=\"amount\" t-value=\"not has_checked and amount or ''\"/>\n                                        </t>\n                                    </label>\n                                </div>\n                            </t>\n                            <t t-else=\"\">\n                                <t t-call=\"website_payment.donation_input\"/>\n                            </t>\n                        </div>\n                        <div class=\"col-lg-12 px-0\">\n                            <div class=\"form-check mt-3\">\n                                <input class=\"form-check-input\" type=\"checkbox\" value=\"\" id=\"donation_comment_checkbox\"/>\n                                <label class=\"form-check-label\" for=\"donation_comment_checkbox\">Write us a comment</label>\n                            </div>\n                            <textarea class=\"form-control d-none mt-2\" id=\"donation_comment\" placeholder=\"Your comment\"/>\n                        </div>\n                    </div>\n                    <input type=\"hidden\" name=\"donation_recipient_email\" t-att-value=\"donation_options.get('donationEmail')\"/>\n                    <div class=\"w-100\"/>\n                </div>\n                <h3 class=\"o_page_header mt16 mb4\">Payment Details</h3>\n            </t>\n        </xpath>\n        <!-- Make fee badges recognizable so that they can be updated upon amount changes -->\n        <xpath expr=\"//t[@t-if='fees_by_provider.get(provider)']/span\" position=\"attributes\">\n            <attribute name=\"class\" add=\"o_payment_fee\" separator=\" \"/>\n        </xpath>\n        <xpath expr=\"//span[@t-if='fees_by_provider.get(token.provider_id)']\" position=\"attributes\">\n            <attribute name=\"class\" add=\"o_payment_fee\" separator=\" \"/>\n        </xpath>\n        <!-- Allow to find the provider id from the radio of tokens -->\n        <xpath expr=\"//t[@t-foreach='tokens']//input[@name='o_payment_radio']\" position=\"attributes\">\n            <attribute name=\"t-att-data-payment-provider-id\">token.provider_id.id</attribute>\n        </xpath>\n        <!-- Adapt Pay confirm button -->\n        <xpath expr=\"//t[@t-set='label']\" position=\"after\">\n            <t t-set=\"label\" t-value=\"donation_confirm_button_label or label\"/>\n        </xpath>\n        <xpath expr=\"//t[@t-set='icon_class']\" position=\"after\">\n            <t t-set=\"icon_class\" t-value=\"donation_confirm_button_icon_class or icon_class\"/>\n        </xpath>\n    </data>", "vi_VN": "<data inherit_id=\"payment.checkout\">\n        <!-- Make available anchor to inject donation form content -->\n        <xpath expr=\"//form/t[@t-set='provider_count']\" position=\"before\">\n            <t t-if=\"is_donation\">\n                <t t-set=\"donation_confirm_button_icon_class\" t-valuef=\"fa-gift\"/>\n                <t t-set=\"donation_confirm_button_label\">Quyên góp </t>\n                <h3 class=\"o_page_header mt16 mb4\">Quyên góp</h3>\n                <div class=\"row\">\n                    <div t-attf-class=\"mb-3 #{error.get('name') and 'o_has_error' or ''} col-lg-12 div_name\">\n                        <label class=\"col-form-label fw-bold\" for=\"name\">Tên\n                            <span class=\"s_website_form_mark\"> *</span>\n                        </label>\n                        <input t-att-readonly=\"'1' if 'name' in partner_details and partner_id else None\" type=\"text\" name=\"name\" t-attf-class=\"form-control #{error.get('name') and 'is-invalid' or ''}\" t-att-value=\"partner_details.get('name')\"/>\n                    </div>\n                    <div class=\"w-100\"/>\n                    <div t-attf-class=\"mb-3 #{error.get('email') and 'o_has_error' or ''} col-lg-6\" id=\"div_email\">\n                        <label class=\"col-form-label fw-bold\" for=\"email\">Email\n                            <span class=\"s_website_form_mark\"> *</span>\n                        </label>\n                        <input t-att-readonly=\"'1' if 'email' in partner_details and partner_id else None\" type=\"email\" name=\"email\" t-attf-class=\"form-control #{error.get('email') and 'is-invalid' or ''}\" t-att-value=\"partner_details.get('email')\"/>\n                    </div>\n                    <t t-set=\"country_id\" t-value=\"partner_details.get('country_id')\"/>\n                    <div t-attf-class=\"mb-3 #{error.get('country_id') and 'o_has_error' or ''} col-lg-6 div_country\">\n                        <label class=\"col-form-label fw-bold\" for=\"country_id\">Quốc gia\n                            <span class=\"s_website_form_mark\"> *</span>\n                        </label>\n                        <select t-att-disabled=\"'1' if country_id and partner_id else None\" id=\"country_id\" name=\"country_id\" t-attf-class=\"o_wpayment_fee_impact form-select #{error.get('country_id') and 'is-invalid' or ''}\">\n                            <option value=\"\">Quốc gia...</option>\n                            <t t-foreach=\"countries\" t-as=\"c\">\n                                <option t-att-value=\"c.id\" t-att-selected=\"c.id == (country_id or -1)\">\n                                    <t t-out=\"c.name\"/>\n                                </option>\n                            </t>\n                        </select>\n                    </div>\n                    <div class=\"w-100\"/>\n                    <div class=\"mb-3 col-lg-12 o_donation_payment_form\">\n                        <div class=\"col-lg-6 px-0\">\n                            <label class=\"col-form-label fw-bold\">Khoản (<t t-out=\"currency.symbol\"/>)</label>\n                            <t t-set=\"donation_layout\" t-value=\"donation_options.get('customAmount')\"/>\n                            <t t-set=\"prefilled_options\" t-value=\"donation_options.get('prefilledOptions')\"/>\n                            <t t-if=\"prefilled_options\">\n                                <t t-foreach=\"donation_amounts\" t-as=\"donation_amount\">\n                                    <div class=\"form-check my-2\">\n                                        <t t-set=\"is_checked\" t-value=\"float(amount) == float(donation_amount)\"/>\n                                        <t t-set=\"has_checked\" t-value=\"has_checked or is_checked\"/>\n                                        <input class=\"o_wpayment_fee_impact form-check-input\" type=\"radio\" name=\"amount\" t-attf-id=\"amount_#{donation_amount_index}\" t-att-value=\"donation_amount\" t-att-checked=\"is_checked or None\"/>\n                                        <label class=\"form-check-label mt-0\" t-attf-for=\"amount_#{donation_amount_index}\">\n                                            <t t-out=\"donation_amount\"/>\n                                            <span t-if=\"donation_options.get('descriptions')\" class=\"text-muted fst-italic ms-1\">\n                                                - <t t-out=\"donation_descriptions[donation_amount_index]\"/>\n                                            </span>\n                                        </label>\n                                    </div>\n                                </t>\n                                <div t-attf-class=\"form-check my-2 #{not donation_layout and 'd-none' or ''}\">\n                                    <input class=\"o_wpayment_fee_impact form-check-input\" type=\"radio\" id=\"other_amount\" name=\"amount\" t-att-value=\"amount\" t-att-checked=\"not has_checked or None\"/>\n                                    <label class=\"form-check-label mt-0 d-block\" for=\"other_amount\">\n                                        <t t-call=\"website_payment.donation_input\">\n                                            <t t-set=\"amount\" t-value=\"not has_checked and amount or ''\"/>\n                                        </t>\n                                    </label>\n                                </div>\n                            </t>\n                            <t t-else=\"\">\n                                <t t-call=\"website_payment.donation_input\"/>\n                            </t>\n                        </div>\n                        <div class=\"col-lg-12 px-0\">\n                            <div class=\"form-check mt-3\">\n                                <input class=\"form-check-input\" type=\"checkbox\" value=\"\" id=\"donation_comment_checkbox\"/>\n                                <label class=\"form-check-label\" for=\"donation_comment_checkbox\">Viết nhận xét</label>\n                            </div>\n                            <textarea class=\"form-control d-none mt-2\" id=\"donation_comment\" placeholder=\"Nhận xét của bạn\"/>\n                        </div>\n                    </div>\n                    <input type=\"hidden\" name=\"donation_recipient_email\" t-att-value=\"donation_options.get('donationEmail')\"/>\n                    <div class=\"w-100\"/>\n                </div>\n                <h3 class=\"o_page_header mt16 mb4\">Chi tiết thanh toán</h3>\n            </t>\n        </xpath>\n        <!-- Make fee badges recognizable so that they can be updated upon amount changes -->\n        <xpath expr=\"//t[@t-if='fees_by_provider.get(provider)']/span\" position=\"attributes\">\n            <attribute name=\"class\" add=\"o_payment_fee\" separator=\" \"/>\n        </xpath>\n        <xpath expr=\"//span[@t-if='fees_by_provider.get(token.provider_id)']\" position=\"attributes\">\n            <attribute name=\"class\" add=\"o_payment_fee\" separator=\" \"/>\n        </xpath>\n        <!-- Allow to find the provider id from the radio of tokens -->\n        <xpath expr=\"//t[@t-foreach='tokens']//input[@name='o_payment_radio']\" position=\"attributes\">\n            <attribute name=\"t-att-data-payment-provider-id\">token.provider_id.id</attribute>\n        </xpath>\n        <!-- Adapt Pay confirm button -->\n        <xpath expr=\"//t[@t-set='label']\" position=\"after\">\n            <t t-set=\"label\" t-value=\"donation_confirm_button_label or label\"/>\n        </xpath>\n        <xpath expr=\"//t[@t-set='icon_class']\" position=\"after\">\n            <t t-set=\"icon_class\" t-value=\"donation_confirm_button_icon_class or icon_class\"/>\n        </xpath>\n    </data>"}