Lines 28-34
Link Here
|
28 |
[% ELSE %] |
28 |
[% ELSE %] |
29 |
|
29 |
|
30 |
<div id="toolbar" class="btn-toolbar"> |
30 |
<div id="toolbar" class="btn-toolbar"> |
31 |
<a id="cashup" href="/cgi-bin/koha/pos/register.pl?op=cashup" class="btn btn-default"><i class="fa fa-money"></i> Record cashup</a> |
31 |
<button type="button" class="btn btn-default" data-toggle="modal" data-target="#confirmCashupModal" ><i class="fa fa-money"></i> Record cashup</button> |
32 |
</div> |
32 |
</div> |
33 |
|
33 |
|
34 |
<h1>Register transaction details for [% register.name | html %]</h1> |
34 |
<h1>Register transaction details for [% register.name | html %]</h1> |
Lines 145-150
Link Here
|
145 |
</div> |
145 |
</div> |
146 |
</div><!-- /.row --> |
146 |
</div><!-- /.row --> |
147 |
|
147 |
|
|
|
148 |
<!-- Confirm cashup modal --> |
149 |
<div class="modal" id="confirmCashupModal" tabindex="-1" role="dialog" aria-labelledby="confirmCashupLabel"> |
150 |
<div class="modal-dialog" role="document"> |
151 |
<div class="modal-content"> |
152 |
<div class="modal-header"> |
153 |
<button type="button" class="closebtn" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button> |
154 |
<h4 class="modal-title" id="confirmCashupLabel">Confirm cashup of <em>[% register.description | html %]</em></h4> |
155 |
</div> |
156 |
<div class="modal-body"> |
157 |
Please confirm that you have removed [% accountlines.total( payment_type => 'CASH') * -1 | $Price %] from the cash register and left a float of [% register.starting_float | $Price %]. |
158 |
</div> <!-- /.modal-body --> |
159 |
<div class="modal-footer"> |
160 |
<a href="/cgi-bin/koha/pos/register.pl?op=cashup" class="btn btn-default">Confirm</a> |
161 |
<button type="button" class="btn btn-default" data-dismiss="modal">Cancel</button> |
162 |
</div> <!-- /.modal-footer --> |
163 |
</div> <!-- /.modal-content --> |
164 |
</div> <!-- /.modal-dialog --> |
165 |
</div> <!-- /#confirmCashupModal --> |
166 |
|
148 |
[% MACRO jsinclude BLOCK %] |
167 |
[% MACRO jsinclude BLOCK %] |
149 |
[% INCLUDE 'datatables.inc' %] |
168 |
[% INCLUDE 'datatables.inc' %] |
150 |
[% Asset.js("lib/jquery/plugins/rowGroup/dataTables.rowGroup.min.js") | $raw %] |
169 |
[% Asset.js("lib/jquery/plugins/rowGroup/dataTables.rowGroup.min.js") | $raw %] |
151 |
- |
|
|