@extends('layouts/acc_layout') @section('title') @if ($voucherIdInfo->voucherTypeId == 1) {{ ' | Debit Voucher' }} @elseif ($voucherIdInfo->voucherTypeId == 2) {{ ' | Credit Voucher' }} @elseif ($voucherIdInfo->voucherTypeId == 3) {{ ' | Journal Voucher' }} @elseif ($voucherIdInfo->voucherTypeId == 4) {{ ' | Contra Voucher' }} @elseif ($voucherIdInfo->voucherTypeId == 5) {{ ' | Fund Transferred Voucher' }} @endif @endsection @section('content') @include('accounting.vouchers.voucherCss') @include('convert_word') @php $user = Auth::user(); Session::put('branchId', $user->branchId); $branchId = Session::get('branchId'); Session::put('id', $user->id); $userId = Session::get('id'); $branchArr = DB::table('gnr_branch')->pluck('name', 'id')->toArray(); $ledgerInfo = DB::table('acc_account_ledger')->select('id', 'code', 'name')->get(); @endphp