?
Current Path : /home1/savoy/www/savoyglobal.net/drafthr/system/application/views/Documents/ |
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/drafthr/system/application/views/Documents/showstatusdiv.php |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');?> <table class="sort" cellpadding="0" cellspacing="0"> <caption>Document Status</caption> <thead> <tr> <th>Sl.NO</th> <th>Date</th> <th>Mode</th> <th>Address</th> <th>Insurance Company</th> <th>Response</th> <th>Remarks</th> <th>Action</th> </tr> </thead> <?php $z=1; foreach($viewstatus as $updata) { if($z%2==0) { $alt="alt"; } else $alt="alt1"; $broking_slip_id=$updata['broking_slip_id']; $statusdate=$this->mastermodel->convdatformat($updata['statusdate']); $statusmode=$updata['statusmode']; $address=$updata['address']; $companyid=$updata['companyid']; $companyname=$this->mastermodel->get_data_srow('insurance_company',$companyid,'id'); $id=$updata['id']; $docstatus=$updata['docstatus']; $statusresponse=$updata['statusresponse']; $statusremarks=$updata['statusremarks']; $this->mastermodel->convdatformat($this->input->post('statusdate')); echo '<tr class='.$alt.'><td>'.$z.'</td><td>'.$statusdate.'</td><td>'.$statusmode.'</td><td>'.$address.'</td><td>'.$companyname->company_name.'</td><td>'.$statusresponse.'</td><td>'.$statusremarks.'</td>'; ?> <td><img src="<?=base_url()?>/assets/images/edit-icon.gif" class="clickimage" title="Edit" width="20" height="20" alt="Edit" align = "center" onclick="editstatus(<?=$id?>)" alt="" /> <?=anchor('documents/delete/broking_slip_status/'.$id.'/21', '<img src="'.base_url().'/assets/images/delete-icon.png" title="Delete" align = "center" width="20" height="20">',array('class'=>'delete','onclick'=>"return confirm('Are you sure want to delete this record?')"))?></td> <?php echo '</tr>'; $z++; } ?> </table>