@extends('plantillas.app') @section('titulo') {{-- {{ $datoCuenta->cuenta }} - {{ $datoCuenta->descripcion }} --}} @endsection @section('breadcrumbs') {!! Breadcrumbs::render('inicio.costo.detalle',$cuentaOrigen,$datoCuenta,$datoCuentaPrincipal,$registros->first(),date('n',strtotime($registros->first()->fecha))) !!} @endsection @section('contenido')
Local | Fecha | Tipo comprobante | Comprobante | Glosa | Centro de costo | Cuenta elemento 9 | Cuenta elemento 6 | Valor |
---|---|---|---|---|---|---|---|---|
{{ $registro->local }} | {{ $registro->fecha }} | {{ $registro->tipo }} - {{ $registro->descripcion_tipo }} | {{ $registro->numero }} | {{ $registro->glosa }} | {{ $registro->centro_costos }} - {{ $registro->descripcion_centro_costos }} | {{ $registro->cuenta_contable_costos }} - {{ $registro->descripcion_contable_costos }} | {{ $registro->cuenta_contable }} - {{ $registro->descripcion_cuenta_contable }} | {{ number_format($registro->flag=="D"?$registro->valor:$registro->valor*-1,2) }} | @php $numero=$registro->flag=="D"?$registro->valor:$registro->valor*-1; $suma= $suma + $numero; @endphp
Total | {{ number_format($suma,2) }} |