[Koha-bugs] [Bug 29911] New: Default amounts for fee types display with comma in some cases

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Jan 20 09:30:34 CET 2022


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

            Bug ID: 29911
           Summary: Default amounts for fee types display with comma in
                    some cases
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Fines and fees
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: katrin.fischer at bsz-bw.de
        QA Contact: testopia at bugs.koha-community.org

When CurrencyFormat is set to "FR" and you are manually adding a copier fee or
similar to a patron account, the amount will show up with a decimal comma
instead of a decimal dot, which won't work correctly.

This is because we are missing the on_editing => 1 filter here:

maninvoice.tt

    <script>
        var type_fees = {};
        [% FOREACH debit_type IN debit_types %]
            type_fees['[% debit_type.code | html %]'] = "[% IF
debit_type.default_amount %][% debit_type.default_amount | $Price %][% END %]";

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


More information about the Koha-bugs mailing list