http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9383

--- Comment #6 from David Cook <[email protected]> ---
(In reply to comment #5)
> What does this change to memberentry
> 
> +    "$category_type"  => 1, #passes category type (e.g. C, A, S, P, I, X)
> to template like in moremember.pl do?

That looks like a bit of a typo. It should say to templates like moremember.tt,
moremember-brief.tt, or memberentrygen.tt

As for what it does, it passes the patron's category type (in the case of an
organization: I, in the case of a professional: P) to the template to determine
which phone/email labels to apply. 

For memberentrygen.tt: 

If I, "Organization Phone:" (phone) and "Organization Email:" (email), and no
emailpro, no mobile phone, no phonepro

If P, "Primary Phone" (phone), "Secondary Phone" (phonepro), "Primary Email"
(email), "Secondary Email" (emailpro), and no mobile phone

All other category types get the default labels (which are also mapped
consistently over to the moremember.tt templates).

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to