@extends('layout.default') @section('title', $__t('Stock journal')) @section('activeNav', 'stockjournal') @section('viewJsName', 'stockjournal') @section('content')
 {{ $__t('Product') }}
 {{ $__t('Transaction type') }}
 {{ $__t('Location') }}
 {{ $__t('User') }}
 {{ $__t('Date range') }}
@foreach($stockLog as $stockLogEntry) @endforeach
{{ $__t('Product') }} {{ $__t('Amount') }} {{ $__t('Transaction time') }} {{ $__t('Transaction type') }} {{ $__t('Location') }} {{ $__t('Done by') }}
{{ $stockLogEntry->product_name }} @if($stockLogEntry->undone == 1)
{{ $__t('Undone on') . ' ' . $stockLogEntry->undone_timestamp }} @endif
{{ $stockLogEntry->amount }} {{ $__n($stockLogEntry->amount, $stockLogEntry->qu_name, $stockLogEntry->qu_name_plural) }} {{ $stockLogEntry->row_created_timestamp }} {{ $__t($stockLogEntry->transaction_type) }} @if ($stockLogEntry->spoiled == 1) {{ $__t('Spoiled') }} @endif {{ $stockLogEntry->location_name }} {{ $stockLogEntry->user_display_name }}
@stop