Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
FHenry committed May 24, 2024
1 parent 4982942 commit b4079b6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions htdocs/expedition/card.php
Original file line number Diff line number Diff line change
Expand Up @@ -1490,9 +1490,9 @@
if ($deliverableQty < 0) $deliverableQty = 0;

$tooltipClass = $tooltipTitle = '';
if (!empty($alreadyQtyBatchSetted[$line->fk_product][$dbatch->batch][intval($warehouse_id)])) {
if (!empty($alreadyQtySetted[$line->fk_product][intval($warehouse_id)])) {
$tooltipClass = ' classfortooltip';
$tooltipTitle = $langs->trans('StockQuantitiesAlreadyAllocatedOnPreviousLines').' : '.$alreadyQtyBatchSetted[$line->fk_product][$dbatch->batch][intval($warehouse_id)];
$tooltipTitle = $langs->trans('StockQuantitiesAlreadyAllocatedOnPreviousLines').' : '.$alreadyQtySetted[$line->fk_product][intval($warehouse_id)];
} else {
$alreadyQtySetted[$line->fk_product][intval($warehouse_id)] = 0;
}
Expand Down

0 comments on commit b4079b6

Please sign in to comment.