@@ -, +, @@ summary page - Create a cash register - Check the cash register table for "Initial float" - Verify the amount shows with more than 2 decimals - Edit cash register - verify the same display there - Apply patch - Check again - it should display now with only 2 decimals --- koha-tmpl/intranet-tmpl/prog/en/modules/admin/cash_registers.tt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/cash_registers.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/cash_registers.tt @@ -1,6 +1,7 @@ [% USE raw %] [% USE Asset %] [% USE Branches %] +[% USE Price %] [% SET footerjs = 1 %] [% INCLUDE 'doc-head-open.inc' %] Koha › Administration › Cash registers @@ -97,7 +98,7 @@ <li> <label for="starting_float">Initial float: </label> - <input type="text" pattern='^\d+(?:\.\d{0,2})$' name="starting_float" id="starting_float" value="[% cash_register.starting_float | html %]" /> + <input type="text" pattern='^\d+(?:\.\d{0,2})$' name="starting_float" id="starting_float" value="[% cash_register.starting_float | $Price on_editing => 1 %]" /> </li> </ol> </fieldset> @@ -145,7 +146,7 @@ <td>[% cash_register.description | html %]</td> <td>[% cash_register.library.branchname | html %]</td> <td>[% IF cash_register.branch_default %]Yes[% ELSE %]No[% END %]</td> - <td>[% cash_register.starting_float | html %]</td> + <td>[% cash_register.starting_float | $Price %]</td> [% IF cash_register.archived == '0' %] <td class="actions"> <a class="btn btn-default btn-xs" href="cash_registers.pl?op=add_form&id=[% cash_register.id | uri %]"><i class="fa fa-pencil"></i> Edit</a> --