Bugzilla – Attachment 184968 Details for
Bug 40537
Sum total cost in ordered / foreign currency on invoice summary page
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 40537: WIP
Bug-40537-WIP.patch (text/plain), 1.90 KB, created by
Aleisha Amohia
on 2025-08-01 02:22:44 UTC
(
hide
)
Description:
Bug 40537: WIP
Filename:
MIME Type:
Creator:
Aleisha Amohia
Created:
2025-08-01 02:22:44 UTC
Size:
1.90 KB
patch
obsolete
>From 92318cd9ac1ec1c30b211401360a802beafb14e9 Mon Sep 17 00:00:00 2001 >From: Aleisha Amohia <aleishaamohia@hotmail.com> >Date: Fri, 1 Aug 2025 02:22:18 +0000 >Subject: [PATCH] Bug 40537: WIP > >--- > acqui/invoice.pl | 2 ++ > koha-tmpl/intranet-tmpl/prog/en/modules/acqui/invoice.tt | 6 +++++- > 2 files changed, 7 insertions(+), 1 deletion(-) > >diff --git a/acqui/invoice.pl b/acqui/invoice.pl >index d38a83d217b..303572b9926 100755 >--- a/acqui/invoice.pl >+++ b/acqui/invoice.pl >@@ -279,6 +279,8 @@ foreach my $order (@$orders) { > > $line->{orderline} = $line->{parent_ordernumber}; > $has_invoice_unitprice = 1 if $line->{invoice_currency} ne $active_currency->currency; >+ $foot{ $$line{tax_rate} }{invoice_currencies}{ $line->{invoice_currency} } += $line->{invoice_unitprice}; >+ > push @orders_loop, $line; > } > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/invoice.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/invoice.tt >index 91ef1acade2..a54c3d2752f 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/invoice.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/invoice.tt >@@ -400,7 +400,11 @@ > <tr> > <th colspan="2">Total (GST [% tf.tax_rate * 100 | html %] %)</th> > [% IF has_invoice_unitprice %] >- <th></th> >+ <th class="total_invoice_currencies"> >+ [% FOREACH total IN tf.invoice_currencies %] >+ <span id="total_[% total.key | html %]">[% total.value | $Price %] [% total.key | html %]</span> >+ [% END %] >+ </th> > [% END %] > <th class="tax_excluded"></th> > <th class="tax_included"></th> >-- >2.39.5
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 40537
:
184968
|
185077
|
185438