From 68b9d1ff88382dba7150b53919607bc8063920d9 Mon Sep 17 00:00:00 2001 From: Kevin Adametz Date: Fri, 17 Apr 2020 15:51:22 +0200 Subject: [PATCH] Upload Files Booking, Mails, Attachments, --- .idea/workspace.xml | 362 ++----- .phpstorm.meta.php | 2 +- _ide_helper.php | 2 +- _ide_helper_models.php | 43 + app/Http/Controllers/BookingController.php | 41 +- .../Controllers/CMS/CMSContentController.php | 30 +- .../Controllers/CustomerFileController.php | 1 - .../Controllers/CustomerMailController.php | 45 +- app/Http/Controllers/FileController.php | 91 ++ app/Http/Controllers/RequestController.php | 22 +- app/Mail/MailSendInfo.php | 8 +- app/Models/Booking.php | 24 +- app/Models/BookingFile.php | 103 ++ app/Models/CMSContent.php | 97 +- app/Models/CustomerFile.php | 7 +- app/Models/TravelCompany.php | 2 + app/Repositories/BookingFileRepository.php | 52 + app/Repositories/CMSFileRepository.php | 53 + app/Repositories/CustomerFileRepository.php | 136 +-- app/Repositories/CustomerMailRepository.php | 16 +- app/Repositories/FileRepository.php | 108 ++ app/Services/CreateCouponPDF.php | 2 +- app/Services/Util.php | 29 +- config/filesystems.php | 6 + ...2018_10_29_202123_create_booking_table.php | 7 +- ...4_16_165023_create_booking_files_table.php | 46 + .../src/views/index.blade.php | 2 +- public/css/application.css | 373 +------ public/js/custom.js | 46 +- .../views/booking/_detail_booking.blade.php | 75 ++ .../views/booking/_detail_drafs.blade.php | 137 +++ .../views/booking/_detail_files.blade.php | 245 +++++ .../views/booking/_detail_info.blade.php | 34 + .../views/booking/_detail_lead.blade.php | 39 + .../views/booking/_detail_mails.blade.php | 137 +++ .../views/booking/_detail_myjack.blade.php | 22 + .../views/booking/_detail_price.blade.php | 18 + resources/views/booking/detail.blade.php | 992 ++++-------------- .../views/booking/upload_modal.blade.php | 93 ++ .../views/cms/content/all/index.blade.php | 64 +- .../views/cms/content/all/modal.blade.php | 124 ++- .../mail/modal-new-booking-files.blade.php | 218 ++++ .../customer/mail/modal-new-mail.blade.php | 49 +- .../mail/modal-show-mail-inner.blade.php | 59 +- .../customer/mail/modal-show-mail.blade.php | 21 + resources/views/layouts/application.blade.php | 6 +- .../layouts/includes/layout-sidenav.blade.php | 10 +- resources/views/request/index.blade.php | 31 +- routes/web.php | 61 +- .../2020/04/5e9873901e2bd_jdatlastoollogo.png | Bin 0 -> 9548 bytes .../files/2020/04/5e997d7b4ecc2_ust111.pdf | Bin 0 -> 7008 bytes ...2403_muscat-sultan-qaboos-moschee-h1_k.jpg | Bin 0 -> 5416550 bytes ...e972e144373d7.97972029_jdatlastoollogo.png | Bin 0 -> 9548 bytes ...e972e27878222.09265384_jdatlastoollogo.png | Bin 0 -> 9548 bytes ...e972e38af6043.03271213_jdatlastoollogo.png | Bin 0 -> 9548 bytes ...e972fbe2ce954.66250128_jdatlastoollogo.png | Bin 0 -> 9548 bytes ...339022_muscat-sultan-qaboos-moschee-h1.JPG | Bin 0 -> 5416550 bytes .../2020/04/5e99938369aa5_ust111.pdf | Bin 0 -> 7008 bytes .../2020/04/5e9993c3a9a28_ust111.pdf | Bin 0 -> 7008 bytes .../2020/04/5e99941ac1f65_ust111.pdf | Bin 0 -> 7008 bytes .../2020/04/5e99943712578_ust111.pdf | Bin 0 -> 7008 bytes .../2020/04/5e99a72f1bfde9.86685319_ust111pd. | Bin 0 -> 7008 bytes ...5e99a752cba2a2.94746278_jdatlastoollogopn. | Bin 0 -> 9548 bytes .../04/5e99aa9cd041d8.89347563_reiseanme.html | 212 ++++ .../04/5e99aad1b1ba55.84697018_reiseanmel.pdf | Bin 0 -> 100150 bytes .../5e99aadc24e747.88797929_reisebestäti.pdf | Bin 0 -> 99873 bytes ...e9a149.07769362_gutschein_202258804771.pdf | Bin 0 -> 132884 bytes ...6.71792306_sicherungsscheinnachsis651r.pdf | Bin 0 -> 584904 bytes ...e99aadea97ec4.45183917_jdatlastoollogo.png | Bin 0 -> 9548 bytes .../04/5e99aadf8228a7.04445821_ust111.pdf | Bin 0 -> 7008 bytes ...2311_muscat-sultan-qaboos-moschee-h1_k.jpg | Bin 0 -> 5416550 bytes .../04/5e99accb7b29a6.14209159_reiseanmel.pdf | Bin 0 -> 100150 bytes .../04/5e99adcfe04075.56597947_reiseanmel.pdf | Bin 0 -> 100150 bytes .../04/5e99ae058f7ec3.92405331_reiseanmel.pdf | Bin 0 -> 100150 bytes .../04/5e99ae5570a9d2.76710677_reiseanmel.pdf | Bin 0 -> 100150 bytes ...e99ae646eb0a1.78424093_jdatlastoollogo.png | Bin 0 -> 9548 bytes .../04/5e99afbe21f9c2.01938887_reiseanmel.pdf | Bin 0 -> 100150 bytes .../04/5e99aff4c885b4.22939380_reiseanmel.pdf | Bin 0 -> 100150 bytes .../04/5e99b016467117.77860068_reiseanmel.pdf | Bin 0 -> 100150 bytes .../04/5e99b065104c37.78810324_reiseanmel.pdf | Bin 0 -> 100150 bytes .../04/5e99b0c59b2738.41424954_reiseanmel.pdf | Bin 0 -> 100150 bytes .../5e99b0cb639727.76108821_reisebestäti.pdf | Bin 0 -> 99873 bytes .../5e99b0cda4e229.01104704_reisebestäti.pdf | Bin 0 -> 99873 bytes .../04/5e99b1f2e2bc67.91448850_reiseanmel.pdf | Bin 0 -> 100150 bytes ...1412_muscat-sultan-qaboos-moschee-h1_k.jpg | Bin 0 -> 5416550 bytes .../04/5e99b25f177626.25343338_reiseanmel.pdf | Bin 0 -> 100150 bytes .../5e99b25f7ec553.78598895_reisebestäti.pdf | Bin 0 -> 99873 bytes ...e99b2613a9819.26002671_jdatlastoollogo.png | Bin 0 -> 9548 bytes .../04/5e99b2673b62c6.52635905_ust111.pdf | Bin 0 -> 7008 bytes .../app/customer/attachment/2020/04/asdas.pdf | Bin 0 -> 7008 bytes .../app/customer/attachment/2020/04/test.pdf | 212 ++++ ...8451b1ae7a_sicherungsscheinnachsis651r.pdf | Bin 0 -> 584904 bytes 92 files changed, 2837 insertions(+), 1778 deletions(-) create mode 100755 app/Http/Controllers/FileController.php create mode 100644 app/Models/BookingFile.php create mode 100644 app/Repositories/BookingFileRepository.php create mode 100644 app/Repositories/CMSFileRepository.php create mode 100644 app/Repositories/FileRepository.php create mode 100644 database/migrations/2020_04_16_165023_create_booking_files_table.php create mode 100755 resources/views/booking/_detail_booking.blade.php create mode 100755 resources/views/booking/_detail_drafs.blade.php create mode 100755 resources/views/booking/_detail_files.blade.php create mode 100755 resources/views/booking/_detail_info.blade.php create mode 100755 resources/views/booking/_detail_lead.blade.php create mode 100755 resources/views/booking/_detail_mails.blade.php create mode 100755 resources/views/booking/_detail_myjack.blade.php create mode 100755 resources/views/booking/_detail_price.blade.php create mode 100755 resources/views/booking/upload_modal.blade.php create mode 100644 resources/views/customer/mail/modal-new-booking-files.blade.php create mode 100644 storage/app/booking/files/2020/04/5e9873901e2bd_jdatlastoollogo.png create mode 100644 storage/app/booking/files/2020/04/5e997d7b4ecc2_ust111.pdf create mode 100644 storage/app/booking/files/2020/04/5e99aaf396d750.47072403_muscat-sultan-qaboos-moschee-h1_k.jpg create mode 100644 storage/app/customer/attachment/2020/04/5e972e144373d7.97972029_jdatlastoollogo.png create mode 100644 storage/app/customer/attachment/2020/04/5e972e27878222.09265384_jdatlastoollogo.png create mode 100644 storage/app/customer/attachment/2020/04/5e972e38af6043.03271213_jdatlastoollogo.png create mode 100644 storage/app/customer/attachment/2020/04/5e972fbe2ce954.66250128_jdatlastoollogo.png create mode 100644 storage/app/customer/attachment/2020/04/5e97302ed1c839.78339022_muscat-sultan-qaboos-moschee-h1.JPG create mode 100644 storage/app/customer/attachment/2020/04/5e99938369aa5_ust111.pdf create mode 100644 storage/app/customer/attachment/2020/04/5e9993c3a9a28_ust111.pdf create mode 100644 storage/app/customer/attachment/2020/04/5e99941ac1f65_ust111.pdf create mode 100644 storage/app/customer/attachment/2020/04/5e99943712578_ust111.pdf create mode 100644 storage/app/customer/attachment/2020/04/5e99a72f1bfde9.86685319_ust111pd. create mode 100644 storage/app/customer/attachment/2020/04/5e99a752cba2a2.94746278_jdatlastoollogopn. create mode 100644 storage/app/customer/attachment/2020/04/5e99aa9cd041d8.89347563_reiseanme.html create mode 100644 storage/app/customer/attachment/2020/04/5e99aad1b1ba55.84697018_reiseanmel.pdf create mode 100644 storage/app/customer/attachment/2020/04/5e99aadc24e747.88797929_reisebestäti.pdf create mode 100644 storage/app/customer/attachment/2020/04/5e99aadce9a149.07769362_gutschein_202258804771.pdf create mode 100644 storage/app/customer/attachment/2020/04/5e99aadd9d8d66.71792306_sicherungsscheinnachsis651r.pdf create mode 100644 storage/app/customer/attachment/2020/04/5e99aadea97ec4.45183917_jdatlastoollogo.png create mode 100644 storage/app/customer/attachment/2020/04/5e99aadf8228a7.04445821_ust111.pdf create mode 100644 storage/app/customer/attachment/2020/04/5e99ab01275620.11542311_muscat-sultan-qaboos-moschee-h1_k.jpg create mode 100644 storage/app/customer/attachment/2020/04/5e99accb7b29a6.14209159_reiseanmel.pdf create mode 100644 storage/app/customer/attachment/2020/04/5e99adcfe04075.56597947_reiseanmel.pdf create mode 100644 storage/app/customer/attachment/2020/04/5e99ae058f7ec3.92405331_reiseanmel.pdf create mode 100644 storage/app/customer/attachment/2020/04/5e99ae5570a9d2.76710677_reiseanmel.pdf create mode 100644 storage/app/customer/attachment/2020/04/5e99ae646eb0a1.78424093_jdatlastoollogo.png create mode 100644 storage/app/customer/attachment/2020/04/5e99afbe21f9c2.01938887_reiseanmel.pdf create mode 100644 storage/app/customer/attachment/2020/04/5e99aff4c885b4.22939380_reiseanmel.pdf create mode 100644 storage/app/customer/attachment/2020/04/5e99b016467117.77860068_reiseanmel.pdf create mode 100644 storage/app/customer/attachment/2020/04/5e99b065104c37.78810324_reiseanmel.pdf create mode 100644 storage/app/customer/attachment/2020/04/5e99b0c59b2738.41424954_reiseanmel.pdf create mode 100644 storage/app/customer/attachment/2020/04/5e99b0cb639727.76108821_reisebestäti.pdf create mode 100644 storage/app/customer/attachment/2020/04/5e99b0cda4e229.01104704_reisebestäti.pdf create mode 100644 storage/app/customer/attachment/2020/04/5e99b1f2e2bc67.91448850_reiseanmel.pdf create mode 100644 storage/app/customer/attachment/2020/04/5e99b1f532d420.57931412_muscat-sultan-qaboos-moschee-h1_k.jpg create mode 100644 storage/app/customer/attachment/2020/04/5e99b25f177626.25343338_reiseanmel.pdf create mode 100644 storage/app/customer/attachment/2020/04/5e99b25f7ec553.78598895_reisebestäti.pdf create mode 100644 storage/app/customer/attachment/2020/04/5e99b2613a9819.26002671_jdatlastoollogo.png create mode 100644 storage/app/customer/attachment/2020/04/5e99b2673b62c6.52635905_ust111.pdf create mode 100644 storage/app/customer/attachment/2020/04/asdas.pdf create mode 100644 storage/app/customer/attachment/2020/04/test.pdf create mode 100644 storage/app/public/cms_files/2020/04/5e98451b1ae7a_sicherungsscheinnachsis651r.pdf diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 1da3c9b..3fb632e 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -2,24 +2,10 @@ - - - - - - - - - - - - - - - - - - + + + + @@ -39,91 +25,71 @@ - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - + + - - - - - - + - - - - - - + - - - - - - - - - - - - - - - - - - - - - - - + - - - + - - - - - - - + - - - @@ -173,149 +139,16 @@ - - - - + + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - + + + + + + + + @@ -549,13 +389,6 @@ - - - - - - - + + - -