controller->view_data["custom_values"]; $CustomVal = ''; $Secondary = ''; if(!empty($Duedate)) { foreach ($Duedate as $Due) { $CustomVal = $Due->client_custom_fieldvalue; } } if(!empty($GetSecondary)) { foreach ($GetSecondary as $GetSec) { $Secondary = $GetSec->Secondary; } } ?> config->item('disable_read_only') == true) { $invoice->is_read_only = 0; } ?>

invoice_number ? '#' . $invoice->invoice_number : $invoice->invoice_id); ?>

is_read_only != 1 || $invoice->invoice_status_id != 4) { ?>
invoice_is_recurring) { ?> is_read_only == 1) { ?>
layout->load_view('layout/alerts'); ?>

invoice_status_id == 1 && !$invoice->creditinvoice_parent_id) { ?>


layout->load_view('clients/partial_client_address', array('client' => $invoice)); ?>


client_phone || $invoice->client_email) : ?>
client_phone): ?>
client_phone); ?>
client_email): ?>
client_email; ?>

invoice_sign == -1) { ?>
  mdl_invoices->get_parent_invoice_number($invoice->creditinvoice_parent_id); echo anchor('/invoices/view/' . $invoice->creditinvoice_parent_id, $parent_invoice_number); ?>
invoice_number) : ?> value="invoice_number; ?>" placeholder="" is_read_only == 1) { echo 'disabled="disabled"'; } ?>>
is_read_only == 1) { echo 'disabled="disabled"'; } ?>>
is_read_only == 1) { echo 'disabled="disabled"'; } ?>>
custom_field_label;} $str = $invoice->client_name; $str = str_replace(' ', '',$str); $str = strtolower($str); $str1 = strtolower("ASHOKLEYLANDLIMITED"); if (($key = array_search("ASN Number",$labelfilter)) !== false && strpos($str,$str1) === false) {unset($labelfilter[$key]);unset($custom_fields[$key]);} if (($key = array_search("ASN Date",$labelfilter)) !== false && strpos($str,$str1) === false) {unset($labelfilter[$key]);unset($custom_fields[$key]);} ?> custom_field_location != 1) { continue; } ?> mdl_invoices, $custom_field, $cv); ?>
is_read_only == 1) { echo 'disabled="disabled"'; } ?>>
invoice_status_id != 1) { ?>

layout->load_view('invoices/partial_item_table'); ?>

layout->load_view('upload/dropzone-invoice-html'); ?>
layout->load_view('upload/dropzone-invoice-scripts'); ?>