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