@extends('front.themes.' . env('THEME', 'theme-01') . '.layout') @section('styles') @section('content')
@if(!empty($tempcart))

{{ __("THANK YOU FOR YOUR PURCHASE.") }}

@if($order->method == "Bank Deposit") @if(Auth::user()) id) }}" target="_blank">{{ __("Upload your payment receipt") }}

{{ __("You can access it later through your Dashboard.") }}

@else order_number) }}" target="_blank">{{ __("Upload your payment receipt") }}

{{ __("You can access it later through the link at the bottom of the page.") }}

@endif @endif @if($order->pay42_billet) {{-- --}} @endif

{{ __("We'll email you an order confirmation with details and tracking info.") }}

@if(Session::has('gateway_message'))

{{Session::get('gateway_message')}}

@endif @if(Session::has('gateway_url')) {{ (Session::has('gateway_url_title') ? Session::get('gateway_url_title') : __("Click Here")) }}
@endif @if(Session::has('pix_qrcode'))

PIX Copia e Cola (clique para copiar):


{{ session()->get('pix_copy_paste') }}


@endif @if(isset($pay42_qrcode))

PIX QR CODE {{__('Expire in: ')}} {{$order->pay42_due_date.' UTC'}}





@endif {{ __("Get Back To Our Homepage") }}

{{ __("Order#") }} {{$order->order_number}}

@include('includes.form-success')

{{ __("Order Date") }} {{date('d-M-Y',strtotime($order->created_at))}}

@if($order->dp == 1)
{{ __("Billing Address") }}
{{ __("Name:") }} {{$order->customer_name}}
{{ __("Email:") }} {{$order->customer_email}}
{{ __("Phone:") }} {{$order->customer_phone}}
{{ __("Address:") }} {{$order->customer_address}}
{{ $customer_doc_str }}: {{$order->customer_document}}
{{ __('State:') }} {{$order->customer_state}}
{{ __('City:') }} {{$order->customer_city}}
{{ __('Country:') }} {{$order->customer_country}}
{{ __('Zip:') }} {{$order->customer_zip}}
{{ __('Complement:') }} {{$order->customer_complement}}
{{ __("Payment Information") }}

{{ __("Paid Amount:") }} {{$order->currency_sign}}{{ number_format($order->pay_amount * $order->currency_value, $order_curr->decimal_digits, $order_curr->decimal_separator,$order_curr->thousands_separator) }}

{{ __("Payment Method:") }} {{$order->method}}

@if($order->method != "Cash On Delivery") @if($order->method=="Stripe") {{$order->method}} {{ __("Charge ID:") }}

{{$order->charge_id}}

@endif {{$order->method}} {{ __("Transaction ID:") }}

{{$order->txnid}}

@endif
@else
@if($order->shipping == "shipto")
{{ __("Shipping Address") }}
{{ __("Name:") }} {{$order->shipping_name == null ? $order->customer_name : $order->shipping_name}}
{{ __("Email:") }} {{$order->shipping_email == null ? $order->customer_email : $order->shipping_email}}
{{ __("Phone:") }} {{$order->shipping_phone == null ? $order->customer_phone : $order->shipping_phone}}
{{ __("Address:") }} {{$order->shipping_address == null ? $order->customer_address : $order->shipping_address}}
{{ $customer_doc_str }}: {{$order->shipping_document == null ? $order->customer_document : $order->shipping_document}}
{{ __('State:') }} {{$order->shipping_state == null ? $order->customer_state : $order->shipping_state}}
{{ __('City:') }} {{$order->shipping_city == null ? $order->customer_city : $order->shipping_city}}
{{ __('Country:') }} {{$order->shipping_country == null ? $order->customer_country : $order->shipping_country}}
{{ __('Zip:') }} {{$order->shipping_zip == null ? $order->customer_zip : $order->shipping_zip}}
{{ __('Complement:') }} {{$order->shipping_complement == null ? $order->customer_complement : $order->shipping_complement}}
@else
{{ __("PickUp Location") }}
{{ __("Address:") }} {{$order->pickup_location}}
@endif
{{ __("Shipping Method") }}
@if($order->shipping == "shipto")

{{ __("Ship To Address") }}

@else

{{ __("Pick Up") }}

@endif

{{ $order->shipping_type }}: {{$order->currency_sign}}{{ number_format($order->shipping_cost * $order->currency_value, $order_curr->decimal_digits, $order_curr->decimal_separator,$order_curr->thousands_separator) }}
{{ $order->packing_type }}: {{$order->currency_sign}}{{ number_format($order->packing_cost * $order->currency_value, $order_curr->decimal_digits, $order_curr->decimal_separator,$order_curr->thousands_separator) }}

@if ($order->puntoentrega != null)
{{ __("Delivery point") }}

{{$order->puntoentrega}}

@endif
{{ __("Order Note") }}

{{ $order->order_note }}

