Add tooltip to explain the trash action
This commit is contained in:
parent
0b29b92b44
commit
135e4f1768
@ -70,6 +70,7 @@ ConfirmValidateMo=Are you sure you want to validate this Manufacturing Order?
|
||||
ConfirmProductionDesc=By clicking on '%s', you will validate the consumption and/or production for the quantities set. This will also update the stock and record stock movements.
|
||||
ProductionForRef=Production of %s
|
||||
CancelProductionForRef=Cancellation of product stock decrementation for product %s
|
||||
TooltipDeleteAndRevertStockMovement=Delete line and revert stock movement
|
||||
AutoCloseMO=Close automatically the Manufacturing Order if quantities to consume and to produce are reached
|
||||
NoStockChangeOnServices=No stock change on services
|
||||
ProductQtyToConsumeByMO=Product quantity still to consume by open MO
|
||||
|
||||
@ -915,7 +915,7 @@ if ($object->id > 0 && (empty($action) || ($action != 'edit' && $action != 'crea
|
||||
$href = $_SERVER["PHP_SELF"].'?id='.((int) $object->id).'&action=deleteline&token='.newToken().'&lineid='.((int) $line->id);
|
||||
print '<td class="center">';
|
||||
print '<a class="reposition" href="'.$href.'">';
|
||||
print img_picto('', 'delete');
|
||||
print img_picto($langs->trans('TooltipDeleteAndRevertStockMovement'), 'delete');
|
||||
print '</a>';
|
||||
print '</td>';
|
||||
}
|
||||
@ -973,7 +973,7 @@ if ($object->id > 0 && (empty($action) || ($action != 'edit' && $action != 'crea
|
||||
$href = $_SERVER["PHP_SELF"].'?id='.((int) $object->id).'&action=deleteline&token='.newToken().'&lineid='.((int) $line->id).'&fk_movement='.((int) $line2['fk_stock_movement']);
|
||||
print '<td class="center">';
|
||||
print '<a class="reposition" href="'.$href.'">';
|
||||
print img_picto('', 'delete');
|
||||
print img_picto($langs->trans('TooltipDeleteAndRevertStockMovement'), 'delete');
|
||||
print '</a>';
|
||||
print '</td>';
|
||||
}
|
||||
@ -1226,7 +1226,7 @@ if ($object->id > 0 && (empty($action) || ($action != 'edit' && $action != 'crea
|
||||
$href .= '&lineid='.$line->id;
|
||||
print '<td class="center">';
|
||||
print '<a class="reposition" href="'.$href.'">';
|
||||
print img_picto('', "delete");
|
||||
print img_picto($langs->trans('TooltipDeleteAndRevertStockMovement'), "delete");
|
||||
print '</a>';
|
||||
print '</td>';
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user