🧾

MOBILINK

Sistema de Registro y Trazabilidad

@if(isset($cotizacion->empresa))

{{ $cotizacion->empresa }}

@endif
✅ {{ $cotizacion->estado ?? 'COTIZACIÓN' }}

#{{ $cotizacion->folio_ticket ?? '23' }}

{{ isset($cotizacion->fecha_creacion) ? \Carbon\Carbon::parse($cotizacion->fecha_creacion)->locale('es')->isoFormat('D [de] MMMM [de] YYYY, h:mm A') : 'Fecha no disponible' }}

@if(isset($cotizacion->tipoventa))

Tipo: {{ strtoupper($cotizacion->tipoventa) }}

@endif
👤

Información del Cliente

🏢

Cliente

{{ $cotizacion->cliente_nombre ?? 'Joseph A Barrios M' }}

📞

Teléfono

{{ $cotizacion->cliente_telefono ?? '8681984809' }}

💳

Método de Pago

{{ strtoupper($cotizacion->metodo_pago ?? 'EFECTIVO') }}
@if(isset($cotizacion->folio_pago))
🧾

Folio de Pago

{{ $cotizacion->folio_pago }}

@endif
🚗

Información del Vehículo

@if(isset($cotizacion->vehiculo))

Vehículo

{{ $cotizacion->vehiculo->marca ?? '' }} {{ $cotizacion->vehiculo->modelo ?? '' }}

Placa

{{ $cotizacion->placa ?? '12' }}

Propietario

{{ $cotizacion->vehiculo->propietario ?? '' }}

@if(isset($cotizacion->vehiculo->serial))

Serial

{{ $cotizacion->vehiculo->serial }}

@endif @else

Placa

{{ $cotizacion->placa ?? '12' }}
@endif

🏷️

Detalle de Servicios

@forelse($cotizacion->items ?? [ (object)['id' => 4, 'name' => 'MANTENIMIENTO GENERAL', 'price' => 500, 'quantity' => 1], (object)['id' => 5, 'name' => 'MANTENIMIENTO VIAJE', 'price' => 100, 'quantity' => 1], (object)['id' => 6, 'name' => 'CAMBIO DE BALATAS', 'price' => 100, 'quantity' => 1], (object)['id' => 3, 'name' => 'BALATA', 'price' => 250, 'quantity' => 1] ] as $item) @empty @endforelse
Concepto Precio Unit. Cantidad Total
{{ $item->name }}
${{ number_format($item->price, 2) }} {{ $item->quantity }} ${{ number_format($item->price * $item->quantity, 2) }}
No hay servicios registrados
@php $items = $cotizacion->items ?? [ (object)['price' => 500, 'quantity' => 1], (object)['price' => 100, 'quantity' => 1], (object)['price' => 100, 'quantity' => 1], (object)['price' => 250, 'quantity' => 1] ]; $subtotal = collect($items)->sum(function($item) { return $item->price * $item->quantity; }); $descuento = $cotizacion->descuento ?? 0; $impuesto_monto = ($cotizacion->impuestos ?? false) ? ($cotizacion->impuesto_monto ?? 0) : 0; $total = $cotizacion->monto_final ?? ($subtotal - $descuento + $impuesto_monto); @endphp
Subtotal: ${{ number_format($subtotal, 2) }}
@if($descuento > 0)
Descuento: -${{ number_format($descuento, 2) }}
@endif @if(($cotizacion->impuestos ?? false) && $impuesto_monto > 0)
Impuestos: ${{ number_format($impuesto_monto, 2) }}
@endif
Total:

${{ number_format($total, 2) }}

MXN

@if(isset($cotizacion->ComentariosEnCotizacion) && count($cotizacion->ComentariosEnCotizacion) > 0)
💬

Comentarios

@foreach($cotizacion->ComentariosEnCotizacion as $comentario)
{{ strtoupper(substr($comentario->categoria ?? 'C', 0, 1)) }}

{{ $comentario->texto }}

@if(isset($comentario->foto) && $comentario->foto)
Imagen del comentario
@endif

{{ isset($comentario->created_at) ? \Carbon\Carbon::parse($comentario->created_at)->locale('es')->isoFormat('D [de] MMMM [de] YYYY, h:mm A') : 'Fecha no disponible' }}

{{ $comentario->categoria ?? 'General' }}
@endforeach @endif