@extends('layouts.master') @section('title', 'Receipt Voucher | ') @section('content') @include('partials.header') @include('partials.sidebar')

Receipt Voucher

A Printable Receipt Voucher Format

Date: {{ $receipt->created_at->format('Y-m-d') }}
Received From:
Voucher #{{ 1000 + $receipt->id }}
Voucher Date: {{ $receipt->created_at->format('Y-m-d') }}
Payment Mode: Cash / Bank
@php $total = 0; @endphp @foreach($details as $detail) @php $total += $detail->Amount; @endphp @endforeach
Account Title Entry Narration Amount
{{ $detail->Account_Title }} {{ $detail->Entry_Narration }} {{ number_format($detail->Amount, 2) }}
Total {{ number_format($total, 2) }}
@endsection @push('js') @endpush