Hide Email Checkout Receipts Option
authorTerran McCanna <tmccanna@georgialibraries.org>
Tue, 3 Jan 2017 23:26:00 +0000 (18:26 -0500)
committerChris Sharp <csharp@georgialibraries.org>
Wed, 4 Jan 2017 12:58:47 +0000 (07:58 -0500)
This doesn't work in the staff client, so hiding option from the patron
self-registration form and from the patron's My Account settings until
we have moved to the web client. (It still appears in the staff client,
so can be set there, but it will be virtually non-functional if set.)

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Open-ILS/src/templates/opac/myopac/prefs_notify.tt2
Open-ILS/src/templates/opac/register.tt2

index 47b7f72..2b71246 100644 (file)
             </tr>
             [% END %]
             [% FOR optin IN ctx.opt_in_settings %]
-            <tr>
-                <td><label for='[% optin.cust.name | uri %]'>[% optin.cust.label | html %]</label></td>
-                <td>
-                    <input type='checkbox' name='setting' 
-                        value='[% optin.cust.name | uri %]' 
-                        id='[% optin.cust.name | uri %]' 
-                        title="[% optin.cust.label | html %]"
-                        [% IF optin.value %] checked='checked' [% END %]/>
-                </td>
-            </tr>
+            <!-- PINES: Disable email checkout receipts option until bug is fixed -->
             [% END %]
         </tbody>
     </table>
index c3626d4..1bd6b81 100644 (file)
@@ -213,17 +213,7 @@ FOR field_def IN register_fields;
 <!-- ====> shifting the code back to the right for context -->
                     [% IF ctx.register.opt_in_settings.size > 0 %]
                         [% FOR optin IN ctx.register.opt_in_settings %]
-                        <tr>
-                            <td><label for="stgs.[% optin.name | uri %]'">[% optin.label | html %]</label></td>
-                            <td>
-                                <input type='checkbox'
-                                    name='stgs.[% optin.name | uri %]'
-                                    id='stgs.[% optin.name | uri %]'
-                                    title="[% optin.label | html %]"
-                                ></input>
-                            </td>
-                            <td><!-- display errors and example text --></td>
-                        </tr>
+                        <!-- PINES: Disable email checkout receipts option until bug is fixed -->
                         [% END %]
                     [% END %]
                     <tr>