@extends('layouts.pdf-sample') @section('styles') @endsection @section('content')
{{ $company->address }}
@endif @if($company->phone)Phone: {{ $company->phone }}
@endif @if($company->email)Email: {{ $company->email }}
@endif
|
|
| # | Item Description | Qty | Price | Total |
|---|---|---|---|---|
| {{ $index + 1 }} | {{ $item['name'] }} | {{ $item['quantity'] }} | ${{ number_format($item['price'], 2) }} | ${{ number_format($item['quantity'] * $item['price'], 2) }} |
| Subtotal: | ${{ number_format($sampleData['subtotal'], 2) }} |
| Tax ({{ $sampleData['tax_percent'] }}%): | ${{ number_format($sampleData['tax'], 2) }} |
| Discount: | -${{ number_format($sampleData['discount'], 2) }} |
| Total Paid: | ${{ number_format($sampleData['total'], 2) }} |
| Payment Method: {{ $sampleData['payment_method'] }} | Transaction ID: {{ $sampleData['transaction_id'] }} |
Scan to verify this receipt