@@ -52,27 +52,27 @@ |
||
| 52 | 52 | |
| 53 | 53 | // Total Fee. |
| 54 | 54 | if ( 'fee' === $key ) { |
| 55 | - wpinv_the_price( $invoice->get_total_fees(), $invoice->get_currency() ); |
|
| 55 | + wpinv_the_price( $invoice->get_total_fees(), $invoice->get_currency() ); |
|
| 56 | 56 | } |
| 57 | 57 | |
| 58 | 58 | // Total discount. |
| 59 | 59 | if ( 'discount' === $key ) { |
| 60 | - wpinv_the_price( $invoice->get_total_discount(), $invoice->get_currency() ); |
|
| 60 | + wpinv_the_price( $invoice->get_total_discount(), $invoice->get_currency() ); |
|
| 61 | 61 | } |
| 62 | 62 | |
| 63 | 63 | // Shipping. |
| 64 | 64 | if ( 'shipping' === $key ) { |
| 65 | - wpinv_the_price( $invoice->get_shipping(), $invoice->get_currency() ); |
|
| 65 | + wpinv_the_price( $invoice->get_shipping(), $invoice->get_currency() ); |
|
| 66 | 66 | } |
| 67 | 67 | |
| 68 | 68 | // Sub total. |
| 69 | 69 | if ( 'subtotal' === $key ) { |
| 70 | - wpinv_the_price( $invoice->get_subtotal(), $invoice->get_currency() ); |
|
| 70 | + wpinv_the_price( $invoice->get_subtotal(), $invoice->get_currency() ); |
|
| 71 | 71 | } |
| 72 | 72 | |
| 73 | 73 | // Total. |
| 74 | 74 | if ( 'total' === $key ) { |
| 75 | - wpinv_the_price( $invoice->get_total(), $invoice->get_currency() ); |
|
| 75 | + wpinv_the_price( $invoice->get_total(), $invoice->get_currency() ); |
|
| 76 | 76 | } |
| 77 | 77 | |
| 78 | 78 | // Fires when printing a cart total. |