Lines 139-185
Link Here
|
139 |
<div id="toolbar" class="btn-toolbar"> |
139 |
<div id="toolbar" class="btn-toolbar"> |
140 |
<div class="btn-group"><a href="basketheader.pl?booksellerid=[% booksellerid %]&basketno=[% basketno %]&op=add_form" class="btn btn-small" id="basketheadbutton"><i class="icon-pencil"></i> Edit basket</a></div> |
140 |
<div class="btn-group"><a href="basketheader.pl?booksellerid=[% booksellerid %]&basketno=[% basketno %]&op=add_form" class="btn btn-small" id="basketheadbutton"><i class="icon-pencil"></i> Edit basket</a></div> |
141 |
<div class="btn-group"><a href="#" class="btn btn-small" id="delbasketbutton"><i class="icon-remove"></i> Delete this basket</a></div> |
141 |
<div class="btn-group"><a href="#" class="btn btn-small" id="delbasketbutton"><i class="icon-remove"></i> Delete this basket</a></div> |
142 |
<div id="toolbar"> |
142 |
[% IF ediaccount %] |
143 |
<script type="text/javascript"> |
|
|
144 |
//<![CDATA[ |
145 |
// prepare DOM for YUI Toolbar |
146 |
$(document).ready(function() { |
147 |
yuiToolbar(); |
148 |
}); |
149 |
// YUI Toolbar Functions |
150 |
function yuiToolbar() { |
151 |
[% IF ( unclosable ) %] |
152 |
new YAHOO.widget.Button("closebutton", {disabled:true}); |
153 |
[% ELSIF ( uncertainprices ) %] |
154 |
new YAHOO.widget.Button("uncertpricesbutton"); |
155 |
[% ELSE %] |
156 |
new YAHOO.widget.Button("closebutton"); |
157 |
[% END %] |
158 |
new YAHOO.widget.Button("basketheadbutton"); |
159 |
new YAHOO.widget.Button("exportbutton"); |
160 |
new YAHOO.widget.Button("delbasketbutton"); |
161 |
new YAHOO.widget.Button("ediorderbutton"); |
162 |
} |
163 |
//]]> |
164 |
</script> |
165 |
|
166 |
<ul id="toolbar-list" class="toolbar"> |
167 |
<li><a href="basketheader.pl?booksellerid=[% booksellerid %]&basketno=[% basketno %]&op=add_form" class="button" id="basketheadbutton">Edit basket</a></li> |
168 |
<li><a href="javascript:confirm_deletion();" class="button" id="delbasketbutton">Delete this basket</a></li> |
169 |
[% IF ( unclosable ) %] |
170 |
[% ELSIF ( uncertainprices ) %] |
171 |
<div class="btn-group"><a href="/cgi-bin/koha/acqui/uncertainprice.pl?booksellerid=[% booksellerid %]&owner=1" class="btn btn-small" id="uncertpricesbutton">Uncertain prices</a></div> |
172 |
[% ELSE %] |
173 |
<div class="btn-group"> |
143 |
<div class="btn-group"> |
174 |
<a href="[% script_name %]?op=close&basketno=[% basketno %]&booksellerid=[% booksellerid %]" class="btn btn-small" id="closebutton"><i class="icon-remove-sign"></i> Close this basket</a> |
144 |
<a class="btn btn-small" href="[% script_name %]?op=ediorder&basketno=[% basketno %]&booksellerid=[% booksellerid %]" class="button" id="ediorderbutton"> |
|
|
145 |
<i class="icon-retweet"></i> EDIfact order |
146 |
</a> |
175 |
</div> |
147 |
</div> |
176 |
[% END %] |
148 |
[% END %] |
177 |
<div class="btn-group"><a href="[% script_name %]?op=export&basketno=[% basketno %]&booksellerid=[% booksellerid %]" class="btn btn-small" id="exportbutton"><i class="icon-download"></i> Export this basket as CSV</a></div> |
|
|
178 |
<li><a href="[% script_name %]?op=export&basketno=[% basketno %]&booksellerid=[% booksellerid %]" class="button" id="exportbutton">Export this basket as CSV</a></li> |
179 |
[% IF ediaccount %] |
180 |
<li><a href="[% script_name %]?op=ediorder&basketno=[% basketno %]&booksellerid=[% booksellerid %]" class="button" id="ediorderbutton">EDIfact order</a></li> |
181 |
[% END %] |
182 |
</ul> |
183 |
|
149 |
|
184 |
</div> |
150 |
</div> |
185 |
[% ELSE %] |
151 |
[% ELSE %] |
Lines 483-489
Link Here
|
483 |
[% END %] |
449 |
[% END %] |
484 |
<br /> |
450 |
<br /> |
485 |
[% UNLESS ( closedate ) %] |
451 |
[% UNLESS ( closedate ) %] |
486 |
[% INCLUDE 'acquisitions-add-to-basket.inc' %] |
452 |
[% INCLUDE 'acquisitions-add-to-basket.inc' %] |
487 |
[% END %] |
453 |
[% END %] |
488 |
[% END %] |
454 |
[% END %] |
489 |
[% END %] |
455 |
[% END %] |
490 |
- |
|
|