@extends('layouts.master') @section('title', 'Receive Voucher Detail') @section('page-header') Receive Voucher Detail @stop @push('style') @endpush @section('content')
Voucher Type {{ $voucher->voucher_type }}
Description {{ $voucher->description }}
Invoice No {{ $voucher->invoice_no }}
Date {{ $voucher->date }}
| Sl | Account | 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($totalAmount, 2) }} | {{ number_format($totalAmount, 2) }} | |