Lines 142-150
function Check(ff) {
Link Here
|
142 |
</form> |
142 |
</form> |
143 |
[% END %] |
143 |
[% END %] |
144 |
[% IF ( delete_confirm ) %] |
144 |
[% IF ( delete_confirm ) %] |
145 |
<form action="[% script_name %]" method="post"> |
145 |
<div class="dialog alert"> |
146 |
<fieldset> |
146 |
<h3>Confirm deletion of contract <i>[% contractname %]</i></h3> |
147 |
<legend>Confirm deletion of contract [% contractnumber %]</legend> |
|
|
148 |
<table> |
147 |
<table> |
149 |
<tr><th scope="row">Contract number:</th><td>[% contractnumber %]</td></tr> |
148 |
<tr><th scope="row">Contract number:</th><td>[% contractnumber %]</td></tr> |
150 |
<tr><th scope="row">Contract name:</th><td>[% contractname %]</td></tr> |
149 |
<tr><th scope="row">Contract name:</th><td>[% contractname %]</td></tr> |
Lines 153-167
function Check(ff) {
Link Here
|
153 |
<tr><th scope="row">Contract end date:</th><td>[% contractenddate | $KohaDates %]</td></tr> |
152 |
<tr><th scope="row">Contract end date:</th><td>[% contractenddate | $KohaDates %]</td></tr> |
154 |
<tr><th scope="row">Vendor:</th><td>[% booksellername %]</td></tr> |
153 |
<tr><th scope="row">Vendor:</th><td>[% booksellername %]</td></tr> |
155 |
</table> |
154 |
</table> |
156 |
<fieldset class="action"> |
155 |
<form action="[% script_name %]" method="post"> |
157 |
<input type="hidden" name="op" value="delete_confirmed" /> |
156 |
<input type="hidden" name="op" value="delete_confirmed" /> |
158 |
<input type="hidden" name="booksellerid" value="[% booksellerid %]" /> |
157 |
<input type="hidden" name="booksellerid" value="[% booksellerid %]" /> |
159 |
<input type="hidden" name="contractnumber" value="[% contractnumber %]" /> |
158 |
<input type="hidden" name="contractnumber" value="[% contractnumber %]" /> |
160 |
<input type="submit" value="Delete this contract" /> |
159 |
<button type="submit" class="approve"><i class="fa fa-fw fa-check"></i> Yes, delete contract</button> |
161 |
<a class="cancel" href="/cgi-bin/koha/admin/aqcontract.pl?booksellerid=[% booksellerid %]&contractnumber=[% contractnumber %]">Cancel</a> |
160 |
</form> |
162 |
</fieldset> |
161 |
<form action="/cgi-bin/koha/admin/aqcontract.pl" method="get"> |
163 |
</fieldset> |
162 |
<input type="hidden" name="booksellerid" value="[% booksellerid %]" /> |
164 |
</form> |
163 |
<input type="hidden" name="contractnumber" value="[% contractnumber %]" /> |
|
|
164 |
<button type="submit" class="deny"><i class="fa fa-fw fa-remove"></i> No, do not delete</button> |
165 |
</form> |
166 |
</div> |
165 |
[% END %] |
167 |
[% END %] |
166 |
[% IF ( delete_confirmed ) %] |
168 |
[% IF ( delete_confirmed ) %] |
167 |
<h3>Contract deleted</h3> |
169 |
<h3>Contract deleted</h3> |
168 |
- |
|
|