@extends('layouts.app') @section('title', 'Stok Barang - MCU Klinik Mustika') @section('breadcrumb')

Stok Barang

@endsection @section('content')
@if ($companyProfileConfigurationError) @else
Profil Perusahaan Apotek{{ $companyProfile->name }}
@can ('view-stock-movements') Riwayat Stok @endcan
@endif
@include('partials.tables.filters', ['paginator' => $stocks, 'tableFilters' => ['sort', 'direction']]) @forelse ($stocks as $stock) @php($isBelowMinimum = $stock->sellable_qty <= $stock->drug->min_stock) @empty @endforelse
No. Barang Lokasi Stok per Satuan Harga per Satuan Fisik Dasar Layak Jual Dasar Kedaluwarsa Karantina Dasar Reservasi Dasar Minimum Dasar Status
{{ $stocks->firstItem() + $loop->index }}
{{ $stock->drug->name }}
{{ $stock->drug->sku ?: '-' }}
{{ $stock->location->name }} @foreach ($stock->selling_options as $option) {{ number_format( $option['available_in_unit'], 0, ',', '.', ) }} {{ $option['unit_name'] }} @endforeach @foreach ($stock->selling_options as $option)
{{ $option['unit_name'] }}: Rp {{ number_format((float) $option['unit_price'], 0, ',', '.') }}
@endforeach
{{ number_format($stock->total_qty, 0, ',', '.') }} @if ((int) $stock->batch_physical_qty !== (int) $stock->total_qty) Perlu Rekonsiliasi @endif {{ number_format($stock->sellable_qty, 0, ',', '.') }} {{ number_format($stock->expired_qty, 0, ',', '.') }} {{ number_format($stock->quarantined_qty, 0, ',', '.') }} @if ((int) $stock->batch_quarantined_qty !== (int) $stock->quarantined_qty) Perlu Rekonsiliasi @endif {{ number_format($stock->reserved_qty, 0, ',', '.') }} @if ((int) $stock->batch_reserved_qty !== (int) $stock->reserved_qty) Perlu Rekonsiliasi @endif {{ number_format($stock->drug->min_stock, 0, ',', '.') }} {{ $isBelowMinimum ? 'Stok Minimum' : 'Aman' }}
Tidak ada data yang cocok dengan pencarian.
{{ $stocks->links('partials.tables.pagination') }}
@endsection