@@ -, +, @@ log entries --- acqui/basket.pl | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) --- a/acqui/basket.pl +++ a/acqui/basket.pl @@ -393,10 +393,6 @@ my $total_est_gste; books_loop => \@books_loop, cancelledorders_loop => \@cancelledorders, gist_rate => sprintf( "%.2f", $gist * 100 ) . '%', - total_rrp_gste => sprintf( "%.2f", $total_rrp_gste ), - total_est_gste => sprintf( "%.2f", $total_est_gste ), - gist_est => sprintf( "%.2f", $gist_est ), - gist_rrp => sprintf( "%.2f", $gist_rrp ), total_rrp_gsti => sprintf( "%.2f", $total_rrp_gsti ), total_est_gsti => sprintf( "%.2f", $total_est_gsti ), # currency => $bookseller->{'listprice'}, @@ -408,6 +404,12 @@ my $total_est_gste; unclosable => @orders ? 0 : 1, has_budgets => $has_budgets, ); + $template->param( + total_rrp_gste => sprintf( "%.2f", $total_rrp_gste ), + total_est_gste => sprintf( "%.2f", $total_est_gste ), + gist_est => sprintf( "%.2f", $gist_est ), + gist_rrp => sprintf( "%.2f", $gist_rrp ), + ) if $gist; } output_html_with_http_headers $query, $cookie, $template->output; --