{{ $package->customer_vip->title ?? '' }}
@if ($package->customer_vip->order ?? 0) {{ $package->customer_vip->order ?? 0 }} {{ __('message.order') }} @endif{{ $order_time ?? null }}
{{ __('message.finish') }}{{ $all_orders ?? 0 }}
{{ __('message.all') }}{{ ($all_orders ?? 0) - ($order_time ?? 0) }}
{{ __('message.not finished yet') }}
{{ __('message.order time') }}
{{ $order_time ?? 0 }}
{{ __('message.current store') }}
{{ $package_vip ?? null }}
{{ __('message.earn commission') }}
{{ isset($commission) ? $commission : '' }}
{{ __('message.amount of money that can be used') }}
{{ isset($credit_balance) ? $credit_balance : '0' }}
@if (count($products))
--}}
{{ __('message.price') }}:
{{--
{{__('message.commission')}}:
--}}
@endif
@endforeach
{{ __('message.products') }}
@endif @foreach ($products as $k => $val) @if (isset($product)) {{--{{ isset($product->product_title) ? $product->product_title : '-' }}
ยอดสั่งซื้อ
{{ isset($product->price) ? number_format($val->percentage_price,2) : '0.00' }} THB
กำไร
{{ isset($product->commission->price) ? number_format($product->commission->price,2) : '0.00' }} THB
{{ isset($product->product_title) ? $product->product_title : '-' }}
@for ($i = 1; $i <= 5; $i++)
@if ($i <= $product->rating_star)
★
@else
★
@endif
@endfor
{{-- @endif --}}