?
Current Path : /home1/savoy/public_html/savoyglobal.net/sgms/application/views/Accounting/ |
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/sgms/application/views/Accounting/view_aging_summary.php |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); $this->load->view('documentreadyfunctions'); ?> <script> function validate() { var x=document.forms["validateform"]["account_type"].value; if (x==null || x=="") { alert("Choose an account"); return false; } var y=document.forms["validateform"]["report_date"].value; if (y==null || y=="") { alert("Select Date"); return false; } } </script> <div class="select-bar"> <label> </label> <span class="heading">Aging Summary</span> </div> <fieldset> <?php $attributes=array('id'=>'validateform','class'=>'customForm'); echo form_open('accounting/generate_ageingsummary_pdf',$attributes); ?> <ul> <li> <label for="data">Choose Account</label> <select name="account_type" id="account_type" class="required"> <option value="">Select</option> <option value="customer">Customer</option> <option value="employee">Employee</option> </select> </li> <li> <label for="data">Date</label> <input type="text" name="report_date" id="report_date" class="required calfocus" value="<?=date("d-m-Y");?>" /> </li> <li> <input type="hidden" name="tab_name" value="aging_summary"/> <input type="hidden" name="resfunction" value="search_empty"/> <label for="submit"> </label> <button type="submit" id="submit" class="clickimage" onclick="return validate()">Generate Report</button> </li> </ul> <?php echo form_close();?> </fieldset>