?
Current Path : /home1/savoy/public_html/savoyglobal.net/horeitia/application/views/Timesheet/ |
Linux gator3171.hostgator.com 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 |
Current File : /home1/savoy/public_html/savoyglobal.net/horeitia/application/views/Timesheet/invoicereport.php |
<?php $this->load->view('documentreadyfunctions'); ?> <script type="text/javascript"> suggestcustomer("customer"); </script> <link href="<?=base_url()?>assets/css/tablesortnew.css" rel="stylesheet" type="text/css"/> <div class="select-bar"> <!-- <label><img src="<?=base_url()?>assets/images/backbutton.png" title="Back" class="clickimage" onclick="viewdata('report','viewinreportsearch','search_report','view_report','1');" alt="Back" align = "center" width="25" height="25" /> </label>--> <span class="heading">Invoice Report </span> </div> <fieldset> <?php $attributes=array('id'=>'validateform','class'=>'customForm'); echo form_open('timesheet/get_report/get_invoicereport/_report_invoice/',$attributes); ?> <ul> <li> <table class="sortnew"> <tr><th colspan='2' style="text-align: center">Search by Customer</th></tr> <tr> <td> Customer Name </td> <td style="width:65%"> <?php $data = array( 'name' => 'customer', 'id' => 'customer' ); echo form_input($data).form_error($data); ?> <input type="hidden" id="customer_id" name="customer_id"/> </td> </tr> <tr> <th colspan="2" style="text-align: center">Invoice Date</th> </tr> <tr> <td>From Date</td> <td> <div id="multi"> <?php $data = array( 'name' => 'invoice_start_date', 'id' => 'invoice_start_date', 'class' => 'calfocus medium' ); echo form_input($data).form_error($data); ?> <img src="<?=base_url()?>assets/images/icons/calendar.png" alt="Click to popup the clendar!" /> </div> </td> </tr> <tr> <td>To Date</td> <td> <div id="multi"> <?php $data = array( 'name' => 'invoice_end_date', 'id' => 'invoice_end_date', 'class' => 'calfocus medium', ); echo form_input($data).form_error($data); ?> <img src="<?=base_url()?>assets/images/icons/calendar.png" alt="Click to popup the clendar!" /> </div> </td> </tr> </table> <table class="sortnew"> <tr> <th style="text-align: center;"width="5%" ><input type="checkbox" id="checkall" name="checkall" class="reportcheck" onchange="check_all()" checked/></th> <th style="text-align: center">Report Fields</th> </tr> <?php $i=1; ?> <tr> <td><input type="checkbox" value="invoice_no~Invoice_No" name="field_name_<?=$i++;?>" class="reportcheck" checked/></td> <td>Invoice No</td> </tr> <tr> <td><input type="checkbox" value="job_code" name="job_code" class="reportcheck" checked/></td> <td>Job Code</td> </tr> <tr> <td width="5%"><input type="checkbox" value="customer_name~Customer_Name" name="field_name_<?=$i++;?>" class="reportcheck" checked/></td> <td>Customer Name</td> </tr> <tr> <td><input type="checkbox" value="customer_purchase_order_no" name="customer_purchase_order_no" class="reportcheck" checked/></td> <td>Purchase Order No</td> </tr> <tr> <td><input type="checkbox" value="invoice_date~Invoice_Date" name="field_name_<?=$i++;?>" class="reportcheck" checked/></td> <td>Invoice Date</td> </tr> <tr> <td><input type="checkbox" value="invoice_start_date~Timesheet_Start_Date" name="field_name_<?=$i++;?>" class="reportcheck" checked/></td> <td>Timesheet Start Date</td> </tr> <tr> <td><input type="checkbox" value="invoice_end_date~Timesheet_End_Date" name="field_name_<?=$i++;?>" class="reportcheck" checked/></td> <td>Timesheet End Date</td> </tr> <tr> <td><input type="checkbox" value="site_name" name="site_name" class="reportcheck" checked/></td> <td>Site</td> </tr> <tr> <td><input type="checkbox" disabled value="total_amount" class="reportcheck" checked/> <input type="hidden" value="total_amount" name="total_amount" /> </td> <td>Total</td> </tr> </table> </li> <li> <input type="hidden" name="field_count" value="<?=$i;?>"/> <label>Report Format</label> <select name="report_type" id="report_type"> <option value="xls">Xls</option> <option value="pdf">Pdf</option> </select> </li> <li> <label for="submit"> </label> <button type="submit" class="clickimage" >Generate</button> </li> </ul> <?php echo form_close();?> </fieldset>