@extends('base') @section('titulo') credito fiscal @endsection @section('content')
Listado de documentos
Detalle de documento
@include('sessions') @include('documento.modals.modalFacturarConCodigo') @include('documento.modals.deleteServiceDocumento') @if ($documento->posteado != 1) @include('documento.confirmacionfacturar')
Facturar
@endif
Comprobante de Crédito Fiscal
@csrf
Cliente:
{{--
Fecha:
--}}
Direccion:
Giro:
Municipio:
Departamento:
N.R.C:
N.I.T:
Clasificación:
Venta a Cuenta de:
Entregado por cliente:
No y Fecha de N. Rem. Ant.:
Cond. de la operación:
{{--
--}} @if ($documento->state == '')
Guardar
@endif
{{--
Cant.
Código
Descripción
Precio unitario
Venta no sujeta
Venta exenta
Venta grabada
Facturar
2
cod0001
Flete maritimo
$250
$0
$0
$500
Total
$250
$0
$0
$500
--}}
DISTRIBUCION SERVICIOS
@for ($i = 0; $i < count($services); $i++) @endfor
Servicio
Total
Asignado
Disponible
@if ($services[$i]->extra == 1) {{ $services[$i]->serv_name }} - Cta. Ajena @else {{ $services[$i]->serv_name }} @endif
$
{{ number_format($services[$i]->monto, 2) }}
$
{{ number_format($servicesDocumentoTotal[$i], 2) }}
$
{{ number_format($services[$i]->monto - $servicesDocumentoTotal[$i], 2) }}
@if ($documento->state == '')
@csrf
Seleccione el servicio
@foreach ($servicesSelect as $service) @if ($service->extra == 1)
{{ $service->serv_name }} - Cta. Ajena
@else
{{ $service->serv_name }}
@endif @endforeach
Monto
Impuesto
Gravado
No sujeto
Exento
Exportación
Clasificacion libro
Exenta
Gravada Local
No Sujeta
Venta Terceros
Referencia
Guardar
@endif
@foreach ($documentoServices as $item) @if ($item->extra != 1) @endif @endforeach
Cantidad
Código
Descripción
PrecioUnitario
Venta no sujeta
Venta exenta
Venta gravada
Eliminar
Ref
1
{{ $item->servicio->service_cod }}
{{ $item->servicio->serv_name }}
$
{{ number_format($item->cant_asignado, 2) }}
$
@if ($item->impuesto == 2) {{ number_format($item->cant_asignado, 2) }} @else 0.00 @endif
$
@if ($item->impuesto == 3) {{ number_format($item->cant_asignado, 2) }} @else 0.00 @endif
$
@if ($item->impuesto == 1) {{ number_format($item->cant_asignado, 2) }} @else 0.00 @endif
{{ $item->ref }}
Total
$
{{ number_format($servT[0], 2) }}
$
{{ number_format($servT[1], 2) }}
$
{{ number_format($servT[2], 2) }}
$
{{ number_format($servT[3], 2) }}
Cuadro resumen
SUMAS
IVA
$
{{ number_format($resumen[0], 2) }}
SUB-TOTAL
$
{{ number_format($resumen[1], 2) }}
(+) IVA PERCIBIDO
$
{{ number_format($resumen[2], 2) }}
(-) IVA RETENIDO
$
{{ number_format($resumen[3], 2) }}
VENTA NO SUJETA
$
{{ number_format($resumen[4], 2) }}
VENTA EXENTA
$
{{ number_format($resumen[5], 2) }}
VENTA TOTAL
$
{{ number_format($resumen[6], 2) }}
@foreach ($documentoServices as $item) @if ($item->extra == 1) @endif @endforeach
Gasto por cuenta ajena
VALOR
{{ $item->servicio->serv_name }}
$
{{ number_format($item->cant_asignado, 2) }}
Total de gastos
$
{{ number_format($resumen[7], 2) }}
Entregado por cliente
$
{{ number_format($detalle->entregado_por_cliente, 2) }}
Sub total
$
{{ number_format($resumen[7] - $detalle->entregado_por_cliente, 2) }}
Total a cancelar
$
{{ number_format($resumen[7] - $detalle->entregado_por_cliente + $resumen[6], 2) }}
@endsection