mirror of
https://github.com/OpenXE-org/OpenXE.git
synced 2024-12-25 14:10:28 +01:00
Bugfix Produktion teilproduktion preserve old values, bugfix list view artikel name
This commit is contained in:
parent
e2120d1862
commit
39e741a595
@ -68,7 +68,7 @@ class Produktion {
|
|||||||
DATE_FORMAT(datum,'%d.%m.%Y') as datum,
|
DATE_FORMAT(datum,'%d.%m.%Y') as datum,
|
||||||
|
|
||||||
CONCAT (
|
CONCAT (
|
||||||
IFNULL((SELECT CONCAT(a.name_de,' (',a.nummer,')','<br>') FROM artikel a INNER JOIN produktion_position pp WHERE pp.stuecklistestufe = 1 AND pp.produktion = p.id LIMIT 1),''),
|
IFNULL((SELECT CONCAT(a.name_de,' (',a.nummer,')','<br>') FROM artikel a INNER JOIN produktion_position pp ON pp.artikel = a.id WHERE pp.stuecklistestufe = 1 AND pp.produktion = p.id LIMIT 1),''),
|
||||||
CONCAT('<i>',internebezeichnung,'</i>')
|
CONCAT('<i>',internebezeichnung,'</i>')
|
||||||
) as bezeichnung,
|
) as bezeichnung,
|
||||||
|
|
||||||
@ -581,7 +581,7 @@ class Produktion {
|
|||||||
|
|
||||||
// Preserve these values
|
// Preserve these values
|
||||||
$pos_id = $position['id'];
|
$pos_id = $position['id'];
|
||||||
$geliefert_menge = ['geliefert_menge'];
|
$geliefert_menge = $position['geliefert_menge'];
|
||||||
$menge = $position['menge'];
|
$menge = $position['menge'];
|
||||||
$produktion_alt_id = $position['produktion'];
|
$produktion_alt_id = $position['produktion'];
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user