diff --git a/.idea/.gitignore b/.idea/.gitignore new file mode 100644 index 0000000..cd04992 --- /dev/null +++ b/.idea/.gitignore @@ -0,0 +1,2 @@ +# Datasource local storage ignored files +/dataSources.local.xml \ No newline at end of file diff --git a/.idea/dataSources.xml b/.idea/dataSources.xml new file mode 100644 index 0000000..a3b10be --- /dev/null +++ b/.idea/dataSources.xml @@ -0,0 +1,11 @@ + + + + + mysql.8 + true + com.mysql.cj.jdbc.Driver + jdbc:mysql://127.0.0.1:3306/homestead + + + \ No newline at end of file diff --git a/.idea/php.xml b/.idea/php.xml index 8afe83c..42fbc2e 100644 --- a/.idea/php.xml +++ b/.idea/php.xml @@ -101,6 +101,9 @@ + + + diff --git a/.idea/workspace.xml b/.idea/workspace.xml index b0db4a4..217a262 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -2,8 +2,20 @@ + + + + + - + + + + + + + + + + + + + + + + + + + @foreach ($fireFighters as $fireFighter) + + @endforeach + + + + +
+ +
+ @include('inc.formerrors') + + @endif + @else + Brak autoryzacji + @endif + +@stop diff --git a/resources/views/documents.blade.php b/resources/views/documents.blade.php index cc35612..bb53c33 100644 --- a/resources/views/documents.blade.php +++ b/resources/views/documents.blade.php @@ -23,6 +23,11 @@ {{ csrf_field() }} + +
+ {{ csrf_field() }} + +
@endif @endif @stop diff --git a/resources/views/inc/menu.blade.php b/resources/views/inc/menu.blade.php index 1f22eb2..6f905aa 100644 --- a/resources/views/inc/menu.blade.php +++ b/resources/views/inc/menu.blade.php @@ -6,6 +6,6 @@
  • Pojazdy
  • Strażnica
  • Wyjazdy
  • -{{--
  • Dokumentacja
  • --}} +
  • Dokumentacja
  • diff --git a/routes/web.php b/routes/web.php index 6fff8a4..d8d4a56 100644 --- a/routes/web.php +++ b/routes/web.php @@ -132,3 +132,7 @@ Route::post('/pdf/strazacy', 'pdfController@createViewFireFighters'); Route::get('/forgottenPassword', 'resetPasswordController@create'); Route::post('/forgottenPassword', 'resetPasswordController@reset'); + +Route::get('/pdf/test', 'documentOverlayController@testPdf'); +Route::post('/dokumentacja/wniosek', 'documentApplicationController@create'); +Route::post('/dokumentacja/wniosek/pdf', 'documentApplicationController@printPDF');