@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())
Por favor corrige los siguientes errores
@foreach ($errors->all() as $error)
- {{ $error }}
@endforeach
@endif
{{-- @if (count($cotizaciones) > 0) --}}
Item |
No. Documento |
Tipo |
Fecha emisión |
Monto |
Acciones |
@php
$i = 1;
@endphp
@foreach ($documentos as $key=> $documento)
{{ $i }} |
@if($documento->cancelado ==1)
ANULADO ( {{ $documento->documento_code }} ) |
@else
{{ $documento->documento_code }} |
@endif
{{ $documento->tipo->tipo }} |
@if ( $documento->fecha_emision)
{{date('d/m/Y',strtotime( $documento->fecha_emision)) }}
@else
NO POSEE
@endif |
@if($documento->cancelado ==1)
0.00 |
@else
{{ $documento->monto }} |
@endif
@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
|
@php
$i++;
@endphp
@endforeach
{{--
{{ $cotizaciones->links() }}
--}}
{{-- @else
¡Opps! Parece que no tienes ninguna cotización registrada.
@endif --}}
@include('documento.modals.documentoFacturacion')
@endsection