No articles found
Check back later for updates.
@php use App\Models\Backend\ContentArticle; use App\Models\Backend\Ref; $code = request()->query('id'); $detailArticle = $code ? ContentArticle::with('translations') ->where('article_code', $code) ->where('article_status', 'ACTIVE') ->first() : null; @endphp @if($detailArticle) @php $t = $detailArticle->translations->first(); $title = $t?->article_translation_title ?? 'Untitled'; $content = $t?->article_translation_content ?? ''; $catDescr = Ref::where('cat', 'ARTICLE_CAT')->where('code', $detailArticle->article_category)->value('descr') ?? $detailArticle->article_category; $date = $detailArticle->article_date ? \Carbon\Carbon::parse($detailArticle->article_date)->format('d M Y') : ''; $isFullWidth = true; @endphp @if($isFullWidth)
Latest updates, publications and news from REDD+ Malaysia.
Check back later for updates.