1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 05:02:36 +01:00

Aktualisieren von OrderXDocument.php

This commit is contained in:
Lars Kusch 2024-03-13 10:35:01 +01:00 committed by GitHub
parent 7144e10654
commit d016f41c1c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -34,7 +34,7 @@ class OrderXDocument extends AbstractService
{
$company = $this->document->company;
$settings_entity = ($this->document Instanceof PurchaseOrder) ? $this->document->vendor : $this->document->client;
$settings_entity = ($this->document instanceof PurchaseOrder) ? $this->document->vendor : $this->document->client;
$profile = $settings_entity->getSetting('e_quote_type') ? $settings_entity->getSetting('e_quote_type') : "OrderX_Extended";
$profile = match ($profile) {