@extends('cr_blank') @section('content') {{--
{{ $title }}
--}} {{--
Periodo: {{ $mes }} - {{ $gestion }}
--}} @php $label_fecha = 'Periodo: ' . $mes . ' - ' . $gestion; @endphp @include('reportes.components.pdf_header_reporte',[ 'titulo' => $title, 'fechas' => $label_fecha, ]) {{--
Mes: {{ $mes }}
--}} {{--
Gestión: {{ $gestion }}
--}} @php $total = $data->sum('total'); @endphp @foreach ($data as $item) @endforeach
N. Fecha Código N° Comp. Contribuyente CI/NIT OTB Registrado por: Total
{{ ++$i }} {{ date('d/m/y H:i', strtotime($item->fecha)) }} {{ $item->medidor->codigo }} {{ $item->txt_nro }} {{ $item->razon_social }} {{ $item->ci_nit }} {{ $item->medidor->zona->nombre }} {{ $item->usuario->nombre_completo }} {{ number_format($item->total,2) }}
TOTAL {{ number_format($total,2) }}
{{--
{{ $txt_total }}
--}} @endsection @section('scripts') @endsection