Chyba aplikace nebo serveru: Neznámý sloupec 'ph.pocet_sklad' v field list : SELECT
zh.*,
ht.nazev AS nazev_hodnoty,
pt.nazev AS nazev_priplatku,
p.nasobek,
ph.kod,
ph.pocet_sklad,
ph.platba_predem,
ht.nazev_objednavka AS nazev_objednavka
FROM
prefix_priplatky AS p,
prefix_priplatky_hodnoty AS ph,
prefix_priplatky_texty AS pt,
prefix_priplatky_zbozi_hodnoty AS zh,
prefix_priplatky_hodnoty_texty AS ht
WHERE
p.id_obchodu='2729'
AND
pt.id_priplatku=p.id
AND
pt.lang='sk'
AND
zh.id_zbozi IN (878183,878189,878190,878209,878210,878220,878222,878223,878226,878227)
AND
zh.id_priplatku=p.id
AND
ht.id_phodnoty=zh.id_phodnoty
AND
ht.lang='sk'
AND
zh.id_phodnoty=ph.id
ORDER BY
p.poradi,p.id,zh.poradi,zh.id