Refunded line after total
-
Hi,
In your screenshots it’s clear that it’s possible to display a refunded line just below the total.
The default template seems to include the right piece of code:
if ( $refunded = $this->order->get_total_refunded_for_item( $item_id ) ) { echo '<br/><small class="refunded">-' . wc_price( $refunded, array( 'currency' => $this->order->get_order_currency() ) ) . '</small>'; }
But it’s impossible to generate an invoice including this line for all refunded orders. How come?
Thanks
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘Refunded line after total’ is closed to new replies.