fix round off two decimal places
This commit is contained in:
@@ -94,11 +94,11 @@ class GadaiV2
|
||||
// $upah1 = $request->pinjaman * ($kadar_raw['kadarupdah']/100);
|
||||
// $upah6 = $upah1 * 6;
|
||||
// $upah12 = $upah1 * 12;
|
||||
$upah1 = $keuntungan['keuntungan'];
|
||||
$upah6 = $upah1 * 6;
|
||||
$upah12 = $upah1 * 12;
|
||||
$ujrah = $keuntungan['ujrah'];
|
||||
$onepercent = $keuntungan['onepercent'];
|
||||
$upah1 = $onepercentservices->getRoundedMethod($keuntungan['keuntungan']);
|
||||
$upah6 = $onepercentservices->getRoundedMethod($upah1 * 6);
|
||||
$upah12 = $onepercentservices->getRoundedMethod($upah1 * 12);
|
||||
$ujrah = $onepercentservices->getRoundedMethod($keuntungan['ujrah']);
|
||||
$onepercent = $onepercentservices->getRoundedMethod($keuntungan['onepercent']);
|
||||
|
||||
$hargajualan = $request->pinjaman + $upah12;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user