@extends('admin::layouts.app') @section('content')
@include('admin::partials.title-pad', [ 'title' => 'Tip Amount Report', 'search' => $search, 'searchPlaceholder' => 'Search Tip Amount ...', 'list' => $orders, 'export' => 'admin.tip-amount-reports.excel', 'filter' => true, ])
@forelse($orders as $key => $order) @empty @endforelse
# Appointment Id Customer Name & Phone Service Name Service Cost Total Discount Payment and Mode Tip Amount
{{ $key +1 }} {{isset($order->order_no) ? $order->order_no : '-'}} {{ isset($order->user->name) ? $order->user->name : '' }}
{{isset($order->user->mobileCode->dial_code) ? $order->user->mobileCode->dial_code : ''}} {{isset($order->user->mobile_number) ? $order->user->mobile_number : ''}}
{{ ($order->services->count() > 0) ? ucwords($order->services->pluck('name_en')->implode(', ')) : 'NA' }} {{ isset($order->total_amount) ? "$".$order->total_amount : 0}} {{ isset($order->discount_amount) ? "$".$order->discount_amount : 0}} {{ isset($order->payment_mode) ? $order->payment_mode : '-'}} {{ isset($order->tip_amount) ? "$".$order->tip_amount : 0}}

{{ __('admin::message.no_records_found') }}

{{-- Pagination --}} {{ $orders->appends(request()->input())->links('admin::partials.pagination') }} {{-- Pagination End --}}
@endsection @section('script') @endsection