@php require_frontend_packages(['datatables', 'daterangepicker', 'chartjs']); @endphp @extends('layout.default') @section('title', $__t('Stock report') . ' / ' . $__t('Spendings')) @section('content')

 {{ $__t('Date range') }}
@if($groupBy == 'product')
 {{ $__t('Product group') }}
@endif
@if($groupBy == 'product') @endif @foreach($metrics as $metric) @if($groupBy == 'product') @endif @endforeach
{{ $__t('Name') }} {{ $__t('Total') }}{{ $__t('Product group') }}
@if($groupBy == 'productgroup') @if(empty($metric->name)) {{ $__t('Ungrouped') }} @else {{ $metric->name }} @endif @else {{ $metric->name }} @endif {{ $metric->total }} @if(empty($metric->group_name)) {{ $__t('Ungrouped') }} @else {{ $metric->group_name }} @endif
@stop