cmc-sales/views/elements/pdf_shipping_billing_box.ctp

57 lines
2.8 KiB
Plaintext
Raw Normal View History

2011-08-15 17:36:48 -07:00
<?
$col1width = '30%';
$col2width = '30%';
$col3width = '30%';
?>
<table cellpadding="2" cellspacing="0" >
<tr>
<td style="width: <?=$col1width?>; border-top: 1px solid black; border-left: 1px solid black; border-bottom: 1px solid black; background-color: #f2f2f2">BILL TO:</td>
<td style="width: <?=$col1width?>; border-top: 1px solid black; border-left: 1px solid black; border-right: 1px solid black; border-bottom: 1px solid black; background-color: #f2f2f2">SHIP TO:</td>
<td style="width: 3%;"></td>
<td style="font-size: 9pt; width: 37%;" colspan="4" rowspan="2">
<span style="text-decoration: underline; font-size: 11pt">CMC INVOICE#: CMCIN4745</span><br>
<span style="text-decoration: none">Date: <?=$document['Invoice']['issue_date'];?></span><br><br>
<span style="text-decoration: underline">MAKE PAYMENT TO:</span><br>
<span style="text-decoration: none">Account Name: CMC Technologies Pty Ltd<br>
Bank Number BSB#: 062-458<br>
Account Number: 10067982<br>
SWIFT Code: CTBAAU2S
</span>
</td>
</tr>
<tr>
<td style="width: <?=$col1width?>; border-top: 1px solid black; border-left: 1px solid black; border-bottom: 1px solid black">
<?=$enquiry['BillingAddress']['address'];?><br>
<?=$enquiry['BillingAddress']['city'];?><br>
<?=$enquiry['BillingAddress']['postcode'];?>
<?=strtoupper($states[$enquiry['BillingAddress']['state_id']]);?><br>
</td>
<td style="width: <?=$col1width?>; border-top: 1px solid black; border-left: 1px solid black; border-right: 1px solid black; border-bottom: 1px solid black">
<?=$enquiry['ShippingAddress']['address'];?><br>
<?=$enquiry['ShippingAddress']['city'];?><br>
<?=$enquiry['ShippingAddress']['postcode'];?>
<?=strtoupper($states[$enquiry['ShippingAddress']['state_id']]);?><br>
</td>
</tr>
</table>
<br>
<table border="1" cellpadding="2" cellspacing="0">
<tr bgcolor="#f2f2f2" align="center">
<? $moreDetailsFont = '9pt'; ?>
<td style="font-size: <?=$moreDetailsFont?>">CUSTOMER ORDER NO</td>
<td style="font-size: <?=$moreDetailsFont?>">CMC JOB #</td>
<td style="font-size: <?=$moreDetailsFont?>">FOB</td>
<td style="font-size: <?=$moreDetailsFont?>">SHIP VIA</td>
<td style="font-size: <?=$moreDetailsFont?>">TERMS</td>
<td style="font-size: <?=$moreDetailsFont?>">CUSTOMER ABN</td>
</tr>
<tr align="center">
<td style="font-size: <?=$moreDetailsFont?>"><?=$job['Job']['customer_order_number'];?></td>
<td style="font-size: <?=$moreDetailsFont?>"><?=$job['Job']['title'];?></td>
<td style="font-size: <?=$moreDetailsFont?>">??</td>
<td style="font-size: <?=$moreDetailsFont?>">??</td>
<td style="font-size: <?=$moreDetailsFont?>"><?=$job['Customer']['payment_terms'];?></td>
<td style="font-size: <?=$moreDetailsFont?>"><?=$this->element('abn', array('abn'=>$job['Customer']['abn']));?></td>
</tr>
</table>