cmc-sales/views/elements/format_address.ctp

14 lines
404 B
PHP

<span style="font-weight: bold;"><?=$customerName;?></span><br>
<?=$address['address'];?><br>
<?=$address['city'];?><br>
<?=$address['postcode'];?>
<? if($address['state_id'] == 9): //Overseas Enquiry. Print the country name
?>
<? ?>
<? else: //Australian Enquiry. Only print the state ?>
<?=strtoupper($states[$enquiry['BillingAddress']['state_id']]);?>
<?endif; ?>
<br>
<? //INCOMPLETE ?>