@@ -, +, @@ - Locate a vendor which has multiple invoices associated with it. - View the vendor details, and click the "Invoices" link in the sidebar. - The display of invoices should look correct. The DataTable should work correctly. - Test the search filters in the sidebar to confirm that they work too. --- .../prog/en/modules/acqui/invoices.tt | 662 +++++++++--------- 1 file changed, 344 insertions(+), 318 deletions(-) --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/invoices.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/invoices.tt @@ -35,335 +35,361 @@ [% INCLUDE 'blocking_errors.inc' %] -
- [% END %] - | - | Invoice number | -Vendor | -Shipment date | -Billing date | -Received bibliographic records | -Received items | -Status | -- | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
[% invoice.is_linked_to_subscriptions | html %] | - [% END %] -- | [% invoice.invoicenumber | html %] | -[% invoice.suppliername | html %] | -- [% invoice.shipmentdate | $KohaDates %] - | -- [% invoice.billingdate | $KohaDates %] - | -[% invoice.receivedbiblios | html %] | -[% invoice.receiveditems | html %] | -- [% IF invoice.closedate %] - Closed on [% invoice.closedate | $KohaDates %] - [% ELSE %] - Open - [% END %] - | -
+ Invoices+ [% IF ( do_search ) %] + [% IF invoices %] + [% BLOCK invoices_table %] + [% IF closed %] + [% SET tab = 'closed' %] + [% ELSE %] + [% SET tab = 'opened' %] + [% END %] + + +
-
- Actions
-
- |
-
Sorry, but there are no results for your search.
+Search was: +
Use the search form on the left to find invoices.
+ [% END %] + + + +