@extends('layouts.app') @section('custom_style') @endsection @section('content')

Finalizar compra

Comprueba tus datos o rellena estos formularios para continuar con el pago

@csrf
{{-- User data form --}}

Tus datos

@auth @endauth @guest
@if ($errors->has('email')) {{ $errors->first('email') }} @endif
@endguest
@if ($errors->has('first_name')) {{ $errors->first('first_name') }} @endif
@if ($errors->has('last_name')) {{ $errors->first('last_name') }} @endif
@if ($errors->has('phone_number')) {{ $errors->first('phone_number') }} @endif
{{-- Addresses form --}}

Tu dirección de facturación

@if ($errors->has('business_name')) {{ $errors->first('business_name') }} @endif
@if ($errors->has('rfc')) {{ $errors->first('rfc') }} @endif
@if ($errors->has('address')) {{ $errors->first('address') }} @endif
@if ($errors->has('number_address')) {{ $errors->first('number_address') }} @endif
@if ($errors->has('interior_number')) {{ $errors->first('interior_number') }} @endif
@if ($errors->has('city')) {{ $errors->first('city') }} @endif
@if ($errors->has('state')) {{ $errors->first('state') }} @endif
@if ($errors->has('colony')) {{ $errors->first('colony') }} @endif
@if ($errors->has('postcode')) {{ $errors->first('postcode') }} @endif
@if ($errors->has('references')) {{ $errors->first('references') }} @endif
@if ($errors->has('cfdi')) {{ $errors->first('cfdi') }} @endif
{{-- Extra address --}}
@if ($errors->has('extra_address')) {{ $errors->first('extra_address') }} @endif
@if ($errors->has('extra_number_address')) {{ $errors->first('extra_number_address') }} @endif
@if ($errors->has('extra_interior_number')) {{ $errors->first('extra_interior_number') }} @endif
@if ($errors->has('extra_city')) {{ $errors->first('extra_city') }} @endif
@if ($errors->has('extra_state')) {{ $errors->first('extra_state') }} @endif
@if ($errors->has('extra_colony')) {{ $errors->first('extra_colony') }} @endif
@if ($errors->has('extra_postcode')) {{ $errors->first('extra_postcode') }} @endif
@if ($errors->has('extra_references')) {{ $errors->first('extra_references') }} @endif
@if ($errors->has('aditional_notes')) {{ $errors->first('aditional_notes') }} @endif @if (isset($user) && $user->iam_profile_id == 2)
Extensiones permitidas: pdf|max:4MB
@if ($errors->has('purchase_order')) {{ $errors->first('purchase_order') }}. Vuelve a ingresar la orden @endif @endif
{{-- /col-8 --}}

Tu pedido

{{-- I mean with this variable in the shopping cart, there must be products, right? --}} @foreach ($products as $product) @endforeach
Producto Nivel Ubicación Total
{{ $product->productInstance->product->model }} ({{ $product->productInstance->product->display_name }}) x{{ $product->quantity }} {{ $product->productInstance->attributes->first()->display_name }} @if ($product->productInstance->product->iam_vendor_id) Marketplace @else @if ($product->productInstance->product->type->id == 1) {{ $product->productInstance->store->store_name }} @if ($product->productInstance->free_shipping)

Con envío gratis

@endif @else Producto digital @endif @endif
$ {{ number_format($product->total, 2, '.', ',') }} MXN
@if ($shipmentTypes) @else @endif
Tipo de envio
@foreach ($shipmentTypes as $key => $shipment)
id ? 'checked' : '' }}>
@endforeach @if ($errors->has('type_shipment')) {{ $errors->first('type_shipment') }} @endif
Tu compra es 100% digital
@if ($freeShipmentProducts == $products->count())
Tu envio es 100% gratuito.
@else {{-- @if ($productsmarketplace == $products->count()) Has seleccionado productos de marketplace, los precios de envio quedan a cargo del vendedor @else --}} {{-- Here only contain the summary for the shipment --}} {{-- @endif --}} @endif

Subtotal: $ {{ number_format($user->totalCart->totalCartAmount, 2, '.', ',') }} MXN




{{--

Por ahora solo contamos pago por transferencia

--}}

Sus datos personales se utilizarán para procesar su pedido, respaldar su experiencia en este sitio web y para otros fines descritos en nuestra política de privacidad.

{{-- /col-4 --}}
{{-- Select a carrier option modal --}} @endsection @section('custom_script') @vite('resources/js/checkout/validationsCheckout.js') @vite('resources/js/checkout/shipmentValidations.js') @endsection