latest commit 20-05-2025
This commit is contained in:
parent
361150a09b
commit
3de16bc920
@ -636,17 +636,23 @@ class Inwardgateregister extends BaseController
|
||||
}
|
||||
}
|
||||
|
||||
$this->inwardgateregister_model->UpdatePOMaster($PONO, $CreatedBy,$IGRStatus);
|
||||
|
||||
#Step 9 Updating Pending Quantity IN PO Master amd Line Item Details.
|
||||
if ((int)$IsThisOpenOrderPO != 1) {
|
||||
if ($TotalPendingQty == 0.00) {
|
||||
$Newstatus = array('Status' => $IGRStatus);
|
||||
$this->inwardgateregister_model->POLineItemsupdatestatus($PONO, $Newstatus);
|
||||
$this->inwardgateregister_model->pomasterupdatestatus($PONO, $Newstatus);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
// $this->inwardgateregister_model->UpdatePOMaster($PONO, $CreatedBy,$IGRStatus);
|
||||
|
||||
// #Step 9 Updating Pending Quantity IN PO Master amd Line Item Details.
|
||||
// if ((int)$IsThisOpenOrderPO != 1) {
|
||||
// if ($TotalPendingQty == 0.00) {
|
||||
// $Newstatus = array('Status' => $IGRStatus);
|
||||
// $this->inwardgateregister_model->POLineItemsupdatestatus($PONO, $Newstatus);
|
||||
// $this->inwardgateregister_model->pomasterupdatestatus($PONO, $Newstatus);
|
||||
// }
|
||||
|
||||
// }
|
||||
|
||||
|
||||
|
||||
#finally
|
||||
$finalstatement = "Successfully Created IGR Number: $IGRNO \n";
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user