Example #1
0
function invoice_to_full_address($invoice)
{
    global $CI;
    /* Client address, fully formatted */
    $address = $CI->lang->line('bill_to') . '<br />';
    $address .= invoice_to_client_name($invoice) . '<br />';
    if ($invoice->client_address) {
        $address .= $invoice->client_address . '<br />';
        if ($invoice->client_address_2) {
            $address .= $invoice->client_address_2 . '<br />';
        }
    }
    $address .= invoice_to_city_state_zip($invoice);
    return $address;
}
Example #2
0
				<td width="40%" valign="top">
					<?php 
echo invoice_to_client_name($invoice);
?>
<br />
					<?php 
echo invoice_to_address($invoice);
?>
<br />
					<?php 
if (invoice_to_address_2($invoice)) {
    echo invoice_from_address_2($invoice) . '<br />';
}
?>
					<?php 
echo invoice_to_city_state_zip($invoice);
?>
				</td>

				<td width="60%" valign="top">
					<h1 style="text-align: right;"><?php 
echo $this->lang->line('payment_receipt');
?>
</h1>
				</td>

			</tr>
			
		</table>

		<br />