Show total available

This commit is contained in:
Mike Jolley 2014-07-10 14:52:36 +01:00
parent 280b884c28
commit 6862829fce
1 changed files with 1 additions and 1 deletions

View File

@ -115,7 +115,7 @@ class WC_Meta_Box_Order_Items {
</li>
<li>
<label><?php _e( 'Total available to refund', 'woocommerce' ); ?>:</label>
<span class="total"><?php echo wc_price( $order->get_total() ); ?></span>
<span class="total"><?php echo wc_price( $order->get_total() - $order->get_total_refunded() ); ?></span>
</li>
<li>
<label for="refund_amount"><?php _e( 'Refund amount', 'woocommerce' ); ?>:</label>