https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42929

--- Comment #3 from Lisette Scheer <[email protected]> ---
If you want the specific notice the code Caroline gave you would be how to do
it. If you want the borrower primary contact method
(borrowers.primary_contact_method) like the linked bug, you'd do this:


[% SWITCH borrower.primary_contact_method %]
    [% CASE 'phone' %]
        <span>Primary phone</span>
    [% CASE 'phonepro' %]
        <span>Secondary phone</span>
    [% CASE 'mobile' %]
        <span>Other phone</span>
    [% CASE 'email' %]
        <span>Primary email</span>
    [% CASE 'emailpro' %]
        <span>Secondary email</span>
    [% CASE 'fax' %]
        <span>Fax</span>
[% END %]

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to