diff --git a/app/Http/Controllers/WorkerController.php b/app/Http/Controllers/WorkerController.php index f5d81a1..9bb5ac6 100644 --- a/app/Http/Controllers/WorkerController.php +++ b/app/Http/Controllers/WorkerController.php @@ -250,12 +250,19 @@ class WorkerController extends Controller ->with('place_worker')->with('sertificate')->with('prev_company') ->with('infobloks'); $Query = $Query->where('id', '=', $worker->id); - $Query = $Query->get()->toArray(); + $Query = $Query->get(); view()->share('Query',$Query); + $status_work = $this->status_work; + $infoblocks = infobloks::query()->get(); + - $pdf = PDF::loadView('layout.pdf', $Query); //->setPaper('a4', 'landscape'); + $pdf = PDF::loadView('layout.pdf', [ + 'Query' => $Query, + 'status_work' => $status_work, + 'infoblocks' => $infoblocks + ])->setPaper('a4', 'landscape'); return $pdf->stream(); } diff --git a/public/css/style_may2024.css b/public/css/style_may2024.css index 0e5807c..43e1b8c 100644 --- a/public/css/style_may2024.css +++ b/public/css/style_may2024.css @@ -8300,6 +8300,9 @@ main + .news { white-space: -moz-pre-wrap; white-space: -o-pre-wrap; } +.accordion-sub li:last-child { + border-bottom: unset; +} .education-detail-contacts{ margin-top: 50px; } diff --git a/resources/views/education/show.blade.php b/resources/views/education/show.blade.php index e3e6da0..94d8fca 100644 --- a/resources/views/education/show.blade.php +++ b/resources/views/education/show.blade.php @@ -92,7 +92,7 @@ @foreach($levels_education_programs as $level_name => $education_programs)