Vendor not found
- [% ELSE %] - [% IF ( delete_confirmed ) %] - - [% IF (cannotdelbiblios) %] -Warning:
-The following records could not be deleted:
--
- [% FOREACH cannotdelbiblio IN cannotdelbiblios %]
-
- [% cannotdelbiblio.title | html %] by [% cannotdelbiblio.author | html %]:
-
-
- [% IF (cannotdelbiblio.itemcount) %]
- [% cannotdelbiblio.itemcount | html %] item(s) attached. [% END %] - [% IF (cannotdelbiblio.subscriptions) %]
- [% cannotdelbiblio.subscriptions | html %] subscription(s) attached. [% END %] - [% IF (cannotdelbiblio.countbiblio) %]
- [% cannotdelbiblio.countbiblio | html %] order(s) attached. [% END %] - [% IF (cannotdelbiblio.othererror) %]
- Unknown error. [% END %] -
- [% END %]
-
[% UNLESS ( basketno ) %]New [% END %]Basket [% basketname | html %] ([% basketno | html %]) for [% booksellername | html %]
- [% IF ( basketno ) %] --
- [% IF ( basketnote ) %]
- Internal note: [% basketnote | html %] [% END %] - [% IF ( basketbooksellernote ) %]
- Vendor note: [% basketbooksellernote | html %] [% END %] - [% IF ( basketcontractno ) %] -
- Contract name: [% basketcontractname | html %] - [% END %] - [% IF deliveryplace %]
- Delivery place: [% Branches.GetName( deliveryplace ) | html %] [% END %] - [% IF billingplace %]
- Billing place: [% Branches.GetName( billingplace ) | html %] [% END %] - [% IF ( authorisedbyname ) %]
- [% tp('basket created by', 'Created by:') | html %] [% authorisedbyname | html %] [% END %] -
- - - - -
- - Managing library: - [% IF basketbranchcode %] - [% Branches.GetName( basketbranchcode ) | html %] - Change library - [% ELSE %] - No library - Set library - [% END %] - - [% IF branches_loop.size %] -
- EDI status: Not ordered + [% END %] [% END %] - [% IF ( estimateddeliverydate ) %] -
- Estimated delivery date: [% estimateddeliverydate | $KohaDates %] - [% END %] -
- Orders are standing: [% IF is_standing %]Yes[% ELSE %]No[% END %] - [% IF basket.create_items %] -
- - Create items when: - [% SWITCH basket.create_items %] - [% CASE 'receiving' %]Receiving items - [% CASE 'cataloguing' %]Cataloguing items - [% CASE %]Placing orders - [% END %] - - [% END %] -
-
-
-
- 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 | html %] (closed)
- [% ELSE %]
- [% basketgroup.name | html %] (closed)
- [% END %]
- [% ELSIF ( ! CAN_user_acquisition_group_manage ) %]
- [%- IF basketgroup.id -%]
- [% basketgroup.name | html %]
- [%- ELSE -%]
- No group
- [%- END -%]
+ [% IF ( NO_BOOKSELLER ) %]
+
Vendor not found
+ [% ELSE %] + [% IF ( delete_confirmed ) %] + + [% IF (cannotdelbiblios) %] +++ Go back to vendor page [% ELSE %] - [% IF ( CAN_user_acquisition_group_manage ) %] - [% IF ( basketgroup.id ) %] - [% basketgroup.name | html %] - Change basket group - [% ELSE %] - No group - Set basket group - [% END %] - [% END %] + Show baskets for vendor [% booksellername | html %] Show all active baskets [% END %] -Warning:
+The following records could not be deleted:
+-
+ [% FOREACH cannotdelbiblio IN cannotdelbiblios %]
+
-
+ [% cannotdelbiblio.title | html %] by [% cannotdelbiblio.author | html %]:
+
-
+ [% IF (cannotdelbiblio.itemcount) %]
- [% cannotdelbiblio.itemcount | html %] item(s) attached. [% END %] + [% IF (cannotdelbiblio.subscriptions) %]
- [% cannotdelbiblio.subscriptions | html %] subscription(s) attached. [% END %] + [% IF (cannotdelbiblio.countbiblio) %]
- [% cannotdelbiblio.countbiblio | html %] order(s) attached. [% END %] + [% IF (cannotdelbiblio.othererror) %]
- Unknown error. [% END %] +
+ [% END %]
+
- [% IF ( CAN_user_acquisition_group_manage ) %]
- -
+ [% cannotdelbiblio.title | html %] by [% cannotdelbiblio.author | html %]:
+
- Estimated delivery date: [% estimateddeliverydate | $KohaDates %] + [% END %] +
- Orders are standing: [% IF is_standing %]Yes[% ELSE %]No[% END %] -
- + Create items when: + [% SWITCH basket.create_items %] + [% CASE 'receiving' %]Receiving items + [% CASE 'cataloguing' %]Cataloguing items + [% CASE %]Placing orders + [% END %] + + [% END %] + + + [% IF ( closedate ) %] +
- + 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 | html %] (closed) + [% ELSE %] + [% basketgroup.name | html %] (closed) + [% END %] + [% ELSIF ( ! CAN_user_acquisition_group_manage ) %] + [%- IF basketgroup.id -%] + [% basketgroup.name | html %] + [%- ELSE -%] + No group + [%- END -%] + [% ELSE %] + [% IF ( CAN_user_acquisition_group_manage ) %] + [% IF ( basketgroup.id ) %] + [% basketgroup.name | html %] + Change basket group + [% ELSE %] + No group + Set basket group + [% END %] + [% END %] + [% END %] + + [% IF ( CAN_user_acquisition_group_manage ) %] + + [% END # /IF ( CAN_user_acquisition_group_manage ) %] + [% IF basketgroup.deliveryplace %] +
- + Basket group delivery placename: [% Branches.GetName( basketgroup.deliveryplace ) | html %] + + [% END %] + [% IF basketgroup.billingplace %] +
- + Basket group billing place: [% Branches.GetName( basketgroup.billingplace ) | html %] + + [% END %] +
Orders
-| No. | -[% tp('noun', 'Order') | html %] | -RRP tax exc. | -Actual cost tax exc. | -Budgeted cost tax exc. | -RRP tax inc. | -Actual cost tax inc. | -Budgeted cost tax inc. | -Replacement price | -Qty. | -Total tax exc. ([% currency | html %]) | -Total tax inc. ([% currency | html %]) | -GST % | -GST | -Fund | -Estimated delivery date | - [% IF Koha.Preference('EDIFACT') && ediaccount %] -Supplier report | - [% END %] - [% IF ( active ) %] - [% UNLESS ( closedate ) %] -Modify | -Cancel order | + [% IF basket.create_items %] +||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| - | Total (GST [% foot_loo.tax_rate * 100 | html %]) | -- | - | - | - | - | - | - | [% foot_loo.quantity | html %] | -[% foot_loo.total_tax_excluded | $Price %] | -[% foot_loo.total_tax_included | $Price %] | -- | [% foot_loo.tax_value | $Price %] | -- | - [% IF Koha.Preference('EDIFACT') && ediaccount %] - | - [% END %] - [% IF ( active ) %] - [% UNLESS ( closedate ) %] - | - | + + [% IF ( duplinbatch ) %] + |
| No. | +[% tp('noun', 'Order') | html %] | +RRP tax exc. | +Actual cost tax exc. | +Budgeted cost tax exc. | +RRP tax inc. | +Actual cost tax inc. | +Budgeted cost tax inc. | +Replacement price | +Qty. | +Total tax exc. ([% currency | html %]) | +Total tax inc. ([% currency | html %]) | +GST % | +GST | +Fund | +Estimated delivery date | + [% IF Koha.Preference('EDIFACT') && ediaccount %] +Supplier report | + [% END %] + [% IF ( active ) %] + [% UNLESS ( closedate ) %] +Modify | +Cancel order | + [% END %] + [% END %] +
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| + | Total (GST [% foot_loo.tax_rate * 100 | html %]) | ++ | + | + | + | + | + | + | [% foot_loo.quantity | html %] | +[% foot_loo.total_tax_excluded | $Price %] | +[% foot_loo.total_tax_included | $Price %] | ++ | [% foot_loo.tax_value | $Price %] | ++ | + [% IF Koha.Preference('EDIFACT') && ediaccount %] + | + [% END %] + [% IF ( active ) %] + [% UNLESS ( closedate ) %] + | + | + [% END %] + [% END %] + |
| + | Total ([% currency | html %]) | ++ | + | + | + | + | + | + | [% total_quantity | html %] | +[% total_tax_excluded | $Price %] | +[% total_tax_included | $Price %] | ++ | [% total_tax_value | $Price %] | ++ | + [% IF Koha.Preference('EDIFACT') && ediaccount %] + | + [% END %] + [% IF ( active ) %] + [% UNLESS ( closedate ) %] + | + | + [% END %] + [% END %] + |
| + [% books_loo.ordernumber | html %] + | +
+
+ [% IF ( books_loo.order_received ) %] (received)[% END %]
+ [% IF books_loo.title %]
+ [% INCLUDE 'biblio-title.inc' biblio=books_loo link = 1 %] [% IF books_loo.author %] by [% books_loo.author | html %][% END %]
+ [% ELSE %]
+ Deleted bibliographic record, can't find title Internal note: [% books_loo.order_internalnote | html %] Edit internal note + [% ELSE %] + Add internal note + [% END %] + [% IF ( books_loo.order_vendornote ) %] +Vendor note: [% books_loo.order_vendornote | html %] Edit 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 | html %] + ([% bookseller.name | html %]) + on + [% timestamp | $KohaDates %] + + + [% END %] + [% SET claims = books_loo.order_object.claims %] + [% IF claims.count %] ++ This order has been claimed [% claims.count | html %] times. On [% FOR c IN claims %][% c.claimed_on | $KohaDates %][% UNLESS loop.last %], [% END %][% END %] + + [% 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 %]
+ + [% books_loo.rrp_tax_excluded | $Price %] [% IF ( books_loo.uncertainprice ) %] (Uncertain) [% END %] + | ++ [% books_loo.unitprice_tax_excluded | $Price %] + | ++ [% books_loo.ecost_tax_excluded | $Price %] + | ++ [% books_loo.rrp_tax_included | $Price %] + | ++ [% books_loo.unitprice_tax_included | $Price %] + | ++ [% books_loo.ecost_tax_included | $Price %] + | ++ [% books_loo.replacementprice | $Price %] + | ++ [% books_loo.quantity | html %] + | ++ [% books_loo.total_tax_excluded | $Price %] + | ++ [% books_loo.total_tax_included | $Price %] + | ++ [% books_loo.tax_rate * 100 | html %] + | ++ [% books_loo.tax_value | $Price %] + | ++ [% books_loo.budget_name | html %] + | ++ [% books_loo.estimated_delivery_date | $KohaDates %] + [% IF CAN_user_acquisition_order_manage %] + + Edit + [% END %] + | + [% IF Koha.Preference('EDIFACT') && ediaccount %] +[% books_loo.suppliers_report | html %] | + [% END %] + [% IF ( active ) %] + [% UNLESS ( closedate ) %] +
+ Modify
+ [% UNLESS (books_loo.order_received) %]
+ + Transfer + [% END %] + |
+
+ [% IF ( books_loo.orderstatus != "complete") %]
+ [% IF ( books_loo.left_holds_on_order ) %]
+ + [% ELSE %] + Cancel order + [% END %] + [% IF ( books_loo.can_del_bib ) %] + Cancel order and delete catalog record + [% ELSE %] + + [% END %] + [% IF ( books_loo.left_item ) %] + [% books_loo.items | html %] item(s) left + [% END %] + [% IF ( books_loo.left_biblio ) %] + [% books_loo.biblios | html %] order(s) left + [% END %] + [% IF ( books_loo.left_subscription ) %] + [% books_loo.subscriptions | html %] subscription(s) left + [% END %] + [% IF ( books_loo.left_holds ) %] + [% books_loo.holds | html %] hold(s) left + [% END %] + [% END %] + |
+ [% END %]
+ [% END %]
+
Cancelled orders
+| No. | +[% tp('noun', 'Order') | html %] | +RRP tax exc. | +ecost tax exc. | +RRP tax inc. | +ecost tax inc. | +Replacement price | +Qty. | +Total tax exc. ([% currency | html %]) | +Total tax inc. ([% currency | html %]) | +GST % | +GST | +Fund | +
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| + [% order.ordernumber | html %] + | +
+
+ [% IF ( order.order_received ) %] (received)[% END %]
+ [% IF (order.title) %]
+ [% order.title | html %][% IF order.author %] by [% order.author | html %][% END %]
+ [% ELSE %]
+ Deleted bibliographic record, can't find title
+ [% END %]
+ Transferred to basket: + [% basket.basketname | html %] + ([% bookseller.name | html %]) + on + [% timestamp | $KohaDates %] + + + [% END %] + |
+ + [% order.rrp_tax_excluded | $Price %] + [% IF ( order.uncertain ) %] + (Uncertain) + [% END %] + | +[% order.ecost_tax_excluded | $Price %] | +[% order.rrp_tax_included | $Price %] | +[% order.ecost_tax_included | $Price %] | +[% order.replacementprice | $Price %] | +[% order.quantity | html %] | +[% order.total_tax_excluded | $Price %] | +[% order.total_tax_included | $Price %] | +[% order.tax_rate * 100 | html %] | +[% order.tax_value | $Price %] | +[% order.budget_name | html %] + |
+ + [% UNLESS ( closedate ) %] + + + [% END %] + [% END %] -
- [% IF ( books_loo.order_received ) %] (received)[% END %]
- [% IF books_loo.title %]
- [% INCLUDE 'biblio-title.inc' biblio=books_loo link = 1 %] [% IF books_loo.author %] by [% books_loo.author | html %][% END %]
- [% ELSE %]
- Deleted bibliographic record, can't find title
- [%- END %]
-
- [%- IF ( books_loo.isbn ) %] - [% books_loo.isbn | html %][% END -%]
- [%- IF ( books_loo.issn ) %] - [% books_loo.issn | html %][% END -%]
- [%- IF ( books_loo.publishercode ) %], [% books_loo.publishercode | html %][% END -%]
- [%- IF ( books_loo.publicationyear ) %], [% books_loo.publicationyear | html -%]
- [%- ELSIF ( books_loo.copyrightdate ) %] [% books_loo.copyrightdate | html %][% END -%]
- [%- IF ( books_loo.editionstatement ) %], [% books_loo.editionstatement | html %][% END -%]
- [%- IF ( books_loo.suggestionid ) %]
-
- Suggested by: [% books_loo.surnamesuggestedby | html %][% IF ( books_loo.firstnamesuggestedby ) %], [% books_loo.firstnamesuggestedby | html %] [% END %]
- (suggestion #[% books_loo.suggestionid | html %])
- [% END %]
-
Internal note: [% books_loo.order_internalnote | html %] Edit internal note
- [% ELSE %] - Add internal note - [% END %] - [% IF ( books_loo.order_vendornote ) %] -Vendor note: [% books_loo.order_vendornote | html %] Edit 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 | html %] - ([% bookseller.name | html %]) - on - [% timestamp | $KohaDates %] - -
- [% END %] - [% SET claims = books_loo.order_object.claims %] - [% IF claims.count %] + + [% IF ( confirm_close ) %] +Are you sure you want to close basket [% basketname | html %]?
+ [% IF ( CAN_user_acquisition_group_manage ) %]- This order has been claimed [% claims.count | html %] times. On [% FOR c IN claims %][% c.claimed_on | $KohaDates %][% UNLESS loop.last %], [% END %][% END %] + +
[% END %] -- Transfer - [% END %] -
- [% ELSE %] - Cancel order
- [% END %] - [% IF ( books_loo.can_del_bib ) %] - Cancel order and delete catalog record
- [% ELSE %] -
- [% END %] - [% IF ( books_loo.left_item ) %] - [% books_loo.items | html %] item(s) left
- [% END %] - [% IF ( books_loo.left_biblio ) %] - [% books_loo.biblios | html %] order(s) left
- [% END %] - [% IF ( books_loo.left_subscription ) %] - [% books_loo.subscriptions | html %] subscription(s) left
- [% END %] - [% IF ( books_loo.left_holds ) %] - [% books_loo.holds | html %] hold(s) left - [% END %] - [% END %] -
Cancelled orders
-| No. | -[% tp('noun', 'Order') | html %] | -RRP tax exc. | -ecost tax exc. | -RRP tax inc. | -ecost tax inc. | -Replacement price | -Qty. | -Total tax exc. ([% currency | html %]) | -Total tax inc. ([% currency | html %]) | -GST % | -GST | -Fund | -
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| - [% order.ordernumber | html %] - | -
-
- [% IF ( order.order_received ) %] (received)[% END %]
- [% IF (order.title) %]
- [% order.title | html %][% IF order.author %] by [% order.author | html %][% END %]
- [% ELSE %]
- Deleted bibliographic record, can't find title
- [% END %]
- Transferred to basket: - [% basket.basketname | html %] - ([% bookseller.name | html %]) - on - [% timestamp | $KohaDates %] - - - [% END %] - |
- - [% order.rrp_tax_excluded | $Price %] - [% IF ( order.uncertain ) %] - (Uncertain) - [% END %] - | -[% order.ecost_tax_excluded | $Price %] | -[% order.rrp_tax_included | $Price %] | -[% order.ecost_tax_included | $Price %] | -[% order.replacementprice | $Price %] | -[% order.quantity | html %] | -[% order.total_tax_excluded | $Price %] | -[% order.total_tax_included | $Price %] | -[% order.tax_rate * 100 | html %] | -[% order.tax_value | $Price %] | -[% order.budget_name | html %] - |
- - [% UNLESS ( closedate ) %] - - @@ -825,53 +871,53 @@