@extends('common/main/layout') @section('content')
| 日付 | @lang('db.report.light_oil') | @lang('db.report.adblue') | @lang('db.report.adblue_handy') |
|---|---|---|---|
| {{ date('j日', strtotime($total->date)) }} | @if (!empty($total->sum_light_oil)) {{ number_format($total->sum_light_oil) }} @lang('system.unit.liter') @php $sumArray['light_oil'] = $sumArray['light_oil'] + intval($total->sum_light_oil); @endphp @else - @endif | @if (!empty($total->sum_adblue)) {{ number_format($total->sum_adblue) }} @lang('system.unit.liter') @php $sumArray['adblue'] = $sumArray['adblue'] + intval($total->sum_adblue); @endphp @else - @endif | @if (!empty($total->sum_adblue_handy)) {{ number_format($total->sum_adblue_handy) }} @lang('system.unit.ko') @php $sumArray['adblue_handy'] = $sumArray['adblue_handy'] + intval($total->sum_adblue_handy); @endphp @else - @endif |
| 合計 | {{ number_format($sumArray['light_oil']) }} @lang('system.unit.liter') | {{ number_format($sumArray['adblue']) }} @lang('system.unit.liter') | {{ number_format($sumArray['adblue_handy']) }} @lang('system.unit.ko') |