@extends('layouts.layout-horizontal') @section('title', 'View OTC Sale') @section('content')
View OTC Sale
Back
Bill No

{{ $sale->bill_no }}

Date

{{ $sale->invoice_date->format('d-M-Y') }}

Created At

{{ $sale->created_at->format('d-M-Y h:i A') }}


Edit PDF
@csrf @method('DELETE')
Items
@foreach ($sale->items as $item) @endforeach
# Product HSN Unit Qty Rate Total
{{ $loop->iteration }} {{ $item->product->name ?? '—' }} {{ $item->hsn ?? '—' }} {{ $item->unit ?? '—' }} {{ indian_number($item->qty, 2) }} {{ indian_number($item->rate, 2) }} {{ indian_number($item->line_total, 2) }}
Total: {{ indian_number($sale->amount_total, 2) }}
Amount Total: {{ indian_number($sale->amount_total, 2) }}
Roundoff: {{ indian_number($sale->roundoff, 2) }}
Grand Total: {{ indian_number($sale->grand_total, 2) }}
@endsection