Bugzilla – Attachment 9614 Details for
Bug 8101
DataTables in Acquisision module: orderreceive.tt
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
orderreceive.tt
0001-Bug-5345-DataTables-integration-in-acquisition-modul.patch (text/plain), 2.33 KB, created by
Jonathan Druart
on 2012-05-16 12:34:09 UTC
(
hide
)
Description:
orderreceive.tt
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2012-05-16 12:34:09 UTC
Size:
2.33 KB
patch
obsolete
>From 6786d1c95821406f7f3a5c2bfd7c7d2fd8b3000a Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@biblibre.com> >Date: Fri, 17 Feb 2012 15:58:38 +0100 >Subject: [PATCH 1/1] Bug 5345: DataTables integration in acquisition module > [11] > >orderreceive.tt >--- > .../prog/en/modules/acqui/orderreceive.tt | 14 +++++++++++++- > 1 files changed, 13 insertions(+), 1 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/orderreceive.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/orderreceive.tt >index 97a7223..0584712 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/orderreceive.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/orderreceive.tt >@@ -1,8 +1,12 @@ > [% INCLUDE 'doc-head-open.inc' %] > <title>Koha › Acquisitions › Receipt summary for : [% name %] [% IF ( invoice ) %]invoice, [% invoice %][% END %]</title> >+<link rel="stylesheet" type="text/css" href="[% themelang %]/css/datatables.css" /> > [% INCLUDE 'doc-head-close.inc' %] > [% INCLUDE 'additem.js.inc' %] > <script type="text/javascript" src="[% themelang %]/js/additem.js"> </script> >+<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"> > //<![CDATA[ > function Check(form) { >@@ -36,9 +40,13 @@ > [% IF (AcqCreateItemReceiving) %] > cloneItemBlock(0, '[% UniqueItemFields %]'); > [% END %] >+ var orderlistt = $("#orderlistt").dataTable($.extend(true, {}, dataTablesDefaults, { >+ "sPaginationType": "four_button" >+ } ) ); > }); > //]]> > </script> >+ > </head> > <body id="acq_orderreceive" class="acq"> > [% INCLUDE 'header.inc' %] >@@ -195,7 +203,8 @@ > </fieldset></div> </form> > [% ELSE %] > <div id="acqui_acquire_orderlist"> >- <table> >+ <table id="orderlistt"> >+ <thead> > <tr> > <th>Basket</th> > <th>ISBN</th> >@@ -204,6 +213,8 @@ > <th>Qty</th> > <th>Received</th> > </tr> >+ </thead> >+ <tbody> > [% FOREACH loo IN loop %] > <tr> > <td>[% loo.basketno %]</td> >@@ -214,6 +225,7 @@ > <td>[% loo.quantityreceived %]</td> > </tr> > [% END %] >+ </tbody> > </table> > </div> > [% END %] >-- >1.7.7.3 >
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 8101
:
9607
|
9614
|
9971