@extends('layouts.master') @push('css') @endpush @section('content') @php $partnerType = data_get($vou_other_detail, 'business_partner_type'); $partnerId = data_get($vou_other_detail, 'partner_name'); $resolvedPartnerName = \App\Http\Controllers\VoucherController::resolvePartnerName($partnerType, $partnerId); $partnerLocked = !empty($partnerType) && !empty($partnerId); $headerDate = data_get($voucherSingle, 'date'); $headerDate = $headerDate ? \Carbon\Carbon::parse($headerDate)->format('Y-m-d') : now()->format('Y-m-d'); @endphp
Journal Voucher Edit Journal Voucher

Edit Journal Voucher #{{ $vouchersNumber->voucher_number ?? '' }}

Update double-entry journal transactions روزنامچہ واؤچر میں ترمیم کریں
Back to Journal Vouchers
@csrf @if (isset($errors) && count($errors) > 0)
@foreach ($errors->all() as $error) @endforeach
@endif
Voucher Configuration & Source Account واؤچر اور کھاتے کی بنیادی تفصیلات
Business Partner & Ledger Account بزنس پارٹنر اور جنرل لیجر کھاتہ
@if ($partnerLocked) @else @endif
@if ($partnerLocked) @else @endif
Voucher Entries (Credit & Debit Ledger) اندراج شدہ رقوم کی تفصیلات
@foreach ($vouchersNumber->vouchers as $voucher) @php $rowDate = $voucher->date ? \Carbon\Carbon::parse($voucher->date)->format('Y-m-d') : $headerDate; $rowPartnerName = \App\Http\Controllers\VoucherController::resolvePartnerName($voucher->business_partner_type ?? $partnerType, $voucher->partner_name); @endphp @endforeach
# Account No Account Title Payment Mode Partner Name Instrument Net Amount Date Credit (PKR) Debit (PKR) Action
{{ $loop->iteration }} {{ $rowPartnerName }} {{ $rowDate }}
Total Ledger Amounts: Rs. {{ number_format($totalCredit, 2, '.', '') }} Rs. {{ number_format($totalDebit, 2, '.', '') }}
Ledger Balance Status: Ready
Debits and Credits must balance before updating.
@endsection @push('scripts') @endpush