@extends('docs.master', ['title' => 'Cash Payment Voucher '.$model->number]) @section('content')
Cash Account
@elseBank Account
@endif {{$model->account->accountcode}}| Number: | {{$model->number}} |
|---|---|
| Date: | {{date('d-m-Y',strtotime($model->voucher_date))}} |
| Total: | {{$model->currency->code}} {{number_format($model->amount,2) }} |
| Voucher Currency: | {{$model->currency->name}} |
| Exchange Rate: | {{$model->other_currency->code}} {{number_format($model->rate,2) }} |
| Sr. | Account Detail | Remarks | Invoice | Amount ({{$model->currency->code}}) |
|---|---|---|---|---|
| {{$i++}} | {{$item->account->accountcode}} | {{$item->account->accounttitle}} {{isset($item->subledger->subledger_title) ? ' | '.$item->subledger->subledger_title : ''}} |
{{$item->remarks}}
|
{{$item->invoice_number}} | @if($item->debit > 0) {{(number_format($item->debit,2))}} @else {{(number_format($item->credit,2))}} @endif |
| Total | {{$model->currency->code}} {{number_format($model->amount,2)}} | |||
| Total | {{$model->other_currency->code}} {{number_format(($model->amount*$model->rate),2)}} | |||