Mis compras

@if (count($shopping) > 0) @foreach ($shopping as $row)

Pedido #{{ $row->id }}

Ordenado {{ date('d-m-Y h:i A', strtotime($row->created_at)) }}

@if ($row->status_id == 12)

Validando costo de Envío

@endif

Estatus

    @if ( $row->status_id == 10 || $row->status_id == 12 || $row->status_id == 15 || $row->status_id == 16 || $row->status_id == 24)
  1. {{ $row->status->name }}

  2. Enviado

  3. Finalizado

  4. @elseif($row->status_id == 11) {{ $row->status->name }} @elseif($row->status_id == 13) {{ $row->status->name }} @elseif($row->status_id == 14) {{ $row->status->name }} @elseif($row->status_id == 17)
  5. Pagado

  6. Enviado

  7. Finalizado

  8. @elseif($row->status_id == 18)
  9. Pagado

  10. Enviado

  11. Finalizado

  12. @endif
@if (!is_null($row->guide_one) || !is_null($row->guide_two))
@if (!is_null($row->guide_one))

Puede visitar su guía de rastreo haciendo click al enlace

{{ $row->guide_one }} @endif @if (!is_null($row->guide_two)) •Guía de rastreo 2: {{ $row->guide_two }} @endif
@endif @if ($row->invoice == 1)

Datos de facturación

Nombre {{ $row->data_invoice->full_name }} Correo {{ $row->data_invoice->email }} Teléfono {{ $row->data_invoice->phone }} RFC {{ $row->data_invoice->rfc }} CFDI {{ $row->data_invoice->CFDICatalog->key }} - {{ $row->data_invoice->CFDICatalog->description }}
@endif

Dirección

Calle principal {{ $row->address_purchase->address->main_street }} Entre calles {{ $row->address_purchase->address->between_streets }} Código postal {{ $row->address_purchase->address->zip_code }} Colonia {{ $row->address_purchase->address->neighborhood }} Referencias {{ $row->address_purchase->address->reference }}

Productos

@foreach ($row->product_price_purchases as $item)
{{ $item->product_price->product->image() }}

{{ is_null($item->product_price->product->name) ? '' : $item->product_price->product->name . ' - ' }} {{ $item->product_price->product->category->name }} ({{ $item->product_price->product->contents }} {{ $item->product_price->product->measurement_unit->code }})

${{ number_format($item->product_price->price, 2) }}

{{ $item->quantity }} unidad(es)
{{-- PRODUCTO --}} @endforeach

Envío: ${{ number_format($row->shipping, 2) }}

Total: ${{ number_format($row->total(), 2) }}

@if ($row->status_id == 24)

Fecha limite de pago {{ date('d-m-Y', strtotime($row->payment_date)) }}

Pagar @endif
@endforeach
@if ($modalOpen) @endif
@else

Sin compras actuales

@endif