View | Details | Raw Unified | Return to bug 5345
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/uncertainprice.tt (-2 / +21 lines)
Lines 1-6 Link Here
1
[% INCLUDE 'doc-head-open.inc' %]
1
[% INCLUDE 'doc-head-open.inc' %]
2
<title>Koha &rsaquo; Orders with uncertain prices for Vendor [% booksellername %]</title>
2
<title>Koha &rsaquo; Orders with uncertain prices for Vendor [% booksellername %]</title>
3
<link rel="stylesheet" type="text/css" href="[% themelang %]/css/datatables.css" />
3
[% INCLUDE 'doc-head-close.inc' %]
4
[% INCLUDE 'doc-head-close.inc' %]
5
<script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.dataTables.min.js"></script>
6
[% INCLUDE 'datatables-strings.inc' %]
7
<script type="text/javascript" src="[% themelang %]/js/datatables.js"></script>
8
<script type="text/javascript">
9
//<![CDATA[
10
 $(document).ready(function() {
11
    var uncertainpricet = $("#uncertainpricet").dataTable($.extend(true, {}, dataTablesDefaults, {
12
        "aoColumnDefs": [
13
            { "aTargets": [ -1, -2, -3 ], "bSortable": false, "bSearchable": false },
14
        ],
15
        "sPaginationType": "four_button"
16
    } ) );
17
 });
18
 //]]>
19
</script>
4
<script type="text/javascript" src="[% themelang %]/js/acq.js"></script>
20
<script type="text/javascript" src="[% themelang %]/js/acq.js"></script>
5
<script type="text/javascript">
21
<script type="text/javascript">
6
//<![CDATA[
22
//<![CDATA[
Lines 68-74 function check(form) { Link Here
68
        <form action="[% scriptname %]" method="post" name="uncertainprices">
84
        <form action="[% scriptname %]" method="post" name="uncertainprices">
69
        <input type="hidden" name="booksellerid" value="[% booksellerid %]" />
85
        <input type="hidden" name="booksellerid" value="[% booksellerid %]" />
70
        <input type="hidden" name="op" value="validate" />
86
        <input type="hidden" name="op" value="validate" />
71
        <table>
87
        <table id="uncertainpricet">
88
        <thead>
72
	    <tr>
89
	    <tr>
73
            <th>basket</th>
90
            <th>basket</th>
74
	        <th>order</th>
91
	        <th>order</th>
Lines 77-82 function check(form) { Link Here
77
	        <th>price</th>
94
	        <th>price</th>
78
	        <th>quantity</th>
95
	        <th>quantity</th>
79
	    </tr>
96
	    </tr>
97
        </thead>
98
        <tbody>
80
	    [% FOREACH uncertainpriceorder IN uncertainpriceorders %]
99
	    [% FOREACH uncertainpriceorder IN uncertainpriceorders %]
81
	    <tr>
100
	    <tr>
82
        <td>
101
        <td>
Lines 105-110 function check(form) { Link Here
105
	    </td>
124
	    </td>
106
	    </tr>
125
	    </tr>
107
	    [% END %]
126
	    [% END %]
127
    </tbody>
108
	</table>
128
	</table>
109
	<fieldset class="action"><input type="button" value="Save" onclick="check(this.form)" /></fieldset>
129
	<fieldset class="action"><input type="button" value="Save" onclick="check(this.form)" /></fieldset>
110
	</form>
130
	</form>
111
- 

Return to bug 5345