[% USE Asset %] [% BLOCK csv_export %]
Export as CSV
[% END %] [% USE KohaDates %] [% USE Branches %] [% USE Price %] [% USE AuthorisedValues %] [% SET footerjs = 1 %] [% INCLUDE 'doc-head-open.inc' %] Koha › Acquisitions › [% UNLESS ( basketno ) %]New [% END %]Basket [% basketname|html %] ([% basketno |html %]) for [% booksellername|html %] [% Asset.css("css/datatables.css") %] [% INCLUDE 'doc-head-close.inc' %] [% INCLUDE 'header.inc' %] [% INCLUDE 'acquisitions-search.inc' %]
[% IF (cannot_manage_basket) %]

You are not authorised to manage this basket.

[% ELSE %]
[% IF !confirm_close && !edi_confirm %] [% UNLESS ( selectbasketg ) %] [% UNLESS ( closedate ) %] [% UNLESS ( delete_confirmed ) %]
[% IF active %] [% END %] [%# FIXME This action should not be available for everyone %] [% IF ( unclosable ) %] [% ELSIF ( uncertainprices ) %] [% ELSE %] [% END %] [% PROCESS csv_export %] [% IF ediaccount %] [% END %] [% IF ( active && books_loop ) %]
[% END %]
[% END %] [% ELSE %] [% UNLESS ( grouped ) %]
[% PROCESS csv_export %]
[% END %] [% END %] [% END %] [% IF ( NO_BOOKSELLER ) %]

Vendor not found

[% ELSE %] [% IF ( delete_confirmed ) %]

Basket deleted

[% IF (cannotdelbiblios) %]

Warning:

The following records could not be deleted:

    [% FOREACH cannotdelbiblio IN cannotdelbiblios %]
  • [% cannotdelbiblio.title |html %] by [% cannotdelbiblio.author %]:
      [% IF (cannotdelbiblio.itemcount) %]
    • [% cannotdelbiblio.itemcount %] item(s) attached.
    • [% END %] [% IF (cannotdelbiblio.subscriptions) %]
    • [% cannotdelbiblio.subscriptions %] subscription(s) attached.
    • [% END %] [% IF (cannotdelbiblio.countbiblio) %]
    • [% cannotdelbiblio.countbiblio %] order(s) attached.
    • [% END %] [% IF (cannotdelbiblio.othererror) %]
    • Unknown error.
    • [% END %]
  • [% END %]
Click here to go back to booksellers page [% ELSE %] Show baskets for vendor [% booksellername | html %] Show all active baskets [% END %] [% ELSE %] [% FOR m IN messages %]
[% SWITCH m.code %] [% CASE 'no_email' %] This vendor has no contact selected for sending orders to or is missing an e-mail address. [% CASE 'no_basketno' %] No basket given. [% CASE 'no_letter' %] There is no notice template with code ACQORDER defined. [% CASE 'email_sent' %] Order e-mail was sent to the vendor. [% CASE %] ERROR! - [% m.code %] [% END %]
[% END %]

[% UNLESS ( basketno ) %]New [% END %]Basket [% basketname|html %] ([% basketno |html %]) for [% booksellername|html %]

[% IF ( basketno ) %]
    [% IF ( basketnote ) %]
  1. Internal note: [% basketnote |html %]
  2. [% END %] [% IF ( basketbooksellernote ) %]
  3. Vendor note: [% basketbooksellernote |html %]
  4. [% END %] [% IF ( basketcontractno ) %]
  5. Contract name: [% basketcontractname %]
  6. [% END %] [% IF deliveryplace %]
  7. Delivery place: [% Branches.GetName( deliveryplace ) %]
  8. [% END %] [% IF billingplace %]
  9. Billing place: [% Branches.GetName( billingplace ) %]
  10. [% END %] [% IF ( authorisedbyname ) %]
  11. Created by: [% authorisedbyname %]
  12. [% END %]
  13. Managed by:
      [% FOREACH user IN users %]
    • [% user.firstname %] [% user.surname %] Delete user
    • [% END %]
  14. Library: [% IF basketbranchcode %] [% Branches.GetName( basketbranchcode ) %] [% ELSE %] No library [% END %] [% IF branches_loop.size %]
    [% END %]
  15. [% IF ( creationdate ) %]
  16. Opened on: [% creationdate | $KohaDates %]
  17. [% END %] [% IF ( closedate ) %]
  18. Closed on: [% closedate | $KohaDates %]
  19. [% END %] [% IF ( estimateddeliverydate ) %]
  20. Estimated delivery date: [% estimateddeliverydate | $KohaDates %]
  21. [% END %]
  22. Orders are standing: [% IF is_standing %]Yes[% ELSE %]No[% END %]
  23. [% IF basket.create_items %]
  24. Create items when: [% SWITCH basket.create_items %] [% CASE 'receiving' %]Receiving items [% CASE 'cataloguing' %]Cataloguing items [% CASE %]Placing orders [% END %]
  25. [% END %]
[% IF ( closedate ) %]
[% IF ( CAN_user_acquisition_group_manage ) %]
[% END %]
  1. Basket group: [% IF basketgroup.id and not basketgroup.name %] [% SET basketgroup.name = "Basket group no. " _ basketgroup.id %] [% END %] [% IF basketgroup.closed %] [% IF ( CAN_user_acquisition_group_manage ) %] [% basketgroup.name %] (closed) [% ELSE %] [% basketgroup.name %] (closed) [% END %] [% ELSIF ( ! CAN_user_acquisition_group_manage ) %] [%- IF basketgroup.id -%] [% basketgroup.name %] [%- ELSE -%] No group [%- END -%] [% ELSE %] [% END %]
  2. [% IF basketgroup.deliveryplace %]
  3. Basket group delivery placename: [% Branches.GetName( basketgroup.deliveryplace ) %]
  4. [% END %] [% IF basketgroup.billingplace %]
  5. Basket group billing place: [% Branches.GetName( basketgroup.billingplace ) %]
  6. [% END %]
[% IF ( CAN_user_acquisition_group_manage ) %]
[% END %]
[% END %]
[% END %] [% IF ( duplinbatch ) %]

Duplicate warning

Some records have not been automatically added because they match an existing record in your catalog:Display them

[% END %]
[% IF ( books_loop ) %]

Orders

[% IF ( active ) %] [% UNLESS ( closedate ) %] [% END %] [% END %] [% FOREACH foot_loo IN book_foot_loop %] [% IF ( active ) %] [% UNLESS ( closedate ) %] [% END %] [% END %] [% END %] [% IF ( active ) %] [% UNLESS ( closedate ) %] [% END %] [% END %] [% FOREACH books_loo IN books_loop %] [% IF ( books_loo.order_received ) %] [% ELSE %] [% END %] [% SET zero_regex = "^0{1,}\.?0{1,}[^1-9]" %] [%# 0 or 0.0 or 0.00 or 00 or 00.0 or 00.00 or 0.000 ... %] [%# FIXME: use of a regexp is not ideal; bugs 9410 and 10929 suggest better way of handling this %] [% IF ( active ) %] [% UNLESS ( closedate ) %] [% END %] [% END %] [% END %]
No. Order RRP tax exc. ecost tax exc. RRP tax inc. ecost tax inc. Qty. Total tax exc. ([% currency %]) Total tax inc. ([% currency %]) GST % GST Fund Supplier reportModify Cancel order
Total (GST [% foot_loo.tax_rate * 100 %])         [% foot_loo.quantity %] [% foot_loo.total_tax_excluded | $Price%] [% foot_loo.total_tax_included | $Price %]   [% foot_loo.tax_value | $Price %]       
Total ([% currency %])         [% total_quantity %] [% total_tax_excluded | $Price %] [% total_tax_included | $Price %]   [% total_tax_value | $Price %]       
[% books_loo.ordernumber %]

[% IF ( books_loo.order_received ) %] (rcvd)[% END %] [% IF books_loo.title %] [% books_loo.title |html %][% IF books_loo.author %] by [% books_loo.author %][% END %] [% ELSE %] Deleted bibliographic record, can't find title
[% END %]
[% IF ( books_loo.isbn ) %] - [% books_loo.isbn %][% END %] [% IF ( books_loo.issn ) %] - [% books_loo.issn %][% END %] [% IF ( books_loo.publishercode ) %], [% books_loo.publishercode %][% END %] [% IF ( books_loo.publicationyear ) %], [% books_loo.publicationyear %] [% ELSIF ( books_loo.copyrightdate ) %] [% books_loo.copyrightdate %][% END %] [% IF ( books_loo.editionstatement ) %], [% books_loo.editionstatement %][% END %] [% IF ( books_loo.suggestionid ) %]
Suggested by: [% books_loo.surnamesuggestedby %][% IF ( books_loo.firstnamesuggestedby ) %], [% books_loo.firstnamesuggestedby %] [% END %] (suggestion #[% books_loo.suggestionid %]) [% END %]

[% IF ( books_loo.order_internalnote ) %]

Internal note: [% books_loo.order_internalnote|html %] [Change internal note]

[% ELSE %] [Add internal note] [% END %] [% IF ( books_loo.order_vendornote ) %]

Vendor note: [% books_loo.order_vendornote|html %] [Change vendor note]

[% ELSE %] [Add vendor note] [% END %] [% IF (books_loo.transferred_from) %] [% basket = books_loo.transferred_from.basket %] [% bookseller = books_loo.transferred_from.bookseller %] [% timestamp = books_loo.transferred_from.timestamp %]

Transferred from basket: [% basket.basketname %] ([% bookseller.name %]) on [% timestamp | $KohaDates %]

[% END %]
[% books_loo.rrp_tax_excluded | $Price %] [% books_loo.ecost_tax_excluded | $Price%] [% books_loo.rrp_tax_included | $Price %] [% books_loo.ecost_tax_included | $Price %] [% books_loo.quantity %] [% books_loo.total_tax_excluded | $Price %] [% books_loo.total_tax_included | $Price %] [% books_loo.tax_rate * 100 %] [% books_loo.tax_value | $Price %] [% books_loo.budget_name %] [% books_loo.suppliers_report %] Modify [% UNLESS (books_loo.order_received) %]
Transfer [% END %]
[% IF ( books_loo.left_holds_on_order ) %] Can't cancel order
[% ELSE %] Cancel order
[% END %] [% IF ( books_loo.can_del_bib ) %] Cancel order and delete catalog record
[% ELSE %] Can't cancel order and delete catalog record
[% END %] [% IF ( books_loo.left_item ) %] [% books_loo.items %] item(s) left
[% END %] [% IF ( books_loo.left_biblio ) %] [% books_loo.biblios %] order(s) left
[% END %] [% IF ( books_loo.left_subscription ) %] [% books_loo.subscriptions %] subscription(s) left
[% END %] [% IF ( books_loo.left_holds ) %] [% books_loo.holds %] hold(s) left [% END %]
[% END %] [% IF ( listincgst ) %]** Vendor's listings already include tax. [% END %]
[% IF (cancelledorders_loop) %]

Cancelled orders

[% FOREACH order IN cancelledorders_loop %] [% END %]
No. Order RRP tax exc. ecost tax exc. RRP tax inc. ecost tax inc. Qty. Total tax exc. ([% currency %]) Total tax inc. ([% currency %]) GST % GST Fund
[% order.ordernumber %]

[% IF ( order.order_received ) %] (rcvd)[% END %] [% IF (order.title) %] [% order.title |html %][% IF order.author %] by [% order.author %][% END %] [% ELSE %] Deleted bibliographic record, can't find title [% END %]
[% IF ( order.order_internalnote ) %] [% order.order_internalnote %][% END %] [% IF ( order.isbn ) %] - [% order.isbn %][% END %] [% IF ( order.issn ) %] - [% order.issn %][% END %] [% IF ( order.publishercode ) %], [% order.publishercode %][% END %] [% IF ( order.publicationyear ) %], [% order.publicationyear %] [% ELSIF ( order.copyrightdate ) %] [% order.copyrightdate %][% END %] [% IF ( books_loo.editionstatement ) %], [% books_loo.editionstatement %][% END %] [% IF ( order.cancellationreason ) %]
Cancellation reason: [% AuthorisedValues.GetByCode( 'ORDER_CANCELLATION_REASON', order.cancellationreason ) %] [% END %]

[% IF order.transferred_to %] [% basket = order.transferred_to.basket %] [% bookseller = order.transferred_to.bookseller %] [% timestamp = order.transferred_to.timestamp %]

Transferred to basket: [% basket.basketname %] ([% bookseller.name %]) on [% timestamp | $KohaDates %]

[% END %]
[% order.rrp_tax_excluded | $Price %] [% order.ecost_tax_excluded | $Price %] [% order.rrp_tax_included | $Price %] [% order.ecost_tax_included | $Price %] [% order.quantity %] [% order.total_tax_excluded | $Price %] [% order.total_tax_included | $Price %] [% order.tax_rate * 100 %] [% order.tax_value | $Price %] [% order.budget_name %]
[% END %]
[% UNLESS ( closedate ) %] [% END %] [% END %] [% END %] [% ELSE %] [% END %] [% IF ( confirm_close ) %]

Are you sure you want to close basket [% basketname|html %]?

[% IF ( CAN_user_acquisition_group_manage ) %]

[% END %]
[% END %] [% IF edi_confirm %]

Are you sure you want to generate an EDIFACT order and close basket [% basketname|html %]?

[% IF CAN_user_acquisition_group_manage %]

[% END %]
[% END %]
[% END %][%# IF (cannot_manage_basket) %]
[% INCLUDE 'acquisitions-menu.inc' %]
[% MACRO jsinclude BLOCK %] [% Asset.js("js/acquisitions-menu.js") %] [% INCLUDE 'datatables.inc' %] [% Asset.js("lib/jquery/plugins/jquery.fixFloat.js") %] [% UNLESS ( closedate ) %] [% ELSE %] [% UNLESS ( grouped ) %] [% END %] [% END %] [% END %] [% INCLUDE 'intranet-bottom.inc' %]