Update peppol with default product key if none supplieD
This commit is contained in:
parent
67c1b717cf
commit
3a3664e8c6
|
|
@ -790,7 +790,7 @@ class Peppol extends AbstractService
|
||||||
// $item->gross_line_total = round($item->gross_line_total, 2);
|
// $item->gross_line_total = round($item->gross_line_total, 2);
|
||||||
|
|
||||||
$_item = new Item();
|
$_item = new Item();
|
||||||
$_item->Name = $item->product_key;
|
$_item->Name = strlen($item->product_key ?? '') >= 1 ? $item->product_key : ctrans('texts.item');
|
||||||
$_item->Description = $item->notes;
|
$_item->Description = $item->notes;
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue