update cron job lelong ujrah
This commit is contained in:
@@ -82,6 +82,8 @@ class kemaskiniLelongUjrah extends Command
|
||||
$beza_keuntungan = $total_untung_asal - $total_untung_rebet;
|
||||
if($gadai->tempohbayar == $gadai->tempoh ){
|
||||
$keuntungan = 0.00;
|
||||
$rounded_ujrah = 0.00;
|
||||
$rounded_onepercent = 0.00;
|
||||
}else{
|
||||
|
||||
//kiraan keuntungan ujrah
|
||||
@@ -121,9 +123,13 @@ class kemaskiniLelongUjrah extends Command
|
||||
$beza_keuntungan = $total_untung_asal - $total_untung_rebet;
|
||||
if($gadai->tempohbayar == 12){
|
||||
$keuntungan = 0.00;
|
||||
$rounded_ujrah = 0.00;
|
||||
$rounded_onepercent = 0.00;
|
||||
}
|
||||
elseif($gadai->tempohbayar == $gadai->tempoh ){
|
||||
$keuntungan = 0.00;
|
||||
$rounded_ujrah = 0.00;
|
||||
$rounded_onepercent = 0.00;
|
||||
}
|
||||
else{
|
||||
|
||||
|
||||
Reference in New Issue
Block a user