From 5008102a4f7ba546556d49f953802aa31f0de6a9 Mon Sep 17 00:00:00 2001 From: larssandergreen Date: Wed, 6 Sep 2023 12:11:56 -0600 Subject: [PATCH] Show payment block if payment_instrument_id already set --- templates/CRM/common/paymentBlock.tpl | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/templates/CRM/common/paymentBlock.tpl b/templates/CRM/common/paymentBlock.tpl index 37be4b7143..1130a5177e 100644 --- a/templates/CRM/common/paymentBlock.tpl +++ b/templates/CRM/common/paymentBlock.tpl @@ -135,6 +135,10 @@ buildPaymentBlock(0); }); + if ($('#payment_instrument_id').val()) { + buildPaymentBlock(0); + } + $('#billing-payment-block').on('crmLoad', function() { $('.crm-submit-buttons input').prop('disabled', false); }) -- 2.25.1