|
Lines 93-98
Link Here
|
| 93 |
[% INCLUDE 'doc-head-open.inc' %] |
93 |
[% INCLUDE 'doc-head-open.inc' %] |
| 94 |
<title>Vendor [% name | html %] › Koha</title> |
94 |
<title>Vendor [% name | html %] › Koha</title> |
| 95 |
[% INCLUDE 'doc-head-close.inc' %] |
95 |
[% INCLUDE 'doc-head-close.inc' %] |
|
|
96 |
<style> |
| 97 |
div.rows p{ margin-left: 1rem; } |
| 98 |
div.rows { padding: 1rem; } |
| 99 |
</style> |
| 96 |
</head> |
100 |
</head> |
| 97 |
|
101 |
|
| 98 |
<body id="acq_supplier" class="acq"> |
102 |
<body id="acq_supplier" class="acq"> |
|
Lines 304-310
Link Here
|
| 304 |
<h1>[% name | html %]</h1> |
308 |
<h1>[% name | html %]</h1> |
| 305 |
<div class="row"> |
309 |
<div class="row"> |
| 306 |
<div class="col-sm-6"> |
310 |
<div class="col-sm-6"> |
| 307 |
<div id="supplier-company-details" class="page-section"> |
311 |
<div id="supplier-company-details" class="page-section rows"> |
| 308 |
<h2>Vendor details</h2> |
312 |
<h2>Vendor details</h2> |
| 309 |
<p> |
313 |
<p> |
| 310 |
<span class="label">Type: </span> |
314 |
<span class="label">Type: </span> |
|
Lines 333-381
Link Here
|
| 333 |
[% END %] |
337 |
[% END %] |
| 334 |
</div> <!-- /#supplier-company-details --> |
338 |
</div> <!-- /#supplier-company-details --> |
| 335 |
|
339 |
|
| 336 |
<div id="supplier-ordering-information" class="page-section"> |
340 |
<div id="supplier-ordering-information" class="page-section rows"> |
| 337 |
<h2>Ordering information</h2> |
341 |
<h2>Ordering information</h2> |
| 338 |
<p><strong>Vendor is: </strong>[% IF ( active ) %]Active[% ELSE %]Inactive[% END %]</p> |
342 |
<p><span class="label">Vendor is: </span>[% IF ( active ) %]Active[% ELSE %]Inactive[% END %]</p> |
| 339 |
<p><strong>List prices are: </strong>[% listprice | html %]</p> |
343 |
<p><span class="label">List prices are: </span>[% listprice | html %]</p> |
| 340 |
<p><strong>Invoice prices are: </strong>[% invoiceprice | html %]</p> |
344 |
<p><span class="label">Invoice prices are: </span>[% invoiceprice | html %]</p> |
| 341 |
[% IF ( tax_rate ) %] |
345 |
[% IF ( tax_rate ) %] |
| 342 |
<p><strong>Tax number registered: </strong>[% IF ( gstreg ) %]Yes[% ELSE %]No[% END %]</p> |
346 |
<p><span class="label">Tax number registered: </span>[% IF ( gstreg ) %]Yes[% ELSE %]No[% END %]</p> |
| 343 |
<p><strong>List item price includes tax: </strong>[% IF ( listincgst ) %]Yes[% ELSE %]No[% END %]</p> |
347 |
<p><span class="label">List item price includes tax: </span>[% IF ( listincgst ) %]Yes[% ELSE %]No[% END %]</p> |
| 344 |
<p><strong>Invoice item price includes tax: </strong>[% IF ( invoiceincgst ) %]Yes[% ELSE %]No[% END %]</p> |
348 |
<p><span class="label">Invoice item price includes tax: </span>[% IF ( invoiceincgst ) %]Yes[% ELSE %]No[% END %]</p> |
| 345 |
[% END %] |
349 |
[% END %] |
| 346 |
<p><strong>Discount: </strong>[% discount | format("%.1f") %] %</p> |
350 |
<p><span class="label">Discount: </span>[% discount | format("%.1f") %] %</p> |
| 347 |
<p><strong>Tax rate: </strong>[% ( tax_rate || 0 ) * 100 | html %] %</p> |
351 |
<p><span class="label">Tax rate: </span>[% ( tax_rate || 0 ) * 100 | html %] %</p> |
| 348 |
[% IF deliverytime.defined %] |
352 |
[% IF deliverytime.defined %] |
| 349 |
<p><strong>Delivery time: </strong>[% deliverytime | html %] days</p> |
353 |
<p><span class="label">Delivery time: </span>[% deliverytime | html %] days</p> |
| 350 |
[% END %] |
354 |
[% END %] |
| 351 |
[% IF ( notes ) %] |
355 |
[% IF ( notes ) %] |
| 352 |
<p><strong>Notes: </strong>[% notes | html %]</p> |
356 |
<p><span class="label">Notes: </span>[% notes | html %]</p> |
| 353 |
[% END %] |
357 |
[% END %] |
| 354 |
</div> <!-- #supplier-ordering-information --> |
358 |
</div> <!-- #supplier-ordering-information --> |
| 355 |
|
359 |
|
| 356 |
[% IF vendor.interfaces.count %] |
360 |
[% IF vendor.interfaces.count %] |
| 357 |
<div id="supplier-interfaces" class="page-section"> |
361 |
<div id="supplier-interfaces" class="page-section rows"> |
| 358 |
<h2>Interfaces</h2> |
362 |
<h2>Interfaces</h2> |
| 359 |
|
363 |
|
| 360 |
[% FOR i IN vendor.interfaces %] |
364 |
[% FOR i IN vendor.interfaces %] |
| 361 |
<h3>[% i.name | html %]</h3> |
365 |
<h3>[% i.name | html %]</h3> |
| 362 |
[% IF i.type %] |
366 |
[% IF i.type %] |
| 363 |
<p><span>Type: [% AuthorisedValues.GetByCode( 'VENDOR_INTERFACE_TYPE', i.type) | html %]</span></p> |
367 |
<p><span class="label">Type: </span>[% AuthorisedValues.GetByCode( 'VENDOR_INTERFACE_TYPE', i.type) | html %]</p> |
| 364 |
[% END %] |
368 |
[% END %] |
| 365 |
[% IF i.uri %] |
369 |
[% IF i.uri %] |
| 366 |
<p><span>URI: [% i.uri | html %]</span></p> |
370 |
<p><span class="label">URI: </span>[% i.uri | html %]</p> |
| 367 |
[% END %] |
371 |
[% END %] |
| 368 |
[% IF i.login %] |
372 |
[% IF i.login %] |
| 369 |
<p><span>Login: [% i.login | html %]</span></p> |
373 |
<p><span class="label">Login: </span>[% i.login | html %]</p> |
| 370 |
[% END %] |
374 |
[% END %] |
| 371 |
[% IF i.password %] |
375 |
[% IF i.password %] |
| 372 |
<p><span>Password: <span class="password"><a href="#" class="show_password" data-plain-text-password="[% i.plain_text_password | html %]">Show</a></span></span></p> |
376 |
<p><span class="label">Password: </span><span class="password"><a href="#" class="show_password" data-plain-text-password="[% i.plain_text_password | html %]">Show</a></span></span></p> |
| 373 |
[% END %] |
377 |
[% END %] |
| 374 |
[% IF i.account_email %] |
378 |
[% IF i.account_email %] |
| 375 |
<p><span>Account email: [% i.account_email | html %]</span></p> |
379 |
<p><span class="label">Account email: </span>[% i.account_email | html %]</p> |
| 376 |
[% END %] |
380 |
[% END %] |
| 377 |
[% IF i.notes %] |
381 |
[% IF i.notes %] |
| 378 |
<p><span>Notes: [% i.notes | html %]</span></p> |
382 |
<p><span class="label">Notes: </span>[% i.notes | html %]</p> |
| 379 |
[% END %] |
383 |
[% END %] |
| 380 |
[% END %] |
384 |
[% END %] |
| 381 |
</div> |
385 |
</div> |
|
Lines 384-397
Link Here
|
| 384 |
</div> <!-- /.col-sm-6 --> |
388 |
</div> <!-- /.col-sm-6 --> |
| 385 |
|
389 |
|
| 386 |
<div class="col-sm-6"> |
390 |
<div class="col-sm-6"> |
| 387 |
<div id="supplier-contact-details" class="page-section"> |
391 |
<div id="supplier-contact-details" class="page-section rows"> |
| 388 |
<h2>Contact</h2> |
392 |
<h2>Contact</h2> |
| 389 |
[% FOREACH contact IN contacts %] |
393 |
[% FOREACH contact IN contacts %] |
| 390 |
[% INCLUDE show_contact %] |
394 |
[% INCLUDE show_contact %] |
| 391 |
[% END %] |
395 |
[% END %] |
| 392 |
</div> <!-- /#supplier-contact-details --> |
396 |
</div> <!-- /#supplier-contact-details --> |
| 393 |
|
397 |
|
| 394 |
<div id="subscription-details" class="page-section"> |
398 |
<div id="subscription-details" class="page-section rows"> |
| 395 |
<h2>Subscription details</h2> |
399 |
<h2>Subscription details</h2> |
| 396 |
<p><strong>Number of subscriptions: </strong> |
400 |
<p><strong>Number of subscriptions: </strong> |
| 397 |
[% IF ( CAN_user_serials ) %] |
401 |
[% IF ( CAN_user_serials ) %] |
|
Lines 406-412
Link Here
|
| 406 |
</div> |
410 |
</div> |
| 407 |
|
411 |
|
| 408 |
[% IF ( contracts ) %] |
412 |
[% IF ( contracts ) %] |
| 409 |
<div id="supplier-contracts" class="page-section"> |
413 |
<div id="supplier-contracts" class="page-section rows"> |
| 410 |
<h2>Contract(s)</h2> |
414 |
<h2>Contract(s)</h2> |
| 411 |
<table id="contractst"> |
415 |
<table id="contractst"> |
| 412 |
<thead> |
416 |
<thead> |
| 413 |
- |
|
|