@extends('backend.layouts.snappy-pdf') @section('content')

Daily Entry Summary (Online)
{{$title}}

Bhatiary Golf &Country Club

Dhaka Cantonment, Dhaka
@foreach($dailyentries as $entry) @endforeach
Sr. No Reg. No. Date Name Member ID Caddy ID Ballboy ID Pay. Method Green Fee Caddy Fee Ballboy Fee Rent Cart Rent Set Rent Trolley Other Fee Total Status Subsidy
Caddie Ballboy
{{$loop->index+1}} @php $reg_no = sprintf('%06', $entry->id); @endphp {{ $entry->id }} {{ date('d-M-y', strtotime($entry->created_at)) }} {{$entry->name}} {{$entry->membership_no}} {{isset($entry->caddy)?$entry->caddy->caddy_id:''}} {{isset($entry->ballboy)?$entry->ballboy->ballboy_id:''}} {{isset($entry->payment_method)?$entry->payment_method->name:''}}
{{ $entry->payment_reference }}
{{$entry->green_fee}} {{$entry->caddy_fee}} {{$entry->ballboy_fee}} {{$entry->cart_fee}} {{$entry->set_fee}} {{$entry->trolley_fee}} {{$entry->other_fee}} {{$entry->total_bill}} @if($entry->paid_status == 1) Paid @else Due @endif {{$entry->caddy_subsidy}} {{$entry->ballboy_subsidy}}
Total {{$total_green_fee}} {{$total_caddy_fee}} {{$total_ballboy_fee}} {{$total_cart_fee}} {{$total_set_fee}} {{$total_trolley_fee}} {{$total_other_fee}} {{$total_bill}} {{$caddy_subsidy}} {{$ballboy_subsidy}}

Income Collection

Grand Total of Green Fee: {{ number_format($total_green_fee, 2) }}
Grand Total of Golf Cart Fee: {{ number_format($total_cart_fee, 2) }}
Grand Total of Golf Set Fee: {{ number_format($total_set_fee, 2) }}
Grand Total of Golf Trolley Fee: {{ number_format($total_trolley_fee, 2) }}
Grand Total of Other Fee: {{ number_format($total_other_fee, 2) }}
Grand Total of Receive: {{ number_format(($total_green_fee+$total_cart_fee+$total_set_fee+$total_trolley_fee+$total_other_fee), 2) }}
{{--
--}}

Subsidy

Grand Total of Caddy Fee (Subsidy): {{ number_format($caddy_subsidy, 2) }}
Grand Total of Ball Boy Fee (Subsidy): {{ number_format($ballboy_subsidy, 2) }}
Grand Total of Subsidy: {{ number_format(($caddy_subsidy+$ballboy_subsidy), 2) }}

Net Payable to Accounts: {{ number_format(($total_green_fee+$total_cart_fee+$total_set_fee+$total_trolley_fee+$total_other_fee) - ($caddy_subsidy+$ballboy_subsidy), 2) }}

Caddy & Ballboy Fee Collection

Grand Total of Caddy Fee: {{ number_format($total_caddy_fee, 2) }}
Grand Total of Ball Boy Fee: {{ number_format($total_ballboy_fee, 2) }}
Grand Total of Receiving: {{ number_format(($total_caddy_fee + $total_ballboy_fee), 2) }}

Subsidy

Grand Total of Caddy Fee (Subsidy): {{ number_format($caddy_subsidy, 2) }}
Grand Total of Ball Boy Fee (Subsidy): {{ number_format($ballboy_subsidy, 2) }}
Grand Total of Subsidy: {{ number_format(($caddy_subsidy+$ballboy_subsidy), 2) }}

Total Amount of Caddy & Ballboy Payment: {{ number_format(($total_caddy_fee + $total_ballboy_fee+$caddy_subsidy+$ballboy_subsidy), 2) }}

Operator
GM(Op.)
CEO
Mem. Sec.
@endsection