Lines 46-53
Link Here
|
46 |
[% UNLESS ( grouped ) %] |
46 |
[% UNLESS ( grouped ) %] |
47 |
<script type="text/javascript"> |
47 |
<script type="text/javascript"> |
48 |
//<![CDATA[ |
48 |
//<![CDATA[ |
49 |
function confirm_reopen() { |
49 |
function confirm_reopen(skip) { |
50 |
var is_confirmed = confirm(_('Are you sure you want to reopen this basket?')); |
50 |
var is_confirmed = skip || confirm(_('Are you sure you want to reopen this basket?')); |
51 |
if (is_confirmed) { |
51 |
if (is_confirmed) { |
52 |
window.location = "[% script_name %]?op=reopen&basketno=[% basketno %]"; |
52 |
window.location = "[% script_name %]?op=reopen&basketno=[% basketno %]"; |
53 |
} |
53 |
} |
Lines 102-108
Link Here
|
102 |
<li><a href="basketheader.pl?basketno=[% basketno %]&op=add_form" class="button" id="basketheadbutton">Edit basket header information</a></li> |
102 |
<li><a href="basketheader.pl?basketno=[% basketno %]&op=add_form" class="button" id="basketheadbutton">Edit basket header information</a></li> |
103 |
<li><a href="javascript:confirm_deletion();" class="button" id="delbasketbutton">Delete this basket</a></li> |
103 |
<li><a href="javascript:confirm_deletion();" class="button" id="delbasketbutton">Delete this basket</a></li> |
104 |
[% IF ( unclosable ) %] |
104 |
[% IF ( unclosable ) %] |
105 |
<li><button onclick="confirm_close()" class="yui-button-disabled" id="closebutton" type="button" disabled="disabled" title="You can not close this basket">Can not close basket</button></li> |
|
|
106 |
[% ELSIF ( uncertainprices ) %] |
105 |
[% ELSIF ( uncertainprices ) %] |
107 |
<li><a href="/cgi-bin/koha/acqui/uncertainprice.pl?booksellerid=[% booksellerid %]&owner=1" class="button" id="uncertpricesbutton">Uncertain prices</a></li> |
106 |
<li><a href="/cgi-bin/koha/acqui/uncertainprice.pl?booksellerid=[% booksellerid %]&owner=1" class="button" id="uncertpricesbutton">Uncertain prices</a></li> |
108 |
[% ELSE %] |
107 |
[% ELSE %] |
Lines 128-134
Link Here
|
128 |
//]]> |
127 |
//]]> |
129 |
</script> |
128 |
</script> |
130 |
<ul id="toolbar-list" class="toolbar"> |
129 |
<ul id="toolbar-list" class="toolbar"> |
131 |
<li><a href="javascript:confirm_reopen();" class="button" id="reopenbutton">Reopen this basket</a></li> |
130 |
<li><a href="javascript:confirm_reopen([% skip_confirm_reopen %]);" class="button" id="reopenbutton">Reopen this basket</a></li> |
132 |
</ul> |
131 |
</ul> |
133 |
</div> |
132 |
</div> |
134 |
[% END %] |
133 |
[% END %] |
Lines 308-314
Link Here
|
308 |
<form action="/cgi-bin/koha/acqui/basket.pl" class="confirm"> |
307 |
<form action="/cgi-bin/koha/acqui/basket.pl" class="confirm"> |
309 |
<h1>Are you sure you want to close basket [% basketname %]?</h1> |
308 |
<h1>Are you sure you want to close basket [% basketname %]?</h1> |
310 |
<p> |
309 |
<p> |
311 |
<label for="createbasketgroup">create a purchase order now?</label> |
310 |
<label for="createbasketgroup">Attach this basket to a new basket group with the same name</label> |
312 |
<input type="checkbox" id="createbasketgroup" name="createbasketgroup"/> |
311 |
<input type="checkbox" id="createbasketgroup" name="createbasketgroup"/> |
313 |
</p> |
312 |
</p> |
314 |
<input type="hidden" id="basketno" value="[% basketno %]" name="basketno" /> |
313 |
<input type="hidden" id="basketno" value="[% basketno %]" name="basketno" /> |