Sales,smccredit pd : ps
This commit is contained in:
parent
a2ca72fbd1
commit
1ceb0cb872
@ -2528,8 +2528,8 @@ public function filterSalesPDList_post() {
|
||||
$updt_where = array('pd_id' => $v['pd_id'], 'pd_status' => COMPLETED);
|
||||
$result = $this->SMC_Credit_PD_Model->updateRecords($updt_arr, PDTRIGGER, $updt_where);
|
||||
if($result) $flag = $flag+1;
|
||||
log_message('ERROR', '#### SMC credit PDID '.$v['pd_id'].' in ARCHIVED status ');
|
||||
array_push($ids, $v['pd_id']);
|
||||
log_message('ERROR', '#### SMC credit PDID '.$v['pd_id'].'-'.$v['pd_sno'].' in ARCHIVED status ');
|
||||
array_push($ids, $v['pd_id'].'-'.$v['pd_sno']);
|
||||
}
|
||||
log_message('ERROR', '#### '.$flag. '/'.count($value).' (archived pd/total pd) below this date '.$day_limit);
|
||||
$data['dataStatus'] = true;
|
||||
|
||||
@ -2075,8 +2075,8 @@ public function filterSalesPDList_post() {
|
||||
$updt_where = array('sales_pd_id' => $v['sales_pd_id'], 'status' => COMPLETED);
|
||||
$result = $this->Sales_PD_Model->updateRecords($updt_arr, SALES_PD_DATA, $updt_where);
|
||||
if($result) $flag = $flag+1;
|
||||
log_message('ERROR', '#### Sales PDID '.$v['sales_pd_id'].' in ARCHIVED status ');
|
||||
array_push($ids, $v['sales_pd_id']);
|
||||
log_message('ERROR', '#### Sales PDID '.$v['sales_pd_id']." - ".$v['sales_pd_sno'].' in ARCHIVED status ');
|
||||
array_push($ids, $v['sales_pd_id']." - ".$v['sales_pd_sno']);
|
||||
}
|
||||
log_message('ERROR', '#### '.$flag. '/'.count($value).' (archived pd/total pd) below this date '.$day_limit);
|
||||
$data['dataStatus'] = true;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user