@extends('dashboard.layout.default') @section('page_title',$page_title) @section('content')
@if(session()->has('success'))
{{ session()->get('success') }}
@endif @if($errors->any())
    @foreach($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif

{{__('pages.booking_status')}}

@csrf @method('PUT')

{{$page_title}}

{{__('pages.customer_info')}}


{{__('pages.booking_info')}}

@if($booking->logs->count() > 0) @else @endif
@if($booking->logs->count() > 0)

{{__('pages.booking_logs')}}

@foreach($booking->logs->sortByDesc('created_at') as $log) @endforeach
{{__('pages.date')}} {{__('pages.status')}} {{__('pages.changed')}} {{__('pages.by')}} {{__('pages.comment')}}
{{ $log->created_at}} {{ $log->status }} {{ $log->user->name }}
{{ $log->comment }}
@endif
@endsection @push('js_scripts') @endpush