@extends('layouts.front') @section('content')
{{ __('Ship To Address') }}
@else{{ __('Pick Up') }}
@endif@lang('ID#') | @lang('Product Name') | @lang('Details') | @lang('Unit Price') | @lang('Total Price') |
---|---|---|---|---|
{{ $product['item']['id'] }} |
@if ($product['item']['user_id'] != 0)
@php
$user = App\Models\User::find($product['item']['user_id']);
@endphp
@if (isset($user))
{{ mb_strlen($product['item']['name'], 'UTF-8') > 50
? mb_substr($product['item']['name'], 0, 50, 'UTF-8') . '...'
: $product['item']['name'] }}
@else
{{ mb_strlen($product['item']['name'], 'UTF-8') > 50
? mb_substr($product['item']['name'], 0, 50, 'UTF-8') . '...'
: $product['item']['name'] }}
@endif
@else
{{ mb_strlen($product['item']['name'], 'UTF-8') > 50
? mb_substr($product['item']['name'], 0, 50, 'UTF-8') . '...'
: $product['item']['name'] }}
@endif
@if ($product['item']['type'] != 'Physical')
@if ($order->payment_status == 'Completed')
@if ($product['item']['file'] != null)
{{ __('Download') }}
@else
{{ __('Download') }}
@endif
@if ($product['license'] != '')
{{ __('View License') }}
@endif
@endif
@endif
Licenes key: ...
|
|
{{ \PriceHelper::showCurrencyPrice($product['item_price'] * $order->currency_value) }} | {{ \PriceHelper::showCurrencyPrice($product['price'] * $order->currency_value) }} {{ $product['discount'] == 0 ? '' : '(' . $product['discount'] . '% ' . __('Off') . ')' }} |