|
@@ -299,6 +299,9 @@ if (!empty($conf->global->PROJECT_USE_OPPORTUNITIES)) {
|
|
|
print '<tr><td>'.$langs->trans("OpportunityAmount").'</td><td>';
|
|
|
if (strcmp($object->opp_amount, '')) {
|
|
|
print '<span class="amount">'.price($object->opp_amount, '', $langs, 1, 0, 0, $conf->currency).'</span>';
|
|
|
+ if (strcmp($object->opp_percent, '')) {
|
|
|
+ print ' <span title="'.dol_escape_htmltag($langs->trans('OpportunityWeightedAmount')).'"><span class="opacitymedium">'.$langs->trans("Weighted").'</span>: <span class="amount">'.price($object->opp_amount * $object->opp_percent / 100, 0, $langs, 1, 0, -1, $conf->currency).'</span></span>';
|
|
|
+ }
|
|
|
}
|
|
|
print '</td></tr>';
|
|
|
}
|
|
@@ -698,7 +701,7 @@ if (!$showdatefilter) {
|
|
|
print $form->selectDate($datee, 'datee', 0, 0, 1, '', 1, 0, 0, '', '', '', '', 1, '', $langs->trans("to"));
|
|
|
print '</div>';
|
|
|
print '<div class="inline-block">';
|
|
|
- print '<input type="submit" name="refresh" value="'.$langs->trans("Refresh").'" class="button">';
|
|
|
+ print '<input type="submit" name="refresh" value="'.$langs->trans("Refresh").'" class="button small">';
|
|
|
print '</div>';
|
|
|
print '</form>';
|
|
|
print '</div>';
|