@@ -, +, @@ acquisition module [14] --- acqui/supplier.pl | 1 + .../prog/en/modules/acqui/supplier.tt | 31 ++++++++++++++++++- 2 files changed, 30 insertions(+), 2 deletions(-) --- a/acqui/supplier.pl +++ a/acqui/supplier.pl @@ -111,6 +111,7 @@ if ( $op eq 'display' ) { basketcount => $supplier->{'basketcount'}, subscriptioncount => $supplier->{'subscriptioncount'}, contracts => $contracts, + dateformat => C4::Context->preference("dateformat"), ); } elsif ( $op eq 'delete' ) { # no further message needed for the user --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/supplier.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/supplier.tt @@ -1,7 +1,12 @@ [% USE KohaDates %] [% INCLUDE 'doc-head-open.inc' %] Koha › Vendor [% bookselname %] + [% INCLUDE 'doc-head-close.inc' %] + +[% INCLUDE 'datatables-strings.inc' %] + + @@ -212,14 +234,18 @@ if (f.company.value == "") { [% IF ( contracts ) %]

Contract(s)

- +
+ - + + + + [% FOREACH contract IN contracts %] [% IF ( loop.even ) %][% ELSE %][% END %] [% END %] +
Name Description Start date End date     
@@ -232,6 +258,7 @@ if (f.company.value == "") { Delete
[% END %] --