@extends('layouts.app') @section('title', 'Detail Stok Opname - MCU Klinik Mustika') @section('breadcrumb')
| No. | Barang | Batch | Stok Sistem | Stok Fisik | Selisih | Harga Beli Snapshot | Nilai Selisih | Keterangan |
|---|---|---|---|---|---|---|---|---|
| {{ $loop->iteration }} |
{{ $item->drug->name }}
{{
$item->drug->unit?->abbreviation ?:
$item->drug->unit?->name
}}
|
{{ $item->drugBatch?->batch_number ?: '-' }} | {{ number_format($item->system_qty, 0, ',', '.') }} | {{ number_format($item->actual_qty, 0, ',', '.') }} | {{ number_format($item->difference_qty, 0, ',', '.') }} |
@if ($item->unit_cost_snapshot !== null)
Rp {{ number_format((float) $item->unit_cost_snapshot, 2, ',', '.') }}
{{
$item->unit_cost_source === 'last_purchase_price'
? 'Harga beli terakhir'
: 'Harga batch'
}}
@else
Belum memiliki harga
@endif
|
{{ $item->difference_value !== null ? 'Rp ' . number_format((float) $item->difference_value, 2, ',', '.') : '-' }} | {{ $item->notes ?: '-' }} |