Bugzilla – Attachment 99779 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.83 KB, created by
Devinim
on 2020-02-28 15:57:11 UTC
(
hide
)
Description:
Bug 24162: Add quantity column to the late orders page
Filename:
MIME Type:
Creator:
Devinim
Created:
2020-02-28 15:57:11 UTC
Size:
1.83 KB
patch
obsolete
>From 9b2e3971b603fc58e8bf7ab8ad4b902257d0e1e4 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> >--- > 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 ddf3abeb04..c40c638359 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 %] >@@ -174,7 +176,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