From 459203bc7fdd98bcbe0ecadea17bc0830c71ebd2 Mon Sep 17 00:00:00 2001 From: merdiano Date: Sat, 2 Nov 2019 18:42:13 +0500 Subject: [PATCH] new branch for seat selection --- app/Http/Requests/SectionRequest.php | 56 +++++++++++++++++++ app/Http/Requests/VenueRequest.php | 56 +++++++++++++++++++ .../Bilettm/ViewEvent/SeatsPage.blade.php | 2 +- 3 files changed, 113 insertions(+), 1 deletion(-) create mode 100644 app/Http/Requests/SectionRequest.php create mode 100644 app/Http/Requests/VenueRequest.php diff --git a/app/Http/Requests/SectionRequest.php b/app/Http/Requests/SectionRequest.php new file mode 100644 index 00000000..09877523 --- /dev/null +++ b/app/Http/Requests/SectionRequest.php @@ -0,0 +1,56 @@ +check(); + } + + /** + * Get the validation rules that apply to the request. + * + * @return array + */ + public function rules() + { + return [ + // 'name' => 'required|min:5|max:255' + ]; + } + + /** + * Get the validation attributes that apply to the request. + * + * @return array + */ + public function attributes() + { + return [ + // + ]; + } + + /** + * Get the validation messages that apply to the request. + * + * @return array + */ + public function messages() + { + return [ + // + ]; + } +} diff --git a/app/Http/Requests/VenueRequest.php b/app/Http/Requests/VenueRequest.php new file mode 100644 index 00000000..95b4e28c --- /dev/null +++ b/app/Http/Requests/VenueRequest.php @@ -0,0 +1,56 @@ +check(); + } + + /** + * Get the validation rules that apply to the request. + * + * @return array + */ + public function rules() + { + return [ + // 'name' => 'required|min:5|max:255' + ]; + } + + /** + * Get the validation attributes that apply to the request. + * + * @return array + */ + public function attributes() + { + return [ + // + ]; + } + + /** + * Get the validation messages that apply to the request. + * + * @return array + */ + public function messages() + { + return [ + // + ]; + } +} diff --git a/resources/views/Bilettm/ViewEvent/SeatsPage.blade.php b/resources/views/Bilettm/ViewEvent/SeatsPage.blade.php index 39f96db5..cd593165 100644 --- a/resources/views/Bilettm/ViewEvent/SeatsPage.blade.php +++ b/resources/views/Bilettm/ViewEvent/SeatsPage.blade.php @@ -44,7 +44,7 @@ @include('Bilettm.ViewEvent.Partials.Seats')
-
You Have Selected 4 Standard Seats
+
You Have Selected 4 Seats
Your Seats:
@csrf