Bugzilla – Attachment 40195 Details for
Bug 12906
Show shipment date in invoice search result list
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 12906: Show shipment date in invoice search result list
Bug-12906-Show-shipment-date-in-invoice-search-res.patch (text/plain), 2.71 KB, created by
Jonathan Druart
on 2015-06-16 16:48:27 UTC
(
hide
)
Description:
Bug 12906: Show shipment date in invoice search result list
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2015-06-16 16:48:27 UTC
Size:
2.71 KB
patch
obsolete
>From b6ab2e7d66474e596f01f0471518c09beb2115ce Mon Sep 17 00:00:00 2001 >From: Katrin Fischer <Katrin.Fischer.83@web.de> >Date: Mon, 8 Jun 2015 04:28:50 +0200 >Subject: [PATCH] Bug 12906: Show shipment date in invoice search result list >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >Patch adds the shipment as a new separate column to the >search results of the invoices search. > >To test: >- Search for invoices in the acquisition module >- Verify the results table shows the shipment date >- Verify that sorting works correctly > >Signed-off-by: Marc Véron <veron@veron.ch> > >Signed-off-by: Jonathan Druart <jonathan.druart@koha-community.org> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/acqui/invoices.tt | 10 +++++++++- > 1 file changed, 9 insertions(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/invoices.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/invoices.tt >index 8cd41fa..cb3d9f5 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/invoices.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/invoices.tt >@@ -12,7 +12,7 @@ $(document).ready(function() { > var resultst = $("#resultst").dataTable($.extend(true, {}, dataTablesDefaults, { > bPaginate: false, > aoColumnDefs: [ >- { "bSortable": false, "aTargets": [1, 8] }, >+ { "bSortable": false, "aTargets": [1, 9] }, > { "bVisible": false, "aTargets": [0] }, > { "sType": "title-string", "aTargets" : [ "title-string" ] } > ] >@@ -106,6 +106,7 @@ $(document).ready(function() { > <th> </th> > <th>Invoice no.</th> > <th>Vendor</th> >+ <th class="title-string">Shipment date</th> > <th class="title-string">Billing date</th> > <th>Received biblios</th> > <th>Received items</th> >@@ -121,6 +122,13 @@ $(document).ready(function() { > <td><a href="/cgi-bin/koha/acqui/invoice.pl?invoiceid=[% invoice.invoiceid %]">[% invoice.invoicenumber %]</a></td> > <td><a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% invoice.booksellerid %]">[% invoice.suppliername %]</a></td> > <td> >+ [% IF invoice.shipmentdate %] >+ <span title="[% invoice.shipmentdate %]">[% invoice.shipmentdate | $KohaDates %]</span> >+ [% ELSE %] >+ <span title="0000-00-00"></span> >+ [% END %] >+ </td> >+ <td> > [% IF invoice.billingdate %] > <span title="[% invoice.billingdate %]">[% invoice.billingdate | $KohaDates %]</span> > [% ELSE %] >-- >2.1.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 12906
:
39973
|
40018
| 40195 |
40196