Skip to content

Commit

Permalink
FIX #6007
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy committed Nov 22, 2016
1 parent b10567f commit 15468d8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions htdocs/fichinter/card.php
Expand Up @@ -1635,6 +1635,12 @@
}
}

// Done
if (empty($conf->global->FICHINTER_CLASSIFY_BILLED) && $object->statut > 0 && $object->statut < 3)
{
print '<div class="inline-block divButAction"><a class="butAction" href="'.$_SERVER["PHP_SELF"].'?id='.$object->id.'&amp;action=classifydone">'.$langs->trans("InterventionClassifyDone").'</a></div>';
}

// Clone
if ($user->rights->ficheinter->creer) {
print '<div class="inline-block divButAction"><a class="butAction" href="' . $_SERVER['PHP_SELF'] . '?id=' . $object->id . '&amp;socid=' . $object->socid . '&amp;action=clone&amp;object=ficheinter">' . $langs->trans("ToClone") . '</a></div>';
Expand Down
1 change: 1 addition & 0 deletions htdocs/langs/en_US/interventions.lang
Expand Up @@ -26,6 +26,7 @@ DocumentModelStandard=Standard document model for interventions
InterventionCardsAndInterventionLines=Interventions and lines of interventions
InterventionClassifyBilled=Classify "Billed"
InterventionClassifyUnBilled=Classify "Unbilled"
InterventionClassifyDone=Classify "Done"
StatusInterInvoiced=Billed
ShowIntervention=Show intervention
SendInterventionRef=Submission of intervention %s
Expand Down

0 comments on commit 15468d8

Please sign in to comment.