customer support interface

This commit is contained in:
Omair Saleh
2023-01-24 04:26:14 +08:00
parent 8b93fd61a2
commit c0d8744da0
2 changed files with 4 additions and 3 deletions
@@ -11,7 +11,7 @@
<input class="form-control" type="text" name="marking" placeholder="Marking" value="{{$marking}}">
</div>
<div class="col">
<input class="form-control" type="text" name="email" placeholder="Email" value="{{$email}}">
<input class="form-control" type="text" name="customer_email" placeholder="Email" value="{{$email}}">
</div>
<div class="col">
<input class="form-control" type="text" name="booking_reference" placeholder="Booking Reference" value="{{$bookingReference}}">
@@ -23,7 +23,8 @@
</form>
</div>
</div>
{{-- {{dd($company, $booking)}}--}}
{{ $company->name }}
{{ $booking->marking }}
</div>
</div>
@endsection
+1 -1
View File
@@ -116,7 +116,7 @@ Route::get('/support', function () {
Route::post('/support', function (Request $request) {
$marking = $request->input('marking');
$email = $request->input('email');
$email = $request->input('customer_email');
$bookingReference = $request->input('bookingReference');
$company = null;