_e('Email', 'simvoicing');
    ?>
:</span> <?php 
    echo wpminv_get_invoiceto_contact_email($client_id);
    ?>
</p>
	
	</div>
	
	<div class="invoice-col invoice-col-half invoice-details">
		
		<p class="invoicereference"><span class="wpminv-label"><?php 
    _e('Reference', 'simvoicing');
    ?>
:</span> <?php 
    echo wpminv_get_invoice_reference();
    ?>
</p>
		<p class="invoicedate"><span class="wpminv-label"><?php 
    _e('Invoice Date', 'simvoicing');
    ?>
:</span> <?php 
    the_time('d-m-Y');
    ?>
</p>
		<p class="invoiceduedate"><span class="wpminv-label"><?php 
    _e('Invoice Due Date', 'simvoicing');
    ?>
:</span> <?php 
    echo wpminv_get_payment_due_date();
    ?>
<div class="invoice-col invoice-col-half invoice-payment-details">
	
	<h3 class="payment-details-title"><?php 
_e('How to Pay', 'simvoicing');
?>
</h3>
	
	<?php 
/* get the payment details intro text */
$payment_details_intro = wpminv_get_setting('payment_details_intro');
/* do we have any payment intro details */
if ($payment_details_intro != '') {
    /* output the payment details intro text */
    echo '<div class="payment-details-intro">' . wpautop($payment_details_intro) . '</div>';
}
$payment_details = '<li class="payment-details-data reference"><span class="wpminv-label">' . __('Payment Reference', 'simvoicing') . ':</span> ' . wpminv_get_invoice_reference() . '</li>';
/* get the bank sort code number */
$bank_sort_code = wpminv_get_setting('bank_sort_code');
/* if we have a bank sort code number */
if ($bank_sort_code != '0') {
    $payment_details .= '<li class="payment-details-data bank-sort-code"><span class="wpminv-label">' . __('Sort Code', 'simvoicing') . ':</span> ' . esc_html($bank_sort_code) . '</li>';
}
/* get the bank account number */
$bank_account_no = wpminv_get_setting('bank_account_number');
/* if we have a bank account number */
if ($bank_account_no != '0') {
    $payment_details .= '<li class="payment-details-data bank-account-number"><span class="wpminv-label">' . __('Account Number', 'simvoicing') . ':</span> ' . intval($bank_account_no) . '</li>';
}
/* have we got payment details output */
if ($payment_details != '') {
    ?>