@extends('layouts.admin') @section('content')
{{ __('Products of Cart Abandonment') }} #{{ $id }}
@php $subtotal = 0; $tax = 0; @endphp @foreach ($cart->items as $product) @php $subtotal += round($product['price'] * $order_curr->value, 2); @endphp @endforeach
{{ __('Product') }} {{ __('Details') }} {{ __('Total') }}
@if ($product['item']['user_id'] != 0) @php $user = App\Models\User::find($product['item']['user_id']); @endphp @if (isset($user)) {{ $product['item']['name'] }} @else {{ $product['item']['name'] }} @endif @else {{ $product['item']['name'] }} @endif @if ($product['size'])

Size : {{ str_replace('-', ' ', $product['size']) }}

@endif @if ($product['color'])

{{ __('Color') }} :

@endif

{{ __('Price') }} : {{ $order_curr->sign }}{{ number_format( $product['item']['price'] * $order_curr->value, $order_curr->decimal_digits, $order_curr->decimal_separator, $order_curr->thousands_separator, ) }}

{{ $first_curr->sign . ' ' . __('Price') }} : {{ $first_curr->sign }}{{ number_format( $product['item']['price'], $first_curr->decimal_digits, $first_curr->decimal_separator, $first_curr->thousands_separator, ) }}

{{ __('Qty') }} : {{ $product['qty'] }} {{ $product['item']['measure'] }}

{{ $order_curr->sign }}{{ number_format( $product['price'] * $order_curr->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, ) }}
{{-- DELETE MODAL ENDS --}} @endsection