@extends('docs.master', ['title' => 'Vendor Payment '.$model->number]) @section('content')
Payment From:
{{$model->vendor->person}},
{{$model->vendor->company}},
{{$model->vendor->billing_address}}
 
@if($model->payment_reference) @endif
Document Vendor Payment
Number: {{$model->number}}
Payment Date: {{$model->payment_date}}
Payment Mode: {{$model->payment_mode}}
Payment Reference: {{$model->payment_reference}}
Currency: {{$model->currency->code}}
Amount Paid: {{moneyFormat($model->amount_paid, $model->currency, false)}}
@foreach($model->items as $item) @endforeach
Bill Date Bill Number Total Amount Applied
{{$item->bill->date}} {{$item->bill->number}} {{moneyFormat($item->bill->total, $model->currency, false)}} {{moneyFormat($item->amount_applied, $model->currency, false)}}
Amount Paid {{moneyFormat($model->amount_paid, $model->currency)}}
@endsection