@extends('layouts.shared.login') @section('title', 'SSI') @section('contents') @if (($headers) && ($details))
{{-- This is the Header of the Receipt --}} Invoice: {{ $headers->invoice_ref }} Name: {{ $headers->firstname }} {{ $headers->lastname }} Location: {{ $headers->description }} Date: {{ $headers->created_at }} Transaction: {{ $headers->transaction_type }} {{-- This is the line items --}}
Line Item/s @foreach ($details as $detail)
{{ $detail->qty }} x
{{ $detail->description }}
@endforeach
@endif @endsection @section('scripts') @endsection