Mariusz Muszyński 8 yıl önce
ebeveyn
işleme
2ff29bdf5a
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      SE/se-lib/Route/UrlAction/TVObciazeniaVOD.php

+ 1 - 1
SE/se-lib/Route/UrlAction/TVObciazeniaVOD.php

@@ -80,7 +80,7 @@ class Route_UrlAction_TVObciazeniaVOD extends RouteBase {
 				}
 			}
 
-			$query = "select t1.ID as ID, t1.VALUE1 as MIESIAC, round(t1.VALUE2*(1+t2.VAT/100),2) as BRUTTO, if (t1.ID_BILLING_NUMBERS is null, '0', '1') as ROZLICZONE from {$this->conf['TABLE']} as t1 join LIST_SERVICES t2 on t2.ID='{$this->conf['ID_LIST_SERVICES']}' where t1.ID_SERVICES='{$ID_SERVICES}' and t1.TYPE='{$this->conf['ID_LIST_SES_B_TYPES']}'";
+			$query = "select t1.ID as ID, t1.VALUE1 as MIESIAC, round(t1.VALUE2*(1+t2.VAT/100),2) as BRUTTO, if (t1.ID_BILLING_NUMBERS is null, '0', '1') as ROZLICZONE from {$this->conf['TABLE']} as t1 join LIST_SERVICES t2 on t2.ID='{$this->conf['ID_LIST_SERVICES']}' where t1.ID_SERVICES='{$ID_SERVICES}' and t1.TYPE='{$this->conf['ID_LIST_SES_B_TYPES']}' order by t1.ID";
 			$obciazenia = DB::getPDO()->fetchall($query);
 
 ?>