@extends('layouts.nav') @section('title') {{$Type}} Listing @endsection @section('content')
![]() {{$name}} Transaction Listing |
|
Currency: {{$currnames}} From: {{$from}} To: {{$to}} |
|
EntryDate | Description | Refference | DR | CR | Balance |
{{$tran->EntryDate}} | {{$tran->MNarration}} | @php if($Type=="Supplier") { $b = $b+ ($tran->DR-$tran->CR); } else { $b = $b+ ($tran->CR-$tran->DR); } @endphp@php $routeName = $tran->TType == 'Receipt' ? 'reprintreceipt' : ($tran->TType == 'Invoice' ? 'reprintinvoice' : null); @endphp @if($routeName) {{ $tran->Batch }} @else {{ $tran->Batch }} @endif | @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 |