<tr class="text-right"> <td colspan="6" class="no-border"> New Sub-Total : </td> <td class="invoice_amount_due"><label><span id="invoice_sub_total1"><?php echo format_amount($invoice_details->invoice_totals['sub_total']); ?> </span></label></td> <td style="width:2%"></td> </tr> <tr class="text-right"> <td colspan="6" class="no-border" style="vertical-align: middle">Invoice Discount :</td> <td style="width:12%;" > <div class="form-group input-group invoice_grand_total" style="margin-bottom: 0px"> <span class="input-group-addon"><?php echo get_siteconfig('currency'); ?> </span> <input type="text" class="form-control text-right invoice_grand_total" name="invoice_discount_amount" onchange="javascript: calculateInvoiceAmounts();" id="invoice_discount_amount" value="<?php echo number_format($invoice_details->invoice_discount, 2); ?> "/> </div> </td> <td style="width:2%"></td> </tr> <tr class="text-right"> <td colspan="6" class="no-border"> New Sub Total : </td> <td class="invoice_amount_due"><label><span id="invoice_sub_total2"><?php echo format_amount($invoice_details->invoice_totals['sub_total'] - $invoice_details->invoice_discount);
function format_date($date = '') { $date_config = get_siteconfig('date_format'); $date_format = $date_config != '' ? $date_config : 'd-m-Y'; $formated_date = date($date_format, strtotime($date)); return $formated_date; }
?> </p> <p><?php echo get_siteconfig('address'); ?> </p> <p><?php echo get_siteconfig('phone'); ?> </p> <p><?php echo get_siteconfig('email'); ?> </p> <p><?php echo get_siteconfig('website'); ?> </p> </div> </div> </div> <hr/> <div class="row"> <div class="col-lg-12"> <div class="client-details"> <div class="row"> <div class="col-lg-12"> <h4>Client : <?php echo $invoice_details['invoice_details']->client_name; ?> </h4>
body { font-size: 75%; } </style> <?php $logo = get_siteconfig('logo'); $name = get_siteconfig('name'); $gst = get_siteconfig('gst'); $ssm = get_siteconfig('ssm'); $address = get_siteconfig('address'); $postal_code = get_siteconfig('postal_code'); $phone = get_siteconfig('phone'); $fax = get_siteconfig('fax'); $email = get_siteconfig('email'); $website = get_siteconfig('website'); ?> <div class="row"> <div class="col-lg-12"> <table width="100%"> <tr> <td align="center" cellpadding="0" cellspacing="0" style="padding:0px"> <?php if ($logo != '') { ?> <img src="<?php echo base_url() . UPLOADSDIR . $logo; ?> " width="25%"/> <?php