Bugzilla – Attachment 104342 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.89 KB, created by
Katrin Fischer
on 2020-05-05 06:43:50 UTC
(
hide
)
Description:
Bug 24162: Add quantity column to the late orders page
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2020-05-05 06:43:50 UTC
Size:
1.89 KB
patch
obsolete
>From 2ad011f44f59484c6425f89786c95e1b8b5d18b7 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 > >Signed-off-by: Devinim <kohadevinim@devinim.com.tr> > >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/acqui/lateorders.tt | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > >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 60e3168b96..849e221b24 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 %] >@@ -175,7 +177,7 @@ > <tr> > <th colspan="6">Total</th> > <th>[% total | $Price %]</th> >- <th colspan="9"> </th> >+ <th colspan="10"> </th> > </tr> > </tfoot> > </table> >-- >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