@extends('adminlte::page') @section('title', 'Transfer Detayı') @section('content')
| Ürün | Lot No | Ambalaj | Çuval | Miktar | Birim Maliyet | Toplam Değer |
|---|---|---|---|---|---|---|
| {{ optional($item->product)->name ?? '-' }} | {{ optional($item->lot)->lot_number ?? '-' }} | {{ optional($item->packageType)->name ?? '-' }} | {{ number_format($item->package_count, 2) }} | {{ number_format($item->quantity_kg, 2) }} {{ optional($item->product?->baseUnit)->symbol ?? 'kg' }} | {{ number_format(optional($item->lot)->purchase_unit_cost ?? 0, 2) }} ₺ | {{ number_format($item->quantity_kg * (optional($item->lot)->purchase_unit_cost ?? 0), 2) }} ₺ |
| Toplam | {{ number_format($stockTransfer->items->sum('quantity_kg'), 2) }} kg | — | {{ number_format($stockTransfer->items->sum(fn($i) => $i->quantity_kg * ($i->lot?->purchase_unit_cost ?? 0)), 2) }} ₺ | |||