Add client id to invoice (#2171)

add client id to invoice
This commit is contained in:
Yanick authored and GitHub committed 2024-02-27 12:56:07 -08:00
1 parent 23dc46d3fe
commit e55724963e
1 file changed
+1
+1
View File
@@ -168,6 +168,7 @@ class Service implements InjectionAwareInterface
$result['id'] = $row['id'];
$result['serie'] = $row['serie'];
$result['nr'] = $row['nr'];
$result['client_id'] = $invoice->client_id;
$nr = (is_numeric($result['nr'])) ? $result['nr'] : $result['id'];
$result['serie_nr'] = $result['serie'] . sprintf('%05s', $nr);