@extends('layouts.nav') @section('title') Cash Book Statement @endsection @section('content')
![]() {{$name}} Statement |
|
Currency: {{$currnames}} From: {{$from}} To: {{$to}} |
|
EntryDate | Description | Refference | DR | CR | Balance | |||||||
{{$from}} | Opening Balance | @php if($b<0) { $dr=0; $cr=$b*(-1); } else { $dr=$b; $cr=0; } @endphp | {{ number_format($dr, 2) }} | {{ number_format($cr, 2) }} | @if($b < 0) ({{ number_format(abs($b), 2) }}) @else {{ number_format($b, 2) }} @endif | |||||||
{{$tran->EntryDate}} | {{$tran->Narration}} | @php $b = $b+ ($tran->CR-$tran->DR); @endphp{{$tran->Refference}} | @php $dr=$tran->CR; $cr=$tran->DR; @endphp{{ number_format($dr, 2) }} | {{ number_format($cr, 2) }} | @if($b < 0) ({{ number_format(abs($b), 2) }}) @else {{ number_format($b, 2) }} @endif | |||||||
|