"NO", "value" => "0"), array("name" => "YES", "value" => "1") ); $ReqType = ''; $CompanyAddress = ''; $dt = new DateTime('now', new DateTimeZone('Asia/Kolkata')); $CurrentDate = $dt->format('d-m-Y'); $CurrentDateNextYear = $dt->modify('+1 year')->format('d-m-Y'); $MaxPoDate = ''; if (!empty($MaxPODate)) { foreach ($MaxPODate as $date) { $MaxPoDate = $date->PODate; } } if (!empty($CompanyDetails)) { foreach ($CompanyDetails as $Req) { $CompanyAddress = $Req->Address; } } if (!empty($INRSYMBOL)) { foreach ($INRSYMBOL as $INRS) { $INRSYM = $INRS->FontCode2000; } } ?>
'form-label-left CreatealterPO ', 'name' => 'CreatealterPO', 'id' => 'CreatealterPO'); echo form_open(base_url() . '/purchaseorder/addalterPO/', $attributes); ?>
'Select Request Type'); if (!empty($RequestType)) { foreach ($RequestType as $RID): if ($RID->ConfigValue == "SERVICE" || $RID->ConfigValue == "REVENUE") { $options[$RID->ConfigValue] = $RID->ConfigValue; } endforeach; } echo form_dropdown( 'RequestType', $options, set_value('ConfigValue'), 'id="purpose"', 'class = "form-control select2"', 'required="true"' ); ?>
'POType', 'value' => set_value('POType', $ReqType), 'id' => 'POType', 'class' => 'form-control', 'readonly' => 'true'); echo form_input($data); ?>
'Select Supplier'); //print_r( $options); if (!empty($Suplist)) { foreach ($Suplist as $SID): $options[$SID->SupplierID] = $SID->SupplierID . ' - ' . $SID->SupplierName; endforeach; } echo form_dropdown('drpSupplier', $options, set_value('drpSupplier'), 'id="drpSupplier"', 'required="true"', 'class="form-control select2"'); ?>
'SupAddress', 'value' => set_value('SupAddress'), 'id' => 'SupAddress', 'class' => 'form-control', 'readonly' => 'true', 'rows' => '3', 'cols' => '40'); echo Form_textarea($data); ?>
Select Delivery By*
"DateRange", "id" => "Date", "value" => "0", 'checked' => set_radio('DateRange', '0', true))); ?> "DateRange", "id" => "Schedule", "value" => "1", 'checked' => set_radio('DateRange', '1', false))); ?>
'Scheduleby', 'value' => set_value('Scheduleby'), 'id' => 'Scheduleby', 'class' => 'form-control', 'required' => 'true', 'rows' => '3', 'cols' => '40', 'maxlength' => '110'); echo form_textarea($data); ?>
'DeliveryAddr', 'value' => set_value('DeliveryAddr', $CompanyAddress), 'id' => 'DeliveryAddr', 'class' => 'form-control', 'required' => 'true', 'rows' => '3', 'cols' => '40'); echo Form_textarea($data); ?>
'Select Department Name'); if (!empty($DeptList)) { foreach ($DeptList as $DID): $options1[$DID->DEPCode] = $DID->DEPCode . ' ' . ' - ' . ' ' . $DID->DepartmentName; endforeach; } echo form_dropdown('drpDepartment', $options1, set_value('drpDepartment'), 'id="DepartmentName"', 'class = "form-control select2"', 'required="true"', 'disabled="disabled"'); ?>
'Cost Center Name'); if (!empty($CostList)) { foreach ($CostList as $cost): $options2[$cost['CostCenterCode']] = $cost['CostCenterCode'] . ' ' . ' - ' . ' ' . $cost['CostCenterName']; endforeach; } echo form_dropdown('CostCenterName', $options2, set_value('CostCenterName'), 'id="CostCenterName"', 'class="form-control select2"', 'required="true"', 'multiple="true"'); ?>
format('Y-m-d'); $data = array( 'type' => 'date', 'name' => 'PODate', 'value' => set_value('PODate', $formattedDate), 'min' => $formattedDate, 'id' => 'PODate', 'class' => 'form-control', 'required' => 'true', 'onkeypress' => 'return false;' ); echo form_input($data); ?>
'emergmodeofshipment', 'value' => set_value('emergmodeofshipment'), 'id' => 'emergmodeofshipment', 'class' => 'form-control'); echo form_input($data); ?>
'emergsupplierreference', 'value' => set_value('emergsupplierreference'), 'id' => 'emergsupplierreference', 'class' => 'form-control', 'maxlength' => '40'); echo form_input($data); ?>
'emergsupplierofferno', 'value' => set_value('emergsupplierofferno'), 'id' => 'emergsupplierofferno', 'class' => 'form-control'); echo form_input($data); ?>
'emergotherreference', 'value' => set_value('emergotherreference'), 'id' => 'emergotherreference', 'class' => 'form-control'); echo form_input($data); ?>
'Select'); if (!empty($PoTypeOptions)) { foreach ($PoTypeOptions as $POpt): $optionsPO[$POpt->ConfigValue] = $POpt->ConfigValue; endforeach; } echo form_dropdown('PoTypeOptions', $optionsPO, set_value('PoTypeOptions'), 'id="PoTypeOptions"', 'class="form-control select2"', 'required="true"'); ?>
'Select Payment method'); //print_r( $options); if (!empty($Payment)) { foreach ($Payment as $payment): $options1[$payment->PaymentID] = $payment->PaymentTerms; endforeach; } echo form_dropdown('PaymentMethod', $options1, set_value('PaymentMethod'), 'id="PaymentMethod"', 'class="form-control"'); ?>
'InsuranceNumber', 'value' => set_value('InsuranceNumber'), 'id' => 'InsuranceNumber', 'class' => 'form-control', 'required' => 'true'); echo form_input($data); ?>
'Select', '1' => 'REVENUE', '2' => 'CAPITAL'); echo form_dropdown('BudgetType', $optionsnew, set_value('BudgetType'), 'id="BudgetType"', 'required="true"', 'class="form-control select2'); ?>
IS THIS OPEN ORDER FORMAT
SNo Requisition No Item Code Item Description Quantity UOM Rate Basic Amount Tax Amount Total Order Amount Action