@extends('base') @section('title') Compras varias @endsection @section('extracss') @endsection @section('extrajs') @endsection @section('content') @if(session('ocupado'))
{{ session('ocupado') }}
@endif
@if(session('exito'))
{{ session('exito') }}
@endif @if ($errors->any())
@endif {{-- @if(count($cotizaciones) > 0) --}}
@php $i=1; @endphp @foreach ($documentos as $documento) @php $i++; @endphp @endforeach
Item Fecha No. Documento Proveedor Descripcion Monto Acciones
{{ $i }} @if($documento->created_at!=null) {{ date("d/m/Y", strtotime($documento->created_at)) }} @endif {{ $documento->documento_code }} {{ $documento->proveedor->nombreProveedor }} {{ $documento->concepto }} {{ $documento->monto }}
@include('compra.modals.compraVariasDoc') @endsection