@extends('layouts.app') @section('content') @include('layouts.top-header', [ 'title' => __('Invoice'), 'class' => 'col-lg-7' ])
{{__('Invoice')}}
@if (Auth::user()->role == 1) {{__('Print')}} @else {{__('Print')}} @endif

{{__('Invoice')}}

{{__($businessLabelTitleCase . ' Details')}}

{{$booking->business->name}}
{{$booking->business->address}},
{{$booking->business->city}} - {{$booking->business->zipcode}},
{{$booking->business->state}},
{{$booking->business->country}}

{{__('Invoice to')}}

{{$booking->user->name}}
{{$booking->user->email}}
{{$booking->user->code}}{{$booking->user->phone}}

{{__('Booking ID :')}} {{$booking->booking_id}}

{{__('Booking Date :')}} {{$booking->date}}

{{__('Booking Time :')}}{{$booking->start_time}}

{{__('Payment Type :')}} {{__($booking->payment_type)}}

{{__('Booking Status :')}} {{__($booking->booking_status)}}

@php $total = 0; @endphp @foreach ($booking->services as $service) @endforeach
{{__('#')}} {{__('Service Name')}} {{__('Price')}}
{{$loop->iteration}} {{$service->name}} {{$symbol}}{{$service->price}}
@php $subtotal = $booking->payment; $subtotal = $subtotal - $booking->extra_charges; $subtotal = $subtotal + $booking->discount; @endphp

{{__('Total :')}} {{$symbol}}{{$subtotal}}

@if ($booking->booking_at == "Home")

{{__('Extra Charges :')}} {{$symbol}}{{$booking->extra_charges}}

@endif @if ($booking->discount != 0)

{{__('Coupon Discount :')}} -{{$symbol}}{{$booking->discount}}

@endif

{{__('Total Payment :')}} {{$symbol}}{{$booking->payment}}

@endsection