Merge branch 'ticket-philea'

This commit is contained in:
Marion Muszynski 2016-10-21 14:06:46 +02:00
commit 630c05310d

View File

@ -421,18 +421,21 @@ class AdminPhileaMagistor extends AdminTab {
FROM `'._DB_PREFIX_.'philea_syncreport`
WHERE `id_sale` = '.(int) $CRR['id_sale'] .'
AND `filename` LIKE "ART%"
AND `report_data` IS NOT NULL
');
$cdc_reports = Db::getInstance()->executeS('
SELECT `report_data`, `report_date`, `id_sale`
FROM `'._DB_PREFIX_.'philea_syncreport`
WHERE `id_sale` = '.(int) $CRR['id_sale'] .'
AND `filename` LIKE "CDC%"
AND `report_data` IS NOT NULL
');
$crp_reports = Db::getInstance()->executeS('
SELECT `report_data`, `report_date`, `id_sale`
FROM `'._DB_PREFIX_.'philea_syncreport`
WHERE `id_sale` = '.(int) $CRR['id_sale'] .'
AND `filename` LIKE "CRP%"
AND `report_data` IS NOT NULL
');
$form .= '<tr>