separation pasal version1 and version2 fix upah xdetect
This commit is contained in:
@@ -143,9 +143,9 @@ class GadaiV1
|
||||
->first();
|
||||
|
||||
if($gadai_data['tempoh'] >= 12.0){
|
||||
$tempoh = 12;
|
||||
$tempoh = 12;
|
||||
}else{
|
||||
$tempoh = $gadai_data['tempoh'];
|
||||
$tempoh = $gadai_data['tempoh'];
|
||||
}
|
||||
$bilang_bln = $tempoh - $gadai_data['tempohbayar'];
|
||||
|
||||
@@ -199,8 +199,8 @@ class GadaiV1
|
||||
$cawangan = Cawangan::on('mysql7')->where('kodcaw','=',$kodcaw)->first();
|
||||
$gadai = Gadai::on($cawangan['mysql'])->where('norujukan','=',$norujukan)->first();
|
||||
|
||||
$upahsemasa = $this->kiraupahTawarruq($kodcaw,$norujukan);
|
||||
$upahrebet = $this->kiraUpahRebet($kodcaw,$norujukan);
|
||||
$upahsemasa = $this->kiraupahTawarruq($norujukan);
|
||||
$upahrebet = $this->kiraUpahRebet($norujukan);
|
||||
|
||||
$total_bayaran_prev = Transaction::on('mysql7')->where([['norujukan','=',$norujukan],['trans_type','=','A']])->sum('duit_masuk');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user