@extends('web.secciones.layout') @section('titulo', 'Factura - ' . config('app.name')) @section('head') @endsection @section('bodytags', '') @section('contenido')
{{-- LOGO Y TITULO FACTURA --}}
logo
#{{ str_pad($factura->numero_factura, 5, '0', STR_PAD_LEFT) }}
{{-- SI QUIERE FACTURA MUESTRA DATOS DE EMPRESA --}} @if ($factura->quiere_factura)
  • RUC: 1719395962001
  • C/El Arenal 380 OE-10
  • Quito, Calderón - Ecuador
  • +34 643395240
@endif {{-- MUESTRA DATOS DEL CLIENTE --}}
    {{-- SI QUIERE FACTURA MUESTRA DATOS DEL CLIENTE --}} @if ($factura->quiere_factura)
  • {{ $factura->nombre }}
  • {{ $factura->direccion }}
  • {{ $factura->email }}
  • {{ $factura->telefono }}
  • {{ $factura->ruc }}
  • @else {{-- SI NO QUIERE FACTURA NOMBRE Y EMAIL PARA EL RECIBO --}}
  • {{ $factura->usuario->nombre }}
  • {{ $factura->usuario->email }}
  • @endif
  • Nº Cliente: {{ $factura->de_usuario }}
  • Nº Pedido: {{ $factura->id }}
  • Nº @if ($factura->quiere_factura) Factura @else Recibo @endif: {{ str_pad($factura->numero_factura, 5, '0', STR_PAD_LEFT) }}
  • Fecha Emision: {{ \Carbon\Carbon::parse($factura->fecha_emision)->format('d/m/Y') }}
  • Fecha Vencimiento: {{ \Carbon\Carbon::parse($factura->fecha_emision)->addMonths(1)->format('d/m/Y') }}
Plan Tipo Meses PVP/Mes Subtotal
{{ $factura->detalle['suscripcion'] }} {{ $factura->detalle['periodo'] }} {{ $factura->detalle['meses'] }} ${{ number_format($factura->detalle['precio_mes'], 2) }} ${{ number_format($factura->detalle['meses'] * $factura->detalle['precio_mes'], 2) }}
OFERTA @if ($factura->detalle['oferta']) -{{ number_format($factura->detalle['oferta'], 0) }}% @endif @if ($factura->detalle['oferta']) @php $precio_sin_oferta = $factura->detalle['meses'] * $factura->detalle['precio_mes']; $oferta = ($precio_sin_oferta * $factura->detalle['oferta']) / 100; @endphp -${{ number_format($oferta, 2) }} @else - @endif
IVA ${{ number_format(($factura->monto_total * 12) / 100, 2) }}
TOTAL ${{ number_format($factura->monto_total, 2) }}
{{-- INFORMACION DE LA SUSCRIPCION Y DEL METODO DE PAGO --}}
Suscripcion: {{ $factura->detalle['suscripcion'] }}
Meses: {{ $factura->detalle['meses'] }} meses
Desde: {{ $factura->detalle['meses'] }}
Hasta: {{ $factura->detalle['meses'] }}
Forma de Pago: {{ $factura->forma_pago->nombre }}
@if ($factura->pagado) Estado: Pagado
Recibo de Pago: {{ $factura->pagado_recibo }}
Fecha de Pago: {{ \Carbon\Carbon::parse($factura->pagado_fecha)->format('d/m/Y') }}
@else Estado: Pendiente de Pago
@endif
{{-- INFORMACION DE LA SUSCRIPCION Y DEL METODO DE PAGO --}}

¡Muchas gracias por su compra!


Si tiene alguna duda, por favor contactenos.
@endsection @section('scripts') @endsection