Don't set use for flags from contact info.
authorSteve Sutton <steve@gaslightmedia.com>
Thu, 2 Aug 2018 17:41:45 +0000 (13:41 -0400)
committerSteve Sutton <steve@gaslightmedia.com>
Thu, 2 Aug 2018 17:41:45 +0000 (13:41 -0400)
These will be only used to set the billing form address one time. If
they want to reset billing from another address they'll need to check
the box again.

views/admin/contacts/edit.html

index e9a9650..80cc6b7 100644 (file)
                             <tr>
                                 <th>Use for Billing Information</th>
                                 <td>
-                                    <input type="checkbox" name="contact_use_billing" {if $contactInfo.fieldData.contact_use_billing.value} checked{/if}>
+                                    <input type="checkbox" name="contact_use_billing">
                                 </td>
                             </tr>
                             <tr>
                             <tr>
                                 <th>Use for Billing Information</th>
                                 <td>
-                                    <input type="checkbox" name="business_use_billing" {if $contactInfo.fieldData.business_use_billing.value} checked{/if}>
+                                    <input type="checkbox" name="business_use_billing">
                                 </td>
                             </tr>
                             <tr>
                         </div>
                     </div>
                 </div>
-                
+
             {if apply_filters( 'glm-members-billing-enabled', false )}
                 <div id="glm-contact-billing-fields-toggle" class="glm-contact-content-toggle">
                     <h3>Billing Info</h3>