|
|
||||||||||||||||||||
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 . ' ';
}
?>
|
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; } ?> | item_subtotal-$item_value->item_discount); ?> item_tax_total; ?>
notes); ?> |
|
||||||||||||||
invoice_terms); ?> |