Koha/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/addorder.tt
Owen Leonard fad518ed7d Bug 20038: Switch single-column templates to Bootstrap grid: Acquisitions
This patch updates several acquisitions module templates to use the
Bootstrap grid.

- acqui/z3950_search.tt - Acquisitions -> Vendor -> View basket -> Add
  to basket -> From an external source. The Z39.50 search form should
  look correct.
  - Search for a title. The search results page should look correct.

- acqui/addorder.tt - Acquisitions -> Vendor -> View basket -> Add to
  basket. Add an order to the basket which costs more than is available
  in the fund you select. The error/confirmation screen should look
  correct.

- acqui\modordernotes.tt - Acquisitions -> Vendor -> View basket -> Add
  internal or vendor note. The note add form should look correct.

- acqui/cancelorder.tt - Acquisitions -> Vendor -> View basket -> Cancel
  order (from an open basket which has existing orders). The
  confirmation screen should look correct.

- acqui\basketheader.tt - Acquisitions -> Vendor -> New basket. The new
  basket edit form should look correct.

Signed-off-by: Claire Gravely <claire.gravely@bsz-bw.de>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2018-02-15 13:30:23 -03:00

35 lines
1.5 KiB
Text

[% INCLUDE "doc-head-open.inc" %]
<title>Koha &rsaquo; Acquisition &rsaquo; Add order</title>
[% INCLUDE "doc-head-close.inc" %]
</head>
<body id="acq_addorder" class="acq">
[% INCLUDE "header.inc" %]
<div class="container-fluid">
[% IF (not_enough_budget) %]
<form action="/cgi-bin/koha/acqui/addorder.pl" method="post">
[% FOREACH var IN vars_loop %]
[% FOREACH val IN var.values %]
<input type="hidden" name="[% var.name %]" value="[% val |html %]" />
[% END %]
[% END %]
<input type="hidden" name="confirm_budget_exceeding" value="1" />
<div class="dialog alert">
[% IF (budget_exceeded) %]
<p>Warning! Order total amount exceeds allowed budget.</p>
[% END %]
[% IF (encumbrance_exceeded) %]
<p>Warning! You will exceed [% encumbrance %]% of your fund.</p>
[% END %]
[% IF (expenditure_exceeded) %]
<p>Warning! You will exceed maximum limit ([% expenditure %][% IF (currency) %] [% currency %][% END %]) for your fund.</p>
[% END %]
<p>Do you want to confirm this order?</p>
<button type="submit" class="approve"><i class="fa fa-fw fa-check"></i> Yes, I confirm</button>
<button type="button" class="deny" onclick="window.location.href = '[% referer %]'"><i class="fa fa-fw fa-remove"></i> No, I don't confirm</button>
</div>
</form>
[% END %]
[% INCLUDE "intranet-bottom.inc" %]