Lines 322-380
Link Here
|
322 |
[% ELSE %] |
322 |
[% ELSE %] |
323 |
<h1>[% name | html %]</h1> |
323 |
<h1>[% name | html %]</h1> |
324 |
<div class="row"> |
324 |
<div class="row"> |
325 |
<div id="supplier-company-details" class="col-sm-6"> |
325 |
<div class="col-sm-6"> |
326 |
<h2>Vendor details</h2> |
326 |
<div id="supplier-company-details" class="page-section"> |
327 |
<p><span class="label">Type: </span>[% type | html %]</p> |
327 |
<h2>Vendor details</h2> |
328 |
<p><span class="label">Company name: </span>[% name | html %]</p> |
328 |
<p><span class="label">Type: </span>[% type | html %]</p> |
329 |
<p><span class="label">Postal address: </span>[% postal | html %]</p> |
329 |
<p><span class="label">Company name: </span>[% name | html %]</p> |
330 |
<p><span class="label">Physical address: </span>[% address1 | html %][% address2 | html %][% address3 | html %][% address4 | html %]</p> |
330 |
<p><span class="label">Postal address: </span>[% postal | html %]</p> |
331 |
<p><span class="label">Phone: </span>[% phone | html %]</p> |
331 |
<p><span class="label">Physical address: </span>[% address1 | html %][% address2 | html %][% address3 | html %][% address4 | html %]</p> |
332 |
<p><span class="label">Fax: </span>[% fax | html %]</p> |
332 |
<p><span class="label">Phone: </span>[% phone | html %]</p> |
333 |
[% IF ( url ) %] |
333 |
<p><span class="label">Fax: </span>[% fax | html %]</p> |
334 |
<p><span class="label">Website: </span><a href="[% url | url %]">[% url | html %]</a></p> |
334 |
[% IF ( url ) %] |
335 |
[% END %] |
335 |
<p><span class="label">Website: </span><a href="[% url | url %]">[% url | html %]</a></p> |
336 |
[% IF ( accountnumber ) %] |
336 |
[% END %] |
337 |
<p><span class="label">Account number: </span>[% accountnumber | html %]</p> |
337 |
[% IF ( accountnumber ) %] |
338 |
[% END %] |
338 |
<p><span class="label">Account number: </span>[% accountnumber | html %]</p> |
|
|
339 |
[% END %] |
340 |
</div> <!-- /#supplier-company-details --> |
339 |
|
341 |
|
340 |
<div id="supplier-ordering-information"> |
342 |
<div id="supplier-ordering-information" class="page-section"> |
341 |
<h2>Ordering information</h2> |
343 |
<h2>Ordering information</h2> |
342 |
<p><strong>Vendor is: </strong> |
344 |
<p><strong>Vendor is: </strong>[% IF ( active ) %]Active[% ELSE %]Inactive[% END %]</p> |
343 |
[% IF ( active ) %] |
345 |
<p><strong>List prices are: </strong>[% listprice | html %]</p> |
344 |
Active |
346 |
<p><strong>Invoice prices are: </strong>[% invoiceprice | html %]</p> |
345 |
[% ELSE %] |
347 |
[% IF ( tax_rate ) %] |
346 |
Inactive |
348 |
<p><strong>Tax number registered: </strong>[% IF ( gstreg ) %]Yes[% ELSE %]No[% END %]</p> |
347 |
[% END %]</p> |
349 |
<p><strong>List item price includes tax: </strong>[% IF ( listincgst ) %]Yes[% ELSE %]No[% END %]</p> |
348 |
<p><strong>List prices are: </strong>[% listprice | html %]</p> |
350 |
<p><strong>Invoice item price includes tax: </strong>[% IF ( invoiceincgst ) %]Yes[% ELSE %]No[% END %]</p> |
349 |
<p><strong>Invoice prices are: </strong>[% invoiceprice | html %]</p> |
351 |
[% END %] |
350 |
[% IF ( tax_rate ) %]<p><strong>Tax number registered: </strong> |
352 |
<p><strong>Discount: </strong>[% discount | format("%.1f") %] %</p> |
351 |
[% IF ( gstreg ) %]Yes[% ELSE %]No[% END %]</p> |
353 |
<p><strong>Tax rate: </strong>[% ( tax_rate || 0 ) * 100 | html %] %</p> |
352 |
<p><strong>List item price includes tax: </strong> |
354 |
[% IF deliverytime.defined %] |
353 |
[% IF ( listincgst ) %]Yes[% ELSE %]No[% END %]</p> |
355 |
<p><strong>Delivery time: </strong>[% deliverytime | html %] days</p> |
354 |
<p><strong>Invoice item price includes tax: </strong> |
356 |
[% END %] |
355 |
[% IF ( invoiceincgst ) %]Yes[% ELSE %]No[% END %]</p>[% END %] |
357 |
[% IF ( notes ) %] |
356 |
<p><strong>Discount: </strong> |
358 |
<p><strong>Notes: </strong>[% notes | html %]</p> |
357 |
[% discount | format("%.1f") %] %</p> |
359 |
[% END %] |
358 |
<p><strong>Tax rate: </strong> |
360 |
</div> <!-- #supplier-ordering-information --> |
359 |
[% ( tax_rate || 0 ) * 100 | html %] %</p> |
|
|
360 |
[% IF deliverytime.defined %] |
361 |
<p><strong>Delivery time: </strong> |
362 |
[% deliverytime | html %] days</p> |
363 |
[% END %] |
364 |
[% IF ( notes ) %]<p><strong>Notes: </strong> |
365 |
[% notes | html %]</p>[% END %] |
366 |
</div> <!-- .supplier-ordering-information --> |
367 |
</div> <!-- /.col-sm-6 --> |
361 |
</div> <!-- /.col-sm-6 --> |
368 |
|
362 |
|
369 |
<div class="col-sm-6"> |
363 |
<div class="col-sm-6"> |
370 |
<div class="supplier-contact-details"> |
364 |
<div id="supplier-contact-details" class="page-section"> |
371 |
<h2>Contact</h2> |
365 |
<h2>Contact</h2> |
372 |
[% FOREACH contact IN contacts %] |
366 |
[% FOREACH contact IN contacts %] |
373 |
[% INCLUDE show_contact %] |
367 |
[% INCLUDE show_contact %] |
374 |
[% END %] |
368 |
[% END %] |
375 |
</div> |
369 |
</div> <!-- /#supplier-contact-details --> |
376 |
|
370 |
|
377 |
<div class="subscription-details"> |
371 |
<div id="subscription-details" class="page-section"> |
378 |
<h2>Subscription details</h2> |
372 |
<h2>Subscription details</h2> |
379 |
<p><strong>Number of subscriptions: </strong> |
373 |
<p><strong>Number of subscriptions: </strong> |
380 |
[% IF ( CAN_user_serials ) %] |
374 |
[% IF ( CAN_user_serials ) %] |
Lines 383-396
Link Here
|
383 |
[% subscriptioncount | html %] |
377 |
[% subscriptioncount | html %] |
384 |
[% END %] |
378 |
[% END %] |
385 |
</p> |
379 |
</p> |
386 |
</div> |
380 |
</div> <!-- /#subscription-details --> |
387 |
|
381 |
</div> <!-- /.col-sm-6 --> |
388 |
</div> |
|
|
389 |
|
382 |
|
390 |
</div> |
383 |
</div> |
391 |
|
384 |
|
392 |
[% IF ( contracts ) %] |
385 |
[% IF ( contracts ) %] |
393 |
<div id="supplier-contracts"> |
386 |
<div id="supplier-contracts" class="page-section"> |
394 |
<h2>Contract(s)</h2> |
387 |
<h2>Contract(s)</h2> |
395 |
<table id="contractst"> |
388 |
<table id="contractst"> |
396 |
<thead> |
389 |
<thead> |
Lines 423-429
Link Here
|
423 |
[% END %] |
416 |
[% END %] |
424 |
</tbody> |
417 |
</tbody> |
425 |
</table> |
418 |
</table> |
426 |
</div> |
419 |
</div> <!-- /#supplier-contracts --> |
427 |
[% END %] |
420 |
[% END %] |
428 |
|
421 |
|
429 |
[% END %] |
422 |
[% END %] |
430 |
- |
|
|