from server date 2025-01-14
This commit is contained in:
@@ -302,7 +302,9 @@ class OnePercentService
|
||||
$ujrah_current = $result_audit_current->sum('ujrah');
|
||||
}
|
||||
/* B */
|
||||
$result_audit_previous = $this->StokAuditGenerateTerakru($month_sebelum,$cawangan,$year_generate);
|
||||
$year_sebelum = $date_sebelum->format('Y');
|
||||
$year_publish = ($month_sekarang == 1) ? $year_sebelum : $year_generate;
|
||||
$result_audit_previous = $this->StokAuditGenerateTerakru($month_sebelum,$cawangan,$year_publish);
|
||||
$onepercent_previous = $result_audit_previous->sum('utgonepercent');
|
||||
$ujrah_previous = $result_audit_previous->sum('ujrah');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user