Bugzilla – Attachment 97124 Details for
Bug 24162
Add quantity column to the late orders table
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 24162: Add quantity column to the late orders page
Bug-24162-Add-quantity-column-to-the-late-orders-p.patch (text/plain), 1.53 KB, created by
Jonathan Druart
on 2020-01-09 16:51:38 UTC
(
hide
)
Description:
Bug 24162: Add quantity column to the late orders page
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2020-01-09 16:51:38 UTC
Size:
1.53 KB
patch
obsolete
>From c605ade84ad35f7b734ac786ede2277bd8321caf Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Thu, 9 Jan 2020 17:28:09 +0100 >Subject: [PATCH] Bug 24162: Add quantity column to the late orders page > >This patch add a new column "quantity" to the late orders page > >Test plan: >1. Create some orders, close the basket >2. Go to the "Late orders" page >=> You should see a new column "quantity" that contains the number of >items of the order > >Sponsored-by: Cork Institute of Technology >--- > koha-tmpl/intranet-tmpl/prog/en/modules/acqui/lateorders.tt | 2 ++ > 1 file changed, 2 insertions(+) > >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 327daa80a8..ad7f1a32d0 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/lateorders.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/lateorders.tt >@@ -63,6 +63,7 @@ > <th class="title-string">Estimated delivery date</th> > <th>Vendor</th> > <th class="anti-the">Information</th> >+ <th>Quantity</th> > <th>Total cost</th> > <th>Basket</th> > <th>Basket group</th> >@@ -107,6 +108,7 @@ > [% END %] > [% END %] > </td> >+ <td>[% lateorder.quantity %]</td> > <td> > [% SET subtotal = (lateorder.quantity - lateorder.quantityreceived) * lateorder.rrp %] > [% SET total = total + subtotal %] >-- >2.11.0
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 24162
:
97124
|
98693
|
99779
|
104195
|
104196
|
104342
|
104343
|
104344