@section('title','Cash Report-pos') @extends('layouts.master') @section('style') {{-- {{Html::style('assets/public_css/index.css')}} --}} @endsection @section('content')
| {{trans('label.Account Number')}} | {{trans('label.Account Name')}} | {{trans('label.Debit')}} | {{trans('label.Credit')}} | |||
|---|---|---|---|---|---|---|
| {{$key + 1 }} | @if($detail->person_type == 'expense'){{ ucfirst($detail->person_type) }} | {{number_format( $detail->creditTotal - $detail->debitTotal,2) }} | @else | @php if($detail->person_type == 'customer'){ echo "Customer"; }elseif($detail->person_type == 'supplier'){ echo "Supplier"; }else{ echo ucfirst($detail->person_type); } @endphp | {{number_format($detail->debitTotal,2) }} | {{ number_format($detail->creditTotal,2) }} | @endif
{{trans('label.Balance')}} |
@foreach($totalInfo as $total)
{{ number_format($total->debTotal - $total->creTotal,2) }} |
@endforeach
|||||