Update peppol with default product key if none supplieD

This commit is contained in:
David Bomba 2025-06-16 07:19:44 +10:00
parent 67c1b717cf
commit 3a3664e8c6
1 changed files with 1 additions and 1 deletions

View File

@ -790,7 +790,7 @@ class Peppol extends AbstractService
// $item->gross_line_total = round($item->gross_line_total, 2);
$_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;