| ID: |
{{ $showDetails->id ?? '' }} |
| Date: |
{{ $showDetails->date ? date('d-m-Y', strtotime($showDetails->date)) : '' }} |
| Supplier: |
{{ $showDetails->supplier->name ?? '' }} |
| Vehicle Number: |
{{ $showDetails->vehicle_number ?? '' }} |
| Invoice Number: |
{{ $showDetails->invoice_number ?? '' }} |
| GST Percentage: |
{{ $showDetails->gst_percentage ?? '' }} |
| Gross Total Amount: |
{{ $showDetails->gross_amount ?? '' }} |
| Extra Benifit: |
{{ $showDetails->extra_benifit ?? '' }} |
| Extra Charge: |
{{ $showDetails->extra_charge ?? '' }} |
| Grand Total: |
{{ $showDetails->grand_total ?? '' }} |
| CGST Amount: |
{{ $showDetails->cgst_amount ?? '' }} |
| SGST Amount: |
{{ $showDetails->sgst_amount ?? '' }} |
| Net Total Amount: |
{{ $showDetails->net_total ?? '' }} |
| Created By: |
{{ $showDetails->createdBy->name ?? '' }} |
| Created At: |
{{ $showDetails->created_at->format('d-m-Y h:i A') ?? '' }} |
{{-- Product Inventory Items --}}
@if (isset($showDetails->productInventoryItems) && count($showDetails->productInventoryItems) > 0)
| # |
Product |
Quantity |
Amount |
Buy Price |
Tax |
Created Date |
@foreach ($showDetails->productInventoryItems as $productInventoryItem)
@php
@endphp
| {{ $loop->iteration }} |
{{ $productInventoryItem->product->name ?? '' }} |
{{ $productInventoryItem->quantity ?? '' }} |
{{ $productInventoryItem->amount ?? '' }} |
{{ $productInventoryItem->buy_price ?? '' }} |
{{ $productInventoryItem->tax ?? '' }} |
{{ $productInventoryItem->created_at->format('d-m-Y') ?? '' }} |
@endforeach
@endif