added server edited at 12/10/2024
This commit is contained in:
@@ -303,7 +303,7 @@ class LelongController extends Controller
|
||||
}
|
||||
}
|
||||
|
||||
$arraylelong = ['bakilelong' => $bakilelong, 'rugilelong' => $rugilelong, 'baki' => $baki_lelong, 'rugi' => $rugi_lelong, 'jumlahlelong' => $jumlah_lelong, 'caslelong' => $cas_lelong];
|
||||
$arraylelong = ['bakilelong' => $bakilelong, 'rugilelong' => abs($rugilelong), 'baki' => $baki_lelong, 'rugi' => $rugi_lelong, 'jumlahlelong' => $jumlah_lelong, 'caslelong' => $cas_lelong];
|
||||
|
||||
return response()->json($arraylelong,200);
|
||||
}
|
||||
@@ -543,7 +543,7 @@ class LelongController extends Controller
|
||||
->whereYear('t_jual','=',$current->year)
|
||||
->sum('cajlelong');
|
||||
|
||||
if($kodcaw === '011232')
|
||||
if($kodcaw === '011232' && $current->year < 2023)
|
||||
$cajlelong +=122.5;
|
||||
|
||||
return response()->json($cajlelong,200);
|
||||
|
||||
Reference in New Issue
Block a user