add tooltips helper on product card
This commit is contained in:
parent
1237c5ba55
commit
dc90a62d90
@ -402,3 +402,4 @@ PMPValueShort=WAP
|
||||
mandatoryperiod=Mandatory periods
|
||||
mandatoryPeriodNeedTobeSet=Attention periods not entered and mandatory
|
||||
mandatoryPeriodNeedTobeSetMsgValidate=A service requires a start and end period
|
||||
mandatoryHelper=Message to the user on the need to enter a start date and an end date on a service when creating / validating an invoice, commercial proposal, sales order. <br> This action is not blocking in the process of confirmation
|
||||
|
||||
@ -402,3 +402,4 @@ PMPValueShort=PMP
|
||||
mandatoryperiod=Périodes obligatoires
|
||||
mandatoryPeriodNeedTobeSet=Attention périodes non saisies et obligatoires
|
||||
mandatoryPeriodNeedTobeSetMsgValidate=Un service nécessite une période de début et de fin
|
||||
mandatoryHelper=Message à l'utilisateur sur la necessité de saisir une date de début et une date de fin sur un service lors de la création/validation de facture, proposition commerciale , commande client.<br>Cette action n'est pas bloquante dans le processus de validation
|
||||
|
||||
@ -2279,7 +2279,15 @@ if (is_object($objcanvas) && $objcanvas->displayCanvasExists($action)) {
|
||||
|
||||
print '<tr><td class="titlefield">'.$langs->trans("mandatoryperiod").'</td><td>';
|
||||
print '<input type="checkbox" name="mandatoryperiod"'.($object->mandatory_period == 1 ? ' checked="checked"' : '').' disabled/> ';
|
||||
print '</td>';
|
||||
|
||||
$htmltooltip = '<br>'.$langs->trans("mandatoryHelper");
|
||||
|
||||
|
||||
print '<td class="center">';
|
||||
print $form->textwithpicto('', $htmltooltip, 1, 0);
|
||||
print '</td></tr>';
|
||||
|
||||
} else {
|
||||
if (empty($conf->global->PRODUCT_DISABLE_NATURE)) {
|
||||
// Nature
|
||||
|
||||
Loading…
Reference in New Issue
Block a user