{{-- resources/views/accounting/coffee_sales/show.blade.php --}} @extends('admin.admin_dashboard') @section('admin')
Sale Details
Date Sold: {{ \Carbon\Carbon::parse($sale->date_sold)->format('Y‑m‑d') }}
Buyer: {{ $sale->buyer->name ?? '—' }}
Gross Weight: {{ number_format($sale->gross_weight, 2) }} kg
Net Weight: {{ number_format($sale->net_weight, 2) }} kg
Selling Price: {{ number_format($sale->selling_price, 2) }}
Amount: {{ number_format($sale->amount, 2) }}
Samples: {{ number_format($sale->samples, 2) }}
Dry Loss/Gain: {{ number_format($sale->dry_loss_gain, 2) }}
MC Deduction: {{ number_format($sale->mc_deduction, 2) }}
MC Percent: {{ number_format($sale->mc_percent, 2) }} %
Notes

{{ $sale->notes ?: '—' }}

@endsection