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

@yield('title')

@foreach($stockLog as $stockLogEntry) @endforeach
# {{ $L('Product') }} {{ $L('Amount') }} {{ $L('Booking time') }} {{ $L('Booking type') }}
{{ FindObjectInArrayByPropertyValue($products, 'id', $stockLogEntry->product_id)->name }} @if($stockLogEntry->undone == 1)
{{ $L('Undone on') . ' ' . $stockLogEntry->undone_timestamp }} @endif
{{ $stockLogEntry->amount }} {{ Pluralize($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 }} {{ $L($stockLogEntry->transaction_type) }}
@stop