@extends('layouts.app') @section('css') @endsection @section('content')
| # | {{ __('Date') }} | {{ __('Purchase Order') }} | {{ __('Paid Amount') }} | {{ __('Bill Amount') }} | {{ __('Balance') }} |
|---|---|---|---|---|---|
| {{ ++$key }} | {{ formatDate($data['transaction_date']) }} | @if (!empty($data['purchase_order_id'])) {{ $data['purchase_order']['reference'] }} @else {{ $data['reference'] }} @endif | @if(isset($data['amount'])) {{ formatCurrencyAmount($data['amount'], $data['currency']['symbol']) }} @else {{ '-' }} @endif | @if(isset($data['total'])) {{ formatCurrencyAmount($data['total'], $data['currency']['symbol']) }} @else {{ '-' }} @endif | {{ formatCurrencyAmount($balance, $data['currency']['symbol']) }} |
| Total = | {{ formatCurrencyAmount($totalPaid, $data['currency']['symbol']) }} | {{ formatCurrencyAmount($totalBill, $data['currency']['symbol']) }} | {{ formatCurrencyAmount($balance, $data['currency']['symbol']) }} |