@extends('admin.layouts.master') @section('title') @endsection @section('css') @include('admin.layouts.css') @endsection @section('body')
| # | اسم الصفحة | محتوى الصفحة | العمليات |
|---|---|---|---|
| {{ $loop->iteration }} | {{-- Check if it's already an array, if not then decode --}} {{ is_array($statistic->name_page) ? $statistic->name_page['ar'] : json_decode($statistic->name_page)->ar }} | {{-- Check if it's already an array, if not then decode --}} {{ is_array($statistic->value) ? Str::limit($statistic->value['ar'], 50) : Str::limit(json_decode($statistic->value)->ar, 50) }} |