@extends('metronic.base') @section('title') CxC de Cliente @endsection @section('extracss') @endsection @section('content') @include('sessions')
{{ ucwords(strtolower($cliente->nombre_cliente)) }}
@php $i=1; $totalCxC_C=0; @endphp @foreach ($documentos as $item ) @php $totalCxC_C+=$item['total_cancelar']-$item['abonado']; @endphp @php $p = $partida->where('documento_id', $item['documento_id'])->where('tipo_partida_id', 1)->first() ; @endphp @php $i++; @endphp @endforeach
Item OV Tipo No. Documento Fecha Monto Factura Monto abonado Monto pendiente Acciones Partida
{{ $i }} {{$item['file_code']}} @if ($item['tipo'] == "Comprobante de Credito Fiscal") CCF @else {{ $item['tipo'] }} @endif {{$item['documento_code'] }} {{ $item['fecha_emision'] }} $ $ $ {{--@if($item->state=='EnProceso') --}} {{-- @else --}} {{-- @endif --}} @if ($p != null) Partida @endif
Total Monto Pendiente:    $ {{ number_format($totalCxC_C,2) }}
{{-- @include('cotizacionCompleta.modals.abonarModal') --}} {{-- @include('cotizacionCompleta.modals.saldarModal') --}} @endsection @section('extrajs') @endsection