import,amend import issue

This commit is contained in:
venbatechnologies@gmail.com 2017-07-27 16:41:04 +05:30
parent 6210aac2ff
commit 9d6c5fdf83
3 changed files with 9 additions and 7 deletions

View File

@ -1364,9 +1364,9 @@ function addNewImportPurchaseOrder()
//echo "dfds"; //echo "dfds";
//die(); //die();
$PONO =$this->input->post('txtPONO'); $PONO =$this->input->post('txtPONO');
$POdt = ''; $POdt = '';
$createddt=''; $createddt='';
$PODate = $this->getDateformat($POdt); $PODate = $this->getDateformat($POdt);
$SupplierID = $this->input->post('drpSupplier'); $SupplierID = $this->input->post('drpSupplier');
@ -1422,8 +1422,8 @@ $createddt='';
$SpcialInstruction = $this->input->post('txtSpcialInstruction'); $SpcialInstruction = $this->input->post('txtSpcialInstruction');
//$TotalOrder = $this->input->post('txtToatlOrder'); //$TotalOrder = $this->input->post('txtToatlOrder');
$TotalOrder = $this->input->post('txttot'); $TotalOrder = $this->input->post('txttot');
//echo $TotalOrder; echo $TotalOrder;
//die(); die();
$POStatus = $this->input->post('txtStatus'); $POStatus = $this->input->post('txtStatus');
$CreateBy = $this->session->userdata ( 'userId' ); $CreateBy = $this->session->userdata ( 'userId' );

View File

@ -30,6 +30,7 @@
} }
$TotalOrderValue1=''; $TotalOrderValue1='';
$PlaceofOrigin='';
if(!empty($POItem)) if(!empty($POItem))
{ {
@ -54,6 +55,7 @@
$PaymentTerms = $PO->PaymentTerms; $PaymentTerms = $PO->PaymentTerms;
$PaymentDays=$PO->PaymentDays; $PaymentDays=$PO->PaymentDays;
$PayableAT=$PO->PayableAT; $PayableAT=$PO->PayableAT;
$PlaceofOrigin=$PO->Import_PlaceofOrgin;
} }
} }
//echo $SuplierName; //echo $SuplierName;
@ -145,7 +147,7 @@
<tr> <tr>
<td>PO DATE :<?php echo $Podt?></td> <td>PO DATE :<?php echo $Podt?></td>
<td>DELIVERY DATE / SCHEDULE BY :<?php echo $DeliveryDate.$DeliverySchedule;?></td> <td>DELIVERY DATE / SCHEDULE BY :<?php echo $DeliveryDate.$DeliverySchedule;?></td>
<td>PLACE OF ORIGIN: UAE</td> <td>PLACE OF ORIGIN: <?php echo $PlaceofOrigin;?></td>
</tr> </tr>
</tbody> </tbody>
</table> </table>

View File

@ -2640,7 +2640,7 @@ if($PONOStatus == PO_RELEASED)
?> ?>
</div> </div>
<input type="hidden" name="txttot" id="txtPONO" value=<?php echo "$totalhidden";?>> <!-- <input type="text" name="txttot" id="txtPONO" value=<?php echo "$totalhidden";?>> -->
</div> </div>
<input type="hidden" name="txttot" id="txttot" value=<?php echo $totalhidden;?> <input type="hidden" name="txttot" id="txttot" value=<?php echo $totalhidden;?>