<?php $this->breadcrumbs = array('Invoice Management' => array('index'), $model->invoice_no); $menus = array(array('label' => 'Invoice Management', 'url' => array('index')), array('label' => 'Create Invoice', 'url' => array('create')), array('label' => 'Update Invoice', 'url' => array('update', 'id' => $model->id)), array('label' => 'Delete Invoice', 'url' => array('delete'), 'linkOptions' => array('submit' => array('delete', 'id' => $model->id), 'confirm' => 'Are you sure you want to delete this item?'))); $this->menu = ControllerActionsName::createMenusRoles($menus, $actions); $model->aModelDetail = $model->rDetail; $cmsFormater = new CmsFormatter(); $InvoiceNumber = $model->invoice_no; $InvoiceDate = $cmsFormater->formatDate($model->created_date); // invoice normal //$BillTo = FiInvoice::$STA_BILL_TO[$model->bill_to]; $CommissionAmount = $model->total_amount_due_gst; $BillTo = $model->user_name; $BillingAddress = $model->user_billing_address; $PostalCode = $model->user_postal_code; $CommissionAmountInText = NumberToText::convertNumber($CommissionAmount); $CommissionAmountFormat = $cmsFormater->formatPrice($CommissionAmount); // //$CreatedDate = $cmsFormater->formatDate($model->created_date); //$ReceiptDatePaid = $cmsFormater->formatDate($model->receipt_date_paid); //$ReceiptInvoice = ProTransactionsInvoice::getReceiptInvoiceNo($model); ?> <div class="sprint l_padding_140"> <a class="button_print" href="javascript:void(0);" title="Print"> <img src="<?php echo Yii::app()->theme->baseUrl; ?> /img/print.png"> </a> </div>
<tbody> <tr> <td> </td> <td> </td> <td> </td> </tr> <tr> <td class="line">Prepared by</td> <td> </td> <td class="line">Approved by</td> </tr> </tbody> </table> <p class="line-1">I have checked this statement and hereby confirm that they are correct and I hereby acknowledge receipt of </p> <p><strong>Total Amount in text:</strong> <?php echo ucfirst(NumberToText::convertNumber($model->total_amount)); ?> </p> <p><span style="padding-right: 100px;">Payment Mode:</span> <strong>CHEQUE</strong>- <span class="line-2"></span> <strong>dated</strong> <span class="line-2"></span> </p> <table class="sign" style="width:80%;"> <tbody> <tr> <td> </td> </tr> <tr> <td class="line">SIGNATURE OF CONSULTANT</td> </tr> <tr> <td class="t-left"><p><strong>NOTE: SHOULD THERE BE ANY DISCREPANCY PLEASE NOTIFY OUR ACCOUNTS DEPT WITHIN 7 DAYS <br> PLEASE RETAIN THIS RECEIPT FOR INCOME TAX PURPOSE</strong></p></td> </tr> </tbody>