@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->opening_balance == 0) @elseif ($value->opening_balance != 0) @endif @if($value->expiry_date == 0000-00-00) @else @endif @endforeach
# Transaction Date Receipt Item To / From BARCODE Voucher
Number
Batch Number Opening
Balance
Quantity
In / Out
Transaction
Type
Expiry date Stock On Hand Initials Actions
{{ $row }} {{ date('d M Y', strtotime ($value->transaction_date)) }} {{ $value->commodity->name }} MAUL {{ $value->destinationOfStock($value->to_from_type,$value->to_from)->name}} N/A {{ $value->barcode }} {{ $value->voucher_number }} {{$value->batch_number}}-{{ $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->initials}} {{trans('messages.edit')}}