@extends('layout.app') @section('content')
@csrf
{{ $list->appends(['type' => request()->type, 'search' => request()->search])->links() }}
@foreach ($list as $r)
no

{{ $company_info->name ?? '' }}

For Office Use
Invoce No: {{ date('Y') }}{{ $r->invoice_id ?? '' }}
@if ($r->customer_code != null) Code: {{ $r->customer_code ?? '' }}
@else CID: {{ $r->id }}
@endif Name: {{ $r->clients_name ?? '' }}
Username: {{ $r->userid }}
Mobile: {{ $r->contact_no ?? '' }}
Monthly Bill: {{ $r->billamount - $r->paidAmount ?? '' }}
Total Due: {{ number_format($r->dueAmount ?? '', 2) }}

{{-- {{ $r->due_amount ?? '' }} --}} Signature:
no

{{ $company_info->name ?? '' }}

{!! $company_info->address !!}
{{ $company_info->mobile ?? '' }}
To
@if ($r->customer_code != null) Code: {{ $r->customer_code ?? '' }}
@else CID: {{ $r->id }}
@endif Name: {{ $r->clients_name ?? '' }}
Username: {{ $r->userid }}
Mobile: {{ $r->contact_no ?? '' }}
Address: @if ($r->building_name) B Name: {{ $r->building_name ?? '' }}, @endif @if ($r->owner_name) H O: {{ $r->owner_name ?? '' }}, @endif @if ($r->flat_no) F No: {{ $r->flat_no ?? '' }}, @endif @if ($r->road_name) R Name: {{ $r->road_name ?? '' }}, @endif @if ($r->road_no) R No: {{ $r->road_no ?? '' }}, @endif @if ($r->block_sector) Block/Sector: {{ $r->block_sector ?? '' }}, @endif @if ($r->area) Area: {{ $r->area ?? '' }}, @endif @if ($r->box) Box: {{ $r->box ?? '' }} @endif
Customer Copy
IP: Total Due: {{ number_format($r->dueAmount ?? '', 2) }} Invoice No: {{ date('Y') }}{{ $r->invoice_id ?? '' }} Expire Date: {{ date('d-M-Y', strtotime($r->expire_date ?? '')) }}
SL. Description Month Bill Amount
1 Monthly Bill {{ date('F', strtotime($r->bill_create_date ?? '')) }} {{ number_format($r->billamount - $r->paidAmount ?? '', 2) }}
2 Prevoius Due / Others -- @if ($r->paidAmount == $r->billamount) {{ number_format(abs($r->dueAmount), 2) }} @else {{ number_format(abs($r->dueAmount - $r->billamount), 2) }} @endif
Total Due {{ number_format($r->dueAmount ?? '', 2) }}

Signature:


@endforeach
@endsection @section('ajax') @if (checkSettings('singlePageBillInvoice') == 'enable') @else @endif @endsection