Fix message for profit calculation
This commit is contained in:
parent
b57d1ed263
commit
89817c8ead
@ -50,7 +50,7 @@ UseDateWithoutHourOnFichinter=Hides hours and minutes off the date field for int
|
|||||||
InterventionStatistics=Statistics of interventions
|
InterventionStatistics=Statistics of interventions
|
||||||
NbOfinterventions=No. of intervention cards
|
NbOfinterventions=No. of intervention cards
|
||||||
NumberOfInterventionsByMonth=No. of intervention cards by month (date of validation)
|
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
|
InterId=Intervention id
|
||||||
InterRef=Intervention ref.
|
InterRef=Intervention ref.
|
||||||
InterDateCreation=Date creation intervention
|
InterDateCreation=Date creation intervention
|
||||||
|
|||||||
@ -471,7 +471,7 @@ $listofreferent = array(
|
|||||||
'table'=>'fichinter',
|
'table'=>'fichinter',
|
||||||
'datefieldname'=>'date_valid',
|
'datefieldname'=>'date_valid',
|
||||||
'disableamount'=>0,
|
'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),
|
'urlnew'=>DOL_URL_ROOT.'/fichinter/card.php?action=create&origin=project&originid='.$id.'&socid='.$socid.'&backtopage='.urlencode($_SERVER['PHP_SELF'].'?id='.$id),
|
||||||
'lang'=>'interventions',
|
'lang'=>'interventions',
|
||||||
'buttonnew'=>'AddIntervention',
|
'buttonnew'=>'AddIntervention',
|
||||||
@ -914,7 +914,7 @@ foreach ($listofreferent as $key => $value) {
|
|||||||
print '<td class="right">'.$i.'</td>';
|
print '<td class="right">'.$i.'</td>';
|
||||||
// Amount HT
|
// Amount HT
|
||||||
print '<td class="right">';
|
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>';
|
print '<span class="opacitymedium">'.$form->textwithpicto($langs->trans("NA"), $langs->trans("AmountOfInteventionNotIncludedByDefault")).'</span>';
|
||||||
} else {
|
} else {
|
||||||
if ($key == 'propal') {
|
if ($key == 'propal') {
|
||||||
@ -925,7 +925,7 @@ foreach ($listofreferent as $key => $value) {
|
|||||||
print '</td>';
|
print '</td>';
|
||||||
// Amount TTC
|
// Amount TTC
|
||||||
print '<td class="right">';
|
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>';
|
print '<span class="opacitymedium">'.$form->textwithpicto($langs->trans("NA"), $langs->trans("AmountOfInteventionNotIncludedByDefault")).'</span>';
|
||||||
} else {
|
} else {
|
||||||
if ($key == 'propal') {
|
if ($key == 'propal') {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user