@if ($overviewBond['bond'])
@if ($overviewBond['bond']->post_status == false) @can('warehouses-stocktakingBonds-edit') @lang('general.edit') @endcan @endif
@lang('warehouses/stocktaking-bonds/index.stocktaking_bond')
@lang('warehouses/stocktaking-bonds/index.date') :

{{ $overviewBond['bond']->date }}

@lang('warehouses/stocktaking-bonds/index.bond_number') :

{{ $overviewBond['bond']->bond_number }}

@lang('warehouses/stocktaking-bonds/index.branch') :

{{ $overviewBond['bond']->branch->name }}

@lang('warehouses/stocktaking-bonds/index.bond_status') :

{{ $overviewBond['bond']->post_status ? 'مرحّل' : 'غير مرحّل' }}

@lang('warehouses/stocktaking-bonds/index.items')

@php $total = 0; @endphp @foreach ($overviewBond['bond']->items as $item) @endforeach
@lang('warehouses/stocktaking-bonds/index.item_description') @lang('warehouses/stocktaking-bonds/index.unit') @lang('warehouses/stocktaking-bonds/index.expected_quantity') @lang('warehouses/stocktaking-bonds/index.actual_quantity') @lang('warehouses/stocktaking-bonds/index.difference') @lang('warehouses/stocktaking-bonds/index.bond_type') @lang('warehouses/stocktaking-bonds/index.expiration_date') @lang('warehouses/stocktaking-bonds/index.cost') @lang('warehouses/stocktaking-bonds/index.total')
{{ $item->barcode->ar_name }} {{ $item->barcode->unit->name }} {{ dn($item->expected_available_quantity) }} {{ dn($item->real_available_quantity) }} {{ dn($item->real_available_quantity - $item->expected_available_quantity) }} {{ $item->real_available_quantity - $item->expected_available_quantity > 0 ? 'سند إدخال' : 'سند إخراج' }} {{ $item->expire_date ?? '---' }} {{ dn($item->real_available_quantity - $item->expected_available_quantity) > 0 ? dn($item->avg_cost) : 'FIFO' }} {{ dn($item->real_available_quantity - $item->expected_available_quantity) > 0 ? dn($item->avg_cost * ($item->real_available_quantity - $item->expected_available_quantity)) : 'FIFO' }}

@lang('warehouses/stocktaking-bonds/index.notes') :

{{ $overviewBond['bond']->notice }}

@endif @push('script') @endpush