From 204aaa874e026a1e06fdccb241985f305b7a9cd3 Mon Sep 17 00:00:00 2001 From: Thibaud Guillot Date: Thu, 8 Dec 2022 16:39:12 +0100 Subject: [PATCH] Bug 21507 : WIP - rebase actual proposal on master Test plan : 1) Go on 'cgi-bin/koha/members/mancredit.pl?borrowernumber={patron_id}' 2) Create manual invoice or credit and see differents input pattern and example 3) You can also test payment feature with 'total due' transformation Let's discuss about it :) --- .../prog/en/modules/members/mancredit.tt | 2 +- .../prog/en/modules/members/maninvoice.tt | 34 ++----------------- members/mancredit.pl | 12 +++++++ members/maninvoice.pl | 33 ++++++++++++------ 4 files changed, 38 insertions(+), 43 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/mancredit.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/mancredit.tt index 18f411937b..3dd2270dc0 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/mancredit.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/mancredit.tt @@ -83,7 +83,7 @@
  • -
  • Example: 5[% IF Koha.Preference("CurrencyFormat") == 'FR' %],[% ELSE %].[% END %]12
  • +
  • Example: 5[% decimal_delimiter | html %]12
  • [% INCLUDE 'transaction_types.inc' type="credit" %] [% IF Koha.Preference('UseCashRegisters') %]
  • diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/maninvoice.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/maninvoice.tt index f6fd54d14d..7f46f5dcaf 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/maninvoice.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/maninvoice.tt @@ -16,35 +16,6 @@ [% WRAPPER 'header.inc' %] [% INCLUDE 'patron-search-header.inc' %] [% END %] -<<<<<<< HEAD -======= -[% ELSE %] -
    - -
    - Manual invoice -
      -
    1. - - -
    2. -
    3. -
    4. -
    5. -
    6. Example: 5[% IF Koha.Preference("CurrencyFormat") == 'FR' %],[% ELSE %].[% END %]12
    7. -
    -
    Cancel
    -
    ->>>>>>> WIP Bug 21507 - Fix decimal separators issues in patrons payments/fines [% WRAPPER 'sub-header.inc' %]