Lines 99-109
Link Here
|
99 |
|
99 |
|
100 |
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/acqui/acqui-home.pl">Acquisitions</a> › [% IF ( enter ) %][% IF ( booksellerid ) %] <a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% booksellerid %]">[% name |html %]</a> › Update: [% name |html %][% ELSE %]Add vendor[% END %] [% ELSE %][% name |html %][% END %]</div> |
100 |
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/acqui/acqui-home.pl">Acquisitions</a> › [% IF ( enter ) %][% IF ( booksellerid ) %] <a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% booksellerid %]">[% name |html %]</a> › Update: [% name |html %][% ELSE %]Add vendor[% END %] [% ELSE %][% name |html %][% END %]</div> |
101 |
|
101 |
|
102 |
<div id="doc3" class="yui-t2"> |
102 |
<div class="main container-fluid"> |
|
|
103 |
<div class="row"> |
104 |
<div class="col-sm-10 col-sm-push-2"> |
105 |
<main> |
103 |
|
106 |
|
104 |
<div id="bd"> |
|
|
105 |
<div id="yui-main"> |
106 |
<div class="yui-b"> |
107 |
[% IF ( enter ) %] |
107 |
[% IF ( enter ) %] |
108 |
[% IF ( booksellerid ) %] |
108 |
[% IF ( booksellerid ) %] |
109 |
<h1>Update: [% name |html %]</h1> |
109 |
<h1>Update: [% name |html %]</h1> |
Lines 114-120
Link Here
|
114 |
[% UNLESS ( enter ) %][% INCLUDE 'acquisitions-toolbar.inc' %][% END %] |
114 |
[% UNLESS ( enter ) %][% INCLUDE 'acquisitions-toolbar.inc' %][% END %] |
115 |
[% IF ( enter ) %] |
115 |
[% IF ( enter ) %] |
116 |
<form action="updatesupplier.pl" name="updatesupplier" class="validated" method="post"> |
116 |
<form action="updatesupplier.pl" name="updatesupplier" class="validated" method="post"> |
117 |
<div class="yui-g"> |
|
|
118 |
<input type="hidden" name="booksellerid" value="[% booksellerid %]" /> |
117 |
<input type="hidden" name="booksellerid" value="[% booksellerid %]" /> |
119 |
<fieldset class="rows"> |
118 |
<fieldset class="rows"> |
120 |
<legend>Company details</legend> |
119 |
<legend>Company details</legend> |
Lines 147-154
Link Here
|
147 |
[% END %] |
146 |
[% END %] |
148 |
<button id="add-contact" class="btn btn-default"><i class="fa fa-plus"></i> Add another contact</button> |
147 |
<button id="add-contact" class="btn btn-default"><i class="fa fa-plus"></i> Add another contact</button> |
149 |
</fieldset> |
148 |
</fieldset> |
150 |
</div> |
149 |
|
151 |
<div class="yui-g"> |
|
|
152 |
<fieldset class="rows"> |
150 |
<fieldset class="rows"> |
153 |
<legend>Ordering information</legend> |
151 |
<legend>Ordering information</legend> |
154 |
<ol class="radio"><li><label for="activestatus" class="radio">Vendor is:</label> |
152 |
<ol class="radio"><li><label for="activestatus" class="radio">Vendor is:</label> |
Lines 243-254
Link Here
|
243 |
<fieldset class="action"><input type="submit" value="Save" /> [% IF ( booksellerid ) %] |
241 |
<fieldset class="action"><input type="submit" value="Save" /> [% IF ( booksellerid ) %] |
244 |
<a class="cancel" href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% booksellerid %]">[% ELSE %]<a class="cancel" href="/cgi-bin/koha/acqui/acqui-home.pl"> |
242 |
<a class="cancel" href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% booksellerid %]">[% ELSE %]<a class="cancel" href="/cgi-bin/koha/acqui/acqui-home.pl"> |
245 |
[% END %]Cancel</a></fieldset> |
243 |
[% END %]Cancel</a></fieldset> |
246 |
</div> |
|
|
247 |
</form> |
244 |
</form> |
248 |
[% ELSE %] |
245 |
[% ELSE %] |
249 |
<h1>[% name |html %]</h1> |
246 |
<h1>[% name |html %]</h1> |
250 |
<div class="yui-g"> |
247 |
<div class="row"> |
251 |
<div id="supplier-company-details" class="yui-u first"> |
248 |
<div id="supplier-company-details" class="col-sm-6"> |
252 |
<h2>Vendor details</h2> |
249 |
<h2>Vendor details</h2> |
253 |
<p><span class="label">Company name: </span>[% name |html %]</p> |
250 |
<p><span class="label">Company name: </span>[% name |html %]</p> |
254 |
<p><span class="label">Postal address: </span>[% postal |html %]</p> |
251 |
<p><span class="label">Postal address: </span>[% postal |html %]</p> |
Lines 291-297
Link Here
|
291 |
</div> |
288 |
</div> |
292 |
</div> |
289 |
</div> |
293 |
|
290 |
|
294 |
<div class="supplier-contact-details yui-u"> |
291 |
<div class="supplier-contact-details col-sm-6"> |
295 |
<h2>Contact</h2> |
292 |
<h2>Contact</h2> |
296 |
[% FOREACH contact IN contacts %] |
293 |
[% FOREACH contact IN contacts %] |
297 |
[% INCLUDE show_contact %] |
294 |
[% INCLUDE show_contact %] |
Lines 310-316
Link Here
|
310 |
</div> |
307 |
</div> |
311 |
|
308 |
|
312 |
[% IF ( contracts ) %] |
309 |
[% IF ( contracts ) %] |
313 |
<div id="supplier-contracts" class="yui-g"> |
310 |
<div id="supplier-contracts"> |
314 |
<h2>Contract(s)</h2> |
311 |
<h2>Contract(s)</h2> |
315 |
<table id="contractst"> |
312 |
<table id="contractst"> |
316 |
<thead> |
313 |
<thead> |
Lines 344-360
Link Here
|
344 |
|
341 |
|
345 |
[% END %] |
342 |
[% END %] |
346 |
|
343 |
|
347 |
</div> |
344 |
</main> |
348 |
</div> |
345 |
</div> <!-- /.col-sm-10.col-sm-push-2 --> |
349 |
<div class="yui-b"> |
346 |
|
350 |
[% INCLUDE 'vendor-menu.inc' %] |
347 |
<div class="col-sm-2 col-sm-pull-10"> |
351 |
</div> |
348 |
<aside> |
352 |
</div> |
349 |
[% INCLUDE 'vendor-menu.inc' %] |
|
|
350 |
</aside> |
351 |
</div> <!-- /.col-sm-2.col-sm-pull-10 --> |
352 |
</div> <!-- /.row --> |
353 |
|
353 |
|
354 |
[% MACRO jsinclude BLOCK %] |
354 |
[% MACRO jsinclude BLOCK %] |
355 |
[% Asset.js("js/acquisitions-menu.js") %] |
355 |
[% Asset.js("js/acquisitions-menu.js") %] |
356 |
[% INCLUDE 'datatables.inc' %] |
356 |
[% INCLUDE 'datatables.inc' %] |
357 |
<script type="text/javascript"> |
357 |
<script> |
358 |
function confirm_deletion() { |
358 |
function confirm_deletion() { |
359 |
if (confirm(_("Confirm deletion of this vendor ?"))) { |
359 |
if (confirm(_("Confirm deletion of this vendor ?"))) { |
360 |
window.location="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% booksellerid %]&op=delete"; |
360 |
window.location="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% booksellerid %]&op=delete"; |