edit page resin name issue fixed
This commit is contained in:
parent
739d6347fd
commit
86ea103ace
@ -1,5 +1,5 @@
|
||||
<?php if(!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
|
||||
require APPPATH . '/libraries/BaseController.php';
|
||||
|
||||
/**
|
||||
@ -85,6 +85,7 @@ class resinbatchcard extends BaseController
|
||||
$totaldata = json_decode($totaldata,true);
|
||||
$createby = $this->session->userdata ( 'userId' );
|
||||
$document = null;
|
||||
|
||||
$resinname = $this->input->post('param13');
|
||||
$oplist = $this->input->post('param14');
|
||||
$oplist = json_decode($oplist);
|
||||
@ -121,11 +122,11 @@ class resinbatchcard extends BaseController
|
||||
}
|
||||
}
|
||||
|
||||
$masterreportdata = array('productid'=>$productid,'customerid'=>$customerid,'batchdate'=>$batchdate,'plantname'=>$plantname,'resinname'=>$resinnname,'machinecode'=>$macinecode,'trpbatchcardno'=>$trpbatchcard,'igrno'=>$igrnos,'igrlineno'=>$igrlinenos,'remarks'=>$remarks,'createdby'=>$createby,'approvedby'=>$approvedby,'document'=>$document,'sandtotal'=>$sandtotal,'resintotal'=>$resintotal,'hextotal'=>$hextotal,'cstotal'=>$cstotal,'catalysttotal'=>$catalysttotal,'bags50total'=>$bags50total,'ton1bagstotal'=>$ton1bagstotal,'producitonloss'=>$producitonloss,'finishedproduct'=>$finishedproduct);
|
||||
$masterreportdata = array('productid'=>$productid,'customerid'=>$customerid,'batchdate'=>$batchdate,'plantname'=>$plantname,'resinname'=>$resinname,'machinecode'=>$macinecode,'trpbatchcardno'=>$trpbatchcard,'igrno'=>$igrnos,'igrlineno'=>$igrlinenos,'remarks'=>$remarks,'createdby'=>$createby,'approvedby'=>$approvedby,'document'=>$document,'sandtotal'=>$sandtotal,'resintotal'=>$resintotal,'hextotal'=>$hextotal,'cstotal'=>$cstotal,'catalysttotal'=>$catalysttotal,'bags50total'=>$bags50total,'ton1bagstotal'=>$ton1bagstotal,'producitonloss'=>$producitonloss,'finishedproduct'=>$finishedproduct);
|
||||
|
||||
|
||||
$MASTERID = $this->quality_model->saveResinBatchCardMasterTestData($masterreportdata);
|
||||
//echo $MASTERID;die();
|
||||
echo $MASTERID;die();
|
||||
//$MASTERID = 56;
|
||||
foreach($masterdata as $key => $mas)
|
||||
{
|
||||
@ -364,6 +365,7 @@ class resinbatchcard extends BaseController
|
||||
//echo $rbcid;
|
||||
$data['emplist'] = $this->quality_model->getEmplistforReport();
|
||||
$data['records'] = $this->quality_model->getResinBatchCardDetails($rbcid);
|
||||
//print_r($data['records']);
|
||||
$data['operatorslist'] = $this->quality_model->getOperatorsListforReport();
|
||||
$data['existoperatorslist'] = $this->quality_model->getExistOperatorsListforReport($rbcid);
|
||||
//print_r($data['records']);die();
|
||||
|
||||
@ -79,9 +79,9 @@ th{
|
||||
|
||||
<!-- <td colspan=" 2" width="8%" >IGR Line Item No:<?php echo $records['masterdata'][0]->igrlineno;?></td> -->
|
||||
<td colspan="1" width="8%">SAND: </td>
|
||||
<td colspan="3" width="8%"><?php echo $records['masterdata'][0]->igrno;?></td>
|
||||
<td colspan="2" width="8%"><?php echo $records['masterdata'][0]->igrno;?></td>
|
||||
<td colspan=" 1" width="8%">RESIN:</td>
|
||||
<td colspan=" 2" width="8%"><?php echo $records['masterdata'][0]->resinname?></td>
|
||||
<td colspan=" 3" width="8%"><?php echo $records['masterdata'][0]->resinname?></td>
|
||||
|
||||
|
||||
</tr>
|
||||
@ -294,8 +294,8 @@ th{
|
||||
<hr>
|
||||
<br>
|
||||
<table >
|
||||
<tr><td>Operator
|
||||
:<?php echo $this->session->userdata ( 'name' );?></td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td>Production In charge:<?php echo $records['masterdata'][0]->approvedby; ?></td></tr>
|
||||
<tr><td>INSPECTOR NAME
|
||||
:<?php echo $this->session->userdata ( 'name' );?></td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td>APPROVED BY:<?php echo $records['masterdata'][0]->approvedby; ?></td></tr>
|
||||
<tr><td colspan="2"> </td></tr>
|
||||
<tr><td colspan="2"> </td></tr>
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user