@extends('layouts.app') @section('content')
Track the cost value of free items and transfer received amounts through Journal.
| Date | Invoice | Product | Batch | Free qty | Unit cost | Value |
|---|---|---|---|---|---|---|
| {{ $detail->sale?->created_at?->format('d M Y') ?? '—' }} | {{ $detail->sale?->invoice_no ?? '—' }} | {{ $detail->medicine?->name ?? 'Unknown product' }} | {{ $detail->batch_no }} | {{ $detail->medicine?->formatQuantity($detail->free_quantity) ?? number_format($detail->free_quantity, 2) }} | ৳{{ number_format($detail->buying_price_at_sale, 2) }} | ৳{{ number_format($detail->free_quantity * $detail->buying_price_at_sale, 2) }} |