@extends('layouts.master') @section('title', 'Contra Voucher Details') @section('page-header') Contra Voucher Details @stop @push('style') @endpush @section('content')
Voucher Type {{ $voucher->voucher_type }}
Description {{ $voucher->description }}
Invoice No {{ $voucher->invoice_no }}
Date {{ $voucher->date }}
| Sl | Account Name | Debit | Credit |
|---|---|---|---|
| {{ $loop->iteration }} | {{ optional($item->account)->name }} | @if ($item->balance_type == 'Debit') {{ number_format($item->amount, 2) }} @endif | @if ($item->balance_type == 'Credit') {{ number_format($item->amount, 2) }} @endif |
| Total | {{ number_format($voucher->amount, 2) }} | {{ number_format($voucher->amount, 2) }} | |