Wrong invoice unit price when billing Project task spent time
This commit is contained in:
Milen Karaganski 2022-12-08 20:22:41 +02:00
parent 5573b88df8
commit ee7e394ebf

View File

@ -462,7 +462,7 @@ if ($action == 'confirm_generateinvoice') {
foreach ($arrayoftasks as $userid => $value) {
$fuser->fetch($userid);
//$pu_ht = $value['timespent'] * $fuser->thm;
$pu_ht = $fuser->thm;
$username = $fuser->getFullName($langs);
// Define qty per hour