@extends('layout.default') @section('title', $__t('Stock journal')) @section('activeNav', 'stockjournal') @section('viewJsName', 'stockjournal') @section('content')

@yield('title')

@foreach($stockLog as $stockLogEntry) @endforeach
{{ $__t('Product') }} {{ $__t('Amount') }} {{ $__t('Booking time') }} {{ $__t('Booking type') }} {{ $__t('Location') }}
{{ FindObjectInArrayByPropertyValue($products, 'id', $stockLogEntry->product_id)->name }} @if($stockLogEntry->undone == 1)
{{ $__t('Undone on') . ' ' . $stockLogEntry->undone_timestamp }} @endif
{{ $stockLogEntry->amount }} {{ $__n($stockLogEntry->amount, FindObjectInArrayByPropertyValue($quantityunits, 'id', FindObjectInArrayByPropertyValue($products, 'id', $stockLogEntry->product_id)->qu_id_stock)->name, FindObjectInArrayByPropertyValue($quantityunits, 'id', FindObjectInArrayByPropertyValue($products, 'id', $stockLogEntry->product_id)->qu_id_stock)->name_plural) }} {{ $stockLogEntry->row_created_timestamp }} {{ $__t($stockLogEntry->transaction_type) }} {{ FindObjectInArrayByPropertyValue($locations, 'id', $stockLogEntry->location_id)->name }}
@stop