@php require_frontend_packages(['datatables', 'daterangepicker', 'chartjs']); @endphp @extends('layout.default') @section('title', $__t('Stock report') . ' / ' . $__t('Spendings')) @section('content')
{{ $__t('Name') }} | {{ $__t('Total') }} | @if($groupBy == 'product'){{ $__t('Product group') }} | @endif
---|---|---|
@if($groupBy == 'productgroup') @if(empty($metric->name)) {{ $__t('Ungrouped') }} @else {{ $metric->name }} @endif @else {{ $metric->name }} @endif | {{ $metric->total }} | @if($groupBy == 'product')@if(empty($metric->group_name)) {{ $__t('Ungrouped') }} @else {{ $metric->group_name }} @endif | @endif