2
0
forked from Wavyzz/dolibarr

Merge pull request #32807 from hregis/fix_20_cannot_delete_files

FIX can not delete files in task card
This commit is contained in:
Laurent Destailleur
2025-01-27 10:33:38 +01:00
committed by GitHub
3 changed files with 10 additions and 4 deletions

View File

@@ -2743,6 +2743,7 @@ function print_projecttasks_array($db, $form, $socid, $projectsListId, $mytasks
}
print '<td class="right">';
$alttext = '';
if ($objp->opp_percent && $objp->opp_amount) {
$opp_weighted_amount = $objp->opp_percent * $objp->opp_amount / 100;
$alttext = $langs->trans("OpportunityWeightedAmount").' '.price($opp_weighted_amount, 0, '', 1, -1, 0, $conf->currency);