totals / addresses. #7841

This commit is contained in:
James Koster 2015-06-18 15:56:51 +01:00
parent 5836370a38
commit 92c048c9ff
2 changed files with 4 additions and 4 deletions

View File

@ -39,8 +39,8 @@ if ( ! defined( 'ABSPATH' ) ) {
foreach ( $totals as $total ) {
$i++;
?><tr>
<th class="td" scope="row" colspan="2" style="font-family: 'Helvetica Neue', Helvetica, Roboto, Arial, sans-serif; text-align:left; <?php if ( $i == 1 ) echo 'border-top-width: 4px;'; ?>"><?php echo $total['label']; ?></th>
<td class="td" style="text-align:left; font-family: 'Helvetica Neue', Helvetica, Roboto, Arial, sans-serif; <?php if ( $i == 1 ) echo 'border-top-width: 4px;'; ?>"><?php echo $total['value']; ?></td>
<th class="td" scope="col" colspan="2" style="font-family: 'Helvetica Neue', Helvetica, Roboto, Arial, sans-serif; text-align:left; <?php if ( $i == 1 ) echo 'border-top-width: 4px;'; ?>"><?php echo $total['label']; ?></th>
<td class="td" scope="col" style="text-align:left; font-family: 'Helvetica Neue', Helvetica, Roboto, Arial, sans-serif; <?php if ( $i == 1 ) echo 'border-top-width: 4px;'; ?>"><?php echo $total['value']; ?></td>
</tr><?php
}
}

View File

@ -19,7 +19,7 @@ if ( ! defined( 'ABSPATH' ) ) {
<h3><?php _e( 'Billing address', 'woocommerce' ); ?></h3>
<p><?php echo $order->get_formatted_billing_address(); ?></p>
<p class="text"><?php echo $order->get_formatted_billing_address(); ?></p>
</td>
@ -29,7 +29,7 @@ if ( ! defined( 'ABSPATH' ) ) {
<h3><?php _e( 'Shipping address', 'woocommerce' ); ?></h3>
<p><?php echo $shipping; ?></p>
<p class="text"><?php echo $shipping; ?></p>
</td>