FIX_Bug Fixes

This commit is contained in:
VE10-Sanjeev 2024-08-01 06:56:18 +00:00
parent 218bdb35f2
commit 96b13eaffb
2 changed files with 12 additions and 4 deletions

View File

@ -2436,8 +2436,11 @@ $mpdf->use_kwt = true;
// $data['Status']= $this->purchaseorder_model->getStatus();
$userID = $this->session->get('userId');
//print_r($data['Status']);echo "CON";
$data['AppList'] = $this->purchaseorder_model->getPOList($q);
$appList = $this->purchaseorder_model->getPOList($q);
$filteredAppList = array_filter($appList, function($item) {
return $item->Status !== PO_DRAFT;
});
$data['AppList'] = $filteredAppList;
$this->loadViews("porelease_view", $this->global, $data, NULL);
}

View File

@ -2429,8 +2429,13 @@ if (!empty($getlogpodtl)) {
<div class="col-md-12">
<div align="right"><br />
<input type="file" name="POFile" id="POFile"><br>
<input type="hidden" name="txtPONO" id="txtPONO" value="<?php echo $PONO; ?>" />
<div>
<input type="file" name="POFile" id="POFile">
<?php if($PrePOFile){ ?>
<label><a title="previously uploaded PO File" href="<?php echo base_url().'public/uploads/POfiles/' . $PrePOFile ?>"><span>previously uploaded - </span><small><?= $PrePOFile; ?></small></a></label>
<?php } ?>
<input type="hidden" id="PrePOFile" name="PrePOFile" value="<?php echo $PrePOFile; ?>"/><br>
</div> <input type="hidden" name="txtPONO" id="txtPONO" value="<?php echo $PONO; ?>" />
<input type="hidden" name="txtStatus" id="txtStatus" />
<input type="hidden" name="txtRowCount" id="txtRowCount" value="<?php echo $index; ?>">
<input type="hidden" name="txtDeletedRow" id="txtDeletedRow" />