@php $moduleName = 'Pharmacy'; $arName = 'الصيدلية'; @endphp

{{ \App\Helpers\TranslationHelper::transFromDatabase($moduleName . ' - Stock', __($arName . ' - المخزون')) }}

{{ \App\Helpers\TranslationHelper::transFromDatabase('Back', __('عودة')) }}
@if($warehouse)
{{ __('Current Warehouse') }}: {{ $warehouse->name }}
@endif
@forelse($balances as $balance) @empty @endforelse
{{ __('Item Code') }} {{ __('Item Name') }} {{ __('Batch') }} {{ __('Expiry Date') }} {{ __('Unit') }} {{ __('Quantity') }}
{{ $balance->item->code ?? 'N/A' }} {{ $balance->item->name ?? 'N/A' }} {{ $balance->batch_number ?? '-' }} {{ $balance->expiry_date ? \Carbon\Carbon::parse($balance->expiry_date)->format('Y-m-d') : '-' }} {{ $balance->unit->name ?? 'N/A' }} {{ number_format($balance->quantity, 2) }}
{{ __('No stock records found.') }}
{{ $balances->links() }}