@if (count($sales))
|
{{ $company->name }}
{{ $company->address }}
{{ $company->mobile }}
{{ $company->email }}
|
|
|
From:{{ Carbon\Carbon::parse($from)->format('d-m-Y') }}
To:{{ Carbon\Carbon::parse($to)->format('d-m-Y') }}
All Time
|
|
SL |
Date |
Refferal ID |
Refference name |
File no |
Member ID |
Member Name |
Client Paid |
Client Due amount |
Referral commision balance |
Referral withdraw balance |
Company Balance |
Action |
@foreach ($sales as $sale)
sales_id)->first();
$ref_amount1 = App\ReferenceIncome::where('sell_id', $sale->sales_id)->sum('rest_amount');
$ref_with1 = App\ReferenceWithdraw::where('sell_id', $sale->sales_id)->sum('amount');
?>
{{ $loop->index + 1 }} |
{{ Carbon\Carbon::parse($sale->date)->format('d-m-Y') }} |
{{ $sale->refference_id }} |
{{ $sale->refference_name }} |
{{ $salDetail->sale_no }} |
{{ $sale->member->serial_id }} |
{{ $sale->member->name }} |
{{ $sale->paid }} |
{{ $sale->due_amount }} |
{{ $ref_amount1 }} |
{{ $ref_with1 }} |
{{ $sale->company_log }} |
|
@endforeach
{{--
Total refferal commission:
Total booking amount: {{ $total_booking_amount }} tk
Total installment amount: {{ $total_install_amount }} tk
Total এককালীন amount: {{ $total_ekkalin_amount }} tk
--}}
Total paid amount: {{ $total_paid_amount }} tk
Total due amount: {{ $total_due_amount }} tk
Referral commision balance: {{ $ref_amount }}
tk
Referral withdraw balance: {{ $ref_with }}
tk
Total Company Balance now: {{ $total }} tk
@else
@endif
@include('extra.delete-modal')
@endsection
@section('footer-script')
@endsection