addres qoshish da api o'zgartirildi
This commit is contained in:
@@ -109,7 +109,7 @@ class ConclusionController extends Controller
|
||||
// All pages: bottom-right corner, white background
|
||||
$sz = 22;
|
||||
$qrX = $size2['width'] - $sz - 8;
|
||||
$qrY = $size2['height'] - $sz - 2;
|
||||
$qrY = $size2['height'] - $sz - 6;
|
||||
$pdf->SetFillColor(255, 255, 255);
|
||||
$pdf->Rect($qrX - 1, $qrY - 1, $sz + 2, $sz + 2, 'F');
|
||||
$pdf->Image($qrPath, $qrX, $qrY, $sz, $sz);
|
||||
@@ -129,7 +129,7 @@ class ConclusionController extends Controller
|
||||
$pdf->AddPage($sizeCert['orientation'], [$sizeCert['width'], $sizeCert['height']]);
|
||||
$pdf->useTemplate($tplCert);
|
||||
$cqX = $sizeCert['width'] - 22 - 8;
|
||||
$cqY = $sizeCert['height'] - 22 - 2;
|
||||
$cqY = $sizeCert['height'] - 22 - 6;
|
||||
$pdf->SetFillColor(255, 255, 255);
|
||||
$pdf->Rect($cqX - 1, $cqY - 1, 24, 24, 'F');
|
||||
$pdf->Image($qrPath, $cqX, $cqY, 22, 22);
|
||||
@@ -138,8 +138,8 @@ class ConclusionController extends Controller
|
||||
$pdf->AddPage('P', 'A4');
|
||||
$pdf->Image($certPath, 0, 0, 210, 297);
|
||||
$pdf->SetFillColor(255, 255, 255);
|
||||
$pdf->Rect(210 - 22 - 8 - 1, 297 - 22 - 2 - 1, 24, 24, 'F');
|
||||
$pdf->Image($qrPath, 210 - 22 - 8, 297 - 22 - 2, 22, 22);
|
||||
$pdf->Rect(210 - 22 - 8 - 1, 297 - 22 - 6 - 1, 24, 24, 'F');
|
||||
$pdf->Image($qrPath, 210 - 22 - 8, 297 - 22 - 6, 22, 22);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -15,7 +15,7 @@ class AppServiceProvider extends ServiceProvider
|
||||
public function boot()
|
||||
{
|
||||
if (config('app.env') === 'production') {
|
||||
URL::forceScheme('https');
|
||||
URL::forceScheme('http');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Binary file not shown.
Reference in New Issue
Block a user