PATH:
home
/
thebhoeo
/
.trash
/
wpforms-lite-pro
/
assets
/
js
/
admin
/
builder
let WPFormsBuilderPaymentsUtils=window.WPFormsBuilderPaymentsUtils||(o=>({toggleContent(){var e=o(this),n=e.closest(".wpforms-payment-settings"),n=(n.find(".wpforms-panel-content-section-payment-toggle-one-time .wpforms-toggle-control > input").is(":checked")&&n.find(".wpforms-panel-content-section-payment-toggle-recurring .wpforms-toggle-control > input").is(":checked")&&(e.prop("checked",!1),o.alert({title:wpforms_builder.heads_up,content:e.attr("name").includes("enable_recurring")?wpforms_builder_payments_utils.payments_disabled_recurring:wpforms_builder_payments_utils.payments_disabled_one_time,icon:"fa fa-exclamation-circle",type:"orange",buttons:{confirm:{text:wpforms_builder.ok,btnClass:"btn-confirm",keys:["enter"]}}})),e.closest(".wpforms-panel-content-section-payment")),e=e.prop("checked")&&!o("#wpforms-panel-field-settings-disable_entries").prop("checked");n.find(".wpforms-panel-content-section-payment-toggled-body").toggle(e),n.toggleClass("wpforms-panel-content-section-payment-open",e)},checkPlanName(){var e,n=o(this),t=n.closest(".wpforms-panel-content-section-payment-plan").find(".wpforms-panel-content-section-payment-plan-head-title");n.val()?t.html(n.val()):(e=wpforms_builder_payments_utils.payments_plan_placeholder,t.html(e),n.val(e))},togglePlan(){var e=o(this).closest(".wpforms-panel-content-section-payment-plan"),n=e.find(".wpforms-panel-content-section-payment-plan-head-buttons-toggle");n.toggleClass("fa-chevron-circle-up fa-chevron-circle-down"),e.find(".wpforms-panel-content-section-payment-plan-body").toggle(n.hasClass("fa-chevron-circle-down"))},deletePlan(){o(this).closest(".wpforms-panel-content-section-payment").find(".wpforms-panel-content-section-payment-button-add-plan").trigger("click")},renamePlan(){var e=o(this),n=e.closest(".wpforms-panel-content-section-payment-plan").find(".wpforms-panel-content-section-payment-plan-head-title");e.val()?n.html(e.val()):n.html("")}}))((document,window,jQuery));
[-] settings.min.js
[edit]
[-] panel-loader.js
[edit]
[-] templates.js
[edit]
[-] providers.min.js
[edit]
[-] wpforms-choicesjs.js
[edit]
[-] email-template.min.js
[edit]
[-] search-fields.min.js
[edit]
[-] help.min.js
[edit]
[-] image-upload.min.js
[edit]
[-] field-map.js
[edit]
[-] admin-builder-providers.min.js
[edit]
[-] chocolate-choices.min.js
[edit]
[-] panel-loader.min.js
[edit]
[-] choices-list.js
[edit]
[-] admin-builder.min.js
[edit]
[-] field-map.min.js
[edit]
[-] admin-builder.js
[edit]
[-] dropdown-list.min.js
[edit]
[-] providers.js
[edit]
[-] help.js
[edit]
[-] context-menu.js
[edit]
[-] drag-fields.min.js
[edit]
[+]
..
[-] context-menu.min.js
[edit]
[-] payments-utils.js
[edit]
[-] choices-list.min.js
[edit]
[-] search-fields.js
[edit]
[+]
themes
[+]
fields
[-] email-template.js
[edit]
[-] dropdown-list.js
[edit]
[-] smart-tags.js
[edit]
[-] form-templates.min.js
[edit]
[-] setup.min.js
[edit]
[-] setup.js
[edit]
[-] multiple-choices.js
[edit]
[-] smart-tags.min.js
[edit]
[-] wpforms-choicesjs.min.js
[edit]
[-] image-upload.js
[edit]
[-] form-templates.js
[edit]
[-] drag-fields.js
[edit]
[-] chocolate-choices.js
[edit]
[-] admin-builder-providers.js
[edit]
[-] templates.min.js
[edit]
[-] payments-utils.min.js
[edit]
[-] multiple-choices.min.js
[edit]
[-] settings.js
[edit]