From 72a651ebabe5a8ab979ddcb0e4fca3377718d104 Mon Sep 17 00:00:00 2001 From: czup Date: Sat, 1 Feb 2020 01:03:57 +0100 Subject: [PATCH] =?UTF-8?q?Dodanie=20drukowania=20widok=C3=B3w?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Http/Controllers/AlphaPDF.php | 73 ++++ app/Http/Controllers/Auth/logo.jpg | Bin 0 -> 34461 bytes app/Http/Controllers/documentCreators.php | 389 ++++++++++++++++++ .../Controllers/fireFightersController.php | 16 + .../Controllers/fireStationController.php | 8 + app/Http/Controllers/logo.jpg | Bin 0 -> 34461 bytes app/Http/Controllers/operationsController.php | 18 + .../Controllers/userProfileController.php | 7 +- ...9_11_12_235707_create_operations_table.php | 2 +- resources/views/fireFighters.blade.php | 5 + resources/views/operation.blade.php | 16 +- resources/views/unit.blade.php | 8 + routes/web.php | 4 + 13 files changed, 541 insertions(+), 5 deletions(-) create mode 100644 app/Http/Controllers/AlphaPDF.php create mode 100644 app/Http/Controllers/Auth/logo.jpg create mode 100644 app/Http/Controllers/documentCreators.php create mode 100644 app/Http/Controllers/logo.jpg diff --git a/app/Http/Controllers/AlphaPDF.php b/app/Http/Controllers/AlphaPDF.php new file mode 100644 index 0000000..fbae25d --- /dev/null +++ b/app/Http/Controllers/AlphaPDF.php @@ -0,0 +1,73 @@ +AddExtGState(array('ca'=>$alpha, 'CA'=>$alpha, 'BM'=>'/'.$bm)); + $this->SetExtGState($gs); + } + + function AddExtGState($parms) + { + $n = count($this->extgstates)+1; + $this->extgstates[$n]['parms'] = $parms; + return $n; + } + + function SetExtGState($gs) + { + $this->_out(sprintf('/GS%d gs', $gs)); + } + + function _enddoc() + { + if(!empty($this->extgstates) && $this->PDFVersion<'1.4') + $this->PDFVersion='1.4'; + parent::_enddoc(); + } + + function _putextgstates() + { + for ($i = 1; $i <= count($this->extgstates); $i++) + { + $this->_newobj(); + $this->extgstates[$i]['n'] = $this->n; + $this->_put('<extgstates[$i]['parms']; + $this->_put(sprintf('/ca %.3F', $parms['ca'])); + $this->_put(sprintf('/CA %.3F', $parms['CA'])); + $this->_put('/BM '.$parms['BM']); + $this->_put('>>'); + $this->_put('endobj'); + } + } + + function _putresourcedict() + { + parent::_putresourcedict(); + $this->_put('/ExtGState <<'); + foreach($this->extgstates as $k=>$extgstate) + $this->_put('/GS'.$k.' '.$extgstate['n'].' 0 R'); + $this->_put('>>'); + } + + function _putresources() + { + $this->_putextgstates(); + parent::_putresources(); + } +} +?> diff --git a/app/Http/Controllers/Auth/logo.jpg b/app/Http/Controllers/Auth/logo.jpg new file mode 100644 index 0000000000000000000000000000000000000000..65203787507d74c4a2be5ea30c21144dacecbc47 GIT binary patch literal 34461 zcmbq)1z1~K)^?C$Eyaoztx$@$6o)_!C{PF%+=>==XwbH_(4s|xLt5N|Cjo*KcPQ@e z!6itrpL=J%nYkn1%s=0O=dhE_bJjk4ul25XueJ8&=;bVcQc+Gp4uFRT0N`Ey04^s0 zp8y2-_$2@FMfTf&l9G~=kX$DxBO$+Pli(2$5)xe_A|oOqBPYN5{rw{QOY2V!vfulD z>;3Hkzu$gq{C-{j1W=LS1Mu<*@TdUzRCokbc$ZB8ma75c;}iTg*8jOkNb!gXuMrX8 zUv(Q&UiISP;}a7Q5nU(0c8wH(hYuhiyhcTRhlrSjl;-iXTX)rH?+Lzf{_y0vx=UmX z<9(qQ8emh`A0>k#X6A10AETnvO3TU{g*5{*>(d*W26pJ^88{xil+D<^dOY)$+~1`C zkLatvL|3x$2uOYtu6Q-hE7{jbu8|U5BOoNW>czwVlkmsS)QD)Vghu|Tzjarzq>otW zxw?jF)Z7j&-949&{ZGu z;T1{jt)nQO{VbDwj2hihdmcHzIQ@)E`6(_XPsCKsiuKqR z_0PAr!hn(OR?XXv0Ea`1N z>*sm1<*n8zu=@R@WR~#j#z4e@E&Pt&y3dAhZ7_#|A^MG(N<(-58 zw1mhy8MDILDvgS8+!bPCItmAmA3N{HZKP!s`PT*co?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sI_LZIwh#9TkYEO(?Vp(3wK=S6Jmxl4-&=s&X0=zqYeg_ zx?t0OGwY#5_@|`y=jF2xt(VXla-U<8->M0#>EU{ttMfSEe($RT}U+M zrCH3bs^q;%0H`G~1S-$I4C2-)8x?WdVoZ@^^+_jF7>pUr8(kpJRIe_LU$J0_qx{lX zbDgJyi>DJ{0v#tj*Sv1ZRkGI&6mb^Ana@dIu(@E{`hxneeD3D=o4L#vM88`8^FaFY zTdE`wmHC;=%*LFW8hlwI_5GC_bF+`i*^*M<-%xq+U*eUPHWzFzzr8=^^p#cR-!J_y z>@8~J2hoy6Rh;*i&R;*Ta2<}qCCwv;qPs$gIn4l$w^xEY?MKeFv}@uj_}$<)uei^pt=l+iVAE*szc>n+a literal 0 HcmV?d00001 diff --git a/app/Http/Controllers/documentCreators.php b/app/Http/Controllers/documentCreators.php new file mode 100644 index 0000000..5944fe6 --- /dev/null +++ b/app/Http/Controllers/documentCreators.php @@ -0,0 +1,389 @@ +SetAlpha(0.5); + $pdf->Image('/home/czup/PhpstormProjects/untitled7/eOSP2/app/Http/Controllers/logo.jpg',120,30,100); + $pdf->SetAlpha(1); + } + + public function createSingleOperationPDF2($operationID){ + + $operation = DB::table('operations')->where([ + ['operations.fireStationID', "=", auth()->user()->fireStationID], + ['operations.id', '=', $operationID], + ]) + ->whereNull('deleted_at') + ->leftJoin('users', 'operations.commanderID', '=', 'users.id') + ->select('operations.id', 'operations.operationDate', 'operations.location', 'operations.target', 'operations.dangerType', 'operations.description', 'operations.commanderID', 'operations.fireStationID', 'users.name', 'users.surname') + ->first(); + + $fireFighters = array(); + $trucks = array(); + + $fireFighters = DB::table('users')->where("fireStationID", "=", auth()->user()->fireStationID ) + ->Join('operationsMembers', function ($join) use($operationID){ + $join->on('users.id', '=', 'operationsMembers.memberID'); + $join->where('operationsMembers.operationID', '=', $operationID); + }) + ->select('users.*', 'operationsMembers.memberID', 'operationsMembers.privateTransport') + ->get(); + + $trucks = DB::table('vehicles')->where([ + ["vehicles.fireStationID", "=", auth()->user()->fireStationID ], + ]) + ->Join('operationsTrucks', function ($join) use($operationID){ + $join->on('vehicles.id', '=', 'operationsTrucks.truckID'); + $join->where('operationsTrucks.operationID', '=', $operationID); + }) + ->leftJoin('users', 'operationsTrucks.driverID', '=', 'users.id') + ->select('vehicles.*', 'operationsTrucks.truckID', 'operationsTrucks.driverID', 'users.name as driverName', 'users.surname as driverSurname') + ->get(); + + + + $pdf = new AlphaPDF(); + $fill = false; + $pdf->AddPage(); + $pdf->AddFont('arialpl', '', 'arialpl.php'); + $pdf->AddFont('arialpl', 'B', 'arialplb.php'); + $pdf->SetFont('arialpl','B',16); + $pdf->Cell(40,10, $this->textConvert("Data wyjazdu:")); + $pdf->SetFont('arialpl','',16); + $pdf->Cell(60,10,$this->textConvert($operation->operationDate), 0, 0, '', $fill); + $pdf->Ln(); + $pdf->SetFont('arialpl','B',16); + $pdf->Cell(25,10, $this->textConvert("Miejsce:")); + $pdf->SetFont('arialpl','',16); + $pdf->Cell(40,10,$this->textConvert($operation->location), 0, 0, '', $fill); + $pdf->Ln(); + $pdf->SetFont('arialpl','B',16); + $pdf->Cell(15,10, $this->textConvert("Cel:")); + $pdf->SetFont('arialpl','',16); + $pdf->Cell(80,10,$this->textConvert($operation->target), 0, 0, '', $fill); + $pdf->Ln(); + $pdf->SetFont('arialpl','B',16); + $pdf->Cell(55,10, $this->textConvert("Rodzaj zagrożenia:")); + $pdf->SetFont('arialpl','',16); + $pdf->Cell(60,10,$this->textConvert($operation->dangerType), 0, 0, '', $fill); + $pdf->Ln(); + $pdf->SetFont('arialpl','B',16); + $pdf->Cell(35,10, $this->textConvert("Dowodzący:")); + $pdf->SetFont('arialpl','',16); + $pdf->Cell(60,10,$this->textConvert($operation->name.' '.$operation->surname), 0, 0, '', $fill); + $pdf->Ln(); + $pdf->Ln(); + $pdf->SetFont('arialpl','B',16); + $pdf->Cell(0,10, $this->textConvert("Opis Wyjazdu"),0,1,'C'); + $pdf->Ln(); + $pdf->SetFont('arialpl','',16); + $pdf->Write(8,$this->textConvert($operation->description)); + $pdf->Ln(); + $pdf->Ln(); + $pdf->SetFont('arialpl','B',16); + $pdf->Cell(28,10, $this->textConvert("Członkowie wyjazdu:")); + $pdf->Ln(); + $pdf->SetFillColor(152,152,152); + $pdf->Cell(135,10, $this->textConvert("Członkowie akcji"), 1, 0, 'C', true); + $pdf->Cell(55,10, $this->textConvert("Transport własny"), 1, 0, 'C', true); + $pdf->Ln(); + + $pdf->SetFont('arialpl','',14); + $fill = false; + $pdf->SetFillColor(224,224,224); + foreach( $fireFighters as $fireFighter){ + $text = $fireFighter->name." ".$fireFighter->surname; + $pdf->Cell(135,10,$this->textConvert($text), 1, 0, '', $fill); + if($fireFighter->privateTransport == 1){ + $privateTransport = 'Tak'; + }else{ + $privateTransport = 'Nie'; + } + $pdf->Cell(55,10,$this->textConvert($privateTransport), 1, 0, 'C', $fill); + $pdf->Ln(); + + $fill = !$fill; + } + + $pdf->Ln(); + $pdf->SetFont('arialpl','B',16); + $pdf->Cell(28,10, $this->textConvert("Pojazdy biorące udział w akcji:")); + $pdf->Ln(); + $pdf->SetFillColor(152,152,152); + $pdf->Cell(115,10, $this->textConvert("Pojazd"), 1, 0, 'C', true); + $pdf->Cell(75,10, $this->textConvert("Kierowca"), 1, 0, 'C', true); + $pdf->Ln(); + + $pdf->SetFont('arialpl','',14); + $fill = false; + $pdf->SetFillColor(224,224,224); + foreach( $trucks as $truck){ + $pdf->Cell(115,10,$this->textConvert($truck->name.' '.$truck->brand.' '.$truck->registrationNumber), 1, 0, '', $fill); + $pdf->Cell(75,10,$this->textConvert($truck->driverName.' '.$truck->driverSurname), 1, 0, 'C', $fill); + $pdf->Ln(); + $fill = !$fill; + } + + $pdf->Ln(); + +// $this->setWatermark($pdf); + $pdf->Ln(); + $pdf->Output(); + exit; + } + + public function createAllOperationsPDF($fireSationID){ + + $operations = DB::table('operations')->where('operations.fireStationID', "=", $fireSationID) + ->whereNull('deleted_at') + ->leftJoin('users', 'operations.commanderID', '=', 'users.id') + ->select('operations.id', 'operations.operationDate', 'operations.location', 'operations.target', 'operations.dangerType', 'operations.description', 'operations.commanderID', 'operations.fireStationID', 'users.name', 'users.surname') + ->get(); + + $pdf = new AlphaPDF(); + $fill = false; + $pdf->AddPage(); + + $pdf->AddFont('arialpl', '', 'arialpl.php'); + $pdf->AddFont('arialpl', 'B', 'arialplb.php'); + + $pdf->SetFont('arialpl','B',20); + $pdf->Cell(190,10, $this->textConvert("Lista wyjazdów:"),0,0,'C'); + $pdf->Ln(); + $pdf->SetFont('arialpl','B',14); + $pdf->SetFillColor(152,152,152); + $pdf->Cell(10,10, $this->textConvert("#"), 1, 0, 'C', true); + $pdf->Cell(50,10, $this->textConvert("Data"), 1, 0, 'C', true); + $pdf->Cell(50,10, $this->textConvert("Miejsce"), 1, 0, 'C', true); + $pdf->Cell(60,10, $this->textConvert("Cel"), 1, 0, 'C', true); + $pdf->Cell(40,10, $this->textConvert("Rodzaj zagrożenia"), 1, 0, 'C', true); + $pdf->Cell(60,10, $this->textConvert("Dowódca"), 1, 0, 'C', true); + + $pdf->SetFont('arialpl','',14); + $fill = false; + $pdf->SetFillColor(224,224,224); + $i=1; + foreach( $operations as $operation){ + $pdf->Cell(10,10, $i, 1, 0, 'C', $fill); + $pdf->Cell(50,10,$this->textConvert($operation->operationDate), 1, 0, '', $fill); + $pdf->Cell(50,10,$this->textConvert($operation->location), 1, 0, '', $fill); + $pdf->Cell(50,10,$this->textConvert($operation->target), 1, 0, '', $fill); + $pdf->Ln(); + $fill = !$fill; + $i++; + } + + + $pdf->Ln(); + $pdf->Output(); + exit; + } + + public function createSingleUnitPDF(){ + $fireStation = fireStation::find(auth()->user()->fireStationID); + $pdf = new AlphaPDF(); + $fill = false; + $pdf->AddPage(); + + $pdf->AddFont('arialpl', '', 'arialpl.php'); + $pdf->AddFont('arialpl', 'B', 'arialplb.php'); + + $pdf->SetFont('arialpl','B',20); + $pdf->Cell(190,10, $this->textConvert($fireStation->name),0,0,'C'); + $pdf->Ln(); + $pdf->Ln(); + $pdf->SetFont('arialpl','B',16); + $pdf->Cell(45,10, $this->textConvert("Województwo:"),0,0,''); + $pdf->SetFont('arialpl','',16); + $pdf->Cell(40,10, $this->textConvert($fireStation->voivodeship),0,0,''); + $pdf->Ln(); + $pdf->SetFont('arialpl','B',16); + $pdf->Cell(25,10, $this->textConvert("Powiat:"),0,0,''); + $pdf->SetFont('arialpl','',16); + $pdf->Cell(30,10, $this->textConvert($fireStation->county),0,0,''); + $pdf->Ln(); + $pdf->SetFont('arialpl','B',16); + $pdf->Cell(85,10, $this->textConvert("Gmina i numer Ewidencyjny:"),0,0,''); + $pdf->SetFont('arialpl','',16); + $pdf->Cell(30,10, $this->textConvert($fireStation->community.' '.$fireStation->number),0,0,''); + $pdf->Ln(); + $pdf->SetFont('arialpl','B',16); + $pdf->Cell(85 ,10, $this->textConvert("Kod pocztowy, Miejscowość:"),0,0,''); + $pdf->SetFont('arialpl','',16); + $pdf->Cell(30,10, $this->textConvert($fireStation->zipCode.' '.$fireStation->name),0,0,''); + $pdf->Ln(); + $pdf->SetFont('arialpl','B',16); + $pdf->Cell(45,10, $this->textConvert("Ulica i Numer:"),0,0,''); + $pdf->SetFont('arialpl','',16); + $pdf->Cell(30,10, $this->textConvert($fireStation->address),0,0,''); + $pdf->Ln(); + $pdf->SetFont('arialpl','B',16); + $pdf->Cell(100,10, $this->textConvert("Szerokość i długość geograficzna:"),0,0,''); + $pdf->SetFont('arialpl','',16); + $pdf->Cell(0,10, $this->textConvert($fireStation->latitude.'° | '.$fireStation->longitude.'°'),0,0,''); + $pdf->Ln(); + $pdf->SetFont('arialpl','B',16); + $pdf->Cell(20,10, $this->textConvert("KRS:"),0,0,''); + $pdf->SetFont('arialpl','',16); + $pdf->Cell(30,10, $this->textConvert($fireStation->KRS),0,0,''); + $pdf->Ln(); + $pdf->SetFont('arialpl','B',16); + $pdf->Cell(20,10, $this->textConvert("NIP:"),0,0,''); + $pdf->SetFont('arialpl','',16); + $pdf->Cell(30,10, $this->textConvert($fireStation->NIP),0,0,''); + $pdf->Ln(); + $pdf->SetFont('arialpl','B',16); + $pdf->Cell(30,10, $this->textConvert("Telefon:"),0,0,''); + $pdf->SetFont('arialpl','',16); + $pdf->Cell(30,10, $this->textConvert($fireStation->phoneNumber),0,0,''); + $pdf->Ln(); + $pdf->SetFont('arialpl','B',16); + $pdf->Cell(25,10, $this->textConvert("Email:"),0,0,''); + $pdf->SetFont('arialpl','',16); + $pdf->Cell(30,10, $this->textConvert($fireStation->email),0,0,''); + $pdf->Ln(); + $pdf->Output(); + exit; + } + + public function createSingleFireFighterPDF($userID){ + + $user = DB::table('users')->where("users.id", '=', $userID) + ->leftJoin('ranks', 'users.degreeID', '=', 'ranks.id') + ->leftJoin('unitFunctions', 'users.functionID', '=', 'unitFunctions.id') + ->select('users.id','users.name', 'users.surname', 'users.PESEL', 'users.email','users.phoneNumber', 'users.number', 'users.statusID', 'ranks.rank', 'unitFunctions.unitFunction') + ->first(); + + $userTrainings = DB::table('trainingsFirefighters')->where("trainingsFirefighters.firefighterID", '=', $userID) + ->leftJoin('trainings', 'trainingsFirefighters.trainingID', '=', 'trainings.id') + ->whereNull('deleted_at') + ->select('trainingsFirefighters.id','trainings.trainingName','trainingsFirefighters.dateOfComplete', 'trainingsFirefighters.dateOfExpiry') + ->get(); + + $userDecorations = DB::table('decorationsFirefighters')->where("decorationsFirefighters.firefighterID", '=', $userID) + ->whereNull('decorationsFirefighters.deleted_at') + ->leftJoin('decorations', 'decorationsFirefighters.decorationID', '=', 'decorations.id') + ->get(); + + $pdf = new AlphaPDF(); + $fill = false; + $pdf->AddPage(); + + $pdf->AddFont('arialpl', '', 'arialpl.php'); + $pdf->AddFont('arialpl', 'B', 'arialplb.php'); + + + $pdf->SetFont('arialpl','B',20); + $pdf->Cell(190,10, $this->textConvert($user->name.' '.$user->surname),0,0,'C'); + $pdf->Ln(); + $pdf->Ln(); + + $pdf->SetFont('arialpl','B',16); + $pdf->Cell(25,10, $this->textConvert("Pesel:"),0,0,''); + $pdf->SetFont('arialpl','',16); + $pdf->Cell(30,10, $this->textConvert($user->PESEL),0,0,''); + $pdf->Ln(); + + $pdf->SetFont('arialpl','B',16); + $pdf->Cell(25,10, $this->textConvert("Telefon:"),0,0,''); + $pdf->SetFont('arialpl','',16); + $pdf->Cell(30,10, $this->textConvert($user->phoneNumber),0,0,''); + $pdf->Ln(); + + $pdf->SetFont('arialpl','B',16); + $pdf->Cell(25,10, $this->textConvert("Email:"),0,0,''); + $pdf->SetFont('arialpl','',16); + $pdf->Cell(30,10, $this->textConvert($user->email ),0,0,''); + $pdf->Ln(); + + $pdf->SetFont('arialpl','B',16); + $pdf->Cell(60,10, $this->textConvert("Numer ewidencyjny:"),0,0,''); + $pdf->SetFont('arialpl','',16); + $pdf->Cell(30,10, $this->textConvert($user->number ),0,0,''); + $pdf->Ln(); + + $pdf->SetFont('arialpl','B',16); + $pdf->Cell(30,10, $this->textConvert("Stopień:"),0,0,''); + $pdf->SetFont('arialpl','',16); + $pdf->Cell(30,10, $this->textConvert($user->rank ),0,0,''); + $pdf->Ln(); + + $pdf->SetFont('arialpl','B',16); + $pdf->Cell(30,10, $this->textConvert("Funkcja:"),0,0,''); + $pdf->SetFont('arialpl','',16); + $pdf->Cell(30,10, $this->textConvert($user->unitFunction ),0,0,''); + $pdf->Ln(); + + $pdf->SetFont('arialpl','B',16); + $pdf->Cell(190,10, $this->textConvert("Ukończone szkolenia:"),0,0,'C'); + + $pdf->Ln(); + $pdf->SetFont('arialpl','B',14); + $pdf->SetFillColor(152,152,152); + $pdf->Cell(10,10, $this->textConvert("#"), 1, 0, 'C', true); + $pdf->Cell(100,10, $this->textConvert("Szkolenie"), 1, 0, 'C', true); + $pdf->Cell(40,10, $this->textConvert("Data ukończenia"), 1, 0, 'C', true); + $pdf->Cell(40,10, $this->textConvert("Data ważności"), 1, 0, 'C', true); + $pdf->Ln(); + + $pdf->SetFont('arialpl','',14); + $fill = false; + $pdf->SetFillColor(224,224,224); + $i=1; + foreach( $userTrainings as $userTraining){ + $pdf->Cell(10,10, $i, 1, 0, 'C', $fill); + $pdf->Cell(100,10,$this->textConvert($userTraining->trainingName), 1, 0, '', $fill); + $pdf->Cell(40,10,$this->textConvert($userTraining->dateOfComplete), 1, 0, 'C', $fill); + $pdf->Cell(40,10,$this->textConvert($userTraining->dateOfExpiry), 1, 0, 'C', $fill); + $pdf->Ln(); + $fill = !$fill; + $i++; + } + + $pdf->Ln(); + $pdf->SetFont('arialpl','B',16); + $pdf->Cell(190,10, $this->textConvert("Nadane odznaczenia:"),0,0,'C'); + + $pdf->Ln(); + $pdf->SetFont('arialpl','B',14); + $pdf->SetFillColor(152,152,152); + $pdf->Cell(10,10, $this->textConvert("#"), 1, 0, 'C', true); + $pdf->Cell(140,10, $this->textConvert("Odznaczenie"), 1, 0, 'C', true); + $pdf->Cell(40,10, $this->textConvert("Data przyznania"), 1, 0, 'C', true);; + $pdf->Ln(); + + $pdf->SetFont('arialpl','',14); + $fill = false; + $pdf->SetFillColor(224,224,224); + $i=1; + foreach( $userDecorations as $userDecoration){ + $pdf->Cell(10,10, $i, 1, 0, 'C', $fill); + $pdf->Cell(140,10,$this->textConvert($userDecoration->decorationName), 1, 0, '', $fill); + $pdf->Cell(40,10,$this->textConvert($userDecoration->dateOfAward), 1, 0, 'C', $fill); + $pdf->Ln(); + $fill = !$fill; + $i++; + } + + + $pdf->Ln(); + $pdf->Output(); + exit; + } +} diff --git a/app/Http/Controllers/fireFightersController.php b/app/Http/Controllers/fireFightersController.php index 10d34f6..c4db7c3 100644 --- a/app/Http/Controllers/fireFightersController.php +++ b/app/Http/Controllers/fireFightersController.php @@ -140,5 +140,21 @@ class fireFightersController extends Controller return fireFightersController::create(); } + public function createSingleFireFighterPDF(){ + if (auth()->user() != null && auth()->user()->fireStationID != null) { + $request = request(); + $test = new documentCreators(); + $test->createSingleFireFighterPDF($request->userID); + } + } + + public function CreateAllFireFightersPDF(){ + if (auth()->user() != null && auth()->user()->fireStationID != null) { + $request = request(); + $test = new documentCreators(); + $test->createSingleFireFighterPDF($request->userID); + } + } + } diff --git a/app/Http/Controllers/fireStationController.php b/app/Http/Controllers/fireStationController.php index 4942067..b236533 100644 --- a/app/Http/Controllers/fireStationController.php +++ b/app/Http/Controllers/fireStationController.php @@ -155,4 +155,12 @@ class fireStationController extends Controller return redirect()->to('/jednostka');; } + + public function createSingleUnitPDF(){ + if (auth()->user() != null && auth()->user()->fireStationID != null) { + $request = request(); + $test = new documentCreators(); + $test->createSingleUnitPDF($request->fireStationID); + } + } } diff --git a/app/Http/Controllers/logo.jpg b/app/Http/Controllers/logo.jpg new file mode 100644 index 0000000000000000000000000000000000000000..65203787507d74c4a2be5ea30c21144dacecbc47 GIT binary patch literal 34461 zcmbq)1z1~K)^?C$Eyaoztx$@$6o)_!C{PF%+=>==XwbH_(4s|xLt5N|Cjo*KcPQ@e z!6itrpL=J%nYkn1%s=0O=dhE_bJjk4ul25XueJ8&=;bVcQc+Gp4uFRT0N`Ey04^s0 zp8y2-_$2@FMfTf&l9G~=kX$DxBO$+Pli(2$5)xe_A|oOqBPYN5{rw{QOY2V!vfulD z>;3Hkzu$gq{C-{j1W=LS1Mu<*@TdUzRCokbc$ZB8ma75c;}iTg*8jOkNb!gXuMrX8 zUv(Q&UiISP;}a7Q5nU(0c8wH(hYuhiyhcTRhlrSjl;-iXTX)rH?+Lzf{_y0vx=UmX z<9(qQ8emh`A0>k#X6A10AETnvO3TU{g*5{*>(d*W26pJ^88{xil+D<^dOY)$+~1`C zkLatvL|3x$2uOYtu6Q-hE7{jbu8|U5BOoNW>czwVlkmsS)QD)Vghu|Tzjarzq>otW zxw?jF)Z7j&-949&{ZGu z;T1{jt)nQO{VbDwj2hihdmcHzIQ@)E`6(_XPsCKsiuKqR z_0PAr!hn(OR?XXv0Ea`1N z>*sm1<*n8zu=@R@WR~#j#z4e@E&Pt&y3dAhZ7_#|A^MG(N<(-58 zw1mhy8MDILDvg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ue*5DrL z(koe6J$!mGMnYt`j)0FRsI_LZIwh#9TkYEO(?Vp(3wK=S6Jmxl4-&=s&X0=zqYeg_ zx?t0OGwY#5_@|`y=jF2xt(VXla-U<8->M0#>EU{ttMfSEe($RT}U+M zrCH3bs^q;%0H`G~1S-$I4C2-)8x?WdVoZ@^^+_jF7>pUr8(kpJRIe_LU$J0_qx{lX zbDgJyi>DJ{0v#tj*Sv1ZRkGI&6mb^Ana@dIu(@E{`hxneeD3D=o4L#vM88`8^FaFY zTdE`wmHC;=%*LFW8hlwI_5GC_bF+`i*^*M<-%xq+U*eUPHWzFzzr8=^^p#cR-!J_y z>@8~J2hoy6Rh;*i&R;*Ta2<}qCCwv;qPs$gIn4l$w^xEY?MKeFv}@uj_}$<)uei^pt=l+iVAE*szc>n+a literal 0 HcmV?d00001 diff --git a/app/Http/Controllers/operationsController.php b/app/Http/Controllers/operationsController.php index 59ba67b..8a06d3a 100644 --- a/app/Http/Controllers/operationsController.php +++ b/app/Http/Controllers/operationsController.php @@ -9,6 +9,8 @@ use App\operationsMembers; use App\vehicle; use App\operationsDrivers; use App\operationsTrucks; +use App\Http\Controllers\documentCreators; + use Illuminate\Http\Request; use Illuminate\Support\Facades\View; @@ -275,4 +277,20 @@ class operationsController extends Controller 'success' => 'Record deleted successfully!' ]); } + + public function createSingleOperationPDF(){ + if(auth()->user() != null && auth()->user()->fireStationID != null ) { + $request = request(); + $test = new documentCreators(); + $test->createSingleOperationPDF2($request->operationID ); + } + } + + public function createAllOperationsPDF(){ + if (auth()->user() != null && auth()->user()->fireStationID != null) { + $request = request(); + $test = new documentCreators(); + $test->createAllOperationsPDF($request->fireStationID); + } + } } diff --git a/app/Http/Controllers/userProfileController.php b/app/Http/Controllers/userProfileController.php index 60d87dd..3e0c01e 100644 --- a/app/Http/Controllers/userProfileController.php +++ b/app/Http/Controllers/userProfileController.php @@ -29,12 +29,12 @@ class userProfileController extends Controller $userData = DB::table('users')->where("id", '=', auth()->user()->id) ->first(); - + return view("userProfileEdit", ["userData" => $userData]); - } + } else return redirect()->to('/login'); - + } public function update(){ @@ -75,6 +75,7 @@ class userProfileController extends Controller if(auth()->user() != null && auth()->user()->fireStationID != null ){ $userTrainings = DB::table('trainingsFirefighters')->where("trainingsFirefighters.firefighterID", '=', auth()->user()->id) ->leftJoin('trainings', 'trainingsFirefighters.trainingID', '=', 'trainings.id') + ->whereNull('deleted_at') ->select('trainingsFirefighters.id','trainings.trainingName','trainingsFirefighters.dateOfComplete', 'trainingsFirefighters.dateOfExpiry') ->get(); return view("userTrainings", ["userTrainings" => $userTrainings]); diff --git a/database/migrations/2019_11_12_235707_create_operations_table.php b/database/migrations/2019_11_12_235707_create_operations_table.php index 9b794cb..14c7724 100644 --- a/database/migrations/2019_11_12_235707_create_operations_table.php +++ b/database/migrations/2019_11_12_235707_create_operations_table.php @@ -19,7 +19,7 @@ class CreateOperationsTable extends Migration $table->string('location', 100); $table->string('target', 100); $table->string('dangerType', 100); - $table->string('description'); + $table->longtext('description'); $table->integer('commanderID'); $table->softDeletes(); $table->timestamps(); diff --git a/resources/views/fireFighters.blade.php b/resources/views/fireFighters.blade.php index 80c1eb1..44df12b 100644 --- a/resources/views/fireFighters.blade.php +++ b/resources/views/fireFighters.blade.php @@ -98,6 +98,11 @@ Edytuj Odznaczenia +
+ {{ csrf_field() }} + + +
{{-- --}} diff --git a/resources/views/operation.blade.php b/resources/views/operation.blade.php index 1795bcc..f05bdca 100644 --- a/resources/views/operation.blade.php +++ b/resources/views/operation.blade.php @@ -15,6 +15,15 @@ @if( auth()->user()->fireStationID == NULL) Jednostka nie istnieje @else + +
+ {{ csrf_field() }} + + +
+ +
+ @@ -25,7 +34,7 @@ - + @@ -44,6 +53,11 @@
Rodzaj zagrożenia Dowódca OperacjaSzczegóły
Szczegóły
Edytuj +
+ {{ csrf_field() }} + + +
diff --git a/resources/views/unit.blade.php b/resources/views/unit.blade.php index 6b17eef..52ebbcd 100644 --- a/resources/views/unit.blade.php +++ b/resources/views/unit.blade.php @@ -17,6 +17,13 @@ @include('inc.addFireStation') @else
+ +
+ {{ csrf_field() }} + + +
+ @@ -63,6 +70,7 @@
Nazwa{{ $fireStation-> email }}
+
@endif diff --git a/routes/web.php b/routes/web.php index 001ca16..76b9ffd 100644 --- a/routes/web.php +++ b/routes/web.php @@ -38,6 +38,8 @@ Route::post('/wyjazdy', 'operationsController@store')->name('operationController Route::post('/wyjazdy/edit/', 'operationsController@update')->name('operationController.update'); Route::get('/wyjazdy/edit/{id}', 'operationsController@editForm'); Route::delete('wyjazdy/{id}', 'operationsController@destroy')->name('operationController.destroy'); +Route::post('wyjazdy/pdf/single/', 'operationsController@createSingleOperationPDF'); +Route::post('wyjazdy/pdf/all/', 'operationsController@createAllOperationsPDF'); Route::get('/register', 'RegistrationController@create'); Route::post('/register', 'RegistrationController@store'); @@ -54,6 +56,7 @@ Route::get('/strazacy/add', 'fireFightersController@addForm'); Route::post('/strazacy', 'fireFightersController@store'); Route::get('/strazacy/edit/{id}', 'fireFightersController@editForm'); Route::post('/strazacy/edit', 'fireFightersController@update'); +Route::post('/strazacy/pdf/single/', 'fireFightersController@createSingleFireFighterPDF'); Route::get('/strazacy/odznaczenia/{id}', 'DecorationsController@create'); Route::post('/strazacy/odznaczenia/{id}', 'DecorationsController@store'); @@ -63,6 +66,7 @@ Route::get('/jednostka', 'fireStationController@create'); Route::post('/jednostka', 'fireStationController@store'); Route::get('/jednostka/edit', 'fireStationController@editForm'); Route::post('/jednostka/edit', 'fireStationController@update'); +Route::post('jednostka/pdf/single/', 'fireStationController@createSingleUnitPDF'); Route::get('/jednostka/getcounties/{id}','DataController@getCounties'); Route::get('/jednostka/getcommunities/{id}','DataController@getCommunities');