company_address . ',' . $value->company_city . ($value->company_postal_code ? " - " . $value->company_postal_code : "") ?>

company_email . ' | ' . $value->company_mobile_no ?>

BILLING TO :
customer_biller_name) && trim($value->customer_biller_name) !== '' ? $value->customer_biller_name : $value->customer_name ?>
customer_bill_address && ($value->baddr_id !== null || $value->baddr_id !== '')) { ?> customer_bill_address ? $value->customer_bill_address . "," : "" ?>
customer_bill_city ? $value->customer_bill_city : "" ?> customer_bill_state ? $value->customer_bill_state : "" ?> customer_bill_postal_code ? " - " . $value->customer_bill_postal_code : ""; ?> customer_bill_country ? $value->customer_bill_country . "." : $value->bcountry ?>
baddr_id === null || $value->baddr_id === '') { echo $value->billing_address ? '

' . $value->billing_address . '

' : ''; } ?> bmobile ? "Phone : +91" . $value->bmobile . "." : ($value->mobile_no ? "Phone : +91" . $value->mobile_no . "." : "") ?>
bemail ? "Email : " . $value->bemail . "." : ($value->email ? "Email : " . $value->email . "." : "" ) ?>
SHIPPING TO :
customer_shipper_name) && trim($value->customer_shipper_name) !== '' ? $value->customer_shipper_name : $value->customer_name ?>
customer_ship_address && ($value->saddr_id !== null || $value->saddr_id !== '')) { ?> customer_ship_address ? $value->customer_ship_address . "," : "" ?>
customer_ship_city ? $value->customer_ship_city : "" ?> customer_ship_state ? $value->customer_bill_state : "" ?> customer_ship_postal_code ? " - " . $value->customer_ship_postal_code : ""; ?> customer_ship_country ? $value->customer_ship_country . "." : $value->scountry ?>
saddr_id === null || $value->saddr_id === '') { echo $value->shipping_address ? '

' . $value->shipping_address . '

' : ''; } ?> smobile ? "Phone : +91" . $value->smobile . "." : "" ?>
semail ? "Email : " . $value->semail . "." : "" ?>
INVOICE :
wp_api_order_id) ? 'Order # ' . $value->invoice_number : 'Invoice No # ' . $value->invoice_number; ?>
formatted_invoice_date ?>
due_date) : echo "Due Date :". $value->formatted_due_date ?>
From Subscription : from_subscription)) ?>
To Subscription : to_subscription)) ?>
reason)) : ?>
Reason
reason); ?>

  

notes)) : ?>
Notes
notes); ?>

  

payment_note)) : ?>
Payment Notes
payment_note); ?>

  

terms)) : ?>
                                            terms ?>
                                

  


dis_type == "%") { $dis_value = ($value->subtotal * $value->discount) / 100; $dis_percent = '(' . $value->discount . $value->dis_type . ')'; } else { $dis_value = $value->discount ? $value->discount : 0; $dis_percent = ''; } ?> shipping_label)) : ?> total_amount >= $value->exact_total_amount) ? '₹' : '₹-'; $difference = abs($value->exact_total_amount - $value->total_amount); ?> status === 'Draft') : ?> total_amount, 2, '.', ',') ?> status === 'Approved') : ?>
Subtotal subtotal, 2, '.', ',') ?>
Discount
shipping_label) ?> shipping_charge, 2, '.', ',') ?>
Rounding
Total total_amount, 2, '.', ',') ?>
Balance
Paid total_amount, 2, '.', ',') ?>
status != 'Approved') : ?>

Bank Details

Else if block.......... ..............


Authorized Signatory