mirror of
https://github.com/OpenXE-org/OpenXE.git
synced 2024-11-14 12:07:15 +01:00
seriennummern briefpapier seriennummern_beleg_position
This commit is contained in:
parent
06add0d685
commit
95f203b12c
@ -316,9 +316,9 @@ class Briefpapier extends SuperFPDF {
|
||||
FROM
|
||||
seriennummern s
|
||||
INNER JOIN
|
||||
seriennummern_lieferschein_position slp ON slp.seriennummer = s.id
|
||||
seriennummern_beleg_position slp ON slp.beleg_typ = 'lieferschein' AND slp.seriennummer = s.id
|
||||
WHERE
|
||||
slp.lieferschein_position = $posid
|
||||
slp.beleg_position = $posid
|
||||
";
|
||||
$values = (array) $this->app->DB->SelectArr($sql);
|
||||
return(implode(', ',array_column($values,'seriennummer')));
|
||||
|
Loading…
Reference in New Issue
Block a user