diff --git a/application/config/routes.php b/application/config/routes.php
index e22a7f3a..b214a20a 100755
--- a/application/config/routes.php
+++ b/application/config/routes.php
@@ -288,6 +288,9 @@ $route['productionsalary']="monthlypay/productionsalary";
$route['Editenquiry'] = "purchaseorder/Editenquiry";
$route['enquirylisting'] = "purchaseorder/enquirylist";
-
+$route['AddComplaint'] = "purchaseorder/AddComplaint";
+$route['EditComplaint'] = "purchaseorder/EditComplaint";
+$route['Addaction'] = "purchaseorder/Nonconfirmative";
+$route['ncrlist'] = "purchaseorder/Nonconfirmativelist";
/* End of file routes.php */
/* Location: ./application/config/routes.php */
diff --git a/application/controllers/purchaseorder.php b/application/controllers/purchaseorder.php
index e7db9047..5b13d867 100755
--- a/application/controllers/purchaseorder.php
+++ b/application/controllers/purchaseorder.php
@@ -3295,6 +3295,449 @@ public function enquiry()
}
+
+
+ public function Nonconfirmative()
+ {
+
+ $CId = $_GET['CId'];
+
+ $data['CId']=$CId;
+ $data['Suplist'] = $this->purchaseorder_model->GetEnquiryDetails();
+
+ $this->global['pageTitle'] = 'Siddharth : Enquiry List';
+
+ // $this->loadViews("action_report", $this->global, $data , NULL);
+
+ $this->loadViews("action_report", $this->global, $data , NULL);
+
+ }
+
+
+ public function EditNonconfirmative()
+ {
+
+ $Id = $_GET['Id'];
+
+ $data['Suplist'] = $this->purchaseorder_model->GetEnquiryDetails();
+ $data['masterdetails'] =$this->purchaseorder_model->GetncrmasterDetails($Id);
+ $data['DispositionDetails'] =$this->purchaseorder_model->GetDispositionDetails($Id);
+ $data['RootcauseDetails'] =$this->purchaseorder_model->GetRootcauseDetails($Id);
+ $data['CounteractionDetails'] =$this->purchaseorder_model->GetCouteractionDetails($Id);
+
+ //print_r($data['DispositionDetails']);
+
+ $this->global['pageTitle'] = 'Siddharth : Enquiry List';
+
+ $this->loadViews("editaction_report", $this->global, $data , NULL);
+
+ }
+
+
+ public function Nonconfirmativelist()
+ {
+
+ $data['ncrarray'] = $this->purchaseorder_model->GetNcrlist();
+ //print_r($data['Customer_Order']);
+ $this->global['pageTitle'] = 'Siddharth : NCR List';
+
+ $this->loadViews("ncrlist", $this->global, $data , NULL);
+
+
+ }
+
+
+ public function AddComplaint()
+ {
+
+ $data['Customer'] = $this->purchaseorder_model->GetClients();
+ //$dt = date('yyyy-mm-dd');
+ //$dt = new DateTime('now', new DateTimeZone('Asia/Kolkata'));
+ //$createddt = $dt->format('Y-m-d');
+
+ //$data['enquirycount']=$this->purchaseorder_model->GetEnquiryCount($createddt);
+ $this->global['pageTitle'] = 'Siddharth : Enquiry Form';
+
+ $this->loadViews("addcomplaint", $this->global, $data , NULL);
+
+ }
+
+
+ public function EditComplaint()
+ {
+
+ $CId = $_GET['CId'];
+ $data['Customer'] = $this->purchaseorder_model->GetClients();
+ $data['savedata'] = $this->purchaseorder_model->Get_SavedComplaint($CId);
+ $this->global['pageTitle'] = 'Siddharth : Enquiry Form';
+
+ $this->loadViews("editcomplaint", $this->global, $data , NULL);
+
+ }
+
+
+
+ public function Savencrlist()
+ {
+
+ //$client_id=$this->input->post('client_id');
+ $cname= $this->input->post('cname');
+ $date= $this->input->post('date');
+ $servicedetails = $this->input->post('servicedetails');
+ $detailsofcoplaint= $this->input->post('detailsofcoplaint');
+ $modeofcommunication = $this->input->post('modeofcommunication');
+ $actiontaken = $this->input->post('actiontaken');
+ $actioncardno =$this->input->post('actioncardno');
+ $remark = $this->input->post('remark');
+
+
+ $save=array('client_id'=>$cname,'Created_Date'=>$date,'Details'=>$servicedetails,'Reason'=>$detailsofcoplaint,'mode_of_communication'=>$modeofcommunication,'action_taken'=>$actiontaken,'Remarks'=>$remark,'card_ref_no'=>$actioncardno);
+
+
+ $save_result = $this->purchaseorder_model->UpdateEnquiry($save,$Id);
+
+ if(($save_result ==0)||($save_result == 1))
+ {
+ echo "Saved Successfully";
+ //echo "";
+ // redirect('purchaseorder/addenquiry','refresh');
+
+ }
+ }
+
+
+
+ public function Action_Report()
+ {
+ $txtactionrow = $this->input->post('txtactionrow');
+ $txtrootrow = $this->input->post('txtrootrow');
+ $txtcounterrow = $this->input->post('txtcounterrow');
+
+ $Department = $this->input->post('Department');
+ $Date = $this->input->post('newdate');
+ $Auditor = $this->input->post('AUDITOR');
+ $Auditee= $this->input->post('AUDITEE');
+ $Iqaref = $this->input->post('IQAREF');
+ $ncdetails = $this->input->post('ObjectiveEvidence');
+ $ReviewDetails = $this->input->post('ReviewDetails');
+ $ncrstatus = $this->input->post('ncrstatus');
+ $Comments = $this->input->post('Comments');
+
+ $CId= $this->input->post('CId');
+
+ $master=array('Department'=>$Department,'Created_Date'=>$Date,'Auditor'=>$Auditor,'Auditee'=>$Auditee,'Iqra'=>$Iqaref,'NC_Details'=>$ncdetails,'Review_Details'=>$ReviewDetails,'Ncr_status'=>$ncrstatus,'Comments'=>$Comments);
+
+
+ //print_r($master);
+
+ $save_result = $this->purchaseorder_model->SaveActionMaster($master);
+
+ $lastId='';
+
+ if(count($save_result)>0)
+ {
+ $lastId = $save_result[0]['Id'];
+ }
+
+ $up=array('Ncr_Id'=>$lastId);
+ $updatecomplaint= $this->purchaseorder_model->updatecomplaintId($up,$CId);
+
+
+ for($i=1;$i<=$txtactionrow ;$i++)
+ {
+ $action = $this->input->post('action'.$i);
+ $resp = $this->input->post('resp'.$i);
+ $target = $this->input->post('target'.$i);
+
+ $actionsave =array('Id'=>$lastId,'Action'=>$action ,'Resp'=>$resp,'Target'=>$target);
+
+ $actionsave = $this->purchaseorder_model->SaveActionDisposition($actionsave);
+ }
+
+
+ for($i=1;$i<=$txtrootrow;$i++)
+ {
+ $rootcause = $this->input->post('RootCause'.$i);
+
+ $rootsave =array('Id'=>$lastId,'Root_cause'=>$rootcause);
+
+ $saveroot = $this->purchaseorder_model->SaveRootCause($rootsave);
+ }
+
+
+ for($i=1;$i<=$txtcounterrow ;$i++)
+ {
+ $action = $this->input->post('counteraction'.$i);
+ $resp = $this->input->post('counterresp'.$i);
+ $target = $this->input->post('countertarget'.$i);
+
+ $savecounter =array('Id'=>$lastId,'Action'=>$action ,'Resp'=>$resp,'Target'=>$target);
+
+ $countersave = $this->purchaseorder_model->Savecounteraction($savecounter);
+ }
+
+
+
+ echo "Saved Successfully";
+
+
+
+ }
+
+
+
+ public function UpdateAction_Report()
+ {
+
+ $txtactionrow = $this->input->post('txtactionrow');
+ $txtrootrow = $this->input->post('txtrootrow');
+ $txtcounterrow = $this->input->post('txtcounterrow');
+
+ $Id= $this->input->post('ObjectiveEvidence1');
+ $Department = $this->input->post('Department');
+ $Date = $this->input->post('newdate');
+
+ //die();
+ $Auditor = $this->input->post('AUDITOR');
+ $Auditee= $this->input->post('AUDITEE');
+ $Iqaref = $this->input->post('IQAREF');
+ $ncdetails = $this->input->post('ObjectiveEvidence');
+ $ReviewDetails = $this->input->post('ReviewDetails');
+ $ncrstatus = $this->input->post('ncrstatus');
+ $Comments = $this->input->post('Comments');
+
+
+ $master=array('Department'=>$Department,'Created_Date'=>$Date,'Auditor'=>$Auditor,'Auditee'=>$Auditee,'Iqra'=>$Iqaref,'NC_Details'=>$ncdetails,'Review_Details'=>$ReviewDetails,'Ncr_status'=>$ncrstatus,'Comments'=>$Comments);
+
+
+ $save_result = $this->purchaseorder_model->UpdateActionMaster($master,$Id);
+
+ //print_r($save_result);
+
+
+ $lastId='';
+
+ if(count($save_result)>0)
+ {
+ $lastId = $save_result[0]['Id'];
+ }
+
+
+
+
+
+ for($i=1;$i<=$txtactionrow ;$i++)
+ {
+ $action = $this->input->post('action'.$i);
+ $resp = $this->input->post('resp'.$i);
+ $target = $this->input->post('target'.$i);
+ $LineDisposition = $this->input->post('ActionId'.$i);
+
+ if($action == '' && $resp == '' & $target == '')
+ {
+
+ }
+ else
+ {
+
+ $actionsave =array('Id'=>$Id,'Action'=>$action ,'Resp'=>$resp,'Target'=>$target);
+ $checklineid=$this->purchaseorder_model->GetActionid($LineDisposition);
+
+ //print_r($actionsave);
+
+ if(count($checklineid)==0)
+ {
+
+ $actionsave = $this->purchaseorder_model->SaveActionDisposition($actionsave);
+
+ }
+
+ else
+ {
+ $actionsave = $this->purchaseorder_model->UpdateActionDisposition($actionsave,$LineDisposition);
+ }
+ }
+
+ // $actionsave = $this->purchaseorder_model->UpdateActionDisposition($actionsave,$LineDisposition);
+ }
+
+
+ for($i=1;$i<=$txtrootrow;$i++)
+ {
+ $rootcause = $this->input->post('RootCause'.$i);
+ $Lineroot = $this->input->post('RootCauseId'.$i);
+
+ if($rootcause == '')
+ {
+
+ }
+ else
+ {
+
+ $rootsave =array('Id'=>$Id,'Root_cause'=>$rootcause);
+
+ $checkrootid=$this->purchaseorder_model->Getrootid($Lineroot);
+ if(count($checkrootid)==0)
+ {
+ $saveroot = $this->purchaseorder_model->SaveRootCause($rootsave);
+ }
+ else
+ {
+ $saveroot = $this->purchaseorder_model->UpdateRootCause($rootsave,$Lineroot);
+ }
+
+ }
+
+ }
+
+
+ for($i=1;$i<=$txtcounterrow ;$i++)
+ {
+ $action = $this->input->post('counteraction'.$i);
+ $resp = $this->input->post('counterresp'.$i);
+ $target = $this->input->post('countertarget'.$i);
+ $LineCounter = $this->input->post('CounterId'.$i);
+
+ if($action == '' && $resp == '' & $target == '')
+ {
+
+ }
+ else
+ {
+
+ $savecounter =array('Id'=>$Id,'Action'=>$action ,'Resp'=>$resp,'Target'=>$target);
+
+ $checkcounterid=$this->purchaseorder_model->Getcounterid($LineCounter);
+
+ if(count($checkcounterid)==0)
+ {
+ $countersave = $this->purchaseorder_model->Savecounteraction($savecounter);
+
+ }
+ else
+ {
+ $countersave = $this->purchaseorder_model->Updatecounteraction($savecounter,$LineCounter);
+ }
+
+ }
+
+
+ }
+
+
+
+ echo "Saved Successfully";
+
+
+
+ }
+
+
+ public function SaveComplaint()
+ {
+
+ $client_id = $this->input->post('client_id');
+ $date = $this->input->post('date');
+ $Service_Details= $this->input->post('Service_Details');
+ $Reasons= $this->input->post('Reasons');
+ $mode= $this->input->post('mode');
+ $Action= $this->input->post('Action');
+ $Remark= $this->input->post('Remark');
+
+ $save_complaint = array('client_id' =>$client_id,'Created_Date'=>$date,'Service_Details'=>$Service_Details,'Reason'=>$Reasons,'mode_of_communication'=>$mode,'Action_taken'=>$Action,'Remark'=>$Remark );
+
+ $savecomplaint = $this->purchaseorder_model->Savecomplaint($save_complaint);
+
+ if($savecomplaint>0)
+ {
+
+ echo "Saved Successfully";
+ }
+
+ else
+ {
+ echo "Error Occured! Please Try Again";
+ }
+
+
+ }
+
+
+
+
+
+ public function UpdateComplaint()
+ {
+
+ $client_id = $this->input->post('client_id');
+ $date = $this->input->post('date');
+ $Service_Details= $this->input->post('Service_Details');
+ $Reasons= $this->input->post('Reasons');
+ $mode= $this->input->post('mode');
+ $Action= $this->input->post('Action');
+ $Remark= $this->input->post('Remark');
+ $CId =$this->input->post('CId');
+
+ $save_complaint = array('client_id' =>$client_id,'Created_Date'=>$date,'Service_Details'=>$Service_Details,'Reason'=>$Reasons,'mode_of_communication'=>$mode,'Action_taken'=>$Action,'Remark'=>$Remark );
+
+ $savecomplaint = $this->purchaseorder_model->Updatecomplaint($save_complaint,$CId);
+
+ if($savecomplaint>0)
+ {
+
+ echo "Saved Successfully";
+ }
+
+ else
+ {
+ echo "Error Occured! Please Try Again";
+ }
+
+
+ }
+
+
+ public function DeleteAction_Report()
+ {
+ $DelId= $this->input->post('delactionId');
+ $delete=$this->purchaseorder_model->DeleteAction($DelId);
+
+ //echo $delete;
+ if($delete>0)
+ {
+ echo "Successfully Deleted";
+ }
+ }
+
+
+ public function DeleteRoot_Cause()
+ {
+ $DelId= $this->input->post('delactionId');
+ $delete=$this->purchaseorder_model->DeleteRoot($DelId);
+
+ //echo $delete;
+ if($delete>0)
+ {
+ echo "Successfully Deleted";
+ }
+ }
+
+
+ public function DeleteCounter_Row()
+ {
+ $DelId= $this->input->post('delactionId');
+ $delete=$this->purchaseorder_model->DeleteCounter($DelId);
+
+ //echo $delete;
+ if($delete>0)
+ {
+ echo "Successfully Deleted";
+ }
+
+ }
+
+
+
}
?>
diff --git a/application/models/purchaseorder_model.php b/application/models/purchaseorder_model.php
index 719b808b..e2fbb95c 100755
--- a/application/models/purchaseorder_model.php
+++ b/application/models/purchaseorder_model.php
@@ -1835,5 +1835,263 @@ function GetEnquiryCount($createddt)
$query = $this->db->get();
return $query->result();
}
+
+
+function SaveActionMaster($master)
+{
+
+ $this->db->trans_start();
+ $this->db->insert('T_ActionReport_Master', $master);
+ $insert_id = $this->db->affected_rows();
+ $this->db->trans_complete();
+ // print_r($this->db->last_query());
+ if($insert_id>0)
+ {
+ $subQuery = 'select max(Id) as Id from T_ActionReport_Master';
+
+ $query = $this->db->query($subQuery,array());
+
+ return $query->result_array();
+ }
+}
+
+
+function SaveActionDisposition($actionsave)
+{
+ $this->db->trans_start();
+ $this->db->insert('T_Action_Disposition',$actionsave);
+ $insert_id = $this->db->affected_rows();
+ $this->db->trans_complete();
+ return $insert_id;
+}
+
+
+function UpdateActionDisposition($actionsave,$LineDisposition)
+{
+ //echo $LineDisposition;
+
+ $this->db->where('DispositionId', $LineDisposition);
+ $this->db->update('T_Action_Disposition', $actionsave);
+ return TRUE;
+}
+
+function UpdateRootCause($rootsave,$Lineroot)
+{
+ $this->db->where('RootId', $LineDisposition);
+ $this->db->update('T_RootCause', $rootsave);
+ return TRUE;
+}
+
+
+function Updatecounteraction($savecounter,$LineCounter)
+{
+ $this->db->where('CounterId', $LineCounter);
+ $this->db->update('T_Action_Counter_Measure', $savecounter);
+ return TRUE;
+}
+
+
+function UpdateActionMaster($master,$Id)
+{
+
+ $this->db->where('Id', $Id);
+ $this->db->update('T_ActionReport_Master', $master);
+ $insert_id = $this->db->affected_rows();
+ //return TRUE;
+ if($insert_id>0)
+ {
+ $subQuery = 'select max(Id) as Id from T_ActionReport_Master';
+
+ $query = $this->db->query($subQuery,array());
+
+ return $query->result_array();
+ }
+}
+
+
+
+function SaveRootCause($rootsave)
+{
+
+ $this->db->trans_start();
+ $this->db->insert('T_RootCause',$rootsave);
+ $insert_id = $this->db->affected_rows();
+ $this->db->trans_complete();
+ return $insert_id;
+
+}
+
+function Savecounteraction($savecounter)
+{
+ $this->db->trans_start();
+ $this->db->insert('T_Action_Counter_Measure',$savecounter);
+ $insert_id = $this->db->affected_rows();
+ $this->db->trans_complete();
+ return $insert_id;
+}
+
+function GetNcrlist()
+{
+ $this->db->select('*');
+ $this->db->from('T_ComplaintRegister');
+ $this->db->join('ip_clients','ip_clients.client_id=T_ComplaintRegister.client_id');
+ $this->db->order_by('CId','desc');
+ $query = $this->db->get();
+ return $query->result();
+}
+
+
+function GetncrmasterDetails($Id)
+{
+ $this->db->select('*');
+ $this->db->from('T_ActionReport_Master');
+ $this->db->where('Id',$Id);
+ $query = $this->db->get();
+ return $query->result();
+}
+
+
+function GetDispositionDetails($Id)
+{
+ $this->db->select('*');
+ $this->db->from('T_Action_Disposition');
+ $this->db->where('Id',$Id);
+ $query = $this->db->get();
+ return $query->result();
+
+}
+
+function GetRootcauseDetails($Id)
+{
+ $this->db->select('*');
+ $this->db->from('T_RootCause');
+ $this->db->where('Id',$Id);
+ $query = $this->db->get();
+ return $query->result();
+
+}
+
+function GetCouteractionDetails($Id)
+{
+
+ $this->db->select('*');
+ $this->db->from('T_Action_Counter_Measure');
+ $this->db->where('Id',$Id);
+ $query = $this->db->get();
+ return $query->result();
+}
+
+
+
+function Savecomplaint($save_complaint)
+{
+ $this->db->trans_start();
+ $this->db->insert('T_ComplaintRegister',$save_complaint);
+ $insert_id = $this->db->affected_rows();
+ $this->db->trans_complete();
+ return $insert_id;
+}
+
+
+function Get_SavedComplaint($CId)
+{
+ $this->db->select('*');
+ $this->db->from('T_ComplaintRegister');
+ $this->db->join('ip_clients','ip_clients.client_id=T_ComplaintRegister.client_id');
+ $this->db->where('CId',$CId);
+ $this->db->order_by('CId','desc');
+ $query = $this->db->get();
+ //print_r($this->db->last_query());
+ return $query->result();
+}
+
+function Updatecomplaint($save_complaint,$CId)
+{
+
+ $this->db->where('CId', $CId);
+ $this->db->update('T_ComplaintRegister', $save_complaint);
+ return TRUE;
+}
+
+function updatecomplaintId($up,$CId)
+{
+ $this->db->where('CId', $CId);
+ $this->db->update('T_ComplaintRegister',$up);
+ return TRUE;
+}
+
+
+function GetActionid($LineDisposition)
+{
+
+ $this->db->select('*');
+ $this->db->from('T_Action_Disposition');
+ $this->db->where('DispositionId',$LineDisposition);
+ $query = $this->db->get();
+ //print_r($this->db->last_query());
+ return $query->result();
+}
+
+
+
+function GetlastDispositionId()
+{
+ $subQuery = 'select max(DispositionId) from T_Action_Disposition';
+
+ $query = $this->db->query($subQuery,array());
+
+ return $query->result_array();
+}
+
+
+
+function Getrootid($Lineroot)
+{
+ $this->db->select('*');
+ $this->db->from('T_RootCause');
+ $this->db->where('RootId',$Lineroot);
+ $query = $this->db->get();
+ //print_r($this->db->last_query());
+ return $query->result();
+}
+
+
+
+function Getcounterid($LineCounter)
+{
+ $this->db->select('*');
+ $this->db->from('T_Action_Counter_Measure');
+ $this->db->where('CounterId',$LineCounter);
+ $query = $this->db->get();
+ //print_r($this->db->last_query());
+ return $query->result();
+}
+
+
+function DeleteAction($DelId)
+{
+ $this->db->where('DispositionId', $DelId);
+ $this->db->delete('T_Action_Disposition');
+ //print_r($this->db->last_query());
+ return TRUE;
+}
+
+
+function DeleteRoot($DelId)
+{
+ $this->db->where('RootId', $DelId);
+ $this->db->delete('T_RootCause');
+ //print_r($this->db->last_query());
+ return TRUE;
+}
+
+
+function DeleteCounter($DelId)
+{
+ $this->db->where('CounterId', $DelId);
+ $this->db->delete('T_Action_Counter_Measure');
+ //print_r($this->db->last_query());
+ return TRUE;
+}
}
diff --git a/application/views/action_report.php b/application/views/action_report.php
new file mode 100644
index 00000000..888ea141
--- /dev/null
+++ b/application/views/action_report.php
@@ -0,0 +1,911 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 'form-label-left action_report ','name' => 'action_report','id' => 'action_report');
+
+ echo form_open($this->config->base_url().'/purchaseorder/Action_Report/',$attributes);
+ ?>
+
+
+
+
+ DEPT./FN.
+
+ SupplierID] = $SID->SupplierID.' '.' - '.' '.$SID->SupplierName;
+
+ // endforeach;
+ // }
+
+ // echo form_dropdown('DEPTFN', $options2,set_value('DEPTFN',$SupId),'id="DEPTFN"' ,'required="true"' ,'class="form-control select2');
+
+ $data = array('name' => 'Department','value' => set_value('Department'),'id'=>'Department', 'class' => 'form-control' ,'required' => 'true');
+ echo form_input($data);
+
+ ?>
+
+
+
+
+ Date
+ 'Date','value' => set_value('Date',$CurrentDate),'id'=>'Date', 'class' => 'form-control' ,'required' => 'true', 'onkeypress'=>'return false;');
+ echo form_input($data);
+ ?>
+
+
+
+
AUDITOR
+
+ 'PlaceOforigin','value' => set_value('PlaceOforigin'),'id'=>'PlaceOforigin', 'class' => 'form-control' ,'required' => 'true', 'onkeypress'=>'return false;');
+ // echo form_input($data);
+ $data = array('name' => 'AUDITOR','value' => set_value('AUDITOR'),'id'=>'AUDITOR', 'class' => 'form-control' ,'required' => 'true');
+ echo form_input($data);
+ ?>
+
+
+
+
+
+
+
AUDITEE
+
+ 'PlaceOforigin','value' => set_value('PlaceOforigin'),'id'=>'PlaceOforigin', 'class' => 'form-control' ,'required' => 'true', 'onkeypress'=>'return false;');
+ // echo form_input($data);
+ $data = array('name' => 'AUDITEE','value' => set_value('AUDITEE'),'id'=>'AUDITEE', 'class' => 'form-control' ,'required' => 'true');
+ echo form_input($data);
+ ?>
+
+
+
+
+
+
+
+
IQA REF.
+
+ 'PlaceOforigin','value' => set_value('PlaceOforigin'),'id'=>'PlaceOforigin', 'class' => 'form-control' ,'required' => 'true', 'onkeypress'=>'return false;');
+ // echo form_input($data);
+ $data = array('name' => 'IQAREF','value' => set_value('IQAREF'),'id'=>'IQAREF', 'class' => 'form-control' ,'required' => 'true');
+ echo form_input($data);
+ ?>
+
+
+
+
+
Non Conformance Details, Objective Evidence
+
+ 'ObjectiveEvidence','value' => set_value('ObjectiveEvidence',$ObjectiveEvidence),'id'=>'ObjectiveEvidence', 'class' => 'form-control' ,'required' => 'true', 'rows' => '3', 'cols' => '40');
+ echo Form_textarea($data);
+ ?>
+
+
+
+
+
Attributed
+
+ 'ObjectiveEvidence1','value' => set_value('ObjectiveEvidence1',$ObjectiveEvidence),'id'=>'ObjectiveEvidence1', 'class' => 'form-control' ,'required' => 'true', 'rows' => '3', 'cols' => '40');
+ echo Form_textarea($data);
+ ?>
+
+
+
+
+
+
+
+
+
+
+
+
Disposition Action Plan
+
+
+
+
+
+
Add Line Item
+
+
+
+
+
+
+
+
+
+
+
+
+
Action
+
+ 'Action','value' => set_value('Action'),'id'=>'Action', 'class' => 'form-control');
+ echo form_input($data);
+ ?>
+
+
+
+
Resp
+
+ 'Resp','value' => set_value('Resp'),'id'=>'Resp', 'class' => 'form-control');
+ echo form_input($data);
+ ?>
+
+
+
+
+
Target
+
+ 'Target','value' => set_value('Target'),'id'=>'Target', 'class' => 'form-control');
+ echo form_input($data);
+ ?>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Action
+
+ 'EditAction','value' => set_value('EditAction'),'id'=>'EditAction', 'class' => 'form-control');
+ echo form_input($data);
+
+ ?>
+
+
+
+
+
Resp
+
+ 'EditResp','value' => set_value('EditResp'),'id'=>'EditResp', 'class' => 'form-control');
+ echo form_input($data);
+ ?>
+
+
+
+
Target
+
+ 'EditTarget','value' => set_value('EditTarget'),'id'=>'EditTarget', 'class' => 'form-control');
+ echo form_input($data);
+ ?>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ S.No
+ Action
+ Resp
+ Target
+ Action
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Root Cause (s)
+
+
+
+
Add Line Item
+
+
+
+
+
+
+
+
+
+
+
+
Root Cause (s)
+
+ 'RootCause','value' => set_value('RootCause'),'id'=>'RootCause', 'class' => 'form-control');
+ echo form_input($data);
+ ?>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Root Cause (s)
+
+ 'editRootCause','value' => set_value('editRootCause'),'id'=>'editRootCause', 'class' => 'form-control');
+ echo form_input($data);
+ ?>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ S.No
+ RootCause
+ Action
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Counter Measure Action Plan
+
+
+
+
Add Line Item
+
+
+
+
+
+
+
+
+
+
+
+
+
Action
+
+ 'CounterAction','value' => set_value('CounterAction'),'id'=>'CounterAction', 'class' => 'form-control');
+ echo form_input($data);
+ ?>
+
+
+
+
Resp
+
+ 'CounterResp','value' => set_value('CounterResp'),'id'=>'CounterResp', 'class' => 'form-control');
+ echo form_input($data);
+ ?>
+
+
+
+
+
Target
+
+ 'CounterTarget','value' => set_value('CounterTarget'),'id'=>'CounterTarget', 'class' => 'form-control');
+ echo form_input($data);
+ ?>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Action
+
+ 'EditCounterAction','value' => set_value('EditCounterAction'),'id'=>'EditCounterAction', 'class' => 'form-control' );
+ echo form_input($data);
+
+ ?>
+
+
+
+
+
Resp
+
+ 'EditCounterResp','value' => set_value('EditCounterResp'),'id'=>'EditCounterResp', 'class' => 'form-control' );
+ echo form_input($data);
+ ?>
+
+
+
+
Target
+
+ 'EditCounterTarget','value' => set_value('EditCounterTarget'),'id'=>'EditCounterTarget', 'class' => 'form-control' );
+ echo form_input($data);
+ ?>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ S.No
+ Action
+ Resp
+ Target
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Effectiveness of Corrective Action Taken
+
+
Review Details/ Follow up Audit Details
+
+ 'ReviewDetails','value' => set_value('ReviewDetails'),'id'=>'ReviewDetails', 'class' => 'form-control' ,'rows' => '3', 'cols' => '40' );
+ echo form_textarea($data);
+ ?>
+
+
+
+
+
+
+ NCR Closed
+
+ Yes
+ No
+
+
+
+
+
+
+
+
+
+
+
MANAGEMENT REPRESENTATIVE COMMENTS
+
+ 'Comments','value' => set_value('Comments'),'id'=>'Comments', 'class' => 'form-control' ,'rows' => '3', 'cols' => '40' );
+ echo form_textarea($data);
+ ?>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/application/views/addcomplaint.php b/application/views/addcomplaint.php
new file mode 100644
index 00000000..8369112d
--- /dev/null
+++ b/application/views/addcomplaint.php
@@ -0,0 +1,309 @@
+
+format('d-m-Y');
+$count='';
+if(!empty($enquirycount))
+{
+ foreach($enquirycount as $enc)
+ {
+ $count= $enc->Countnumber;
+
+ }
+}
+
+$actcount=$count+1;
+//echo $actcount;
+
+?>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 'form-label-left advancerequest','name' => 'enquiry','id' => 'enquiry');
+
+ // echo form_open($this->config->base_url().'purchaseorder/addadvancerequest',$attributes);
+ ?>
+
+
+
+ Customer Name
+
+
+ 'Customer Name');
+
+ if(!empty($Customer))
+ { //print_r($Currency);
+ foreach ($Customer as $Cu):
+ // print_r($Cu['client_id']);
+
+ $opt[$Cu['client_id']] = $Cu['client_id'].' '.' - '.' '.$Cu['client_name'];
+
+ endforeach;
+ }
+
+
+ // print_r($opt);
+
+ echo form_dropdown('Customer', $opt,set_value('Customer'),'id="Customer"' ,'required="true"' ,'class="form-control select2');
+ ?>
+
+
+
+ Date
+ 'Date','value' => set_value('Date',$CurrentDate),'id'=>'Date', 'class' => 'form-control' ,'required' => 'true', 'onkeypress'=>'return false;');
+ echo form_input($data);
+ ?>
+
+
+
+
+ Service Details
+ 'Service_Details','value' => set_value('Service_Details'),'id'=>'Service_Details', 'class' => 'form-control' ,'rows' => '5', 'cols' => '100','maxlength' => '250');
+ echo Form_textarea($data);
+ ?>
+
+
+
+
+ Details of Complaint(Reason)
+ 'Reasons','value' => set_value('Reasons'),'id'=>'Reasons', 'class' => 'form-control' ,'rows' => '5', 'cols' => '100','maxlength' => '250');
+ echo Form_textarea($data);
+ ?>
+
+
+
+
+
+
Feasible
+
+ 'Select','1'=>'YES','2'=>'NO');
+ echo form_dropdown('Feasible', $optionsnew,set_value('Feasible'),'id="Feasible"' ,'required="true"' ,'class="form-control select2');
+
+ ?>
+
+
+
+
+
+
+
+
+
+ Mode Of Communication
+ 'mode','value' => set_value('mode'),'id'=>'mode', 'class' => 'form-control num' ,'required' => 'true','style'=>'text-align:left;');
+ echo form_input($data);
+ ?>
+
+
+
+
+
+
Action Taken
+
+
+ 'Action','value' => set_value('Action'),'id'=>'Action' ,'class' => 'form-control num' ,'required' => 'true');
+ echo form_input($data);
+ ?>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+>
diff --git a/application/views/editaction_report.php b/application/views/editaction_report.php
new file mode 100644
index 00000000..42b3ea0d
--- /dev/null
+++ b/application/views/editaction_report.php
@@ -0,0 +1,1106 @@
+Department;
+ $Created_Date=$mas->Created_Date;
+ $Ddt = new DateTime($mas->Created_Date);
+ $dt = $Ddt->format('d-m-Y');
+
+ $Auditor=$mas->Auditor;
+ $Auditee=$mas->Auditee;
+ $Iqra= $mas->Iqra;
+ $NC_Details= $mas->NC_Details;
+ $Review_Details= $mas->Review_Details;
+ $Ncr_status = $mas->Ncr_status;
+ $Comments=$mas->Comments;
+ $Id=$mas->Id;
+ }
+}
+//echo $dt;
+?>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 'form-label-left action_report ','name' => 'action_report','id' => 'action_report');
+
+ echo form_open($this->config->base_url().'/purchaseorder/Action_Report/',$attributes);
+ ?>
+
+
+
+
+ DEPT./FN.
+
+ SupplierID] = $SID->SupplierID.' '.' - '.' '.$SID->SupplierName;
+
+ // endforeach;
+ // }
+
+ // echo form_dropdown('DEPTFN', $options2,set_value('DEPTFN',$SupId),'id="DEPTFN"' ,'required="true"' ,'class="form-control select2');
+
+ $data = array('name' => 'Department','value' => set_value('Department',$Department),'id'=>'Department', 'class' => 'form-control' ,'required' => 'true');
+ echo form_input($data);
+
+ ?>
+
+
+
+
+ Date
+ 'Date','value' => set_value('Date',$dt),'id'=>'Date', 'class' => 'form-control' ,'required' => 'true', 'onkeypress'=>'return false;');
+ echo form_input($data);
+ ?>
+
+
+
+
AUDITOR
+
+ 'PlaceOforigin','value' => set_value('PlaceOforigin'),'id'=>'PlaceOforigin', 'class' => 'form-control' ,'required' => 'true', 'onkeypress'=>'return false;');
+ // echo form_input($data);
+ $data = array('name' => 'AUDITOR','value' => set_value('AUDITOR',$Auditor),'id'=>'AUDITOR', 'class' => 'form-control' ,'required' => 'true');
+ echo form_input($data);
+ ?>
+
+
+
+
+
+
+
AUDITEE
+
+ 'PlaceOforigin','value' => set_value('PlaceOforigin'),'id'=>'PlaceOforigin', 'class' => 'form-control' ,'required' => 'true', 'onkeypress'=>'return false;');
+ // echo form_input($data);
+ $data = array('name' => 'AUDITEE','value' => set_value('AUDITEE',$Auditee),'id'=>'AUDITEE', 'class' => 'form-control' ,'required' => 'true');
+ echo form_input($data);
+ ?>
+
+
+
+
+
+
+
+
IQA REF.
+
+ 'PlaceOforigin','value' => set_value('PlaceOforigin'),'id'=>'PlaceOforigin', 'class' => 'form-control' ,'required' => 'true', 'onkeypress'=>'return false;');
+ // echo form_input($data);
+ $data = array('name' => 'IQAREF','value' => set_value('IQAREF',$Iqra),'id'=>'IQAREF', 'class' => 'form-control' ,'required' => 'true');
+ echo form_input($data);
+ ?>
+
+
+
+
+
Non Conformance Details, Objective Evidence
+
+ 'ObjectiveEvidence','value' => set_value('ObjectiveEvidence',$NC_Details),'id'=>'ObjectiveEvidence', 'class' => 'form-control' ,'required' => 'true', 'rows' => '3', 'cols' => '40');
+ echo Form_textarea($data);
+ ?>
+
+
+
+
+
+
NCR No:
+
+ 'ObjectiveEvidence1','value' => set_value('ObjectiveEvidence1',$Id),'id'=>'ObjectiveEvidence1', 'class' => 'form-control' ,'required' => 'true', 'rows' => '3', 'cols' => '40');
+ echo form_input($data);
+ ?>
+
+
+
+
+
+
+
+
+
+
+
+
Disposition Action Plan
+
+
+
+
+
+
Add Line Item
+
+
+
+
+
+
+
+
+
+
+
+
+
Action
+
+ 'Action','value' => set_value('Action'),'id'=>'Action', 'class' => 'form-control');
+ echo form_input($data);
+ ?>
+
+
+
+
Resp
+
+ 'Resp','value' => set_value('Resp'),'id'=>'Resp', 'class' => 'form-control');
+ echo form_input($data);
+ ?>
+
+
+
+
+
Target
+
+ 'Target','value' => set_value('Target'),'id'=>'Target', 'class' => 'form-control');
+ echo form_input($data);
+ ?>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Action
+
+ 'EditAction','value' => set_value('EditAction'),'id'=>'EditAction', 'class' => 'form-control');
+ echo form_input($data);
+
+ ?>
+
+
+
+
+
Resp
+
+ 'EditResp','value' => set_value('EditResp'),'id'=>'EditResp', 'class' => 'form-control');
+ echo form_input($data);
+ ?>
+
+
+
+
Target
+
+ 'EditTarget','value' => set_value('EditTarget'),'id'=>'EditTarget', 'class' => 'form-control');
+ echo form_input($data);
+ ?>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ S.No
+ Action
+ Resp
+ Target
+
+
+
+
+
+
+ Action;?>
+ Resp;?>
+ Target;?>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Root Cause (s)
+
+
+
+
Add Line Item
+
+
+
+
+
+
+
+
+
+
+
+
Root Cause (s)
+
+ 'RootCause','value' => set_value('RootCause'),'id'=>'RootCause', 'class' => 'form-control');
+ echo form_input($data);
+ ?>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Root Cause (s)
+
+ 'editRootCause','value' => set_value('editRootCause'),'id'=>'editRootCause', 'class' => 'form-control');
+ echo form_input($data);
+ ?>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ S.No
+ RootCause
+
+
+
+
+
+
+ Root_cause;?>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Counter Measure Action Plan
+
+
+
+
Add Line Item
+
+
+
+
+
+
+
+
+
+
+
+
+
Action
+
+ 'CounterAction','value' => set_value('CounterAction'),'id'=>'CounterAction', 'class' => 'form-control');
+ echo form_input($data);
+ ?>
+
+
+
+
Resp
+
+ 'CounterResp','value' => set_value('CounterResp'),'id'=>'CounterResp', 'class' => 'form-control');
+ echo form_input($data);
+ ?>
+
+
+
+
+
Target
+
+ 'CounterTarget','value' => set_value('CounterTarget'),'id'=>'CounterTarget', 'class' => 'form-control');
+ echo form_input($data);
+ ?>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Action
+
+ 'EditCounterAction','value' => set_value('EditCounterAction'),'id'=>'EditCounterAction', 'class' => 'form-control' );
+ echo form_input($data);
+
+ ?>
+
+
+
+
+
Resp
+
+ 'EditCounterResp','value' => set_value('EditCounterResp'),'id'=>'EditCounterResp', 'class' => 'form-control' );
+ echo form_input($data);
+ ?>
+
+
+
+
Target
+
+ 'EditCounterTarget','value' => set_value('EditCounterTarget'),'id'=>'EditCounterTarget', 'class' => 'form-control' );
+ echo form_input($data);
+ ?>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ S.No
+ Action
+ Resp
+ Target
+
+
+
+
+
+
+ Action;?>
+ Resp;?>
+ Target;?>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Effectiveness of Corrective Action Taken
+
+
Review Details/ Follow up Audit Details
+
+ 'ReviewDetails','value' => set_value('ReviewDetails',$Review_Details),'id'=>'ReviewDetails', 'class' => 'form-control' ,'rows' => '3', 'cols' => '40' );
+ echo form_textarea($data);
+ ?>
+
+
+
+
+
+
+ NCR Closed
+
+
+ Yes
+ No
+
+ No
+ Yes
+
+
+
+
+
+
+
+
+
+
+
+
+
MANAGEMENT REPRESENTATIVE COMMENTS
+
+ 'Comments','value' => set_value('Comments',$Comments),'id'=>'Comments', 'class' => 'form-control' ,'rows' => '3', 'cols' => '40' );
+ echo form_textarea($data);
+ ?>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/application/views/editcomplaint.php b/application/views/editcomplaint.php
new file mode 100644
index 00000000..a2fc99c5
--- /dev/null
+++ b/application/views/editcomplaint.php
@@ -0,0 +1,336 @@
+
+format('d-m-Y');
+$Service_Details='';
+$Reason='';
+$Created_Date='';
+$mode_of_communication='';
+$Action_taken = '';
+$Remark ='';
+$client_name ='';
+$Ddt ='';
+$dt= '';
+$client_id='';
+$CId= '';
+
+if(!empty($savedata))
+{
+ foreach($savedata as $sa)
+ {
+
+ $Service_Details=$sa->Service_Details;
+ $Reason=$sa->Reason;
+ $Ddt = new DateTime($mas->Created_Date);
+ $dt = $Ddt->format('d-m-Y');
+ $mode_of_communication=$sa->mode_of_communication;
+ $Action_taken = $sa->Action_taken;
+ $Remark = $sa->Remark;
+ $client_name = $sa->client_name;
+ $client_id = $sa->client_id;
+ $CId = $sa->CId;
+ }
+}
+
+//echo $CId;
+
+?>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 'form-label-left advancerequest','name' => 'enquiry','id' => 'enquiry');
+
+ // echo form_open($this->config->base_url().'purchaseorder/addadvancerequest',$attributes);
+ ?>
+
+
+
+ Customer Name
+
+
+
+
+
+
+ Date
+ 'Date','value' => set_value('Date',$dt),'id'=>'Date', 'class' => 'form-control' ,'required' => 'true', 'onkeypress'=>'return false;');
+ echo form_input($data);
+ ?>
+
+
+
+
+ Service Details
+ 'Service_Details','value' => set_value('Service_Details',$Service_Details),'id'=>'Service_Details', 'class' => 'form-control' ,'rows' => '5', 'cols' => '100','maxlength' => '250');
+ echo Form_textarea($data);
+ ?>
+
+
+
+
+ Details of Complaint(Reason)
+ 'Reasons','value' => set_value('Reasons',$Reason),'id'=>'Reasons', 'class' => 'form-control' ,'rows' => '5', 'cols' => '100','maxlength' => '250');
+ echo Form_textarea($data);
+ ?>
+
+
+
+
+
+
Feasible
+
+ 'Select','1'=>'YES','2'=>'NO');
+ echo form_dropdown('Feasible', $optionsnew,set_value('Feasible'),'id="Feasible"' ,'required="true"' ,'class="form-control select2');
+
+ ?>
+
+
+
+
+
+
+
+
+
+ Mode Of Communication
+ 'mode','value' => set_value('mode',$mode_of_communication),'id'=>'mode', 'class' => 'form-control num' ,'required' => 'true','style'=>'text-align:left;');
+ echo form_input($data);
+ ?>
+
+
+
+
+
+
Action Taken
+
+
+ 'Action','value' => set_value('Action',$Action_taken),'id'=>'Action' ,'class' => 'form-control num' ,'required' => 'true');
+ echo form_input($data);
+ ?>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+>
diff --git a/application/views/includes/header.php b/application/views/includes/header.php
index ab77c4f1..6f1f3e07 100755
--- a/application/views/includes/header.php
+++ b/application/views/includes/header.php
@@ -178,7 +178,7 @@ $(function() {
else{echo "non empty";}?> -->
-
+
+
+
+
+
+
+
+
+
@@ -626,6 +658,34 @@ $(function() {
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
+
+
+
+
+ AssDep;
+
+ if($assd == SALES || $DEPCode == SALES){?>
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/application/views/ncrlist.php b/application/views/ncrlist.php
new file mode 100644
index 00000000..3d8c14a5
--- /dev/null
+++ b/application/views/ncrlist.php
@@ -0,0 +1,168 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ #
+ Complaint Id
+ Date
+ Customer Name
+ Service Details
+ Details of Complaint/Reasons
+ Mode of Communication
+ Action Taken
+ Remarks
+ Action Card Ref No
+ Actions
+
+
+
+ Created_Date;
+ $Ddt = new DateTime($nc->Created_Date);
+ $dt = $Ddt->format('d-m-Y');
+
+
+ ?>
+
+
+
+
+ CId ?>
+
+
+ client_name?>
+ Service_Details;?>
+ Reason?>
+ mode_of_communication?>
+ Action_taken;?>
+
+ Remark;?>
+ Ncr_Id == ""){
+ ?>
+
+
+
+ Ncr_Id ?>
+
+
+
+
+ Ncr_Id ==""){?>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/application/views/nonconfirmative.php b/application/views/nonconfirmative.php
new file mode 100644
index 00000000..f2d34bc7
--- /dev/null
+++ b/application/views/nonconfirmative.php
@@ -0,0 +1,143 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 'form-label-left advancerequest','name' => 'enquiry','id' => 'enquiry');
+
+ // echo form_open($this->config->base_url().'purchaseorder/addadvancerequest',$attributes);
+ ?>
+
+
+
+ Customer Name
+ 'Contact','value' => set_value('Contact'),'id'=>'Contact' ,'class' => 'form-control num' ,'required' => 'true');
+ echo form_input($data);
+ ?>
+
+
+
+
+ Date
+ 'Date','value' => set_value('Date',$CurrentDate),'id'=>'Date', 'class' => 'form-control' ,'required' => 'true', 'onkeypress'=>'return false;');
+ echo form_input($data);
+ ?>
+
+
+
+
+ Contact Person
+ 'Contact','value' => set_value('Contact'),'id'=>'Contact' ,'class' => 'form-control num' ,'required' => 'true');
+ echo form_input($data);
+ ?>
+
+
+
+
+ Requirement
+ 'requirement','value' => set_value('requirement'),'id'=>'requirement' ,'class' => 'form-control num' ,'required' => 'true');
+ echo form_input($data);
+ ?>
+
+
+
+
+
+
Feasible
+
+ 'Select','1'=>'YES','2'=>'NO');
+ echo form_dropdown('Feasible', $optionsnew,set_value('Feasible'),'id="Feasible"' ,'required="true"' ,'class="form-control select2');
+
+ ?>
+
+
+
+
+
+
+
+
+
+ Customer Order No
+ 'Corder','value' => set_value('Corder'),'id'=>'Corder', 'class' => 'form-control num' ,'required' => 'true','style'=>'text-align:left;');
+ echo form_input($data);
+ ?>
+
+
+
+
+
+
Requested Quantity
+
+
+ 'ReqQty','value' => set_value('ReqQty'),'id'=>'ReqQty' ,'class' => 'form-control num' ,'required' => 'true');
+ echo form_input($data);
+ ?>
+
+
+
+
+
+
+
Supplied Quantity
+
+
+ 'SupQty','value' => set_value('SupQty'),'id'=>'SupQty' ,'class' => 'form-control' ,'style'=>'text-align:left;');
+ echo form_input($data);
+ ?>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file