@extends('layouts.app') @section('content')

Edit Bill #{{ $bill->bill_number }}

@csrf @method('PUT')
@foreach ($bill->billItems as $index => $item) @php $product = $item->product; $qty = $item->qty; @endphp

Product {{ $index + 1 }}

Name: {{ $product->name }}

Company: {{ $product->company }}

Retail Price: {{ $product->retail_price }}

Doctor Price: {{ $product->doctor_price }}

Local Price: {{ $product->local_price }}

Purchase Price: {{ $product->purchase_price }}

@endforeach

Leave empty to use current date

@endsection