Bug 15116: Show menu at the top of batch circ page
This patch adds the user interaction menu to the top of the batch checkout page. Signed-off-by: Frederic Demians <f.demians@tamil.fr> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
parent
636050f9be
commit
528e9963ee
|
|
@ -21,6 +21,11 @@
|
|||
<script type="text/javascript">
|
||||
//<![CDATA[
|
||||
$(document).ready(function() {
|
||||
if($('#barcodelist').length) {
|
||||
$('#barcodelist').focus();
|
||||
} else if ($('#checkoutrenew').length) {
|
||||
$('#checkoutrenew').focus();
|
||||
}
|
||||
$("#issuest").dataTable($.extend(true, {}, dataTablesDefaults, {
|
||||
"sDom": 't',
|
||||
"aaSorting": [],
|
||||
|
|
@ -52,6 +57,10 @@ $(document).ready(function() {
|
|||
|
||||
<div class="yui-g">
|
||||
|
||||
[% IF ( borrowernumber ) %]
|
||||
[% INCLUDE 'members-toolbar.inc' %]
|
||||
[% END %]
|
||||
|
||||
[% IF NOT batch_allowed %]
|
||||
<div class="dialog message">You are not allowed to use batch checkout for this patron</div>
|
||||
[% ELSIF NOT checkout_infos %]
|
||||
|
|
@ -256,7 +265,7 @@ $(document).ready(function() {
|
|||
<input type="hidden" name="debt_confirmed" value="1" />
|
||||
<input type="hidden" name="branch" value="[% branch %]" />
|
||||
<input type="hidden" name="batch" value="1" />
|
||||
<input type="submit" class="approve" value="Checkout or renew" />
|
||||
<input type="submit" id="checkoutrenew" class="approve" value="Checkout or renew" />
|
||||
</form>
|
||||
[% END %]
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue