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

View Tax Invoice

@php $status = $invoice->status ?? 'pending'; $statusClass = match($status) { 'approved' => 'approved', 'rejected' => 'rejected', default => 'pending' }; @endphp {{ ucfirst($status) }}

{{ $invoice->invoice_no }}

{{ \Carbon\Carbon::parse($invoice->invoice_date)->format('d M Y') }}
{{ $invoice->company->company ?? '-' }}
₹{{ number_format($invoice->total_amount, 2) }}
Invoice Details
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 ?? '-' }}
Company Information
Company Name:
UMBREY ENGINEERING PVT LTD
Address:
No. 31, 2nd Phase, Peenya Industrial Area, Bengaluru 560 058
GSTN:
29AAACU2461N1ZY
PAN:
AAACU2461N
Buyer Information
Company:
{{ $invoice->company->company ?? '-' }}
Address:
{{ $invoice->address ?? '-' }}
GST No:
{{ $invoice->gst ?? '-' }}
Email:
{{ $invoice->email ?? '-' }}
Phone:
{{ $invoice->phone ?? '-' }}
Shipping Details
Delivery Note:
{{ $invoice->delivery_note ?? '-' }}
Terms of Payment:
{{ $invoice->terms_payment ?? '-' }}
Dispatch Through:
{{ $invoice->dispatch_through ?? '-' }}
Destination:
{{ $invoice->destination ?? '-' }}
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
Financial Summary
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) }}
Grand Total: ₹{{ number_format($invoice->total_amount, 2) }}
{{ $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
Print Edit Back to List
@endsection @section('scripts') @endsection