@@ -, +, @@ basket --- admin/columns_settings.yml | 39 +++++++ .../intranet-tmpl/prog/en/modules/acqui/basket.tt | 117 +++++++++------------ 2 files changed, 88 insertions(+), 68 deletions(-) --- a/admin/columns_settings.yml +++ a/admin/columns_settings.yml @@ -59,6 +59,45 @@ modules: columnname: claims_count - columnname: claimed_date + basket: + orders: + - + columnname: basket_number + - + columnname: order_information + - + columnname: recommended_retail_price_tax_excluded + - + columnname: ecost_tax_excluded + - + columnname: recommended_retail_price_tax_included + is_hidden: 1 + - + columnname: ecost_tax_included + is_hidden: 1 + - + columnname: quantity + - + columnname: total_tax_excluded + - + columnname: total_tax_included + is_hidden: 1 + - + columnname: goods_and_services_tax_percentage + - + columnname: goods_and_services_tax + - + columnname: fund + - + columnname: supplier_report + - + columnname: modify + cannot_be_toggled: 1 + cannot_be_modified: 1 + - + columnname: cancel + cannot_be_toggled: 1 + cannot_be_modified: 1 admin: currency: --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt @@ -17,6 +17,7 @@ [% USE Branches %] [% USE Price %] [% USE AuthorisedValues %] +[% USE ColumnsSettings %] [% SET footerjs = 1 %] [% INCLUDE 'doc-head-open.inc' %]
No. | -Order | -RRP tax exc. | -ecost tax exc. | -RRP tax inc. | -ecost tax inc. | +Order | +RRP tax exc. | +ecost tax exc. | +RRP tax inc. | +ecost tax inc. | Qty. | -Total tax exc. ([% currency %]) | -Total tax inc. ([% currency %]) | +Total tax exc. ([% currency %]) | +Total tax inc. ([% currency %]) | GST % | GST | Fund | Supplier report | [% IF ( active ) %] [% UNLESS ( closedate ) %] -Modify | -Cancel order | +Modify | +Cancel order | [% END %] [% END %]||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Total (GST [% foot_loo.tax_rate * 100 %]) | -- | - | - | + | + | + | + | [% foot_loo.quantity %] | -[% foot_loo.total_tax_excluded | $Price%] | -[% foot_loo.total_tax_included | $Price %] | +[% foot_loo.total_tax_excluded | $Price%] | +[% foot_loo.total_tax_included | $Price %] | [% foot_loo.tax_value | $Price %] | @@ -399,13 +396,13 @@ | |||||||||||||||||||
Total ([% currency %]) | -- | - | - | + | + | + | + | [% total_quantity %] | -[% total_tax_excluded | $Price %] | -[% total_tax_included | $Price %] | +[% total_tax_excluded | $Price %] | +[% total_tax_included | $Price %] | [% total_tax_value | $Price %] | @@ -474,13 +471,13 @@ [% 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 %] | -[% books_loo.ecost_tax_excluded | $Price%] | -[% books_loo.rrp_tax_included | $Price %] | -[% books_loo.ecost_tax_included | $Price %] | +[% 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.total_tax_excluded | $Price %] | +[% books_loo.total_tax_included | $Price %] | [% books_loo.tax_rate * 100 %] | [% books_loo.tax_value | $Price %] | [% books_loo.budget_name %] | @@ -536,13 +533,13 @@|||
No. | Order | -RRP tax exc. | -ecost tax exc. | -RRP tax inc. | -ecost tax inc. | +RRP tax exc. | +ecost tax exc. | +RRP tax inc. | +ecost tax inc. | Qty. | -Total tax exc. ([% currency %]) | -Total tax inc. ([% currency %]) | +Total tax exc. ([% currency %]) | +Total tax inc. ([% currency %]) | GST % | GST | Fund | @@ -711,29 +708,12 @@ [% MACRO jsinclude BLOCK %] [% Asset.js("js/acquisitions-menu.js") %] -[% INCLUDE 'datatables.inc' %] + [% INCLUDE 'datatables.inc' %] + [% INCLUDE 'columns_settings.inc' %] [% Asset.js("lib/jquery/plugins/jquery.fixFloat.js") %] - [% UNLESS ( closedate ) %] - [% ELSE %] - [% UNLESS ( grouped ) %] - [% END %] [% END %] -