master module changes-1 vadivel J 20-12-2024
This commit is contained in:
parent
37ed0276bf
commit
858629d58e
@ -1393,9 +1393,11 @@ class Amendmentpurchaseorder extends BaseController
|
||||
}
|
||||
$AmendmentNewPoNo = generate_amendment_po_number($PONO);
|
||||
$POMaster = array('PONO' => $AmendmentNewPoNo, 'ParentPO' => $PONO, 'SupplierID' => $SupplierID, 'POType' => $POType, 'TotalOrderValue' => $TotalOrder, 'PODate' => $PODate, 'Status' => $changeStatus , 'PORange' => $PoRange, 'ServiceDescription' => $SpcialInstruction, 'CreatedBy' => $CreateBy, 'DeliveryAddress' => $DeliveryAddr, 'Import_DispatchDetails' => $Dispatch, 'CreatedDate' => $createddt, 'DeliverySchedule' => $DeliverySchedule, 'DeliveryOption' => $DeliveryOption, 'ExchangeRate' => $Exchangerate, 'ExchangeRateCalculatedon' => $ExchangeRateCalculatedon, 'CurrencyType' => $CurrencyType, 'PaymentTerms' => $PaymentTerms, 'ReleasedBy' => $updatedBy, 'ReleasedOn' => $updateddt, 'Import_PlaceofOrgin' => $Palaceoforigin, 'Mode_Of_Shipment' => $Shipmentmode, 'Supplier_Reference' => $SupplierRef, 'Supplier_Offer_No' => $SupplierOffer, 'Other_Reference' => $otherRef, 'Fincap' => $finCap, 'AmendedDetails' => $MAD, 'PaymentOtherDescription' => $OtherPayment, 'InsuranceStatus' => $insurestatus, 'InsuranceNumber' => $InsuranceNumber, 'POSubType' => $importoption, 'IsQualityChkReqired' => $qtycheckresult);
|
||||
|
||||
$file = $this->request->getFile('POFile');
|
||||
$requestfilename = $file->getName();
|
||||
$PrePOFile = $this->request->getPost('PrePOFile');
|
||||
|
||||
if (!empty($requestfilename)) {
|
||||
if ($file && $file->isValid() && !$file->hasMoved()) {
|
||||
$path = ROOTPATH . 'public/uploads/POfiles/';
|
||||
@ -1415,6 +1417,9 @@ class Amendmentpurchaseorder extends BaseController
|
||||
} else {
|
||||
$POMaster['POFile'] = $PrePOFile ? $PrePOFile : null;
|
||||
}
|
||||
|
||||
|
||||
|
||||
$LastPO = $this->purchaseorder_model->addAmendPOMaster($POMaster, $CreateBy, $PONO);
|
||||
|
||||
$NewPO = '';
|
||||
@ -1431,7 +1436,7 @@ class Amendmentpurchaseorder extends BaseController
|
||||
|
||||
$LineItemStatus = REQITEM_NEW;
|
||||
|
||||
$igrvalue = $this->purchaseorder_model->selectigrmaster($PONO);
|
||||
$igrvalue = $this->purchaseorder_model->selectigrmaster($PONO);
|
||||
|
||||
$po = '';
|
||||
$igrno = '';
|
||||
|
||||
@ -2941,7 +2941,6 @@ if (!empty($RequistionDetails)) {
|
||||
data: formData,
|
||||
processData: false,
|
||||
contentType: false,
|
||||
//data:$('.CreatealterPO').serialize()+"&TextRowCount="+TextRowCount+"&TextDeQletedRowCount="+TextDeletedRowCount+"&TextTotalOrderValueSummaryService="+TextTotalOrderValueSummaryService+"&TextSpcialInstruction="+TextSpcialInstruction+"&TextExchangerate"+ExcLandingCharge="+hangerate+"Status="+TextStatus,
|
||||
type: "POST",
|
||||
url: "<?php echo base_url() ?>amendmentpurchaseorder/EditAmendImportPO",
|
||||
success: function(data) {
|
||||
|
||||
@ -221,8 +221,7 @@
|
||||
<th style="display:none;">Item Count</th>
|
||||
<!-- Rec qty changed to invoice qty -->
|
||||
<th>Invoice Qty</th>
|
||||
<!-- net weight changed to received qty -->
|
||||
<th>Recieved Qty</th>
|
||||
<th>Net weight</th>
|
||||
<th>Vechicle No</th>
|
||||
<th>Driver</th>
|
||||
<th>Transporter</th>
|
||||
@ -258,8 +257,7 @@
|
||||
|
||||
<!-- below one is currently shown as invoice qty -->
|
||||
<td align="right"><?php echo (int)$record->ReceivedQuantity ?></td>
|
||||
|
||||
<!-- below one is currently shown as received qty -->
|
||||
|
||||
<td align="right"><?php echo (int)$record->NetWeight ?></td>
|
||||
|
||||
<td><?php echo $record->VehicleNo ?></td>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user