@extends('includes.layout') @section('content')
@if (session()->has('success'))
{{ session()->get('success') }}
@endif
{{ Auth::user()->name ?? 'No Name' }}
@csrf
Personal Details

{{-- $user->bio --}}

@if ($errors->has('phone'))

{{ $errors->first('phone') }}.

@endif
{{--
--}}
{{--
Add Services
@csrf
@foreach ($userservices as $key => $userservice) @endforeach
Sr. No. Service Sub Services Gender Duration Price Edit/Delete
{{ $key + 1 }} {{ $userservice->services->name }} {{ $userservice->subservices->name ?? '' }} {{ $userservice->gender }} {{ $userservice->duration }} {{ $userservice->price }}
--}}
Booking
@if (!empty($bookinglist)) @foreach ($bookinglist as $key => $bookings) @endforeach @else Data Not Found @endif
Sr. No. Service Discount Total Price Booking Date Scheduled Service Provider Phone Transaction Id Status Action
{{ $key + 1 }} @php $i = 1 @endphp @foreach ($bookings->BookedServices as $key => $service) {{ $i++ }} . {{ ucwords($service->Service->name) }} {{-- ({{ $service->service_id }}) --}}
@endforeach
@if($bookings->discount)₹ {{ $bookings->discount }} @else N/A @endif ₹ {{ $bookings->total_price }} {{ $bookings->created_at }} {{ $bookings->scheduled_date }} {{ ucwords(optional($bookings->salon)->name) }} {{ optional($bookings->salon)->phone }} {{-- {{ $bookings->salon->name }} ({{ $bookings->saloon_id }}) --}} {{ $bookings->transaction_id }} @if($bookings->order_status == 'pending') {{ $bookings->order_status }} @elseif($bookings->order_status == 'cancelled') {{ $bookings->order_status }} @elseif($bookings->order_status == 'completed') {{ $bookings->order_status }} @else @endif
{{-- booking Modal --}} @endsection