Server IP : 66.29.132.124 / Your IP : 18.226.186.109 Web Server : LiteSpeed System : Linux business141.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64 User : wavevlvu ( 1524) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/wavevlvu/book24.ng/modules/User/Views/frontend/ |
Upload File : |
@extends('layouts.user') @section('head') @endsection @section('content') <h2 class="title-bar no-border-bottom"> {{__("Booking History")}} </h2> @include('admin.message') <div class="booking-history-manager"> <div class="tabbable"> <ul class="nav nav-tabs ht-nav-tabs"> <?php $status_type = Request::query('status'); ?> <li class="@if(empty($status_type)) active @endif"> <a href="{{route("user.booking_history")}}">{{__("All Booking")}}</a> </li> @if(!empty($statues)) @foreach($statues as $status) <li class="@if(!empty($status_type) && $status_type == $status) active @endif"> <a href="{{route("user.booking_history",['status'=>$status])}}">{{booking_status_to_text($status)}}</a> </li> @endforeach @endif </ul> @if(!empty($bookings) and $bookings->total() > 0) <div class="tab-content"> <div class="table-responsive"> <table class="table table-bordered table-striped table-booking-history"> <thead> <tr> <th width="2%">{{__("Type")}}</th> <th>{{__("Title")}}</th> <th class="a-hidden">{{__("Order Date")}}</th> <th class="a-hidden">{{__("Execution Time")}}</th> <th>{{__("Total")}}</th> <th>{{__("Paid")}}</th> <th>{{__("Remain")}}</th> <th class="a-hidden">{{__("Status")}}</th> <th>{{__("Action")}}</th> </tr> </thead> <tbody> @foreach($bookings as $booking) @include(ucfirst($booking->object_model).'::frontend.bookingHistory.loop') @endforeach </tbody> </table> </div> <div class="bravo-pagination"> {{$bookings->appends(request()->query())->links()}} </div> </div> @else {{__("No Booking History")}} @endif </div> </div> @endsection @section('footer') @endsection