|
|
@@ -1114,13 +1114,13 @@ Router::getRoute("UrlAction_BiAuditGenerate")->' . $function . ';
|
|
|
$generatePowiazaniaPdfFile = "{$tasksDirLocation}/generatePowiazania-{$row['ID']}.pdf";
|
|
|
$generatePowiazaniaHtmlDir = "{$tasksDirLocation}/generatePowiazania-{$row['ID']}.html";
|
|
|
$generatePowiazaniaHtmlZipFile = "{$tasksDirLocation}/generatePowiazania-{$row['ID']}.zip";
|
|
|
+ $xmlFile = "{$tasksDirLocation}/generatePowiazania-{$row['ID']}.xml";
|
|
|
$error = false;
|
|
|
$success = false;
|
|
|
$sqlArr = [];
|
|
|
if (file_exists($generatePowiazaniaResultFile)) {
|
|
|
$generatePowiazaniaResult = file_get_contents($generatePowiazaniaResultFile);
|
|
|
if ($generatePowiazaniaResult == "ok") {
|
|
|
- $xmlFile = "{$tasksDirLocation}/generatePowiazania-{$row['ID']}.xml";
|
|
|
if (file_exists($xmlFile)) {
|
|
|
if (filesize($xmlFile)) {
|
|
|
$powiazanieDirLocation = $this->getDirectory('BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA', $row['ID']);
|