fix ansuran tak boleh bayar
This commit is contained in:
@@ -176,7 +176,7 @@ class GadaiV2
|
||||
return $upahsemasa_raw;
|
||||
}
|
||||
|
||||
public function kiraupahRebet($kodcaw,$norujukan){
|
||||
public function kiraupahRebet($norujukan){
|
||||
$onepercentservices = new Calculation();
|
||||
|
||||
$cawangan = Cawangan::on('mysql7')
|
||||
@@ -209,8 +209,8 @@ class GadaiV2
|
||||
$cawangan = Cawangan::on('mysql7')->where('kodcaw','=',$kodcaw)->first();
|
||||
$gadai = Gadai::on($cawangan['mysql'])->where('norujukan','=',$norujukan)->first();
|
||||
|
||||
$upahsemasa = $this->kiraupahOnePercent($kodcaw,$norujukan);
|
||||
$upahrebet = $this->kiraUpahRebet($kodcaw,$norujukan);
|
||||
$upahsemasa = $this->kiraupahOnePercent($norujukan);
|
||||
$upahrebet = $this->kiraUpahRebet($norujukan);
|
||||
|
||||
$total_bayaran_prev = Transaction::on('mysql7')->where([['norujukan','=',$norujukan],['trans_type','=','A']])->sum('duit_masuk');
|
||||
|
||||
|
||||
@@ -691,7 +691,7 @@ class Penebusan
|
||||
|
||||
$audit = new Audit();
|
||||
$audit->users = $request->teller;
|
||||
$audit->actions = "Auto Tawarruq";
|
||||
$audit->actions = "Pembiayaan Semula";
|
||||
$audit->norujukan = $norujukan;
|
||||
$audit->new_data = $create_tebus;
|
||||
$audit->kodcaw = $kodcaw;
|
||||
|
||||
Reference in New Issue
Block a user