Beispiel #1
0
 public function gratification($month, $year)
 {
     $taxable = $this->taxable($month, $year);
     $gratification1 = $taxable * 25 / 100;
     $gratification2 = MinimunSalary::actual($month, $year) * Top::actual($month, $year);
     if ($gratification2 > $gratification1) {
         return $gratification1;
     }
     return $gratification2;
 }