@extends('layouts.backend') @section('extraCss') @endsection @section('mainContentArea')

Manage Articles Add new Article

@csrf
Filter
@if ($errors->has('fromdate')) {{ $errors->first('fromdate') }} @endif
@if ($errors->has('todate')) {{ $errors->first('todate') }} @endif
View Draft Article Regenerate Thumbnail Regenerate Tags



@if($articles->count() > 0) @foreach($articles as $article) @php $color = ($article->content_approved == '1') ? 'green' : '' ; $articleimg = \App\ArticleImg::where('code',preg_replace('#[^\w()/.%\-&]#',"",$article->code))->whereIn('sort_order',array(1,0))->orderby('id', 'desc')->first(); $images = empty($articleimg->imgname) || $articleimg->imgname == 'NULL' ? 'https://via.placeholder.com/100x100.png?text=No Photo' : asset('/uploads/articles/photos/full/'.$articleimg->imgname); @endphp @endforeach @else @endif
HSN Name Code Section Brand Season Designer Action
{{ !empty($article->hsn) ? $article->hsn->code : 'N/A' }} {{ $article->name }} {{ $article->code }} {{ empty($article->category->name) ? 'N/A' : $article->category->name }} {{ empty($article->brand->name) ? 'N/A' : $article->brand->name }} {{ empty($article->season->name) ? 'N/A' : $article->season->name }} {{ empty($article->designer->name) ? 'N/A' : $article->designer->name }} Modify @if($article->is_active == 0) Activate @else Deactivate @endif Approval
No product found!
{!! $articles->appends(Request::all())->links() !!}
@endsection @section('extraJs') @endsection