?
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/edit_contracting_payment.php |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); $this->load->view('documentreadyfunctions'); $contract=$this->mastermodel->getdatas('contracting_company','cc_id'); $project=$this->mastermodel->getdatas('project','project_id'); $mode=array('Cash','Cheque','Bank Transfer'); ?> <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_payment','view_contracting_payment','<?=$_SESSION['pagenum'];?>')" alt="Back" align = "center" width="32" height="32" /> </div> <div class="icons_caption"> <h4>Updating project payment</h4> </div> </div> <?php $attributes=array('id'=>'validateform','class'=>'validate'); echo form_open('project/addinproject/update_project_payment/view_contracting_payment/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>Contractor Name </label> <div class="single_page"> <?php $id=$this->mastermodel->get_single_field_value('project','project_contractor_id','project_id',$viewinfo->project_id); ?> <?=$this->mastermodel->get_single_field_value('contracting_company','cc_name','cc_id',$id)?> </div> </div> <div class="section _100"> <label>Project Code</label> <div class="single_page"> <?=$this->mastermodel->get_single_field_value('project','project_code','project_id',$viewinfo->project_id);?> </div> </div> <div class="section _100"> <label> Payment Date </label> <div> <input name="project_payment_date" id="project_payment_date" class="required" type="dateonly" value="<?=$this->mastermodel->convertdatenormalformat($viewinfo->project_payment_date);?>"> </div> </div> </div> </div> </div> <div class="grid_6"> <div class="box"> <div class="header main"> Payment Details </div> <div class="content no-padding"> <div class="section _100"> <div class="section _100"> <label> Payment Amount </label> <div> <input name="project_payment_amount" id="project_payment_amount" class="required" value="<?=$viewinfo->project_payment_amount ?>" > </div> </div> <div class="section _100"> <label> Payment Mode </label> <div> <select name="project_payment_type" id="project_payment_type" class="chzn-done"> <option value="">Select</option> <?php foreach($mode as $row) { ?> <option value="<?=$row?>" <?php if($row==$viewinfo->project_payment_type){ echo 'selected'; } ?>><?=$row?></option> <?php } ?> </select> <input name="project_payment_type" id="project_payment_type" type="text" class="required" value=<?=$viewinfo->project_payment_type ?>> </div> </div> <div class="section _100"> <label>Remarks </label> <div> <textarea name="project_payment_remarks" id="project_payment_remarks" type="text"><?=$viewinfo->project_payment_remarks ?></textarea> </div> </div> </div> </div> </div> </div> <div class="grid_12"> <div class="box"> <div class="actions"> <div class="actions-left"> <input type="reset"> <input name="project_payment_id" id="holiday_id" type="hidden" value="<?=$viewinfo->project_payment_id?>"> </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();?>