From: Laury GvR Date: Thu, 2 Aug 2018 16:37:14 +0000 (-0400) Subject: Placed Billing fields back into the contact profile form X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=9c3fb939964cf206e797f6954da5d03c448c321e;p=WP-Plugins%2Fglm-member-db-contacts.git Placed Billing fields back into the contact profile form --- diff --git a/css/admin.css b/css/admin.css index 1bb343f..155f3d0 100644 --- a/css/admin.css +++ b/css/admin.css @@ -120,6 +120,9 @@ background: transparent; border: 0; } +#glm-table-profile .glm-contact-sub-data-links > .glm-contact-content-toggle.selected { + box-shadow: none; +} #glm-table-profile .glm-contact-sub-data-links .glm-contact-link-to-top { text-align: right; } diff --git a/views/admin/contacts/edit.html b/views/admin/contacts/edit.html index 76f881e..04579a0 100644 --- a/views/admin/contacts/edit.html +++ b/views/admin/contacts/edit.html @@ -758,7 +758,21 @@ - + + {if apply_filters( 'glm-members-billing-enabled', false )} +
+

Billing Info

+
+
+
+ {apply_filters( 'glm-members-billing-contact-form', '', $contactInfo.fieldData.ref_dest )} + +
+
+ {/if}

@@ -807,57 +821,57 @@

-
-

Removed Items

- Publish on front end - Use for Billing -
-
-
- - - - - - - - - - - - - -
Contact Type - - {if $contactInfo.fieldFail.contact_type}

{$contactInfo.fieldFail.contact_type}

{/if} -
County - - {if $contactInfo.fieldFail.county}

{$contactInfo.fieldFail.county}

{/if} -
Position/Responsibilities - {php} - wp_editor('{$contactInfo.fieldData.descr|escape:quotes}', 'glm_descr', array( - 'quicktags' => false, - 'media_buttons' => false, - 'wpautop' => false, - 'textarea_name' => 'descr', - 'editor_height' => 100, // Height in px, overrides editor_rows - // 'textarea_rows' => 4, - )); - {/php} - {if $contactInfo.fieldFail.descr}

{$contactInfo.fieldFail.descr}

{/if} -
- -
-
+
+

Removed Items

+ Publish on front end + Use for Billing +
+
+
+ + + + + + + + + + + + + +
Contact Type + + {if $contactInfo.fieldFail.contact_type}

{$contactInfo.fieldFail.contact_type}

{/if} +
County + + {if $contactInfo.fieldFail.county}

{$contactInfo.fieldFail.county}

{/if} +
Position/Responsibilities + {php} + wp_editor('{$contactInfo.fieldData.descr|escape:quotes}', 'glm_descr', array( + 'quicktags' => false, + 'media_buttons' => false, + 'wpautop' => false, + 'textarea_name' => 'descr', + 'editor_height' => 100, // Height in px, overrides editor_rows + // 'textarea_rows' => 4, + )); + {/php} + {if $contactInfo.fieldFail.descr}

{$contactInfo.fieldFail.descr}

{/if} +
+ +
+

* Required