?
Current Path : /home1/savoy/public_html/savoyglobal.net/rms/application/views/project/ |
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/rms/application/views/project/add_project.php |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); $this->load->view('documentreadyfunctions'); $contract=$this->mastermodel->getdatas('contracting_company','cc_id','asc','cc_id'); ?> <div class="icons_main"> <div class="icons"> <img src="<?=base_url()?>assets/images/back.png" title="Back" class="clickimage" onclick="viewdata('project','viewinprojectsearch','search_project','view_project','<?=$_SESSION['pagenum'];?>')" alt="Back" align = "center" width="32" height="32" /> </div> <div class="icons_caption"> <h4>Creating new Project</h4> </div> </div> <?php $attributes=array('id'=>'validateform','class'=>'validate'); echo form_open('project/addinproject/insert_project/view_project/1',$attributes); ?> <div class="grid_6"> <div class="box"> <div class="header main"> Project Details </div> <div class="content no-padding"> <div class="section _100"> <label>Project Title </label> <div> <input name="project_title" id="project_title" class="required"> </div> </div> <div class="section _100"> <label>Project Code </label> <div> <label>Auto - Gen Code </label> </div> </div> <div class="section _100"> <label>Risk Location</label> <div> <input name="project_location_risk" id="project_location_risk" class="required"> </div> </div> <div class="section _100"> <label> Contract Value </label> <div> <input name="project_contract_value" id="project_contract_value" type="text" class="number"> </div> </div> <div class="section _100"> <label> Start Date </label> <div> <input name="project_start_date" id="project_start_date" type="dateonly" class="required"> </div> </div> <div class="section _100"> <label> End Date </label> <div> <input name="project_end_date" id="project_end_date" type="dateonly" class="required"> </div> </div> <div class="section _100"> <label>Bank Name </label> <div> <input name="project_bank_name" id="project_bank_name" type="text"> </div> </div> </div> </div> </div> <div class="grid_6"> <div class="box"> <div class="header main"> Other Details </div> <div class="content no-padding"> <div class="section _100"> <label> Consultant Name </label> <div> <input type="text" name="project_consultant_name" id="project_consultant_name"/> </div> </div> <div class="section _100"> <label> Municipality </label> <div> <input type="text" name="project_municipality" id="project_municipality"/> </div> </div> <div class="section _100"> <label> Kahrama </label> <div> <input type="text" name="project_kahrama" id="project_kahrama"/> </div> </div> <div class="section _100"> <label> Civil Defence </label> <div> <input type="text" name="project_civil_defence" id="project_civil_defence"/> </div> </div> <div class="section _100"> <label> Qtel ID </label> <div> <input type="text" name="project_qtel" id="project_qtel"/> </div> </div> </div> </div> </div> <div class="grid_12"> <div class="box"> <div class="header main"> Project Details </div> <div class="content no-padding"> <table class="table"> <tr> <th>Contracting Company Name</th> <th>Scope Of Work</th> <th>Contract Value</th> <th>Paid Amount</th> <th>Balance</th> <th><input type="button" id="button2" value="Add More" class="addRow" title="Add Row" style="width:75px;"/></th> </tr> <tr> <td><select name="project_contractor_id" id="project_contractor_id" class="chzn-done"> <option value="">Select</option> <?php foreach($contract as $row) { echo '<option value="'.$row['cc_id'].'">'.$row['cc_name'].'</option>'; } ?> </select> </td> <td> <textarea name="scope_of_work" id="scope_of_work"></textarea> </td> <td> <input type="text" name="contracting_value" id="contracting_value"> </td> <td> <input type="text" name="paid_amount" id="1" onchange="calculatetotal(this.id)"> </td> <td> <input type="text" name="balance" id="balance" readonly="readonly"/> </td> <td> <img style="float: right; vertical-align: top;"src="<?=base_url()?>assets/images/icons/close.png" alt="Delete Row" class="delRow clickimage" title="Delete Row"/> </td> </tr> </table> </div> </div> </div> <div class="grid_12"> <div class="box"> <div class="actions"> <div class="actions-left"> <input type="reset"> </div> <div class="actions-right"> <button type="submit" id="submit" class="clickimage" onclick="addformdata('validateform')">Save</button> </div> </div> </div> </div> <?php echo form_close();?>