From e6d635ec8630f943070e9e6fcdbebc5fe5ff10a4 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Tue, 19 Oct 2021 09:57:26 +0200 Subject: [PATCH] Bug 29240: Rename start_for with date_to Signed-off-by: Jonathan Druart --- koha-tmpl/intranet-tmpl/prog/en/includes/calendar.inc | 4 ++-- .../intranet-tmpl/prog/en/includes/filter-orders.inc | 2 +- .../intranet-tmpl/prog/en/modules/acqui/invoices.tt | 4 ++-- .../intranet-tmpl/prog/en/modules/acqui/lateorders.tt | 2 +- .../prog/en/modules/admin/aqbudgetperiods.tt | 4 ++-- .../intranet-tmpl/prog/en/modules/admin/aqcontract.tt | 2 +- .../intranet-tmpl/prog/en/modules/circ/overdue.tt | 2 +- .../prog/en/modules/circ/pendingreserves.tt | 2 +- .../prog/en/modules/circ/reserveratios.tt | 2 +- .../prog/en/modules/clubs/clubs-add-modify.tt | 2 +- .../intranet-tmpl/prog/en/modules/ill/ill-requests.tt | 4 ++-- .../intranet-tmpl/prog/en/modules/labels/search.tt | 2 +- .../prog/en/modules/members/memberentrygen.tt | 2 +- .../intranet-tmpl/prog/en/modules/pos/register.tt | 2 +- .../prog/en/modules/reports/acquisitions_stats.tt | 4 ++-- .../prog/en/modules/reports/bor_issues_top.tt | 4 ++-- .../prog/en/modules/reports/borrowers_stats.tt | 2 +- .../prog/en/modules/reports/cash_register_stats.tt | 2 +- .../prog/en/modules/reports/cat_issues_top.tt | 4 ++-- .../prog/en/modules/reports/catalogue_stats.tt | 4 ++-- .../prog/en/modules/reports/dictionary.tt | 2 +- .../prog/en/modules/reports/guided_reports_start.tt | 2 +- .../prog/en/modules/reports/issues_avg_stats.tt | 4 ++-- .../prog/en/modules/reports/issues_stats.tt | 2 +- .../prog/en/modules/reports/reserves_stats.tt | 10 +++++----- .../intranet-tmpl/prog/en/modules/serials/claims.tt | 2 +- .../prog/en/modules/serials/subscription-add.tt | 2 +- .../prog/en/modules/serials/subscription-history.tt | 2 +- koha-tmpl/intranet-tmpl/prog/en/modules/tags/review.tt | 2 +- .../prog/en/modules/tools/additional-contents.tt | 2 +- .../prog/en/modules/tools/batch_extend_due_dates.tt | 2 +- .../intranet-tmpl/prog/en/modules/tools/export.tt | 2 +- .../intranet-tmpl/prog/en/modules/tools/viewlog.tt | 2 +- 33 files changed, 46 insertions(+), 46 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/calendar.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/calendar.inc index 3002796e24..231d97d48a 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/calendar.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/calendar.inc @@ -60,8 +60,8 @@ onClose: function( selectedDates, dateText, instance) { validate_date( dateText, instance ); var thisInput = instance.input; - if ( thisInput.hasAttribute('data-start_for') ) { - var endPicker = document.querySelector("#"+thisInput.dataset.start_for)._flatpickr; + if ( thisInput.hasAttribute('data-date_to') ) { + var endPicker = document.querySelector("#"+thisInput.dataset.date_to)._flatpickr; endPicker.set('minDate', selectedDates[0]); } }, diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/filter-orders.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/filter-orders.inc index efc1bc0f30..17f1d1dc3a 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/filter-orders.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/filter-orders.inc @@ -103,7 +103,7 @@
  • - +
    [% INCLUDE 'date-format.inc' %]
  • diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/invoices.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/invoices.tt index 7ff7b0e3ae..3809d071f7 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/invoices.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/invoices.tt @@ -297,7 +297,7 @@
    1. - +
      [% INCLUDE 'date-format.inc' %]
    2. @@ -314,7 +314,7 @@
      1. - +
        [% INCLUDE 'date-format.inc' %]
      2. diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/lateorders.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/lateorders.tt index 6740629bd2..6cccff9bbf 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/lateorders.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/lateorders.tt @@ -232,7 +232,7 @@
        1. days ago
        2. - +
          [% INCLUDE 'date-format.inc' %]
        3. diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgetperiods.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgetperiods.tt index 85acd8de7c..1560479772 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgetperiods.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgetperiods.tt @@ -189,7 +189,7 @@
        4. - + Required
          [% INCLUDE 'date-format.inc' %]
        5. @@ -259,7 +259,7 @@
          1. - + Required
            [% INCLUDE 'date-format.inc' %]
          2. diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqcontract.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqcontract.tt index c280345068..b4a0983041 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqcontract.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqcontract.tt @@ -132,7 +132,7 @@
          3.   - + Required
            [% INCLUDE 'date-format.inc' %]
          4. diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/overdue.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/overdue.tt index 9e6077d066..36620b7520 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/overdue.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/overdue.tt @@ -156,7 +156,7 @@
          5. - +
          6. diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/pendingreserves.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/pendingreserves.tt index 8e0642f674..af7c47b588 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/pendingreserves.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/pendingreserves.tt @@ -271,7 +271,7 @@ - +
          7. - +
          8. diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/clubs/clubs-add-modify.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/clubs/clubs-add-modify.tt index 18e58f5faf..f992053816 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/clubs/clubs-add-modify.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/clubs/clubs-add-modify.tt @@ -73,7 +73,7 @@
          9. - +
          10. diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/ill/ill-requests.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/ill/ill-requests.tt index dea023627b..39dbd67819 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/ill/ill-requests.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/ill/ill-requests.tt @@ -73,7 +73,7 @@
          11. - +
          12. @@ -81,7 +81,7 @@
          13. - +
          14. diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/search.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/search.tt index a3e2a05f89..8cf3a91bb5 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/search.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/search.tt @@ -90,7 +90,7 @@ to add to Batch [% batch_id | html %]
            1. - +
              [% INCLUDE 'date-format.inc' %]
            2. diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt index 6450d5f1a4..204c59723e 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt @@ -1055,7 +1055,7 @@ legend:hover { [% END %] Registration date: - + [% IF ( mandatorydateenrolled ) %] Required [% END %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/pos/register.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/pos/register.tt index b9ef85e550..c00771f449 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/pos/register.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/pos/register.tt @@ -163,7 +163,7 @@
              1. - + [% INCLUDE 'date-format.inc' %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/acquisitions_stats.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/acquisitions_stats.tt index 1a9667c4ab..8ae84ad28f 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/acquisitions_stats.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/acquisitions_stats.tt @@ -120,7 +120,7 @@ - From + From [% INCLUDE 'date-format.inc' %] To [% INCLUDE 'date-format.inc' %] @@ -143,7 +143,7 @@ - From + From [% INCLUDE 'date-format.inc' %] To [% INCLUDE 'date-format.inc' %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/bor_issues_top.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/bor_issues_top.tt index b784b8a563..9bdf3897e7 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/bor_issues_top.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/bor_issues_top.tt @@ -120,7 +120,7 @@
                1. - + @@ -128,7 +128,7 @@
                2. - + diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/borrowers_stats.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/borrowers_stats.tt index 8ae1d0627a..674590a7e6 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/borrowers_stats.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/borrowers_stats.tt @@ -181,7 +181,7 @@ - + [% INCLUDE 'date-format.inc' %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/cash_register_stats.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/cash_register_stats.tt index 2017b58fb1..545689a977 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/cash_register_stats.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/cash_register_stats.tt @@ -58,7 +58,7 @@
                3. - +
                  [% INCLUDE 'date-format.inc' %]
                4. diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/cat_issues_top.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/cat_issues_top.tt index 910caa92db..96bb85d177 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/cat_issues_top.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/cat_issues_top.tt @@ -97,7 +97,7 @@
                  1. - + @@ -105,7 +105,7 @@
                  2. - + diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/catalogue_stats.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/catalogue_stats.tt index bdaba8e80b..8a63209b21 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/catalogue_stats.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/catalogue_stats.tt @@ -252,7 +252,7 @@ - + @@ -264,7 +264,7 @@ - + diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/dictionary.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/dictionary.tt index 349e1b2e88..47b08c8a25 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/dictionary.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/dictionary.tt @@ -259,7 +259,7 @@
                  3. Start of date range - +
                    [% INCLUDE 'date-format.inc' %]
                    End of date range diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt index 9211b4a96d..2cac2b04aa 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt @@ -619,7 +619,7 @@ [% IF ( criteri.daterange ) %] from - + to [% INCLUDE 'date-format.inc' %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/issues_avg_stats.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/issues_avg_stats.tt index bb1e3200bc..8b02e551e9 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/issues_avg_stats.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/issues_avg_stats.tt @@ -105,7 +105,7 @@ - + @@ -130,7 +130,7 @@ - + diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/issues_stats.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/issues_stats.tt index 3589e5f1c7..4dd120b2f5 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/issues_stats.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/issues_stats.tt @@ -128,7 +128,7 @@ - + [% INCLUDE 'date-format.inc' %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/reserves_stats.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/reserves_stats.tt index 59cd4aca36..978c24be36 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/reserves_stats.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/reserves_stats.tt @@ -125,7 +125,7 @@ - + @@ -137,7 +137,7 @@ - + @@ -149,7 +149,7 @@ - + @@ -161,7 +161,7 @@ - + @@ -173,7 +173,7 @@ - + diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/claims.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/claims.tt index b79903386e..7f3615b458 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/claims.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/claims.tt @@ -93,7 +93,7 @@
                    1. - + [% INCLUDE 'date-format.inc' %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-add.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-add.tt index 7f1f7641e8..6c22b7cdd1 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-add.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-add.tt @@ -327,7 +327,7 @@ fieldset.rows table { clear: none; margin: 0; }
                    2. - +
                    3. diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-history.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-history.tt index f90fdb18d4..f8524e1a56 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-history.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-history.tt @@ -41,7 +41,7 @@ Subscription start date - (start date of the 1st subscription) + (start date of the 1st subscription)
                      [% INCLUDE 'date-format.inc' %]
                      diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tags/review.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tags/review.tt index 7a2de0ad16..1aae1a0b77 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tags/review.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tags/review.tt @@ -230,7 +230,7 @@ tr > td input,td input[type="submit"] { font-size: 85%; padding: 1px; }
                    4. - +
                      [% INCLUDE 'date-format.inc' %]
                      diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/additional-contents.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/additional-contents.tt index a867c70e92..8f43afc707 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/additional-contents.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/additional-contents.tt @@ -214,7 +214,7 @@ [% END %]
                    5. - +
                      [% INCLUDE 'date-format.inc' %]
                    6. diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batch_extend_due_dates.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batch_extend_due_dates.tt index b4f0f345c4..d57915bbef 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batch_extend_due_dates.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batch_extend_due_dates.tt @@ -82,7 +82,7 @@
                    7. - +
                    8. diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/export.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/export.tt index bdf9b3586c..fee9ea6132 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/export.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/export.tt @@ -110,7 +110,7 @@
                      1. - +
                      2. diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/viewlog.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/viewlog.tt index 27b33a5c26..2f4ad0629e 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/viewlog.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/viewlog.tt @@ -273,7 +273,7 @@ [% END %]
                      3. - +
                        [% INCLUDE 'date-format.inc' %]
                      4. -- 2.39.5