| {{ $index + 1 }} |
{{ $stockCount->request_from_name }} |
{{ $stockCount->location_name }} |
{{ $stockCount->first_name }} |
{{ \Carbon\Carbon::parse($stockCount->created_at)->format('d/m/Y H:i') }} |
{{ $stockCount->ref_no }} |
{{ $stockCount->location_id }} |
{{ $stockCount->request_from_id }} |
@php
$transactionExists = DB::table('transactions')
->where('ref_no', $stockCount->ref_no)
->exists();
@endphp
@if($transactionExists)
Stock Transferred
@else
Pending
@endif
|
@if(auth()->user()->can('stockrequest.view'))
@endif
@if(auth()->user()->can('stockrequest.delete'))
@endif
|
@endforeach