@extends('common/main/layout') @section('content')

@lang('db.reports') @lang('db.report_waypoint.highway_money')@lang('system.title.total')

@include('common/error-message')
@php $sumArray['payment_1'] = 0; $sumArray['payment_2'] = 0; @endphp @foreach($totals as $total) @endforeach
日付 {{ config('const.PAYMENTS.1') }} {{ config('const.PAYMENTS.2') }}
{{ date('j日', strtotime($total->date)) }} @if (!empty($total->sum_highway_payment_1)) {{ number_format($total->sum_highway_payment_1) }} @lang('system.unit.yen') @php $sumArray['payment_1'] = $sumArray['payment_1'] + intval($total->sum_highway_payment_1); @endphp @else - @endif @if (!empty($total->sum_highway_payment_2)) {{ number_format($total->sum_highway_payment_2) }} @lang('system.unit.yen') @php $sumArray['payment_2'] = $sumArray['payment_2'] + intval($total->sum_highway_payment_2); @endphp @else - @endif
合計 {{ number_format($sumArray['payment_1']) }} @lang('system.unit.yen') {{ number_format($sumArray['payment_2']) }} @lang('system.unit.yen')
@endsection