add condition upah12 tawarruq & keuntungan baru

This commit is contained in:
Amirah
2023-12-06 09:00:27 +08:00
parent 7e725d5534
commit a106f6ce63
2 changed files with 18 additions and 7 deletions
+1 -1
View File
@@ -4198,7 +4198,7 @@ class KhazanahController extends Controller
$tarikh_cetak = $current->toDateString();
if($request->datemula == null){
$mula_date = '2017-01-01';
$mula_date = $current->toDateString();
}else{
$split_date = explode('-', $request->datemula);
$mula_date = $split_date[2] . '-' . $split_date[1] . '-' . $split_date[0];