@extends('base') @section('title') detalle de facturación @endsection @section('extracss') @endsection @section('extrajs') @endsection @section('content') @if (session('ocupado'))
{{ session('ocupado') }}
@endif

Documentos para el file {{ $file->file_code }}

@if ($iniciofacturar)

Por Facturar: {{ number_format($porFacturar, 2) }}

@endif
@if (session('exito'))
{{ session('exito') }}
@endif @if ($errors->any())
@endif {{-- @if (count($cotizaciones) > 0) --}}
@php $i = 1; @endphp @foreach ($documentos as $key=> $documento) @if($documento->cancelado ==1) @else @endif @if($documento->cancelado ==1) @else @endif @php $i++; @endphp @endforeach
Item No. Documento Tipo Fecha emisión Monto Acciones
{{ $i }} ANULADO ( {{ $documento->documento_code }} ) {{ $documento->documento_code }} {{ $documento->tipo->tipo }} @if ( $documento->fecha_emision) {{date('d/m/Y',strtotime( $documento->fecha_emision)) }} @else
NO POSEE
@endif
0.00{{ $documento->monto }} @if ($documento->documento_code !=null) @endif @if($documento->tipo_documento_id == 1) @include('documento.confirmacion') @endif @if ($documento->tipo_documento_id != 6) @endif @if (!$documento->state == '') @endif @if ($documento->documento_code ==null) @endif
{{--
{{ $cotizaciones->links() }}
--}} {{-- @else
¡Opps! Parece que no tienes ninguna cotización registrada.
@endif --}} @include('documento.modals.documentoFacturacion') @endsection