| @lang('business.product') | @lang('lang_v1.lot_number') | @lang('product.exp_date') | @lang('lang_v1.days_expired') | @lang('lang_v1.manufacturer') | @lang('lang_v1.available_qty') | @lang('lang_v1.unit_cost') | @lang('lang_v1.value_at_cost') | @lang('lang_v1.qty_to_send') | |
|---|---|---|---|---|---|---|---|---|---|
| {{ $b->product_name }} @if($b->variation_name && $b->variation_name !== 'DUMMY') ({{ $b->variation_name }}) @endif @if(in_array($b->drug_schedule, ['H','H1','X'])) {{-- Controlled drugs need a witnessed destruction at the warehouse, so they are flagged from the outset. --}} @lang('lang_v1.schedule') {{ $b->drug_schedule }} @endif | {{ $b->lot_number ?: '--' }} | {{ \Carbon::parse($b->exp_date)->format('d-m-Y') }} | {{ (int) $b->days_expired }} | {{ $b->batch_manufacturer ?: ($b->product_manufacturer ?: '--') }} | {{ @num_format($b->available_qty) }} | @format_currency($b->unit_cost) | @format_currency($b->available_qty * $b->unit_cost) |
@lang('lang_v1.egr_despatch_help', ['warehouse' => $warehouse->name])
| @lang('purchase.ref_no') | @lang('messages.date') | @lang('lang_v1.warehouse') | @lang('sale.quantity') | @lang('lang_v1.value_at_cost') | @lang('lang_v1.status') | @lang('messages.action') |
|---|---|---|---|---|---|---|
| {{ $r->ref_no }} | {{ @format_datetime($r->created_at) }} | {{ optional($r->warehouse_business)->name ?: '--' }} | {{ @num_format($r->total_quantity) }} | @format_currency($r->total_value) |
{{ $r->statusLabel() }}
@if($r->status === \App\ExpiredGoodsReturn::STATUS_REJECTED && $r->rejection_reason)
{{ \Illuminate\Support\Str::limit($r->rejection_reason, 60) }} @endif |
@lang('messages.view') |