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 (902300293,902300460,902300390,902300638,902300318,902300384,902300326,902300386,902300300,902300588,902300486,902300381,902300307,902300327,902300309,902300347,902300270,902300373,902300297,902300261)
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