Lines 157-162
my @orders_loop = ();
Link Here
|
157 |
my $orders = $details->{'orders'}; |
157 |
my $orders = $details->{'orders'}; |
158 |
my @foot_loop; |
158 |
my @foot_loop; |
159 |
my %foot; |
159 |
my %foot; |
|
|
160 |
my $shipmentcost = $details->{shipmentcost} || 0; |
160 |
my $total_quantity = 0; |
161 |
my $total_quantity = 0; |
161 |
my $total_tax_excluded = 0; |
162 |
my $total_tax_excluded = 0; |
162 |
my $total_tax_included = 0; |
163 |
my $total_tax_included = 0; |
Lines 211-225
$template->param(
Link Here
|
211 |
shipmentdate => $details->{'shipmentdate'}, |
212 |
shipmentdate => $details->{'shipmentdate'}, |
212 |
billingdate => $details->{'billingdate'}, |
213 |
billingdate => $details->{'billingdate'}, |
213 |
invoiceclosedate => $details->{'closedate'}, |
214 |
invoiceclosedate => $details->{'closedate'}, |
214 |
shipmentcost => $details->{'shipmentcost'}, |
215 |
shipmentcost => $shipmentcost, |
215 |
orders_loop => \@orders_loop, |
216 |
orders_loop => \@orders_loop, |
216 |
foot_loop => \@foot_loop, |
217 |
foot_loop => \@foot_loop, |
217 |
total_quantity => $total_quantity, |
218 |
total_quantity => $total_quantity, |
218 |
total_tax_excluded => $total_tax_excluded, |
219 |
total_tax_excluded => $total_tax_excluded, |
219 |
total_tax_included => $total_tax_included, |
220 |
total_tax_included => $total_tax_included, |
220 |
total_tax_value => $total_tax_value, |
221 |
total_tax_value => $total_tax_value, |
221 |
total_tax_excluded_shipment => $total_tax_excluded + $details->{shipmentcost}, |
222 |
total_tax_excluded_shipment => $total_tax_excluded + $shipmentcost, |
222 |
total_tax_included_shipment => $total_tax_included + $details->{shipmentcost}, |
223 |
total_tax_included_shipment => $total_tax_included + $shipmentcost, |
223 |
invoiceincgst => $bookseller->invoiceincgst, |
224 |
invoiceincgst => $bookseller->invoiceincgst, |
224 |
currency => Koha::Acquisition::Currencies->get_active, |
225 |
currency => Koha::Acquisition::Currencies->get_active, |
225 |
budgets_loop => \@budgets_loop, |
226 |
budgets_loop => \@budgets_loop, |