Lines 27-32
Link Here
|
27 |
<form name="payForm" id="payForm" method="post" action="/cgi-bin/koha/pos/pay.pl"> |
27 |
<form name="payForm" id="payForm" method="post" action="/cgi-bin/koha/pos/pay.pl"> |
28 |
<div class="row"> |
28 |
<div class="row"> |
29 |
|
29 |
|
|
|
30 |
<div class="col-sm-6"> |
31 |
<fieldset class="rows"> |
32 |
<legend>Items for purchase</legend> |
33 |
Please select items from below to add to this transaction: |
34 |
[% SET invoice_types = AuthorisedValues.GetAuthValueDropbox('MANUAL_INV') %] |
35 |
[% IF invoice_types %] |
36 |
<table id="invoices"> |
37 |
<thead> |
38 |
<tr> |
39 |
<th>Code</th> |
40 |
<th>Description</th> |
41 |
<th>Cost</th> |
42 |
<th>Action</th> |
43 |
</tr> |
44 |
</thead> |
45 |
<tbody> |
46 |
[% FOREACH invoice IN invoice_types %] |
47 |
<tr> |
48 |
<td>[% invoice.authorised_value | html %]</td> |
49 |
<td>[% invoice.lib_opac | html %]</td> |
50 |
<td>[% invoice.lib | html %]</td> |
51 |
<td> |
52 |
<button class="add_button" data-invoice-code="[% invoice.lib_opac %]" data-invoice-title="[% invoice.authorised_value | html %]" data-invoice-price="[% invoice.lib | html %]"><i class="fa fa-plus"></i> Add</button> |
53 |
</td> |
54 |
</tr> |
55 |
[% END %] |
56 |
</table> |
57 |
[% ELSE %] |
58 |
You have no manual invoice types defined |
59 |
[% END %] |
60 |
</fieldset> |
61 |
</div> |
62 |
|
30 |
<div class="col-sm-6"> |
63 |
<div class="col-sm-6"> |
31 |
|
64 |
|
32 |
<fieldset class="rows"> |
65 |
<fieldset class="rows"> |
Lines 102-139
Link Here
|
102 |
</fieldset> |
135 |
</fieldset> |
103 |
</div> |
136 |
</div> |
104 |
|
137 |
|
105 |
<div class="col-sm-6"> |
|
|
106 |
<fieldset class="rows"> |
107 |
<legend>Items for purchase</legend> |
108 |
[% SET invoice_types = AuthorisedValues.GetAuthValueDropbox('MANUAL_INV') %] |
109 |
[% IF invoice_types %] |
110 |
<table id="invoices"> |
111 |
<thead> |
112 |
<tr> |
113 |
<th>Code</th> |
114 |
<th>Description</th> |
115 |
<th>Cost</th> |
116 |
<th>Action</th> |
117 |
</tr> |
118 |
</thead> |
119 |
<tbody> |
120 |
[% FOREACH invoice IN invoice_types %] |
121 |
<tr> |
122 |
<td>[% invoice.authorised_value | html %]</td> |
123 |
<td>[% invoice.lib_opac | html %]</td> |
124 |
<td>[% invoice.lib | html %]</td> |
125 |
<td> |
126 |
<button class="add_button" data-invoice-code="[% invoice.lib_opac %]" data-invoice-title="[% invoice.authorised_value | html %]" data-invoice-price="[% invoice.lib | html %]"><i class="fa fa-plus"></i> Add</button> |
127 |
</td> |
128 |
</tr> |
129 |
[% END %] |
130 |
</table> |
131 |
[% ELSE %] |
132 |
You have no manual invoice types defined |
133 |
[% END %] |
134 |
</fieldset> |
135 |
</div> |
136 |
|
137 |
<div class="action"> |
138 |
<div class="action"> |
138 |
<input type="submit" name="submitbutton" value="Confirm" /> |
139 |
<input type="submit" name="submitbutton" value="Confirm" /> |
139 |
<a class="cancel" href="/cgi-bin/koha/pos/pay.pl">Cancel</a> |
140 |
<a class="cancel" href="/cgi-bin/koha/pos/pay.pl">Cancel</a> |
Lines 272-278
Link Here
|
272 |
return '£'+price; |
273 |
return '£'+price; |
273 |
} |
274 |
} |
274 |
}, { |
275 |
}, { |
275 |
"aTargets": [-2, -3], |
276 |
"aTargets": [-3, -4], |
276 |
"sClass" : "editable", |
277 |
"sClass" : "editable", |
277 |
}], |
278 |
}], |
278 |
"aaSorting": [ |
279 |
"aaSorting": [ |
279 |
- |
|
|