[% USE raw %] [% USE Asset %] [% USE Koha %] [% USE KohaDates %] [% SET footerjs = 1 %] [% INCLUDE 'doc-head-open.inc' %] Koha › Acquisitions › [% UNLESS blocking_error %] Basket [% basket.basketno | html %] › Duplicate existing orders [% END %] [% INCLUDE 'doc-head-close.inc' %] [% INCLUDE 'header.inc' %] [% INCLUDE 'acquisitions-search.inc' %]
[% INCLUDE 'blocking_errors.inc' %]

Duplicate existing orders

[% IF op == 'search' || op == 'select' %]
[% IF op == 'search' %] Search orders [% ELSE %] Refine search [% END %] [+] [-]
[% INCLUDE 'filter-orders.inc' %]
[% END %] [% BLOCK display_order_line %] [% IF selected %] [% ELSE %] [% END %] [% IF can_check %] [% IF selected %] [% ELSE %] [% END %] [% END %] [% order.ordernumber | html %] [% IF order.ordernumber != order.parent_ordernumber %]([% order.parent_ordernumber | html %])[% END %] [% SWITCH order.orderstatus %] [% CASE 'new' %]New [% CASE 'ordered' %]Ordered [% CASE 'partial' %]Partially received [% CASE 'complete' %]Received [% CASE 'cancelled' %]Cancelled [% END %] [% order.basketname | html %] ([% order.basketno | html %]) [% order.authorisedbyname | html %] [% IF ( order.basketgroupid ) %] [% order.groupname | html %] ([% order.basketgroupid | html %]) [% ELSE %]   [% END %] [% IF ( order.invoicenumber ) %] [% order.invoicenumber | html %] [% ELSE %]   [% END %] [% order.title |html %]
[% order.author | html %]
[% order.isbn | html %] [% order.name | html %] [% order.creationdate | $KohaDates %] [% IF order.datereceived %] [% order.datereceived | $KohaDates %] [% ELSE %] [% END %] [% order.quantityreceived | html %] [% order.quantity | html %] [% order.ecost | html %] [% order.budget_name | html %] [% END %] [% IF op == 'select' && ( result_order_loop || selected_order_loop ) %]
[% FOREACH order IN selected_order_loop %] [% INCLUDE display_order_line selected => 1 can_check => 1%] [% END %] [% FOREACH order IN result_order_loop %] [% INCLUDE display_order_line can_check => 1 %] [% END %]
Select all | Clear all
Order line (parent) Status Basket Basket creator Basket group Invoice number Summary Vendor Placed on Received on Quantity received Quantity ordered Unit cost Fund
[% ELSIF op == "batch_edit" %]

Duplicate all the orders with the following accounting details:

Accounting details
Check boxes to duplicate the original values
  1. The original currency value will be copied
  2. The original fund will be used
  3. The original internal note will be used
  4. The original vendor note will be used
  5. The 2 following fields are available for your own usage. They can be useful for statistical purposes
    The original statistic 1 will be used
  6. The original statistic 2 will be used
[% FOREACH ordernumber IN ordernumbers %] [% END %] Cancel
[% ELSIF op == 'duplication_done' %] [% IF new_orders %] [% FOREACH order IN new_orders %] [% INCLUDE display_order_line %] [% END %]
Order line Status Basket Basket creator Basket group Invoice number Summary Vendor Placed on Received on Quantity received Quantity ordered Unit cost Fund
Return to the basketNo order has been duplicated. Maybe something wrong happened? [% END %] [% END %]
[% MACRO jsinclude BLOCK %] [% Asset.js("js/acquisitions-menu.js") | $raw %] [% INCLUDE 'calendar.inc' %] [% INCLUDE 'datatables.inc' %] [% INCLUDE 'columns_settings.inc' %] [% Asset.js("js/autocomplete/patrons.js") | $raw %] [% Asset.js("js/acq.js") | $raw %] [% Asset.js("js/funds_sorts.js") | $raw %] [% Asset.js("lib/jquery/plugins/jquery.checkboxes.min.js") | $raw %] [% END %] [% INCLUDE 'intranet-bottom.inc' %]