diff --git a/C4/Acquisition.pm b/C4/Acquisition.pm index a85dc8ac9f..dc090b86f1 100644 --- a/C4/Acquisition.pm +++ b/C4/Acquisition.pm @@ -1678,6 +1678,8 @@ sub SearchOrders { aqbasket.closedate, aqbasket.creationdate, aqbasket.basketname, + aqbasketgroups.id as basketgroupid, + aqbasketgroups.name as basketgroupname, aqorders.* FROM aqorders LEFT JOIN aqbasket ON aqorders.basketno = aqbasket.basketno diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/parcel.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/parcel.tt index db6783b81f..b066450e92 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/parcel.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/parcel.tt @@ -22,6 +22,7 @@ { "aTargets": [ 3, 8, 9 ], "bSortable": false, "bSearchable": false }, ], "aoColumns": [ + { "sType": "num-html" }, { "sType": "num-html" }, { "sType": "num-html" }, { "sType": "html" }, @@ -42,6 +43,7 @@ { type: "text" }, { type: "text" }, { type: "text" }, + { type: "text" }, null, { type: "text" }, { type: "text" }, @@ -204,6 +206,7 @@ Basket search + Basket group search Order line search Summary search   @@ -216,6 +219,7 @@ Basket + Basket group Order line Summary View record @@ -231,6 +235,13 @@ [% FOREACH loop_order IN loop_orders %] [% loop_order.basketname %] ([% loop_order.basketno %]) + + [% IF loop_order.basketgroupid %] + [% loop_order.basketgroupname %] ([% loop_order.basketgroupid %]) + [% ELSE %] + No basket group + [% END %] + [% loop_order.ordernumber %] [% loop_order.title |html %] @@ -321,6 +332,7 @@ Basket + Basket group Order Line Holds Summary @@ -345,19 +357,19 @@ [% END %] - Total tax exc. + Total tax exc. [% total_gste %] [% FOREACH book_foot IN book_foot_loop %] - Total (GST [% book_foot.gstrate * 100 | format ("%.1f") %]%) + Total (GST [% book_foot.gstrate * 100 | format ("%.1f") %]%) [% book_foot.value %] [% END %] - Total tax inc. + Total tax inc. [% total_gsti %] @@ -366,6 +378,13 @@ [% FOREACH loop_receive IN loop_received %] [% loop_receive.basketname %] ([% loop_receive.basketno %]) + + [% IF loop_order.basketgroupid %] + [% loop_receive.basketgroupname %] ([% loop_receive.basketgroupid %]) + [% ELSE %] + No basket group + [% END %] + [% loop_receive.ordernumber %] [% IF loop_receive.holds > 0 %]