@extends('layouts.app') @section('title', 'Invoice ' . $invoice->invoice_number) @section('content')

Invoice {{ $invoice->invoice_number }}

Thermal New Bill All Bills
Fashion Mart
Invoice
{{ $invoice->invoice_number }}
{{ $invoice->invoice_date->format('d M Y') }}
@if($invoice->customer)
Bill to
{{ $invoice->customer->name }}
@if($invoice->customer->phone){{ $invoice->customer->phone }}@endif @if($invoice->customer->address)
{{ nl2br(e($invoice->customer->address)) }}
@endif
@else
Walk-in customer
@endif @foreach($invoice->items as $idx => $item) @endforeach
# Product Qty Rate Amount
{{ $idx + 1 }} {{ $item->product_name }} {{ $item->quantity }} {{ number_format($item->unit_price, 2) }} {{ number_format($item->total, 2) }}
@if($invoice->discount_amount > 0) @endif @if($invoice->gst_amount > 0) @endif
Subtotal {{ number_format($invoice->subtotal, 2) }}
Discount- {{ number_format($invoice->discount_amount, 2) }}
GST ({{ $invoice->gst_percent }}%){{ number_format($invoice->gst_amount, 2) }}
Total{{ number_format($invoice->total, 2) }}

Payment: {{ $invoice->payment_type }}

@if($invoice->notes)

Note: {{ $invoice->notes }}

@endif
@push('styles') @endpush @endsection