@extends('user.layout') @php $selLang = \App\Models\User\Language::where('code', request()->input('language'))->first(); $userLanguages = \App\Models\User\Language::where('user_id', Auth::guard('web')->user()->id)->get(); @endphp @if (!empty($selLang) && $selLang->rtl == 1) @section('styles') @endsection @endif @section('content')
{{ __('Title') }} | {{ __('Price') }} (@if (!empty($userBs->base_currency_symbol)) {{ $userBs->base_currency_symbol }} @endif) | {{ __('Type') }} | {{ __('Variations') }} | {{ __('Category') }} | {{ __('Stock') }} | @if ( $userBs->theme != 'home_nine' && $userBs->theme != 'home_ten' && $userBs->theme != 'home_eleven' && $userBs->theme != 'home_twelve'){{ __('Featured') }} | @endif @if ($userBs->theme == 'home_eight'){{ __('Special Offers') }} | @endif{{ __('Flash') }} | {{ __('Actions') }} | |
---|---|---|---|---|---|---|---|---|---|---|
{{ strlen($item->title) > 30 ? mb_substr($item->title, 0, 30, 'utf-8') . '...' : $item->title }} | {{ $item->current_price }} | {{ $item->type }} | @if ($item->type == 'physical') {{ __('Manage') }} @else {{ __('digital item') }} @endif | {{ convertUtf8($item->category ? $item->category : '') }} | @php $variations = App\Models\User\UserItemVariation::where('item_id', $item->item_id) ->where('language_id', $lang->id) ->get(); if (count($variations) == 0) { $variations = null; } $isFlash = App\Http\Helpers\CheckFlashItem::isFlashItem($item->item_id); @endphp @if ($item->type == 'physical' && empty($variations)) {{ $item->stock }} @elseif(!empty($variations)) {{ __('check variations') }} @else {{ __('digital item') }} @endif | @if ( $userBs->theme != 'home_nine' && $userBs->theme != 'home_ten' && $userBs->theme != 'home_eleven' && $userBs->theme != 'home_twelve')@endif @if ($userBs->theme == 'home_eight') | @endif | @if ($isFlash) Edit @endif |
|