Revize 3802a400
Přidáno uživatelem Ondřej Fibich před téměř 5 roky(ů)
application/controllers/work_reports.php | ||
---|---|---|
}
|
||
|
||
$suggest_amount = $work_report->price_per_hour * $hours;
|
||
$suggest_amount += $work_report->price_per_km * $km;
|
||
if (!empty($km))
|
||
{
|
||
$suggest_amount += $work_report->price_per_km * $km;
|
||
}
|
||
|
||
$work_report_suggest_amount += $suggest_amount;
|
||
|
Také k dispozici: Unified diff
Issue #1140: Fix work report adding on PHP 7.3.