44 lines
1.9 KiB
Text
44 lines
1.9 KiB
Text
[% USE raw %]
|
|
[% PROCESS 'i18n.inc' %]
|
|
[% INCLUDE "doc-head-open.inc" %]
|
|
<title>[% FILTER collapse %]
|
|
[% t("Add order") | html %] ›
|
|
[% t("Acquisition") | html %] ›
|
|
[% t("Koha") | html %]
|
|
[% END %]</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">
|
|
<input type="hidden" name="op" value="cud-order"/>
|
|
[% INCLUDE 'csrf-token.inc' %]
|
|
[% FOREACH var IN vars_loop %]
|
|
[% FOREACH val IN var.values %]
|
|
<input type="hidden" name="[% var.name | html %]" value="[% val | html %]" />
|
|
[% END %]
|
|
[% END %]
|
|
<input type="hidden" name="op" value="cud-addorder">
|
|
<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 | html %]% of your fund.</p>
|
|
[% END %]
|
|
[% IF (expenditure_exceeded) %]
|
|
<p>Warning! You will exceed maximum limit ([% expenditure | html %][% IF (currency) %] [% currency | html %][% 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 | html %]'"><i class="fa fa-fw fa-times"></i> No, I don't confirm</button>
|
|
</div>
|
|
</form>
|
|
[% END %]
|
|
|
|
[% INCLUDE "intranet-bottom.inc" %]
|