[% USE raw %] [% USE Asset %] [% USE KohaDates %] [% SET footerjs = 1 %] [% INCLUDE 'doc-head-open.inc' %] Koha › Acquisitions › Contracts › [% IF ( add_form ) %] [% IF ( contractnumber ) %]Modify contract '[% contractname | html %]' [% ELSE %]New contract[% END %] [% END %] [% IF ( else ) %]Contracts of [% booksellername | html %][% END %] [% IF ( add_validate ) %]Data recorded[% END %] [% IF ( delete_confirm ) %]Confirm deletion of contract '[% contractnumber | html %]'[% END %] [% IF ( delete_confirmed ) %]Contract deleted[% END %] [% INCLUDE 'doc-head-close.inc' %] [% INCLUDE 'header.inc' %] [% INCLUDE 'contracts-admin-search.inc' %]
[% INCLUDE 'acquisitions-toolbar.inc' %] [% IF error == 'not_deleted' %]
Contract has not been deleted. Maybe a basket linked to this contract exists.
[% END %] [% IF ( add_form ) %]
[% IF ( contractnumber ) %]

Modify contract [% contractname | html %] for [% booksellername | html %]

[% ELSE %]

New contract for [% booksellername | html %]

[% END %]
    [% IF ( contractnumber ) %]
  1. Contract id [% contractnumber | html %]
  2. [% END %]
  3.   Required
  4.  
  5.   Required
    [% INCLUDE 'date-format.inc' %]
  6.   Required
    [% INCLUDE 'date-format.inc' %]
Cancel
[% END %] [% IF ( add_validate ) %]

Data recorded

[% END %] [% IF ( delete_confirm ) %]

Confirm deletion of contract [% contractname | html %]

Contract number:[% contractnumber | html %]
Contract name:[% contractname | html %]
Contract description:[% contractdescription | html %]
Contract start date:[% contractstartdate | $KohaDates %]
Contract end date:[% contractenddate | $KohaDates %]
Vendor:[% booksellername | html %]
[% END %] [% IF ( delete_confirmed ) %]

Contract deleted

[% END %] [% IF ( else ) %]

Contract(s) of [% booksellername | html %]

[% IF ( loop ) %] [% FOREACH loo IN loop %] [% END %]
Name Description Start date End date Actions
[% loo.contractname | html %] [% loo.contractdescription | html %] [% loo.contractstartdate | html %] [% loo.contractenddate | html %] Edit Delete
[% ELSE %]
There are no contracts with this vendor. [% IF active %] Add a contract. [% END %]
[% END %] [% END %]
[% MACRO jsinclude BLOCK %] [% INCLUDE 'calendar.inc' %] [% Asset.js("js/acq.js") | $raw %] [% END %] [% INCLUDE 'intranet-bottom.inc' %]