@extends('layouts.master') @section('title', 'Inter Company Voucher Details') @section('page-header') Inter Company Voucher Details @stop @push('style') @endpush @section('content')
Voucher Type {{ $voucher_details->voucher_type }}
Description {{ $voucher_details->description }}
Invoice No {{ $voucher_details->invoice_no }}
Date {{ $voucher_details->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_details->amount, 2) }} | {{ number_format($voucher_details->amount, 2) }} | |