@extends('layouts.app') @section('title') Expense By Vendor Report @stop @section('css') @stop @section('breadcrumb') @stop @section('content')

Expense By Vendor Report


FROM  {{$from_date}}  To  {{$to_date}}
Date: {{date('d-m-y')}}
User ID:   {{Auth::user()->name}}
@foreach($payments as $p) @if($complete_report) @if($p->bill->vendor_id != $vendor) @if($count != 0) @endif @else @endif @else @if($p->bill->vendor_id != $vendor) @if($count != 0) @endif @else @endif @endif @endforeach
Date Category Description Account Debit Credit Balance
Total {{$vendor_name}} {{number_format($debit)}} {{number_format($balance)}}
{{$p->bill->vendor->name}} {{$balance}}
{{date('d/m/Y',strtotime($p->date))}} {{$p->bill->category->name}} {{$p->bill->notes}} {{$p->account ? $p->account->name : ''}} {{number_format($p->amount)}} {{number_format($balance)}}
{{date('d/m/Y',strtotime($p->date))}} {{$p->bill->category->name}} {{$p->notes}} {{$p->account ? $p->account->name : ''}} {{number_format($p->amount)}} {{$balance}}
Total {{$vendor_name}} {{number_format($debit)}} {{number_format($balance)}}
{{$p->bill->vendor->name}}
{{date('d/m/Y',strtotime($p->date))}} {{$p->bill->category->name}} {{$p->bill->notes}} {{$p->account ? $p->account->name : ''}} {{number_format($p->amount)}} {{number_format($balance)}}
{{date('d/m/Y',strtotime($p->date))}} {{$p->bill->category->name}} {{$p->notes}} {{$p->account ? $p->account->name : ''}} {{number_format($p->amount)}} {{$balance}}
Total {{$vendor_name}} {{number_format($debit)}} {{number_format($balance)}}
Total Expense {{number_format($total)}} {{number_format($total)}}
@stop @section('js') @stop