@extends("layout") @section("content")
@if (Session::has('message'))
{{ trans(Session::get('message')) }}
@endif
{{trans('messages.stock-list')}}
@foreach($stock as $value) @if($value->action==\Config::get('constants.INCOMING_STOCK_FLAG')) @endif @if($value->action==\Config::get('constants.OUTGOING_STOCK_FLAG')) @endif @if($value->action==\Config::get('constants.LOSSES_ADJUSTMENTS_STOCK_FLAG')) @endif @if($value->action==\Config::get('constants.PHYSICAL_COUNT_STOCK_FLAG')) @endif @if ($value->physical_count == 0) @else @endif @if ($value->discrepancy == 0) @else @endif @if ($value->opening_balance == 0) @else @endif @if($value->expiry_date == 0000-00-00) @else @endif @endforeach
# Transaction Date Item To / From BARCODE Voucher
Number
Batch Number Physical
Count
Physical
Count Discrepancy
Opening
Balance
Quantity
In / Out
Transaction
Type
Expiry date Stock On Hand Remarks Initials Actions
{{ $row }} {{ date('d M Y', strtotime ($value->transaction_date)) }} {{ $value->commodity->name }} {{$value->sourceOfStock($value->to_from,$value->to_from)->name}} {{ $value->destinationOfStock($value->to_from_type,$value->to_from)->name}} N/A Physical Count {{ $value->barcode }} {{ $value->voucher_number }} {{$value->batch_number}}-{{$value->physical_count}}-{{$value->discrepancy}}-{{ $value->opening_balance}}{{ ($value->action=='I'?$value->quantity_in:($value->action=='O'?$value->quantity_out:$value->quantity) )}} {{ $value->action }}N/A{{ date('d M Y', strtotime($value->expiry_date)) }}{{ $value->balance}} {{$value->remarks}} {{$value->initials}} {{trans('messages.edit')}}