@extends("layout") @section("content")
| # | 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 }} | @if($value->action==\Config::get('constants.INCOMING_STOCK_FLAG')){{$value->sourceOfStock($value->to_from,$value->to_from)->name}} | @endif @if($value->action==\Config::get('constants.OUTGOING_STOCK_FLAG')){{ $value->destinationOfStock($value->to_from_type,$value->to_from)->name}} | @endif @if($value->action==\Config::get('constants.LOSSES_ADJUSTMENTS_STOCK_FLAG'))N/A | @endif @if($value->action==\Config::get('constants.PHYSICAL_COUNT_STOCK_FLAG'))Physical Count | @endif{{ $value->barcode }} | {{ $value->voucher_number }} | {{$value->batch_number}} | @if ($value->physical_count == 0)- | @else{{$value->physical_count}} | @endif @if ($value->discrepancy == 0)- | @else{{$value->discrepancy}} | @endif @if ($value->opening_balance == 0)- | @else{{ $value->opening_balance}} | @endif{{ ($value->action=='I'?$value->quantity_in:($value->action=='O'?$value->quantity_out:$value->quantity) )}} | {{ $value->action }} | @if($value->expiry_date == 0000-00-00)N/A | @else{{ date('d M Y', strtotime($value->expiry_date)) }} | @endif{{ $value->balance}} | {{$value->remarks}} | {{$value->initials}} | {{trans('messages.edit')}} |