@extends('layouts.app') @section('content')
| Bill No | Customer Name | Product Name | Product Price | Retail Price | Less from Retail | Quantity | Product Total Price | payment_Type | Grand Total | Date | Actions |
|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ $bill->id }} | {{ $bill->customer_name }} |
@foreach ($bill->billItems as $item)
{{ $item->product->name ?? 'N/A' }} @endforeach |
@foreach ($bill->billItems as $item)
{{ $item->price?? 'N/A' }} @endforeach |
@foreach ($bill->billItems as $item)
{{ $item->retail_price }} @endforeach |
@foreach ($bill->billItems as $item)
{{ $item->less_from_retail }} @endforeach |
@foreach ($bill->billItems as $item)
{{ $item->qty }} @endforeach |
@foreach ($bill->billItems as $item)
{{ $item->amount }} @endforeach |
{{ $bill->payment ?? 'N/A' }} | {{ $bill->total_amount }} | {{ $bill->date }} | @if($bill->status === 'pending') Complete @endif Print |
| No bills found matching your search criteria | |||||||||||