forked from Wavyzz/dolibarr
#12408 using MAIN_DURATION_OF_WORKDAY during creation of invoices
This commit is contained in:
@@ -390,7 +390,7 @@ if ($action == 'confirm_generateinvoice')
|
|||||||
|
|
||||||
// Define qty per hour
|
// Define qty per hour
|
||||||
$qtyhour = round($value['timespent'] / 3600, 2);
|
$qtyhour = round($value['timespent'] / 3600, 2);
|
||||||
$qtyhourtext = convertSecondToTime($value['timespent']);
|
$qtyhourtext = convertSecondToTime($value['timespent'], 'all', $conf->global->MAIN_DURATION_OF_WORKDAY);
|
||||||
|
|
||||||
// If no unit price known
|
// If no unit price known
|
||||||
if (empty($pu_ht))
|
if (empty($pu_ht))
|
||||||
|
|||||||
Reference in New Issue
Block a user