@extends('layouts.nav') @section('title') {{$Type}} Statement @endsection @section('content')
![]() {{$name}} Statement |
|
@foreach ($pdetails as $pdetail)
{{ $pdetail->Name}} {{ $pdetail->Address}} {{ $pdetail->Email}} {{ $pdetail->Phone}} @endforeach |
@foreach ($cst as $cs)
{{ $cs->Name}} {{ $cs->Address}} {{ $cs->Email}} {{ $cs->Contact}} @endforeach |
Currency: {{$currnames}} From: {{$from}} To: {{$to}} |
|
EntryDate | Description | Refference | DR | CR | Balance | |||||||
{{$from}} | Opening Balance | @php if($b=="Supplier") { if($b<0) { $dr=$b; $cr=0; } else { $dr=0; $cr=$b; } } else { 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->MNarration}} | @php if($Type=="Supplier") { $b = $b+ ($tran->DR-$tran->CR); } else { $b = $b+ ($tran->CR-$tran->DR); } @endphp{{$tran->Batch}} | @php if($Type=="Supplier") { $dr=$tran->DR; $cr=$tran->CR; } else { $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 | |||||||
|
![]() {{$obj["name"]}} Statement |
|
@foreach ($pdetails as $pdetail)
{{ $pdetail->Name}} {{ $pdetail->Address}} {{ $pdetail->Email}} {{ $pdetail->Phone}} @endforeach |
@foreach ($cst as $cs)
{{ $cs->Name}} {{ $cs->Address}} {{ $cs->Email}} {{ $cs->Contact}} @endforeach |
Currency: {{$currnames}} From: {{$from}} To: {{$to}} |
|
EntryDate | Description | Refference | DR | CR | Balance | |||||||
{{$from}} | Opening Balance | @php if($b=="Supplier") { if($b<0) { $dr=$b; $cr=0; } else { $dr=0; $cr=$b; } } else { 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->MNarration}} | @php if($Type=="Supplier") { $b = $b+ ($tran->DR-$tran->CR); } else { $b = $b+ ($tran->CR-$tran->DR); } @endphp{{$tran->Batch}} | @php if($Type=="Supplier") { $dr=$tran->DR; $cr=$tran->CR; } else { $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 | |||||||
|