Fix issue for temporary bill with reference
This commit is contained in:
parent
a2053f9fcf
commit
4f2fbcbb2f
|
|
@ -129,7 +129,7 @@ class pdf_swissqr extends pdf_sponge
|
||||||
|
|
||||||
if (str_contains($ref, 'PROV'))
|
if (str_contains($ref, 'PROV'))
|
||||||
{
|
{
|
||||||
$ref = 0;
|
$ref = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
$ref = preg_replace('/[^0-9]/', '', $ref);
|
$ref = preg_replace('/[^0-9]/', '', $ref);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue