@extends('plantillas.app') @section('titulo') {{-- $datoCuenta->cuenta }} - {{ $datoCuenta->descripcion --}} @endsection @section('breadcrumbs') {!! Breadcrumbs::render('inicio.costo_tres_digitos',$datoCuenta) !!} @endsection @section('contenido')

Reporte costos

@foreach($costos as $costo) @if($costo->digito==4) @endif @if($costo->digito==5) @endif @if($costo->digito==6) @endif @if($costo->digito==7) @endif @if($costo->digito==8) @endif @if($costo->digito==9) @endif {{-- @foreach($gastos->groupBy('cuenta_detalle') as $index=>$gasto) @if(substr($index,0,4)==$costo->cuenta) @foreach($gasto->groupBy('cuenta_cuatro') as $prueba) @endforeach @endif @endforeach --}} @endforeach
Cuenta Ene Feb Mar Abr May Jun Jul Ago Set Oct Nov Dic Total
{{ $datoCuenta->cuenta }} - {{ $datoCuenta->descripcion }} {{ number_format($datoCuenta->enero,2) }} {{ number_format($datoCuenta->febrero,2) }} {{ number_format($datoCuenta->marzo,2) }} {{ number_format($datoCuenta->abril,2) }} {{ number_format($datoCuenta->mayo,2) }} {{ number_format($datoCuenta->junio,2) }} {{ number_format($datoCuenta->julio,2) }} {{ number_format($datoCuenta->agosto,2) }} {{ number_format($datoCuenta->setiembre,2) }} {{ number_format($datoCuenta->octubre,2) }} {{ number_format($datoCuenta->noviembre,2) }} {{ number_format($datoCuenta->diciembre,2) }} {{ number_format($datoCuenta->valor,2) }}
{{ $costo->cuenta }} - {{ $costo->descripcion }} {{ number_format($costo->enero,2) }} {{ number_format($costo->febrero,2) }} {{ number_format($costo->marzo,2) }} {{ number_format($costo->abril,2) }} {{ number_format($costo->mayo,2) }} {{ number_format($costo->junio,2) }} {{ number_format($costo->julio,2) }} {{ number_format($costo->agosto,2) }} {{ number_format($costo->setiembre,2) }} {{ number_format($costo->octubre,2) }} {{ number_format($costo->noviembre,2) }} {{ number_format($costo->diciembre,2) }} {{ number_format($costo->valor,2) }}
{{ $costo->cuenta }} - {{ $costo->descripcion }} {{ number_format($costo->enero,2) }} {{ number_format($costo->febrero,2) }} {{ number_format($costo->marzo,2) }} {{ number_format($costo->abril,2) }} {{ number_format($costo->mayo,2) }} {{ number_format($costo->junio,2) }} {{ number_format($costo->julio,2) }} {{ number_format($costo->agosto,2) }} {{ number_format($costo->setiembre,2) }} {{ number_format($costo->octubre,2) }} {{ number_format($costo->noviembre,2) }} {{ number_format($costo->diciembre,2) }} {{ number_format($costo->valor,2) }}
{{ $costo->cuenta }} - {{ $costo->descripcion }} {{ number_format($costo->enero,2) }} {{ number_format($costo->febrero,2) }} {{ number_format($costo->marzo,2) }} {{ number_format($costo->abril,2) }} {{ number_format($costo->mayo,2) }} {{ number_format($costo->junio,2) }} {{ number_format($costo->julio,2) }} {{ number_format($costo->agosto,2) }} {{ number_format($costo->setiembre,2) }} {{ number_format($costo->octubre,2) }} {{ number_format($costo->noviembre,2) }} {{ number_format($costo->diciembre,2) }} {{ number_format($costo->valor,2) }}
{{ $costo->cuenta }} - {{ $costo->descripcion }} {{ number_format($costo->enero,2) }} {{ number_format($costo->febrero,2) }} {{ number_format($costo->marzo,2) }} {{ number_format($costo->abril,2) }} {{ number_format($costo->mayo,2) }} {{ number_format($costo->junio,2) }} {{ number_format($costo->julio,2) }} {{ number_format($costo->agosto,2) }} {{ number_format($costo->setiembre,2) }} {{ number_format($costo->octubre,2) }} {{ number_format($costo->noviembre,2) }} {{ number_format($costo->diciembre,2) }} {{ number_format($costo->valor,2) }}
{{ $costo->cuenta }} - {{ $costo->descripcion }} {{ number_format($costo->enero,2) }} {{ number_format($costo->febrero,2) }} {{ number_format($costo->marzo,2) }} {{ number_format($costo->abril,2) }} {{ number_format($costo->mayo,2) }} {{ number_format($costo->junio,2) }} {{ number_format($costo->julio,2) }} {{ number_format($costo->agosto,2) }} {{ number_format($costo->setiembre,2) }} {{ number_format($costo->octubre,2) }} {{ number_format($costo->noviembre,2) }} {{ number_format($costo->diciembre,2) }} {{ number_format($costo->valor,2) }}
{{ $costo->cuenta }} - {{ $costo->descripcion }} {{ number_format($costo->enero,2) }} {{ number_format($costo->febrero,2) }} {{ number_format($costo->marzo,2) }} {{ number_format($costo->abril,2) }} {{ number_format($costo->mayo,2) }} {{ number_format($costo->junio,2) }} {{ number_format($costo->julio,2) }} {{ number_format($costo->agosto,2) }} {{ number_format($costo->setiembre,2) }} {{ number_format($costo->octubre,2) }} {{ number_format($costo->noviembre,2) }} {{ number_format($costo->diciembre,2) }} {{ number_format($costo->valor,2) }}
{{ $prueba->first()->cuenta_cuatro }} {{ $prueba->first()->descripcion_cuenta_cuatro }} {{ number_format($prueba->where('mes',1)->sum('total'),2) }} {{ number_format($prueba->where('mes',2)->sum('total'),2) }} {{ number_format($prueba->where('mes',3)->sum('total'),2) }} {{ number_format($prueba->where('mes',4)->sum('total'),2) }} {{ number_format($prueba->where('mes',5)->sum('total'),2) }} {{ number_format($prueba->where('mes',6)->sum('total'),2) }} {{ number_format($prueba->where('mes',7)->sum('total'),2) }} {{ number_format($prueba->where('mes',8)->sum('total'),2) }} {{ number_format($prueba->where('mes',9)->sum('total'),2) }} {{ number_format($prueba->where('mes',10)->sum('total'),2) }} {{ number_format($prueba->where('mes',11)->sum('total'),2) }} {{ number_format($prueba->where('mes',12)->sum('total'),2) }} {{ number_format($prueba->sum('total'),2) }}
@endsection