@extends('layouts.nav') @section('title') {{$JournalType}} Invoice @endsection @section('content')

{{$JournalType}} Invoice

Process Invoice
@if (session('success'))
{{ session('success') }}
@endif @if ($errors->any())
@foreach ($errors->all() as $error)
{{ $error }}
@endforeach
@endif
@csrf

{{$JournalType}} Transactions
Process
@foreach ($Jts as $Jt) @php $contractCode = $Jt->ContraCode; if (!empty($Jt->ContraSubCode)) { $contractCode .= '/' . $Jt->ContraSubCode; } @endphp @endforeach
Entry Date Description Account Reference Qty Price Disc % Tax % Tax Amt Total Action
Entry Date Description Account Reference Qty Price Disc % Tax % Tax Amt Total Action
{{ $Jt->EntryDate }} {{ $Jt->Narration }}{{ $contractCode }} {{ $Jt->Refference }} {{ number_format($Jt->Qnty, 2) }} {{ number_format($Jt->Price * $Jt->Rate, 2) }} {{ number_format((($Jt->Price * ($Jt->Discount / 100)) * $Jt->Qnty) * $Jt->Rate, 2) }} {{ number_format($Jt->Tax, 2) }} {{ number_format(($Jt->Qnty * ($Jt->Price - ($Jt->Price * ($Jt->Discount / 100)))) * ($Jt->Tax / 100) * $Jt->Rate, 2) }} {{ number_format(($Jt->Qnty * $Jt->Price) * $Jt->Rate, 2) }}

Total (Exc):

Total (Tax):

Total (Dis):

Total (Inc):

{{ $symbol.' '.number_format($totalExcludingTax, 2) }}

{{ $symbol.' '.number_format($totalTaxAmount, 2) }}

{{ $symbol.' '.number_format($totalDiscounts, 2) }}

{{ $symbol.' '.number_format($totalIncludingTax, 2) }}

@endsection