Lines 51-58
Link Here
|
51 |
[% ELSE %] |
51 |
[% ELSE %] |
52 |
|
52 |
|
53 |
[% IF payment_id && !Koha.Preference('FinePaymentAutoPopup') %] |
53 |
[% IF payment_id && !Koha.Preference('FinePaymentAutoPopup') %] |
54 |
<div class="dialog alert audio-alert-action"> |
54 |
<div class="dialog message audio-alert-action"> |
55 |
Payment received: <a target="_blank" href="/cgi-bin/koha/pos/printreceipt.pl?action=print&accountlines_id=[% payment_id | uri %]&collected=[% collected | uri %]&change=[% change | uri %]" class="btn btn-default btn-xs"><i class="fa fa-print"></i> Print receipt</a> <a type="button" data-toggle="modal" data-target="#emailReceiptModal" class="btn btn-default btn-xs"><i class="fa-solid fa-envelope"></i> Email receipt</a> |
55 |
<p>Payment received</p> |
|
|
56 |
<p> |
57 |
<a target="_blank" href="/cgi-bin/koha/pos/printreceipt.pl?action=print&accountlines_id=[% payment_id | uri %]&collected=[% collected | uri %]&change=[% change | uri %]" class="btn btn-default"><i class="fa fa-print"></i> Print receipt</a> |
58 |
<a href="#" data-toggle="modal" data-target="#emailReceiptModal" class="btn btn-default"><i class="fa-solid fa-envelope"></i> Email receipt</a> |
59 |
|
60 |
</p> |
56 |
</div> |
61 |
</div> |
57 |
[% END %] |
62 |
[% END %] |
58 |
|
63 |
|
Lines 143-149
Link Here
|
143 |
<li> |
148 |
<li> |
144 |
<label for="registerid" class="required">Cash register: </label> |
149 |
<label for="registerid" class="required">Cash register: </label> |
145 |
<select name="registerid" id="registerid" class="required" required="required"> |
150 |
<select name="registerid" id="registerid" class="required" required="required"> |
146 |
<option id="noregister" disabled selected="selected" value="">-- Select an option--</option> |
151 |
<option id="noregister" disabled="disabled" value="">-- Select an option--</option> |
147 |
[% PROCESS options_for_registers %] |
152 |
[% PROCESS options_for_registers %] |
148 |
</select> |
153 |
</select> |
149 |
<span class="required">Required</span> |
154 |
<span class="required">Required</span> |
Lines 152-161
Link Here
|
152 |
|
157 |
|
153 |
</fieldset> |
158 |
</fieldset> |
154 |
|
159 |
|
155 |
<div class="action"> |
160 |
<fieldset class="action"> |
156 |
<input type="submit" id="submitbutton" name="submitbutton" class="btn btn-primary" value="Confirm" /> |
161 |
<input type="submit" id="submitbutton" name="submitbutton" class="btn btn-primary" value="Confirm" /> |
157 |
<a class="cancel" href="/cgi-bin/koha/pos/pay.pl">Cancel</a> |
162 |
<a class="cancel" href="/cgi-bin/koha/pos/pay.pl">Cancel</a> |
158 |
</div> |
163 |
</fieldset> |
159 |
</div> |
164 |
</div> |
160 |
</div> |
165 |
</div> |
161 |
</form> |
166 |
</form> |
Lines 180-188
Link Here
|
180 |
<!-- Email receipt modal --> |
185 |
<!-- Email receipt modal --> |
181 |
<div class="modal" id="emailReceiptModal" tabindex="-1" role="dialog" aria-labelledby="emailReceiptLabel"> |
186 |
<div class="modal" id="emailReceiptModal" tabindex="-1" role="dialog" aria-labelledby="emailReceiptLabel"> |
182 |
<form id="email_form" action="/cgi-bin/koha/pos/pay.pl" method="get" enctype="multipart/form-data" class="validated"> |
187 |
<form id="email_form" action="/cgi-bin/koha/pos/pay.pl" method="get" enctype="multipart/form-data" class="validated"> |
183 |
<input type="hidden" name="payment_id" id="payment_id" value="[% payment_id | uri %]"> |
188 |
<input type="hidden" name="payment_id" value="[% payment_id | uri %]"> |
184 |
<input type="hidden" name="collected" id="collected" value="[% collected | uri %]"> |
189 |
<input type="hidden" name="collected" value="[% collected | uri %]"> |
185 |
<input type="hidden" name="change" id="change" value="[% change | uri %]">" |
190 |
<input type="hidden" name="change" value="[% change | uri %]">" |
186 |
<div class="modal-dialog" role="document"> |
191 |
<div class="modal-dialog" role="document"> |
187 |
<div class="modal-content"> |
192 |
<div class="modal-content"> |
188 |
<div class="modal-header"> |
193 |
<div class="modal-header"> |
Lines 208-214
Link Here
|
208 |
</div> <!-- /.modal-content --> |
213 |
</div> <!-- /.modal-content --> |
209 |
</div> <!-- /.modal-dialog --> |
214 |
</div> <!-- /.modal-dialog --> |
210 |
</form> <!-- /#email_form --> |
215 |
</form> <!-- /#email_form --> |
211 |
</div> <!-- /#emailReceiptModal |
216 |
</div> <!-- /#emailReceiptModal --> |
212 |
|
217 |
|
213 |
<!-- Change modal --> |
218 |
<!-- Change modal --> |
214 |
<div id="confirm_change_form" class="modal" tabindex="-1" role="dialog" aria-hidden="true"> |
219 |
<div id="confirm_change_form" class="modal" tabindex="-1" role="dialog" aria-hidden="true"> |
Lines 224-230
Link Here
|
224 |
</div> |
229 |
</div> |
225 |
<div class="modal-footer"> |
230 |
<div class="modal-footer"> |
226 |
<button class="btn btn-default approve" id="modal_submit" type="button"><i class="fa fa-check"></i> Yes</button> |
231 |
<button class="btn btn-default approve" id="modal_submit" type="button"><i class="fa fa-check"></i> Yes</button> |
227 |
<button class="btn btn-default deny cancel" href="#" data-dismiss="modal" aria-hidden="true" type="button"><i class="fa fa-times"></i> No</button> |
232 |
<button class="btn btn-default deny cancel" data-dismiss="modal" aria-hidden="true" type="button"><i class="fa fa-times"></i> No</button> |
228 |
</div> |
233 |
</div> |
229 |
</div> |
234 |
</div> |
230 |
</div> |
235 |
</div> |
231 |
- |
|
|