@extends('vendors.layout') {{-- this style will be applied when the direction of language is right-to-left --}} @includeIf('admin.partials.rtl_style') @section('content')
{{ __('Featured Image') }} | {{ __('Title') }} | @if (count($charges) > 0){{ __('Featured Status') }} | @endif{{ __('Category') }} | {{ __('Approve Status') }} | {{ __('Hide/Show') }} | {{ __('Actions') }} | |
---|---|---|---|---|---|---|---|
@if (!empty($listing_content))
|
@if (!empty($listing_content)) {{ strlen(@$listing_content->title) > 50 ? mb_substr(@$listing_content->title, 0, 50, 'utf-8') . '...' : @$listing_content->title }} @else -- @endif | @if (count($charges) > 0)
@php
$order_status = App\Models\FeatureOrder::where('listing_id', $listing->id)->first();
$today_date = now()->format('Y-m-d');
@endphp
@if (is_null($order_status))
@endif
@if ($order_status)
@if ($order_status->order_status == 'pending')
{{ ucfirst('pending') }}@endif @if ($order_status->order_status == 'completed') @if ($order_status->end_date < $today_date) @else{{ ucfirst('Active') }}@endif @endif @if ($order_status->order_status == 'rejected') @endif @endif |
@endif
@if (!empty($listing_content)) @php $categoryName = App\Models\ListingCategory::where( 'id', $listing_content->category_id, )->first(); @endphp {{ @$categoryName->name }} @else -- @endif |
@if ($listing->status == 1)
{{ __('Approved') }}@elseif($listing->status == 2){{ __('Rejected') }}@else{{ __('Pending') }}@endif |
@if ($current_package == '[]')
@else
|
||