|
@@ -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());
|