{{ __("Billing Address") }}
{{ __("Name:") }} {{$order->customer_name}}
{{ __("Email:") }} {{$order->customer_email}}
{{ __("Phone:") }} {{$order->customer_phone}}
{{ __("Address:") }} {{$order->customer_address}}
{{ $customer_doc_str }}: {{$order->customer_document}}
{{ __('State:') }} {{$order->customer_state}}
{{ __('City:') }} {{$order->customer_city}}
{{ __('Country:') }} {{$order->customer_country}}
{{ __('Zip:') }} {{$order->customer_zip}}
{{ __('Complement:') }} {{$order->customer_complement}}
{{ __("Payment Information") }}

@if($order->coupon_discount != 0) {{ __('Discount:') }} {{$order->currency_sign}}{{ number_format($order->coupon_discount * $order->currency_value, $order_curr->decimal_digits, $order_curr->decimal_separator,$order_curr->thousands_separator) }}
@endif {{ __("Paid Amount:") }} {{$order->currency_sign}}{{ number_format($order->pay_amount * $order->currency_value, $order_curr->decimal_digits, $order_curr->decimal_separator,$order_curr->thousands_separator) }}
@if($order->pay42_exchange_rate)

{{ $first_curr->sign.' '.__('Total to be paid:') }} {{$first_curr->sign}}{{ number_format($order->pay42_total, $first_curr->decimal_digits, $first_curr->decimal_separator,$first_curr->thousands_separator) }}
{{__('Pay42 exchange rate: ').$order->pay42_exchange_rate}}

@else {{ $first_curr->sign.' '.__('Total:') }} {{$first_curr->sign}}{{ number_format($order->pay_amount, $first_curr->decimal_digits, $first_curr->decimal_separator,$first_curr->thousands_separator) }}
@endif

{{ __("Payment Method:") }} {{$order->method}}

@if($order->method != "Cash On Delivery") @if($order->method=="Stripe") {{$order->method}} {{ __("Charge ID:") }}

{{$order->charge_id}}

@endif @if($order->method=="Paypal") {{$order->method}} {{ __("Transaction ID:") }}

{{ isset($_GET['tx']) ? $_GET['tx'] : '' }}

@elseif($order->method!="Paghiper") {{$order->method}} {{ __("Transaction ID:") }}

{{$order->txnid}}

@endif @endif @if($order->method == "Paghiper" && $gs->paghiper_is_discount) {{$order->method}} {{ __("Discount:") }} {{ $gs->paghiper_discount }}% @endif @if($order->method=="Bank Deposit")
@foreach($bank_accounts as $bank_account)
  • {{strtoupper($bank_account->name)}}
  • {!!nl2br(str_replace(" ", "  ", $bank_account->info))!!}
@endforeach
@endif
@endif

{{ __("Ordered Products:") }}

@foreach($tempcart->items as $product) @endforeach
{{ __("Name") }} {{ __("Details") }} {{ __("Price") }} {{ __("Total") }}
{{ $product['item']['name'] }}
@php $prod = App\Models\Product::find($product['item']['id']); @endphp @if(isset($prod))

{{ __('Product SKU') }} - {{$prod->sku}}

{{ __('Reference Code') }} - {{$prod->ref_code}}

@endif
{{ __("Quantity") }}: {{$product['qty']}}
@if(!empty($product['size'])) {{ __("Size") }}: {{ $product['item']['measure'] }}{{str_replace('-',' ',$product['size'])}}
@endif @if(!empty($product['color']))
{{ __("Color") }}:
@endif @if(!empty($product['material']))
{{ __("Material") }}: {{ $product['material'] }}
@endif @if(env("ENABLE_CUSTOM_PRODUCT")) @if(!empty($product['customizable_name']) || !empty($product['customizable_gallery']) || !empty($product['customizable_logo']) ) {{__("Contains customizable items")}} @endif @endif @if(env("ENABLE_CUSTOM_PRODUCT_NUMBER")) @if(!empty($product['customizable_name']) || !empty($product['customizable_number'])) {{__("Contains customizable items")}} @endif @endif @if(!empty($product['keys'])) @foreach( array_combine(explode(',', $product['keys']), explode('~', $product['values'])) as $key => $value) {{ App\Models\Attribute::where('input_name', $key)->first()->name }} : {{ $value }}
@endforeach @endif
{{$order->currency_sign}}{{number_format($product['item']['price'] * $order->currency_value, $order_curr->decimal_digits, $order_curr->decimal_separator,$order_curr->thousands_separator)}}
{{$first_curr->sign}}{{ number_format($product['item']['price'], $first_curr->decimal_digits, $first_curr->decimal_separator,$first_curr->thousands_separator) }}
{{$order->currency_sign}}{{number_format($product['price'] * $order->currency_value, $order_curr->decimal_digits, $order_curr->decimal_separator,$order_curr->thousands_separator)}}
{{$first_curr->sign}}{{ number_format($product['price'], $first_curr->decimal_digits, $first_curr->decimal_separator,$first_curr->thousands_separator) }}
@endif
@endsection @section('scripts') @endsection