@extends('layouts.app') @section('content') @include('layouts.top-header', [ 'title' => __('Revenue Report'), 'class' => 'col-lg-7' ])
| {{__('Booking id')}} | {{__('User Name')}} | {{__($businessLabelTitleCase . ' Name')}} | {{__('Date / Time')}} | {{__('Type')}} | {{__('Payment')}} | {{__('Commission')}} | {{__($businessLabelTitleCase . ' Income')}} | |
|---|---|---|---|---|---|---|---|---|
| {{$loop->iteration}} | {{$booking->booking_id}} | {{$booking->user->name}} | {{$booking->business->name}} | {{$booking->date}} {{$booking->start_time}} | @if ($booking->payment_type == "LOCAL" || $booking->payment_type == "Local") {{__('Cash')}} @else Stripe @endif | {{$setting->currency_symbol}}{{$booking->payment}} | {{$setting->currency_symbol}}{{$booking->commission}} | {{$setting->currency_symbol}}{{$booking->business_income}} | @php $payment_tot = $payment_tot + $booking->payment; $commission = $commission + $booking->commission; $business_income = $business_income + $booking->business_income; @endphp
| {{__('Grand Total :')}} | {{$setting->currency_symbol}}{{$payment_tot}} | {{$setting->currency_symbol}}{{$commission}} | {{$setting->currency_symbol}}{{$business_income}} | |||||