--CRM-16542, fixed billing info for paypal pro and express
authorPradeep Nayak <pradpnayak@gmail.com>
Mon, 31 Aug 2015 18:24:25 +0000 (23:54 +0530)
committerPradeep Nayak <pradpnayak@gmail.com>
Mon, 31 Aug 2015 18:24:25 +0000 (23:54 +0530)
templates/CRM/Core/BillingBlock.tpl

index 32038385fef35448a32777f975c16738c0da4dfb..3e569b833c810ac8029b01c0d2ea758eb574210a 100644 (file)
@@ -54,7 +54,7 @@
       </div>
     </fieldset>
   {/if}
-  {if $billingDetailsFields|@count && !$form.$expressButtonName}
+  {if $billingDetailsFields|@count && $paymentProcessor.payment_processor_type neq 'PayPal_Express'}
     {if $profileAddressFields}
       <input type="checkbox" id="billingcheckbox" value="0">
       <label for="billingcheckbox">{ts}My billing address is the same as above{/ts}</label>