@@ -, +, @@ - if there is no basketgroup for an order, the basketgroup column in lastorders.pl is now blank (instead of parentheses) - the name of the branch is used instead of its code in the branch column --- .../prog/en/modules/acqui/lateorders.tt | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/lateorders.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/lateorders.tt @@ -1,4 +1,5 @@ [% USE KohaDates %] +[% USE Branches %] [% INCLUDE 'doc-head-open.inc' %] Koha › Acquisitions › Late orders @@ -166,13 +167,15 @@ $(document).ready(function() { [% END %] - [% IF ( CAN_user_acquisition_group_manage ) %] - [% lateorder.basketgroupname %] ([% lateorder.basketgroupid %]) - [% ELSE %] - [% lateorder.basketgroupname %] ([% lateorder.basketgroupid %]) + [% IF ( lateorder.basketgroupid ) %] + [% IF ( CAN_user_acquisition_group_manage ) %] + [% lateorder.basketgroupname %] ([% lateorder.basketgroupid %]) + [% ELSE %] + [% lateorder.basketgroupname %] ([% lateorder.basketgroupid %]) + [% END %] [% END %] - [% lateorder.branch %] + [% Branches.GetName( lateorder.branch ) %] [% lateorder.budget %] --