fix stok backdate

This commit is contained in:
hafifierahman
2022-07-28 01:00:44 +08:00
parent 55d6208568
commit d7d993fee7
2 changed files with 22 additions and 5 deletions
+3 -2
View File
@@ -757,8 +757,9 @@ class AkaunController extends Controller
$tarikh_cetak = $current->toDateString();
$kodcaw = $request->kodcaw;
$split_date = explode('-',$request->datestokauditbackdate);
$bulan = $split_date[1];
$tahun = $split_date[0];
$bulan = $split_date[0];
$tahun = $split_date[1];
if($bulan == 1){
$namabulan = 'Januari';