[Koha-bugs] [Bug 30067] New: Create a template plugin for currencies

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Feb 9 23:10:39 CET 2022


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

            Bug ID: 30067
           Summary: Create a template plugin for currencies
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Templates
          Assignee: oleonard at myacpl.org
          Reporter: fridolin.somers at biblibre.com
        QA Contact: testopia at bugs.koha-community.org

A select for currencies exists in several places :
 > git grep 'select name=".*currency"'
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/addorderiso2709.tt:              
                             <select name="all_currency" id="all_currency">
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/duplicate_orders.tt:             
    <select name="all_currency" id="all_currency">
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tt:           
<select name="currency" id="currency" onchange="updateCosts();">
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/orderreceive.tt:               
<select name="currency">
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/supplier.tt:               
<select name="list_currency" id="list_currency">
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/supplier.tt:               
<select name="invoice_currency" id="invoice_currency">
koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt:              
             <select name="currency" id="currency">

We should add a template plugin with a 'all' method like for libraries :
Koha/Template/Plugin/Branches.pm

Maybe add a show_inactive option, by default false.

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


More information about the Koha-bugs mailing list