Bugzilla – Attachment 58866 Details for
Bug 11988
Display basket group close date on late orders
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 11988: Display aqbasketgroup.closeddate on late orders table
Bug-11988-Display-aqbasketgroupcloseddate-on-late-.patch (text/plain), 2.28 KB, created by
Julian Maurice
on 2017-01-12 11:10:23 UTC
(
hide
)
Description:
Bug 11988: Display aqbasketgroup.closeddate on late orders table
Filename:
MIME Type:
Creator:
Julian Maurice
Created:
2017-01-12 11:10:23 UTC
Size:
2.28 KB
patch
obsolete
>From 97b433ff3094fa07c24e32728bf9ec9fe6873d55 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@biblibre.com> >Date: Mon, 24 Mar 2014 14:48:29 +0100 >Subject: [PATCH] Bug 11988: Display aqbasketgroup.closeddate on late orders > table > >Test plan: >Display the late orders table and verify the basket group close date is >correctly displayed. > >Signed-off-by: David Cook <dcook@prosentient.com.au> > >Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> >--- > acqui/lateorders.pl | 6 ++++-- > koha-tmpl/intranet-tmpl/prog/en/modules/acqui/lateorders.tt | 5 ++++- > 2 files changed, 8 insertions(+), 3 deletions(-) > >diff --git a/acqui/lateorders.pl b/acqui/lateorders.pl >index fe1acc3..dd4cb84 100755 >--- a/acqui/lateorders.pl >+++ b/acqui/lateorders.pl >@@ -158,8 +158,10 @@ if ($estimateddeliverydateto_dt) { > my @lateorders = GetLateOrders( @parameters ); > > my $total; >-foreach (@lateorders){ >- $total += $_->{subtotal}; >+for my $order ( @lateorders ) { >+ $total += $order->{subtotal}; >+ $order->{basketgroup} = GetBasketgroup( $order->{basketgroupid} ) >+ if $order->{basketgroupid}; > } > > my $letters = GetLetters({ module => "claimacquisition" }); >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/lateorders.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/lateorders.tt >index 2363765..72371bd 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/lateorders.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/lateorders.tt >@@ -175,7 +175,10 @@ $(document).ready(function() { > [% IF ( CAN_user_acquisition_group_manage ) %] > <a href="basketgroup.pl?op=add&booksellerid=[% lateorder.supplierid %]&basketgroupid=[% lateorder.basketgroupid %]" title="basketgroup">[% lateorder.basketgroupname %] ([% lateorder.basketgroupid %])</a> > [% ELSE %] >- [% lateorder.basketgroupname %] ([% lateorder.basketgroupid %])</a> >+ [% lateorder.basketgroupname %] ([% lateorder.basketgroupid %]) >+ [% END %] >+ [% IF lateorder.basketgroup.closeddate %] >+ closed on [% lateorder.basketgroup.closeddate | $KohaDates %] > [% END %] > [% END %] > </td> >-- >2.1.4
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 11988
:
26533
|
26554
|
26574
|
27285
| 58866