mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-02-12 02:42:33 +01:00
This commit is contained in:
@@ -233,7 +233,7 @@ if (empty($reshook)) {
|
||||
$line->fetch_product();
|
||||
}
|
||||
if (is_object($line->product) && $line->product->id > 0) {
|
||||
if (empty($line->product->tosell)) {
|
||||
if (empty($line->product->status)) {
|
||||
$warningMsgLineList[$line->id] = $langs->trans('WarningLineProductNotToSell', $line->product->ref);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -203,7 +203,7 @@ if (empty($reshook)) {
|
||||
$line->fetch_product();
|
||||
}
|
||||
if (is_object($line->product) && $line->product->id > 0) {
|
||||
if (empty($line->product->tosell)) {
|
||||
if (empty($line->product->status)) {
|
||||
$warningMsgLineList[$line->id] = $langs->trans('WarningLineProductNotToSell', $line->product->ref);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -234,7 +234,7 @@ if (empty($reshook)) {
|
||||
$line->fetch_product();
|
||||
}
|
||||
if (is_object($line->product) && $line->product->id > 0) {
|
||||
if (empty($line->product->tosell)) {
|
||||
if (empty($line->product->status)) {
|
||||
$warningMsgLineList[$line->id] = $langs->trans('WarningLineProductNotToSell', $line->product->ref);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user