@extends('admin.layouts.master') @section('title') @endsection @section('css') @include('admin.layouts.css') @endsection @section('body')
@if ($errors->any())
@endif

@foreach($siteStatistics as $statistic) @endforeach
# اسم الصفحة محتوى الصفحة العمليات
{{ $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) }}
@endsection @section('js') @include('admin.layouts.js') @endsection