فهرست منبع

Poprawka do JPK

Mariusz Muszyński 8 سال پیش
والد
کامیت
a421b7d635
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      SE/se-lib/Route/UrlAction/JPK.php

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

@@ -731,7 +731,7 @@ EOT;
 
 			$result = DB::getPDO(931)->fetchall($queryKORV);
 			foreach ($result as $row) {
-				$data[$row['BN_ID']][0]['NrKontrahenta'] = trim($row['NrKontrahenta']);
+				$data[$row['BN_ID']][0]['NrKontrahenta'] = trim(str_replace("-", "", $row['NrKontrahenta']));
 				$data[$row['BN_ID']][0]['NazwaKontrahenta'] = $row['NazwaKontrahenta'];
 				$data[$row['BN_ID']][0]['AdresKontrahenta'] = $row['AdresKontrahenta'];
 				$data[$row['BN_ID']][0]['DowodSprzedazy'] = $row['DowodSprzedazy'];