View | Details | Raw Unified | Return to bug 11879
Collapse All | Expand All

(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt (-25 / +36 lines)
Lines 589-623 Link Here
589
589
590
                                                <select id="borrower_primary_contact_method" name="borrower_primary_contact_method">
590
                                                <select id="borrower_primary_contact_method" name="borrower_primary_contact_method">
591
                                                    <option value=""></option>
591
                                                    <option value=""></option>
592
                                                    [% IF ( borrower.primary_contact_method == 'phone' ) %]
592
                                                    [% UNLESS hidden.defined('phone') %]
593
                                                        <option value="phone" selected="selected">Primary phone</option>
593
                                                        [% IF ( borrower.primary_contact_method == 'phone' ) %]
594
                                                    [% ELSE %]
594
                                                            <option value="phone" selected="selected">Primary phone</option>
595
                                                        <option value="phone">Primary phone</option>
595
                                                        [% ELSE %]
596
                                                            <option value="phone">Primary phone</option>
597
                                                        [% END %]
596
                                                    [% END %]
598
                                                    [% END %]
597
                                                    [% IF ( borrower.primary_contact_method == 'phonepro' ) %]
599
                                                    [% UNLESS hidden.defined('phonepro') %]
598
                                                        <option value="phonepro" selected="selected">Secondary phone</option>
600
                                                        [% IF ( borrower.primary_contact_method == 'phonepro' ) %]
599
                                                    [% ELSE %]
601
                                                            <option value="phonepro" selected="selected">Secondary phone</option>
600
                                                        <option value="phonepro">Secondary phone</option>
602
                                                        [% ELSE %]
603
                                                            <option value="phonepro">Secondary phone</option>
604
                                                        [% END %]
601
                                                    [% END %]
605
                                                    [% END %]
602
                                                    [% IF ( borrower.primary_contact_method == 'mobile' ) %]
606
                                                    [% UNLESS hidden.defined('mobile') %]
603
                                                        <option value="mobile" selected="selected">Other phone</option>
607
                                                        [% IF ( borrower.primary_contact_method == 'mobile' ) %]
604
                                                    [% ELSE %]
608
                                                            <option value="mobile" selected="selected">Other phone</option>
605
                                                        <option value="mobile">Other phone</option>
609
                                                        [% ELSE %]
610
                                                            <option value="mobile">Other phone</option>
611
                                                        [% END %]
606
                                                    [% END %]
612
                                                    [% END %]
607
                                                    [% IF ( borrower.primary_contact_method == 'email' ) %]
613
                                                    [% UNLESS hidden.defined('email') %]
608
                                                        <option value="email" selected="selected">Primary email</option>
614
                                                        [% IF ( borrower.primary_contact_method == 'email' ) %]
609
                                                    [% ELSE %]
615
                                                            <option value="email" selected="selected">Primary email</option>
610
                                                        <option value="email">Primary email</option>
616
                                                        [% ELSE %]
617
                                                            <option value="email">Primary email</option>
618
                                                        [% END %]
611
                                                    [% END %]
619
                                                    [% END %]
612
                                                    [% IF ( borrower.primary_contact_method == 'emailpro' ) %]
620
                                                    [% UNLESS hidden.defined('emailpro') %]
613
                                                        <option value="emailpro" selected="selected">Secondary email</option>
621
                                                        [% IF ( borrower.primary_contact_method == 'emailpro' ) %]
614
                                                    [% ELSE %]
622
                                                            <option value="emailpro" selected="selected">Secondary email</option>
615
                                                        <option value="emailpro">Secondary email</option>
623
                                                        [% ELSE %]
624
                                                            <option value="emailpro">Secondary email</option>
625
                                                        [% END %]
616
                                                    [% END %]
626
                                                    [% END %]
617
                                                    [% IF ( borrower.primary_contact_method == 'fax' ) %]
627
                                                    [% UNLESS hidden.defined('fax') %]
618
                                                        <option value="fax" selected="selected">Fax</option>
628
                                                        [% IF ( borrower.primary_contact_method == 'fax' ) %]
619
                                                    [% ELSE %]
629
                                                            <option value="fax" selected="selected">Fax</option>
620
                                                        <option value="fax">Fax</option>
630
                                                        [% ELSE %]
631
                                                            <option value="fax">Fax</option>
632
                                                        [% END %]
621
                                                    [% END %]
633
                                                    [% END %]
622
                                                </select>
634
                                                </select>
623
                                                [% IF ( mandatory.defined('primary_contact_method') ) %]<span class="required">Required</span>[% END %]
635
                                                [% IF ( mandatory.defined('primary_contact_method') ) %]<span class="required">Required</span>[% END %]
624
- 

Return to bug 11879