?
Current Path : /home1/savoy/www/savoyglobal.net/rms/application/views/maintenance/ |
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/www/savoyglobal.net/rms/application/views/maintenance/add_maintenance_contract.php |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); $this->load->view('documentreadyfunctions'); $building=$this->mastermodel->getdatas('building_details','building_id','','building_id'); $company=$this->mastermodel->getdatas('maintenance_cc','maintenance_cc_id','','maintenance_cc_id'); ?> <div class="icons_main"> <div class="icons"> <img src="<?=base_url()?>assets/images/back.png" title="Back" class="clickimage" onclick="viewdata('maintenance','viewinmaintenancesearch','search_maintenance_contract','view_maintenance_contract','<?=$_SESSION['pagenum'];?>')" alt="Back" align = "center" width="32" height="32" /> </div> <div class="icons_caption"> <h4>Creating new Maintenance Contract</h4> </div> </div> <?php $attributes=array('id'=>'validateform','class'=>'validate'); echo form_open('maintenance/addinmaintenance/insert_maintenance_contract/view_maintenance_contract/1',$attributes); ?> <div class="grid_6"> <div class="box"> <div class="header"> <h3>Building Details</h3> </div> <div class="content no-padding"> <div class="section _100"> <label>Maintenance Code </label> <div class="single_page"> Auto-generated </div> </div> <div class="content no-padding"> <div class="section _100"> <label>Building Name </label> <div> <select name="maintenance_contract_building_id" onchange="get_building_info(this.value)" class="required" id="maintenance_contract_building_id"> <option value=''>--Select--</option> <?php foreach($building as $row) { echo '<option value="'.$row['building_id'].'">'.$row['building_name'].'</option>'; } ?> </select> </div> </div> <div id="building_details"> </div> <div class="section _100"> <label>Maintenance Contracting Company Name </label> <div> <select class="required" name="maintenance_contracting_company_id" id="maintenance_contracting_company_id"> <option value=''>--Select--</option> <?php foreach($company as $row) { echo '<option value="'.$row['maintenance_cc_id'].'">'.$row['maintenance_cc_name'].'</option>'; } ?> </select> </div> </div> <div class="section _100"> <label> Scope of Work</label> <div> <textarea name="maintenance_contract_work_scope" id="maintenance_contract_work_scope" class="required"></textarea> </div> </div> </div> </div> </div> </div> <div class="grid_6"> <div class="box"> <div class="header"> <h3>Maintenance Details</h3> </div> <div class="content no-padding"> <div class="section _100"> <label> Maintenance Start Date </label> <div> <input name="maintenance_contract_start_date" id="date1" type="dateonly" class="required"> </div> </div> <div class="section _100"> <label> Maintenance End Date </label> <div> <input name="maintenance_contract_end_date" id="date2" type="dateonly" class="required"> </div> </div> <div class="section _100"> <label> Budget </label> <div> <input name="maintenance_contract_budget" id="maintenance_contract_budget" type="text" class="number auto"/> </div> </div> <div class="section _100"> <label> Amount </label> <div> <input name="maintenance_contract_amount" id="maintenance_contract_amount" type="text" class="auto number" /> </div> </div> <div class="section _100"> <label> Remarks </label> <div> <textarea name="maintenance_contract_remarks" id="maintenance_contract_remarks" ></textarea> </div> </div> </div> </div> </div> <div class="grid_12"> <div class="box"> <div class="actions"> <div class="actions-left"> <input type="reset"> <input type="hidden" name="resfunction" value="search_maintenance_contract"/> </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();?>