Bugzilla – Attachment 10085 Details for
Bug 8104
DataTables in Acquisision module: lateorders.tt
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[SIGNED-OFF] Bug 5345: DataTables integration in acquisition module [7]
SIGNED-OFF-Bug-5345-DataTables-integration-in-acqu.patch (text/plain), 3.04 KB, created by
Marijana Glavica
on 2012-06-10 11:08:51 UTC
(
hide
)
Description:
[SIGNED-OFF] Bug 5345: DataTables integration in acquisition module [7]
Filename:
MIME Type:
Creator:
Marijana Glavica
Created:
2012-06-10 11:08:51 UTC
Size:
3.04 KB
patch
obsolete
>From bf72a3072c9a44fd5c6f14144aa0b5eabbfc84bd Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@biblibre.com> >Date: Fri, 17 Feb 2012 15:57:13 +0100 >Subject: [PATCH] [SIGNED-OFF] Bug 5345: DataTables integration in acquisition module [7] > >lateorders.tt > >http://bugs.koha-community.org/show_bug.cgi?id=8104 >Signed-off-by: Marijana Glavica <mglavica@ffzg.hr> >--- > .../prog/en/modules/acqui/lateorders.tt | 23 ++++++++++++++++++- > 1 files changed, 21 insertions(+), 2 deletions(-) > >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 cf54b03..38ea22e 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/lateorders.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/lateorders.tt >@@ -1,12 +1,23 @@ > [% USE KohaDates %] > [% INCLUDE 'doc-head-open.inc' %] > <title>Koha › Acquisitions › Late orders</title> >+<link rel="stylesheet" type="text/css" href="[% themelang %]/css/datatables.css" /> > [% INCLUDE 'doc-head-close.inc' %] >+<script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.dataTables.min.js"></script> >+[% INCLUDE 'datatables-strings.inc' %] >+<script type="text/javascript" src="[% themelang %]/js/datatables.js"></script> > <script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.checkboxes.min.js"></script> > [% INCLUDE 'calendar.inc' %] > <script type="text/javascript"> > //<![CDATA[ > $(document).ready(function() { >+ var late_orderst = $("#late_orders").dataTable($.extend(true, {}, dataTablesDefaults, { >+ "aoColumnDefs": [ >+ { "aTargets": [ -1 ], "bSortable": false, "bSearchable": false }, >+ ], >+ "sPaginationType": "four_button" >+ } ) ); >+ > $("input:checkbox[name=claim_for]").click(function(){ > var booksellerid = $(this).attr('booksellerid'); > if ( $("input:checkbox[name=claim_for]:checked").length > 0) { >@@ -60,6 +71,7 @@ $(document).ready(function() { > </p> > [% END %] > <table id="late_orders"> >+ <thead> > <tr> > <th>Order date</th> > <th>Estimated delivery date</th> >@@ -75,6 +87,8 @@ $(document).ready(function() { > <th></th> > [% END %] > </tr> >+ </thead> >+ <tbody> > [% FOREACH lateorder IN lateorders %] > [% UNLESS ( loop.odd ) %]<tr class="highlight"> > [% ELSE %]<tr>[% END %] >@@ -123,9 +137,13 @@ $(document).ready(function() { > </td> > </tr> > [% END %] >+ </tbody> >+ <tfoot> > <tr> > <th>Total</th> >- <th colspan="3"> </th> >+ <th> </th> >+ <th> </th> >+ <th> </th> > <th>[% total %]</th> > <th> </th> > <th> </th> >@@ -134,8 +152,9 @@ $(document).ready(function() { > <input type="submit" value="Claim Order" /> > </td> > </tr> >+ </tfoot> > </table> >- </form> >+</form> > [% ELSE %]<p>There are no late orders.</p> > [% END %] > </div> >-- >1.7.2.5
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 8104
:
9610
| 10085