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='5880'
AND
pt.id_priplatku=p.id
AND
pt.lang='cz'
AND
zh.id_zbozi IN (902300622,902300621,902300620,902300619,902300618,902300617,902300616,902300615,902300611,902300610,902300609,902300608,902300607,902300606,902300605,902300604,902300603,902300589,902300564,902300560,902300559,902300558,902300543,902300542)
AND
zh.id_priplatku=p.id
AND
ht.id_phodnoty=zh.id_phodnoty
AND
ht.lang='cz'
AND
zh.id_phodnoty=ph.id
ORDER BY
p.poradi,p.id,zh.poradi,zh.id