@extends('adminlte::page') @section('title', 'Mostrando compra') @section('content')
{{ $purchase->email }}
{{ $purchase->full_name }}
{{ $purchase->phone_number }}
{{ $purchase->user_type }}
{{ $purchase->business_name ?? 'Sin razon social' }}
{{ $purchase->rfc ?? 'Sin RFC' }}
{{ $purchase->cfdi ?? 'No especifico CFDI' }}
{{ $purchase->shipment->shipment_type }}
{{ $purchase->full_billing_address }}
{{ $purchase->full_address }}
{{ $purchase->aditional_notes ?? 'No especifico notas adicionales' }}
{{ $purchase->purchase_order ?? 'No agrego orden de compra' }}
{{ $purchase->openpay_id }}
{{ $charge->customer_id }}
{{ $charge->status }}
{{ $charge->serializableData['amount'] }} {{ $charge->currency }}
{{ $charge->creation_date }}
{{ $purchase->updated_at }}
status->id == 5) class="text-success" @endif @if ($purchase->status->id == 6) class="text-danger" @endif @if ($purchase->status->id == 7) class="text-info" @endif> {{ $purchase->status->purchase_status }}
| Producto @if (Auth::guard('admin')->check()) / Tamaño @endif | Total @if (Auth::guard('admin')->check()) / Detalles @endif |
|---|---|
| {{ $productPurchased->product->model }}({{ $productPurchased->instance->attributes->first()->display_name }}) x{{ $productPurchased->quantity }} | ${{ $productPurchased->total }} |
| {{ $productPurchased->weight ?? '1' }}kg | {{ $productPurchased->length ?? '20' }}cm x {{ $productPurchased->width ?? '20' }}cm x {{ $productPurchased->height ?? '20' }}cm |
| {{ $productPurchased->product->product_file }} | @endif|
| Total en el carrito: $ {{ $purchase->total_cart_amount }} | |
| Subtotal: $ {{ $purchase->subtotal }} | |
{{ $purchase->shipment->shipment_type }}
Se pidio envio al cliente
{{ $purchase->shipment_selected }}
{{ $purchase->shipment_description }}
{{ $purchase->shipment_cost == 0 ? $purchase->shipment_comments : '$' . number_format($purchase->shipment_cost, 2, '.', ',') }}
{{ $purchase->tracking_carrier }}
{{ $purchase->tracking_number }}
{{ $purchase->tracking_url }}