@extends('frontend.app') @section('content')
Back to Dashboard

Search Your Previous Bill

* You can filter your Bill History using below search options.


@foreach($previousBills as $key => $pb) @endforeach
# Bill date Bill number Bill period Bill amount Due date Status Download
{{ $key+1 }} {{date('d-m-Y', strtotime($pb->document_date))}} {{$pb->bill_number}} {{date('d-m-Y', strtotime($pb->pevious_date))}} to {{date('d-m-Y', strtotime($pb->current_date))}} {{$pb->total_invoice_amount}} /- {{date('d-m-Y', strtotime($pb->due_date))}} @if($pb->historyDetails) {!! ($pb->historyDetails->payment_status == 'Paid' || $pb->historyDetails->payment_status == 'Partially-Paid')? '' : '' !!} @else {!! $pb->orderDetails && ($pb->orderDetails->payment_status == 'paid' || $pb->orderDetails->payment_status == 'partial-paid') ? '' : ($pb->balance() <= 0 ? '' : '' ) !!} @endif
@endsection @section('styles') @endsection @section('scripts') @parent @endsection