Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
F
fazo
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nuriddin
fazo
Commits
88f5cd14
Commit
88f5cd14
authored
Oct 29, 2019
by
Khumoyunmirzo Sodiqov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
3219cbe5
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
287 deletions
+3
-287
DeliverySytemsController.php
app/Http/Controllers/DeliverySytemsController.php
+2
-2
DeclarationController.php
app/Http/Controllers/Postman/DeclarationController.php
+1
-0
f08dc1391828ae2ead690e46b9edd71220191022093125.pdf
...labels/f08dc1391828ae2ead690e46b9edd71220191022093125.pdf
+0
-285
No files found.
app/Http/Controllers/DeliverySytemsController.php
View file @
88f5cd14
...
@@ -84,13 +84,13 @@ class DeliverySytemsController extends Controller
...
@@ -84,13 +84,13 @@ class DeliverySytemsController extends Controller
$userCredential
=
new
WebAuthenticationCredential
();
$userCredential
=
new
WebAuthenticationCredential
();
$userCredential
$userCredential
->
setKey
(
'
2WrQK1IeH6jBoghg
'
)
->
setKey
(
'
WZmcVJM6rADSDHRA
'
)
->
setPassword
(
'RFdr6uqXNvFpZVvwtoEaGLuRG'
);
->
setPassword
(
'RFdr6uqXNvFpZVvwtoEaGLuRG'
);
$webAuthenticationDetail
=
new
WebAuthenticationDetail
();
$webAuthenticationDetail
=
new
WebAuthenticationDetail
();
$webAuthenticationDetail
->
setUserCredential
(
$userCredential
);
$webAuthenticationDetail
->
setUserCredential
(
$userCredential
);
$clientDetail
=
new
ClientDetail
();
$clientDetail
=
new
ClientDetail
();
$clientDetail
$clientDetail
->
setAccountNumber
(
'
647927254
'
)
->
setAccountNumber
(
'
896775413
'
)
->
setMeterNumber
(
'250557652'
);
->
setMeterNumber
(
'250557652'
);
$version
=
new
VersionId
();
$version
=
new
VersionId
();
$version
$version
...
...
app/Http/Controllers/Postman/DeclarationController.php
View file @
88f5cd14
...
@@ -142,6 +142,7 @@ class DeclarationController extends Controller
...
@@ -142,6 +142,7 @@ class DeclarationController extends Controller
$pdf
->
save
(
$path
.
$filename
);
$pdf
->
save
(
$path
.
$filename
);
// Activity::appendLog("Сгенерирована декларация в PDF формате.", Activity::NOTICE);
// Activity::appendLog("Сгенерирована декларация в PDF формате.", Activity::NOTICE);
return
redirect
(
url
(
$path
.
$filename
));
return
redirect
(
url
(
$path
.
$filename
));
// return redirect(url($path . $filename));
// return response()->json(['url' => url($path . $filename) . ''], 200);
// return response()->json(['url' => url($path . $filename) . ''], 200);
// return $pdf->download('declaration.pdf');
// return $pdf->download('declaration.pdf');
}
}
...
...
public/uploads/labels/f08dc1391828ae2ead690e46b9edd71220191022093125.pdf
deleted
100644 → 0
View file @
3219cbe5
File deleted
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment