Name) { echo '' . $company_branch_address->Name . ''; } ?>
Address_1) { echo '
' . $company_branch_address->Address_1 . '
'; } ?>
Address_2) { echo '
' . $company_branch_address->Address_2 . '
'; } ?>
City && $company_branch_address->Zip) { echo '
' . $company_branch_address->City . ' ' . $company_branch_address->Zip . '
'; } else { if ($company_branch_address->City) { echo '
' . $company_branch_address->City . '
'; } if ($company_branch_address->Zip) { echo '
' . $company_branch_address->Zip . '
'; } } ?>
States || $company_branch_address->Country) { ?> States) { echo '' . get_country_state_name(lang('cldr'), $company_branch_address->Country, $company_branch_address->States) . ''; } ?> Country) { if ($company_branch_address->States) {echo ","; } echo '' . get_country_name(lang('cldr'), $company_branch_address->Country) . ''; } ?>
Phone) { echo '
Contact: ' . $company_branch_address->Phone . '
'; } ?>
Fax) { echo '
' . lang('fax_abbr') . ': ' . $company_branch_address->Fax . '
'; } ?>
Mobile) { echo '
Mob.: ' . $company_branch_address->Mobile . '
'; } ?>
Email) { echo '
Email: ' . $company_branch_address->Email . '
'; } ?>
Web) { echo '
Web: ' . $company_branch_address->Web . '
'; } ?>
user_vat_id) { echo '
' . lang('vat_id_short') . ': ' . $invoice->user_vat_id . '
'; } ?>
user_tax_code) { echo '
' . lang('tax_code_short') . ': ' . $invoice->user_tax_code . '
'; } ?>
branch_registration_id) { echo '
GST No: ' . $company_branch_address->branch_registration_id . '
'; } ?>
invoice_type == "invoice"){ ?> invoice_type == "invoice"){ ?>
invoice_number; ?>
invoice_date_created, true); ?>
Buyer :
".$invoice->client_name.""; ?> account_name) { echo '
' . $invoice->account_name . '
'; } if ($invoice->client_address_1) { echo '
' . $invoice->client_address_1 . '
'; } if ($invoice->client_address_2) { echo '
' . $invoice->client_address_2 . '
'; } if ($invoice->client_city && $invoice->client_zip) { echo '
' . $invoice->client_city . ' ' . $invoice->client_zip . '
'; } else { if ($invoice->client_city) { echo '
' . $invoice->client_city . '
'; } if ($invoice->client_zip) { echo '
' . $invoice->client_zip . '
'; } } if ($invoice->client_state) { // echo '
' . $invoice->client_state . '
'; echo '
' . get_country_state_name(lang('cldr'), $invoice->client_country, $invoice->client_state) . '
'; } if ($invoice->client_country) { echo '
' . get_country_name(lang('cldr'), $invoice->client_country) . '
'; } if ($invoice->client_vat_id) { echo '
' . lang('vat_id_short') . ': ' . $invoice->client_vat_id . '
'; } if ($invoice->client_tax_code) { echo '
' . lang('tax_code_short') . ': ' . $invoice->client_tax_code . '
'; } if ($invoice->gstin) { echo '
GST No. ' . ': ' . $invoice->gstin . '
'; } if ($invoice->client_phone) { echo '
Contact: ' . $invoice->client_phone . '
'; } echo "
"; if($company_branch_address->gst_enabled) { echo '
Place Of Order: ' . $gst_detail["get_state_code"][$invoice->place_of_order] . '
'; } ?>
Shipping Address :
ship_client_name) { echo '
' . $shipping_address[0]->ship_client_name . '
'; } if ($shipping_address[0]->ship_company_name) { echo '
' . $shipping_address[0]->ship_company_name . '
'; } if ($shipping_address[0]->ship_client_address_1) { echo '
' . $shipping_address[0]->ship_client_address_1 . '
'; } if ($shipping_address[0]->ship_client_address_2) { echo '
' . $shipping_address[0]->ship_client_address_2 . '
'; } if ($shipping_address[0]->ship_client_city && $shipping_address[0]->ship_client_zip) { echo '
' . $shipping_address[0]->ship_client_city . ' ' . $shipping_address[0]->ship_client_zip . '
'; } else { if ($shipping_address[0]->ship_client_city) { echo '
' . $shipping_address[0]->ship_client_city . '
'; } if ($shipping_address[0]->ship_client_zip) { echo '
' . $shipping_address[0]->ship_client_zip . '
'; } } if ($shipping_address[0]->ship_client_state) { echo '
' . $shipping_address[0]->ship_client_state . '
'; } if ($shipping_address[0]->ship_client_country) { echo '
' . get_country_name(lang('cldr'), $shipping_address[0]->ship_client_country) . '
'; } if ($shipping_address[0]->ship_client_phone) { echo '
Contact: ' . $shipping_address[0]->ship_client_phone . '
'; } ?>
item_subtotal-$item_value->item_discount); ?> item_tax_total; ?>
custom_field_label); ?>
custom_field_column; if($citem->custom_field_type == "date"){ echo date_from_mysql($item_value->$asd); }else if($citem->custom_field_type == "datetime"){ echo datetime_from_mysql($item_value->$asd); }else if($citem->custom_field_type == "lookup"){ $data_list = $line_item_reference_data['lookup_field_reference_data'][$citem->custom_field_text]; foreach($data_list as $data){ if($data->Id == $item_value->$asd){ echo $data->Name; break; } } }else if(($citem->custom_field_type == "globalPicklist") || ($citem->custom_field_type == "picklist")){ $data_list = $line_item_reference_data['globalPickList_field_reference_data']['global_'.$citem->custom_field_column.'_list']; foreach($data_list as $data){ if($data->Id == $item_value->$asd){ echo $data->Name; break; } } }else{ echo $item_value->$asd; } ?>

notes); ?>
adjustment_value!=0){ ?> invoice_discount_percent != 0 ||$invoice->invoice_discount_amount != 0){ ?>
invoice_item_subtotal); ?>
invoice_tax_rate_name . ' (' . $invoice_tax_rate->invoice_tax_rate_percent . '%)'; ?> invoice_tax_rate_amount); ?> invoice_tax_rate_amount; ?>
adjustment_name; if($invoice_adjustment->adjustment_type == 'percent'){ echo "(".$invoice_adjustment->adjustment_value."%)"; } ?> adjustment_type == 'percent'){?> adjustment_value*$invoice->invoice_item_subtotal/100); $tempTotalInvoiceTax = $tempTotalInvoiceTax + ($invoice_adjustment->adjustment_value*$invoice->invoice_item_subtotal/100); } else { echo format_amount($invoice_adjustment->adjustment_value); $tempTotalInvoiceTax = $tempTotalInvoiceTax + $invoice_adjustment->adjustment_value; } ?>
invoice_discount_percent != 0){ echo "(".$invoice->invoice_discount_percent."%)"; } ?> invoice_discount_percent != 0){ echo format_amount($invoice->invoice_discount_percent*($tempTotalInvoiceTax+$invoice->invoice_item_subtotal)/100); }else{ echo format_amount($invoice->invoice_discount_amount); } ?>
invoice_total); ?>
invoice_paid); ?>
invoice_balance); ?>
invoice_terms) : ?>
invoice_terms); ?>