separation of tawarruq and onepercent

This commit is contained in:
Hafifie PKB
2023-12-10 00:05:30 +08:00
parent 88329b3298
commit 2a8e972b34
18 changed files with 2701 additions and 1022 deletions
+14
View File
@@ -0,0 +1,14 @@
<?php
namespace App\Support\v1;
use App\KadarUpah;
class Calculation
{
public function kiraanTawarruq(float $pembiayaan = 0.0, float $kadarupah = 0.0) : Float{
$total = ($kadarupah/100) * $pembiayaan;
return $total;
}
}