Fix line total display for order fees Closes #4766

This commit is contained in:
Mike Jolley 2014-02-13 10:25:15 +00:00
parent 1140fd2407
commit 403e90008d
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
<td class="line_cost" width="1%">
<div class="view">
<?php if ( isset( $item['line_total'] ) ) echo wc_price( wc_round_tax_total( $item['line_tax'] ) ); ?>
<?php if ( isset( $item['line_total'] ) ) echo wc_price( wc_round_tax_total( $item['line_total'] ) ); ?>
</div>
<div class="edit" style="display:none">
<label><?php _e( 'Total', 'woocommerce' ); ?>: <input type="text" name="line_total[<?php echo absint( $item_id ); ?>]" placeholder="<?php echo wc_format_localized_price( 0 ); ?>" value="<?php if ( isset( $item['line_total'] ) ) echo esc_attr( wc_format_localized_price( $item['line_total'] ) ); ?>" class="line_total wc_input_price" /></label>