@extends('layouts.dashboard.superadminapp') @section('title', 'View Invoice') @section('styles') @endsection @section('content')

View Invoice: {{ $invoice->invoice_no }}

Back to List Print Edit
@php $status = $invoice->status ?? 'pending'; $statusClass = match($status) { 'approved' => 'success', 'rejected' => 'danger', default => 'warning' }; @endphp {{ ucfirst($status) }}

UMBREY ENGINEERING PVT LTD

No. 31, 2nd Phase, Peenya Industrial Area, Bengaluru 560 058, Karnataka, India
GSTN: 29AAACU2461N1ZY | PAN: AAACU2461N

Invoice No: {{ $invoice->invoice_no }}
Invoice Date: {{ \Carbon\Carbon::parse($invoice->invoice_date)->format('d-m-Y') }}
Reference No: {{ $invoice->reference_no ?? '-' }}
Buyer Order No: {{ $invoice->buyer_order_no ?? '-' }}
Delivery Note: {{ $invoice->delivery_note ?? '-' }}
Terms of Payment: {{ $invoice->terms_payment ?? '-' }}
Dispatch Through: {{ $invoice->dispatch_through ?? '-' }}
Destination: {{ $invoice->destination ?? '-' }}
Buyer Information
Company: {{ $invoice->company->company ?? '-' }}
Address: {{ $invoice->address ?? '-' }}
GST No: {{ $invoice->gst ?? '-' }}
Email: {{ $invoice->email ?? '-' }}
Phone: {{ $invoice->phone ?? '-' }}
Vehicle No: {{ $invoice->vehicle_no ?? '-' }}
Invoice Items
@forelse($invoice->items as $i => $item) @empty @endforelse
# Description HSN/SAC Qty Rate Per SGST (%) CGST (%) IGST (%) Amount
{{ $i + 1 }} {{ $item->description }} {{ $item->hsn }} {{ $item->quantity }} {{ number_format($item->rate, 2) }} {{ $item->per }} {{ $item->sgst }} {{ $item->cgst }} {{ $item->igst }} {{ number_format($item->amount, 2) }}
No items found
Taxable Value: ₹{{ number_format($invoice->taxable_value, 2) }}
SGST: ₹{{ number_format($invoice->sgst, 2) }}
CGST: ₹{{ number_format($invoice->cgst, 2) }}
IGST: ₹{{ number_format($invoice->igst, 2) }}
Total Tax: ₹{{ number_format($invoice->total_tax_amount, 2) }}
Total Amount: ₹{{ number_format($invoice->total_amount, 2) }}
Amount in Words: {{ $invoice->amount_in_words }}
@if($invoice->status !== 'pending')
Approval Information
Status:
{{ ucfirst($invoice->status) }}
{{ $invoice->status === 'approved' ? 'Approved' : 'Rejected' }} At:
{{ $invoice->approved_at ? $invoice->approved_at->format('d-m-Y H:i') : '-' }}
Remarks:
{{ $invoice->approval_remarks ?? '-' }}
@endif
@endsection