Fix #9302 MAIN_ENABLE_IMPORT_LINKED_OBJECT_LINES broken
This commit is contained in:
parent
dc5d1432b1
commit
3ef808cb9b
@ -1178,6 +1178,8 @@ class Facture extends CommonInvoice
|
|||||||
if ($add_save_lastsearch_values) $url.='&save_lastsearch_values=1';
|
if ($add_save_lastsearch_values) $url.='&save_lastsearch_values=1';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ($short) return $url;
|
||||||
|
|
||||||
$picto='bill';
|
$picto='bill';
|
||||||
if ($this->type == self::TYPE_REPLACEMENT) $picto.='r'; // Replacement invoice
|
if ($this->type == self::TYPE_REPLACEMENT) $picto.='r'; // Replacement invoice
|
||||||
if ($this->type == self::TYPE_CREDIT_NOTE) $picto.='a'; // Credit note
|
if ($this->type == self::TYPE_CREDIT_NOTE) $picto.='a'; // Credit note
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user