cose center
This commit is contained in:
parent
5386b47083
commit
cf3f511072
@ -51,7 +51,7 @@
|
||||
?></td>
|
||||
<td>
|
||||
<a href="<?php echo base_url().'CostCenter/editOldcost?CostCode='.$record->code; ?>"><i class="fa fa-pencil"></i> </a>
|
||||
<a href="<?php echo base_url().'CostCenter/viewcost?CostCode='.$record->code; ?>"><i class="fa fa-eye"></i> </a>
|
||||
<!-- <a href="<?php echo base_url().'CostCenter/viewcost?CostCode='.$record->code; ?>"><i class="fa fa-eye"></i> </a> -->
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@ -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 "'); ?>
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user