cose center

This commit is contained in:
venbatechnologies@gmail.com 2017-08-01 17:23:00 +05:30
parent 5386b47083
commit cf3f511072
2 changed files with 21 additions and 5 deletions

View File

@ -51,7 +51,7 @@
?></td>
<td>
<a href="<?php echo base_url().'CostCenter/editOldcost?CostCode='.$record->code; ?>"><i class="fa fa-pencil"></i>&nbsp;&nbsp;&nbsp;</a>
<a href="<?php echo base_url().'CostCenter/viewcost?CostCode='.$record->code; ?>"><i class="fa fa-eye"></i>&nbsp;&nbsp;&nbsp;</a>
<!-- <a href="<?php echo base_url().'CostCenter/viewcost?CostCode='.$record->code; ?>"><i class="fa fa-eye"></i>&nbsp;&nbsp;&nbsp;</a> -->
</td>
</tr>

View File

@ -11,6 +11,14 @@ $FYEnd ='';
$FYear = '';
//print_r($opt);
$Budget='';
foreach ($CostBudget as $BUD)
{
$Budget=$BUD->BudgetType;
}
//echo $Budget;
if(!empty($CostMaster))
@ -328,12 +336,20 @@ $(function() {
if(!empty($BudType))
{
foreach ($BudType as $SID):
// echo $SID->ConfigValue;
$Budget[$SID->ConfigValue] = $SID->ConfigValue;
foreach ($BudType as $SID):
//print_r($Budget);
if($SID->ConfigValue!=$Budget)
{
endforeach;
$Budget[$SID->ConfigValue] = $SID->ConfigValue;
}
endforeach;
}
echo form_dropdown('Addbudget',$Budget ,set_value('Addbudget'),'id="Addbudget"', 'class = "form-control "'); ?>