@extends('layouts.admin') @section('title', 'ဆောင်းပါးအသေးစိတ်ပုံစံ') @section('content')

ဆောင်းပါးအသေးစိတ်ပုံစံ

@include('admins.partials.breadcrumbs')
အသေးစိတ်ပုံစံ

တုံ့ပြန်မှုများ {{ $article->reactions->count() }}

@if($article->reactions->count() > 0) @foreach ($article->reactions as $key => $value)
User Image

@if (!empty($value->user->name)) {{ $value->user->name }} @else {{ $value->user->phone }} @endif @if (!$value->reaction) @else @endif {{ getPastTimeTaken(date('Y-m-d H:i:s'), $value->created_at) }}

@endforeach @else

No Reactions found!

@endif

{{ $article->title }}

စာရေးသူ - {{ $article->authorInfo->name }} {{ date('h:i A - d/M/Y', strtotime($article->created_at)) }}
{{ $article->category->name }}
@if(!empty($article->tags())) @foreach ($article->tags() as $key => $value) {{ $value['value'] }} @endforeach @endif

မှတ်ချက်များ {{ $article->comments->count() }}

@if($article->comments()->count() > 0) @foreach ($article->rootComments as $key => $value)
@if(!empty($value->user)) @if (!empty($value->user->name)) {{ $value->user->name }} @else {{ $value->user->phone }} @endif @elseif(!empty($value->admin)) {{ $value->admin->name }} @endif {{ getPastTimeTaken(date('Y-m-d H:i:s'), $value->created_at) }}
@if(!empty($value->admin)) message user image @elseif(!empty($value->user)) message user image @endif
{{ $value->comment }}
Reply @if($value->replies()->count() > 0) @foreach ($value->replies as $rKey => $rValue)
@if(!empty($rValue->user)) @if (!empty($rValue->user->name)) {{ $rValue->user->name }} @else {{ $rValue->user->phone }} @endif @elseif(!empty($rValue->admin)) {{ $rValue->admin->name }} @endif {{ getPastTimeTaken(date('Y-m-d H:i:s'), $rValue->created_at) }}
@if(!empty($rValue->admin)) message user image @elseif(!empty($rValue->user)) message user image @endif