[Koha-bugs] [Bug 12186] New: Duplicate TT code for account payments

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon May 5 12:02:38 CEST 2014


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

            Bug ID: 12186
           Summary: Duplicate TT code for account payments
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Templates
          Assignee: oleonard at myacpl.org
          Reporter: pasi.kallinen at pttk.fi
        QA Contact: testopia at bugs.koha-community.org

[% SWITCH line.accounttype %]
          [% CASE 'Pay' %]Payment,thanks
          [% CASE 'Pay00' %]Payment,thanks (cash via SIP2)
          ....

This SWITCH statement is duplicated in three different files:

intranet-tmpl/prog/en/modules/members/pay.tt
intranet-tmpl/prog/en/modules/members/boraccount.tt
opac-tmpl/prog/en/modules/opac-account.tt

It should be folded into a single macro or block.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list