@php $balance = $budgetTotal ?? 0; $debitTotal = 0; $creditTotal = 0; $yearMonth = request()->query('yearMonth'); // Access the query parameter @endphp @extends('master') @section('title', 'খতিয়ান') @section('breadcrumbMainTitle', 'খতিয়ান') @section('content')
তারিখ | বিবরণ | ডেবিট | ক্রেডিট | অবশিষ্ট |
---|---|---|---|---|
{{ BnDate($item->voucher_date) }} | {{ isset($item->voucher->voucher_note) ? $item->voucher->voucher_note : '' }} | {{ $item->voucher_item_type == 'EXPENSE' ? $numto->bnNum((int) $item->voucher_item_amount ): '' }} | {{ $item->voucher_item_type == 'INCOME' ? $numto->bnNum((int) $item->voucher_item_amount ) : '' }} | @if($balance < 0) ({{ $numto->bnNum((int) $negativeBalance ) }}) @else {{ $numto->bnNum((int) $negativeBalance ) }} @endif |
সর্বমোট | {{ $numto->bnNum((int) $debitTotal ) }} | {{ $numto->bnNum((int) $creditTotal ) }} | @if($balance < 0) ({{ $numto->bnNum((int) $negativeBalance ) }}) @else {{ $numto->bnNum((int) $negativeBalance ) }} @endif |