mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-08 17:24:29 -04: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 ?? '';
|
$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;
|
return $this;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user