Lines 111-117
Link Here
|
111 |
|
111 |
|
112 |
[% IF Koha.Preference('EDIFACT') && ediaccount %] |
112 |
[% IF Koha.Preference('EDIFACT') && ediaccount %] |
113 |
<div class="btn-group"> |
113 |
<div class="btn-group"> |
114 |
[% IF eans.size == 1 %] |
114 |
[% UNLESS eans.size %] |
|
|
115 |
<a title="You must define an EAN in Administration -> Library EANs" class="btn btn-default btn-xs" diasbled="disabled" href="#"><i class="fa fa-download"></i> Create EDIFACT order</a> |
116 |
[% ELSIF eans.size == 1 %] |
115 |
<a class="btn btn-default btn-xs submit-form-link" href="#" data-ean="[% eans.0 | html %]" data-basketno="[% basketno | html %]" data-action="basket.pl" data-method="post" data-op="cud-ediorder"><i class="fa fa-download"></i> Create EDIFACT order</a> |
117 |
<a class="btn btn-default btn-xs submit-form-link" href="#" data-ean="[% eans.0 | html %]" data-basketno="[% basketno | html %]" data-action="basket.pl" data-method="post" data-op="cud-ediorder"><i class="fa fa-download"></i> Create EDIFACT order</a> |
116 |
[% ELSE %] |
118 |
[% ELSE %] |
117 |
<button class="btn btn-default dropdown-toggle" data-bs-toggle="dropdown" aria-expanded="false" id="ediorderbutton"><i class="fa fa-download"></i> Create EDIFACT order</button> |
119 |
<button class="btn btn-default dropdown-toggle" data-bs-toggle="dropdown" aria-expanded="false" id="ediorderbutton"><i class="fa fa-download"></i> Create EDIFACT order</button> |
118 |
- |
|
|