mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
This commit is contained in:
parent
0ba3567ad6
commit
8d9e9f13cf
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user