?
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/single_project.php |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); $this->load->view('documentreadyfunctions'); $details=$this->mastermodel->get_data('project_details',$viewinfo->project_id,'project_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 single_icon"> <img src="<?=base_url()?>assets/images/edit-icon.gif" title="Edit" width="25" height="25" alt="Edit" align = "center" class="clickimage" onclick="editformdata('project','edit_project','<?=$viewinfo->project_id;?>','project','project_id','edit_project')" alt="" /> </div> <div class="icons_caption"> <h4>Project Details</h4> </div> </div> <?php $attributes=array('id'=>'validateform','class'=>'validate'); echo form_open('',$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> Title </label> <div class="single_page"> <?=$viewinfo->project_title?> </div> </div> <div class="section _100"> <label>Location of Risk </label> <div class="single_page"> <?=$viewinfo->project_location_risk?> </div> </div> <div class="section _100"> <label> Contract Value </label> <div class="single_page"> <?=$viewinfo->project_contract_value?> </div> </div> <div class="section _100"> <label> Start Date </label> <div class="single_page"> <?=$this->mastermodel->convertdatenormalformat($viewinfo->project_start_date)?> </div> </div> <div class="section _100"> <label> End Date </label> <div class="single_page"> <?=$this->mastermodel->convertdatenormalformat($viewinfo->project_end_date)?> </div> </div> <div class="section _100"> <label> Bank Name </label> <div class="single_page"> <?=$viewinfo->project_bank_name?> </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 class="single_page"> <?=$viewinfo->project_consultant_name?> </div> </div> <div class="section _100"> <label> Municipality </label> <div class="single_page"> <?=$viewinfo->project_municipality?> </div> </div> <div class="section _100"> <label> Kahrama </label> <div class="single_page"> <?=$viewinfo->project_kahrama?> </div> </div> <div class="section _100"> <label> Civil Defence </label> <div class="single_page"> <?=$viewinfo->project_civil_defence?> </div> </div> <div class="section _100"> <label> Project Qtel </label> <div class="single_page"> <?=$viewinfo->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>Contracting Value</th> <th>Paid Amount</th> <th>Balance</th> </tr> <?php foreach($details as $row) { ?> <tr> <td> <?=$this->mastermodel->get_single_field_value('contracting_company','cc_name','cc_id',$row['contracting_company_id'])?> </td> <td> <?=$row['scope_of_work']?> </td> <td id="center"> <?=$row['contracting_value']?> </td> <td id="center"> <?=$row['paid_amount']?> </td> <td id="center"> <?=$row['contracting_value']-$row['paid_amount']?> </td> </tr> <?php } ?> </table> </div> </div> </div> <?php echo form_close();?> <?php $data['master_id']=$viewinfo->project_id; $data['controller']='project'; $data['controller_function']='viewinprojectsearch'; $data['page']='view_project'; $data['model_function']='search_project'; $this->load->view('master/uploaded_files',$data); echo form_close(); ?>