Browse Source

Drobna poprawka

Mariusz Muszyński 7 years ago
parent
commit
10e02c7c9d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      SE/se-lib/Route/UrlAction/BiAuditGenerate.php

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

@@ -1728,7 +1728,7 @@ function toggleCheckSecond(check) {
 			copy($pdf, $pdfFile);
 			copy($pdf, $pdfFile);
 			DB::getPDO()->update($mainTable, 'ID', $benfordId, ['A_STATUS' => 'NORMAL', 'A_STATUS_INFO' => 'Poprawnie wygenerowano raport']);
 			DB::getPDO()->update($mainTable, 'ID', $benfordId, ['A_STATUS' => 'NORMAL', 'A_STATUS_INFO' => 'Poprawnie wygenerowano raport']);
 			SE_Layout::alert('success', 'Poprawnie wygenerowano raport' .
 			SE_Layout::alert('success', 'Poprawnie wygenerowano raport' .
-				'<br/><br/><a href="index.php?_route=UrlAction_BiAuditGenerate&ID_BI_audit_BENFORD=' . $benfordId . '" class="btn btn-default" style="width: 120px;">Pokaż raport</a>');
+				'<br/><br/><a href="index.php?_route=UrlAction_BiAuditGenerate&ID_BI_audit_BENFORD=' . $benfordId . '" class="btn btn-primary" style="width: 120px;">Pokaż raport</a>');
 		} catch (Exception $e) {
 		} catch (Exception $e) {
 			if ($benfordId) DB::getPDO()->update($mainTable, 'ID', $benfordId, ['A_STATUS' => 'DELETED', 'A_STATUS_INFO' => $e->getMessage()]);
 			if ($benfordId) DB::getPDO()->update($mainTable, 'ID', $benfordId, ['A_STATUS' => 'DELETED', 'A_STATUS_INFO' => $e->getMessage()]);
 			SE_Layout::alert('danger', $e->getMessage());
 			SE_Layout::alert('danger', $e->getMessage());