@extends('metronic.base') @section('title') Compras varias @endsection @section('extracss') @endsection @section('extrajs') @endsection @section('content') @include('sessions')

@component('components.table') @slot('thead') {{ __('Fecha') }} {{ __('Numero Documento') }} {{ __('Proveedor') }} {{ __('Orden') }} {{ __('Monto') }} {{ __('Estado') }} {{ __('Tipo') }} {{ __('Acciones') }} {{ __('ID') }} @endslot @slot('tfoot') @endslot @endcomponent {{-- @php $i=1; @endphp @foreach ($documentos as $documento) @php $i++; @endphp @endforeach
# Fecha No. Documento Proveedor Orden Monto Estado Tipo Acciones
{{ $i }} @if($documento->created_at!=null) {{ date("d/m/Y", strtotime($documento->created_at)) }} @endif {{ $documento->documento_code }} {{ $documento->proveedor->nombreProveedor }} @if ($documento->ov) {{ $documento->ov->file_code }} @endif @if ($documento->oc) {{ $documento->oc->codigo }} @endif @if(!$documento->oc && !$documento->ov) Sin orden @endif {{ $documento->monto }} {{ $documento->state }} @if ($documento->tipo->tipo=='Comprobante de Credito Fiscal') CCF @else {{ $documento->tipo->tipo }} @endif @if ($documento->state!=="FACTURADO") @endif
--}} @include('compra.modals.compraVariasDoc') @endsection