@extends('layouts/default')
{{-- Page title --}}
@section('title')
@parent
@stop
{{-- page level styles --}}
@section('header_styles')
@stop
{{-- Page content --}}
@section('content')
Search Result
Direct Expense
| Account | PS | PS Stmt | SS | SS Stmt | RV | RV Stmt | PV | PV Stmt | JV | JV Stmt | PC | PC Stmt |
@php $psac = $pstr = $ssac = $sstr = $rvac = $rvtr = $pvac = $pvtr = $jvac = $jvtr = $pcac = $pctr = 0; @endphp
@foreach($dexp as $row)
@php
$psac += $row->ps->ac; $pstr += $row->ps->tr;
$ssac += $row->ss->ac; $sstr += $row->ss->tr;
$rvac += $row->rv->ac; $rvtr += $row->rv->tr;
$pvac += $row->pv->ac; $pvtr += $row->pv->tr;
$jvac += $row->jv->ac; $jvtr += $row->jv->tr;
$pcac += $row->pc->ac; $pctr += $row->pc->tr;
@endphp
| {{$row->name}} |
{{number_format($row->ps->ac,2)}} |
{{number_format($row->ps->tr,2)}} |
{{number_format($row->ss->ac,2)}} |
{{number_format($row->ss->tr,2)}} |
{{number_format($row->rv->ac,2)}} |
{{number_format($row->rv->tr,2)}} |
{{number_format($row->pv->ac,2)}} |
{{number_format($row->pv->tr,2)}} |
{{number_format($row->jv->ac,2)}} |
{{number_format($row->jv->tr,2)}} |
{{number_format($row->pc->ac,2)}} |
{{number_format($row->pc->tr,2)}} |
@endforeach
| Total: |
{{number_format($psac,2)}} |
{{number_format($pstr,2)}} |
{{number_format($ssac,2)}} |
{{number_format($sstr,2)}} |
{{number_format($rvac,2)}} |
{{number_format($rvtr,2)}} |
{{number_format($pvac,2)}} |
{{number_format($pvtr,2)}} |
{{number_format($jvac,2)}} |
{{number_format($jvtr,2)}} |
{{number_format($pcac,2)}} |
{{number_format($pctr,2)}} |
Direct Income
| Account | PS | PS Stmt | SS | SS Stmt | RV | RV Stmt | PV | PV Stmt | JV | JV Stmt | PC | PC Stmt |
@php $psac = $pstr = $ssac = $sstr = $rvac = $rvtr = $pvac = $pvtr = $jvac = $jvtr = $pcac = $pctr = 0; @endphp
@foreach($dinc as $row)
@php
$psac += $row->ps->ac; $pstr += $row->ps->tr;
$ssac += $row->ss->ac; $sstr += $row->ss->tr;
$rvac += $row->rv->ac; $rvtr += $row->rv->tr;
$pvac += $row->pv->ac; $pvtr += $row->pv->tr;
$jvac += $row->jv->ac; $jvtr += $row->jv->tr;
$pcac += $row->pc->ac; $pctr += $row->pc->tr;
@endphp
| {{$row->name}} |
{{number_format($row->ps->ac,2)}} |
{{number_format($row->ps->tr,2)}} |
{{number_format($row->ss->ac,2)}} |
{{number_format($row->ss->tr,2)}} |
{{number_format($row->rv->ac,2)}} |
{{number_format($row->rv->tr,2)}} |
{{number_format($row->pv->ac,2)}} |
{{number_format($row->pv->tr,2)}} |
{{number_format($row->jv->ac,2)}} |
{{number_format($row->jv->tr,2)}} |
{{number_format($row->pc->ac,2)}} |
{{number_format($row->pc->tr,2)}} |
@endforeach
| Total: |
{{number_format($psac,2)}} |
{{number_format($pstr,2)}} |
{{number_format($ssac,2)}} |
{{number_format($sstr,2)}} |
{{number_format($rvac,2)}} |
{{number_format($rvtr,2)}} |
{{number_format($pvac,2)}} |
{{number_format($pvtr,2)}} |
{{number_format($jvac,2)}} |
{{number_format($jvtr,2)}} |
{{number_format($pcac,2)}} |
{{number_format($pctr,2)}} |
@stop
{{-- page level scripts --}}
@section('footer_scripts')
@stop