Explorar o código

Poprawka do importu billingu z centrali Adescom

Mariusz Muszyński hai 1 semana
pai
achega
4a7da8bfff
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      SE/se-lib/Route/UrlAction/VoIPAmsImport.php

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

@@ -46,7 +46,7 @@ class Route_UrlAction_VoIPAmsImport extends RouteBase {
 		array_shift($csv);
 
 		$csv = array_filter($csv, function($a) {
-			if ($a['TG wych.'] != '27') return false;
+			if (($a['TG wych.'] == '-1') || (!$a['TG wych.'])) return false;
 			if ($a['Koszt netto'] == '0,00') return false;
 			return true;
 		});