@extends('layouts.public_reports') @section('subtitle', __('report.finance_detailed')) @section('content-report') @php $lastWeekDate = null; @endphp @foreach($groupedTransactions as $weekNumber => $weekTransactions)
@php $lastWeekDate = $lastWeekDate ?: $lastMonthDate; @endphp

{{ __('time.week') }} {{ $weekNumber + 1 }} ({{ $weekLabels[$weekNumber] }})

@include('public_reports.finance._public_content_detailed') @php $lastWeekDate = Carbon\Carbon::parse($weekTransactions->last()->last()->date); @endphp
@endforeach @endsection @section('styles') {{ Html::style(url('css/plugins/jquery.datetimepicker.css')) }} @endsection @push('scripts') {{ Html::script(url('js/plugins/jquery.datetimepicker.js')) }} @endpush