2 [% PROCESS 'i18n.inc' %]
3 [% INCLUDE "doc-head-open.inc" %]
4 <title>[% FILTER collapse %]
5 [% t("Add order") | html %] ›
6 [% t("Acquisition") | html %] ›
9 [% INCLUDE "doc-head-close.inc" %]
12 <body id="acq_addorder" class="acq">
13 [% INCLUDE "header.inc" %]
15 <div class="container-fluid">
16 [% IF (not_enough_budget) %]
17 <form action="/cgi-bin/koha/acqui/addorder.pl" method="post">
18 [% FOREACH var IN vars_loop %]
19 [% FOREACH val IN var.values %]
20 <input type="hidden" name="[% var.name | html %]" value="[% val | html %]" />
23 <input type="hidden" name="confirm_budget_exceeding" value="1" />
24 <div class="dialog alert">
25 [% IF (budget_exceeded) %]
26 <p>Warning! Order total amount exceeds allowed budget.</p>
28 [% IF (encumbrance_exceeded) %]
29 <p>Warning! You will exceed [% encumbrance | html %]% of your fund.</p>
31 [% IF (expenditure_exceeded) %]
32 <p>Warning! You will exceed maximum limit ([% expenditure | html %][% IF (currency) %] [% currency | html %][% END %]) for your fund.</p>
34 <p>Do you want to confirm this order?</p>
35 <button type="submit" class="approve"><i class="fa fa-fw fa-check"></i> Yes, I confirm</button>
36 <button type="button" class="deny" onclick="window.location.href = '[% referer | html %]'"><i class="fa fa-fw fa-times"></i> No, I don't confirm</button>
41 [% INCLUDE "intranet-bottom.inc" %]