Commit 88f5cd14 authored by Khumoyunmirzo Sodiqov's avatar Khumoyunmirzo Sodiqov

fix

parent 3219cbe5
......@@ -84,13 +84,13 @@ class DeliverySytemsController extends Controller
$userCredential = new WebAuthenticationCredential();
$userCredential
->setKey('2WrQK1IeH6jBoghg')
->setKey('WZmcVJM6rADSDHRA')
->setPassword('RFdr6uqXNvFpZVvwtoEaGLuRG');
$webAuthenticationDetail = new WebAuthenticationDetail();
$webAuthenticationDetail->setUserCredential($userCredential);
$clientDetail = new ClientDetail();
$clientDetail
->setAccountNumber('647927254')
->setAccountNumber('896775413')
->setMeterNumber('250557652');
$version = new VersionId();
$version
......
......@@ -142,6 +142,7 @@ class DeclarationController extends Controller
$pdf->save($path . $filename);
// Activity::appendLog("Сгенерирована декларация в PDF формате.", Activity::NOTICE);
return redirect(url($path . $filename));
// return redirect(url($path . $filename));
// return response()->json(['url' => url($path . $filename) . ''], 200);
// return $pdf->download('declaration.pdf');
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment