@extends('base') @section('title') Caja Chica @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; $suma_total = 0; @endphp @foreach ($documentos as $documento) @php $i++; $suma_total += $documento->total; @endphp @endforeach
ITEM FECHA NO. CCF NO. FACT. RECIBO/TICKET NOMBRE DEL PROVEEDOR DESCRIPCION MONTO IVA FOVIAL COTRANS COMPRA EXENTA RENTA TOTAL
{{ $i }} {{ $documento->fecha }} @if($documento->tipo_doc==1) {{ $documento->n_doc }} @endif @if($documento->tipo_doc==2) {{ $documento->n_doc }} @endif @if($documento->tipo_doc==3) {{ $documento->n_doc }} @endif {{ $documento->supplier->nombreProveedor }} {{ $documento->descripcion }} {{ $documento->monto }} {{ $documento->iva }} {{ $documento->fovial_cotrans }} {{ $documento->compra_exenta }} {{ $documento->renta }} {{ $documento->total }}
@include('compra.modals.modalCajaChica') @include('compra.modals.modalLiquidarCajaChica') @endsection