@php require_frontend_packages(['datatables']); @endphp @extends('layout.default') @section('title', $__t('Batteries journal')) @section('content')

@yield('title')


 {{ $__t('Battery') }}
 {{ $__t('Date range') }}
@include('components.userfields_thead', array( 'userfields' => $userfields )) @foreach($chargeCycles as $chargeCycleEntry) @include('components.userfields_tbody', array( 'userfields' => $userfields, 'userfieldValues' => FindAllObjectsInArrayByPropertyValue($userfieldValues, 'object_id', $chargeCycleEntry->id) )) @endforeach
{{ $__t('Battery') }} {{ $__t('Tracked time') }}
{{ FindObjectInArrayByPropertyValue($batteries, 'id', $chargeCycleEntry->battery_id)->name }} @if($chargeCycleEntry->undone == 1)
{{ $__t('Undone on') . ' ' . $chargeCycleEntry->undone_timestamp }} @endif
{{ $chargeCycleEntry->tracked_time }}
@stop