mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 21:22:58 +01:00
restrict length of reference for e-invoice
This commit is contained in:
parent
84885837ab
commit
2dbf6cc4ff
@ -214,7 +214,7 @@ class FacturaEInvoice extends AbstractService
|
||||
{
|
||||
$po = $this->invoice->po_number ?? '';
|
||||
|
||||
$this->fac->setReferences($po, $this->invoice->custom_value1, $this->invoice->custom_value2);
|
||||
$this->fac->setReferences($po, substr($this->invoice->custom_value1, 0, 20), $this->invoice->custom_value2);
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user