Siddharth Industries - Requisition Form
'Select Request Type');
//print_r( $options);
if(!empty($RequestType))
{
foreach ($RequestType as $RID):
$options[$RID->ConfigValue] = $RID->ConfigValue;
endforeach;
}
echo form_dropdown('RequestType', $options,set_value('ConfigValue'),'id="RequestType"' ,'class = "form-control select2"','required="true"');
?>
'Select Requested By');
//print_r( $options);
if(!empty($EmpList))
{
foreach ($EmpList as $EID):
$options[$EID->EmpID] = $EID->EmpID.' '.' - '.' '.$EID->FirstName.' . '.' '.$EID->LastName;
endforeach;
}
echo form_dropdown('EmpID', $options,set_value('EmpID'),'id="EmpID"' ,'class = "form-control select2"','required="true"');
?>
'SupplierAddress','value' => set_value('SupplierAddress'),'id'=>'SupplierAddress', 'class' => 'form-control' ,'readonly' => 'true');
echo form_input($data);
?>
'SupplierAddress','value' => set_value('SupplierAddress'),'id'=>'SupplierAddress', 'class' => 'form-control' ,'readonly' => 'true');
echo form_input($data);
?>
'Select Cost Center Name');
//print_r( $options);
if(!empty($CostCenter))
{
foreach ($CostCenter as $CID):
$options[$CID->CostName] = $CID->CostName.' '.' - '.' '.$CID->Description;
endforeach;
}
echo form_dropdown('CostCenter', $options,set_value('CostCenter'),'id="CostCenter"' ,'class = "form-control"');
?>
'BudgetAmount','value' => set_value('BudgetAmount'),'id'=>'BudgetAmount', 'class' => 'form-control' ,'readonly' => 'true');
echo form_input($data);
?>