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 3809d071f7..0edb5427cb 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/invoices.tt
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/invoices.tt
@@ -35,335 +35,361 @@
[% INCLUDE 'blocking_errors.inc' %]
-
Invoices
- [% IF ( do_search ) %]
- [% IF invoices %]
- [% BLOCK invoices_table %]
- [% IF closed %]
- [% SET tab = 'closed' %]
- [% ELSE %]
- [% SET tab = 'opened' %]
- [% END %]
-
-
-
- [% IF CAN_user_acquisition_merge_invoices %]
- [% IF tab == 'closed' %]
- Merge selected invoices
- Reopen selected invoices
- [% ELSE %]
- Merge selected invoices
- Close selected invoices
- [% END %]
- [% END %]
- [% END %]
-
-
-
- [% IF openedinvoices %]
- [% INCLUDE invoices_table invoices = openedinvoices %]
- [% ELSE %]
-
-
Your search returned no open invoices.
-
- [% END %]
-
-
- [% IF closedinvoices %]
- [% INCLUDE invoices_table invoices = closedinvoices closed = 1 %]
- [% ELSE %]
-
-
Your search returned no closed invoices.
-
- [% END %]
-
-
+ [% END %]
+ [% END %]
+
+
+
+
+ [% IF openedinvoices %]
+ [% INCLUDE invoices_table invoices = openedinvoices %]
+ [% ELSE %]
+
+
Your search returned no open invoices.
+
+ [% END %]
+
+
+ [% IF closedinvoices %]
+ [% INCLUDE invoices_table invoices = closedinvoices closed = 1 %]
+ [% ELSE %]
+
+
Your search returned no closed invoices.
+
+ [% END %]
+
+
-
+
+
- [% ELSE %]
- Sorry, but there are no results for your search.
- Search was:
-
- [% IF ( invoicenumber ) %]
- - Invoice number: [% invoicenumber | html %]
- [% END %]
- [% IF booksellerid %]
- - Vendor: [% suppliername | html %]
- [% END %]
- [% IF shipmentdatefrom %]
- - Shipment date:
- [% IF shipmentdateto %]
- From [% shipmentdatefrom | $KohaDates %]
- To [% shipmentdateto | $KohaDates %]
- [% ELSE %]
- All since [% shipmentdatefrom | $KohaDates %]
- [% END %]
-
- [% ELSE %]
- [% IF shipmentdateto %]
- - Shipment date:
- All until [% shipmentdateto | $KohaDates %]
-
- [% END %]
- [% END %]
- [% IF billingdatefrom %]
- - Billing date:
- [% IF billingdateto %]
- From [% billingdatefrom | $KohaDates %]
- To [% billingdateto | $KohaDates %]
- [% ELSE %]
- All since [% billingdatefrom | $KohaDates %]
- [% END %]
-
- [% ELSE %]
- [% IF billingdateto %]
- - Billing date:
- All until [% billingdateto | $KohaDates %]
-
- [% END %]
- [% END %]
- [% IF ( isbneanissn ) %]
- - ISBN/EAN/ISSN: [% isbneanissn | html %]
- [% END %]
- [% IF ( title ) %]
- - Title: [% title | html %]
- [% END %]
- [% IF ( author ) %]
- - Author: [% author | html %]
- [% END %]
- [% IF ( publisher ) %]
- - Publisher: [% publisher | html %]
- [% END %]
- [% IF ( publicationyear ) %]
- - Publication year: [% publicationyear | html %]
- [% END %]
- [% IF ( branch ) %]
- - Library: [% Branches.GetName( branch ) | html %]
- [% END %]
-
-
- [% END %]
- [% ELSE %]
- Use the search form on the left to find invoices.
- [% END %]
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ [% INCLUDE 'acquisitions-menu.inc' %]
+
+
+
[% MACRO jsinclude BLOCK %]
[% Asset.js("js/acquisitions-menu.js") | $raw %]