Fix message for profit calculation
This commit is contained in:
parent
d04043f3d8
commit
32d27887b1
@ -50,7 +50,7 @@ UseDateWithoutHourOnFichinter=Hides hours and minutes off the date field for int
|
||||
InterventionStatistics=Statistics of interventions
|
||||
NbOfinterventions=No. of intervention cards
|
||||
NumberOfInterventionsByMonth=No. of intervention cards by month (date of validation)
|
||||
AmountOfInteventionNotIncludedByDefault=Amount of intervention is not included by default into profit (in most cases, timesheets are used to count time spent). Add option PROJECT_INCLUDE_INTERVENTION_AMOUNT_IN_PROFIT to 1 into home-setup-other to include them.
|
||||
AmountOfInteventionNotIncludedByDefault=Amount of intervention is not included by default into profit (in most cases, timesheets are used to count time spent). You can use PROJECT_ELEMENTS_FOR_ADD_MARGIN and PROJECT_ELEMENTS_FOR_MINUS_MARGIN option into home-setup-other to complete list of element included into profit.
|
||||
InterId=Intervention id
|
||||
InterRef=Intervention ref.
|
||||
InterDateCreation=Date creation intervention
|
||||
|
||||
@ -469,7 +469,7 @@ $listofreferent = array(
|
||||
'table'=>'fichinter',
|
||||
'datefieldname'=>'date_valid',
|
||||
'disableamount'=>0,
|
||||
'margin'=>'minus',
|
||||
'margin'=>'',
|
||||
'urlnew'=>DOL_URL_ROOT.'/fichinter/card.php?action=create&origin=project&originid='.$id.'&socid='.$socid.'&backtopage='.urlencode($_SERVER['PHP_SELF'].'?id='.$id),
|
||||
'lang'=>'interventions',
|
||||
'buttonnew'=>'AddIntervention',
|
||||
@ -912,7 +912,7 @@ foreach ($listofreferent as $key => $value) {
|
||||
print '<td class="right">'.$i.'</td>';
|
||||
// Amount HT
|
||||
print '<td class="right">';
|
||||
if ($key == 'intervention' && !$qualifiedforfinalprofit) {
|
||||
if ($key == 'intervention' && !$margin) {
|
||||
print '<span class="opacitymedium">'.$form->textwithpicto($langs->trans("NA"), $langs->trans("AmountOfInteventionNotIncludedByDefault")).'</span>';
|
||||
} else {
|
||||
if ($key == 'propal') {
|
||||
@ -923,7 +923,7 @@ foreach ($listofreferent as $key => $value) {
|
||||
print '</td>';
|
||||
// Amount TTC
|
||||
print '<td class="right">';
|
||||
if ($key == 'intervention' && !$qualifiedforfinalprofit) {
|
||||
if ($key == 'intervention' && !$margin) {
|
||||
print '<span class="opacitymedium">'.$form->textwithpicto($langs->trans("NA"), $langs->trans("AmountOfInteventionNotIncludedByDefault")).'</span>';
|
||||
} else {
|
||||
if ($key == 'propal') {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user