@php use App\Enums\ElementType; use App\Enums\Status; use App\Enums\NewsElementDefault; use App\Enums\Boolean; use App\Enums\MultiLangMode; $noticePage = $project->noticePage->noticeElements ->filter(function ($val) { return $val->element_type == ElementType::DEFAULT && $val->default_element_type == NewsElementDefault::NEW_LIST && $val->status == Boolean::TRUE; }) ->first(); $index = 0; @endphp @if ($noticePage && $notices)
$project->point_color]) !!}>NEWS
@if ($lang == MultiLangMode::DEFAULT)
お知らせ
@endif @if ($lang == MultiLangMode::CHINESE_SIMPLIFIED)
注意
@endif @if ($lang == MultiLangMode::CHINESE_TRADITIONAL)
注意
@endif
@foreach ($notices[$lang] as $notice) @if ($index < 10)
Notice: Undefined variable: index in /var/www/html/spaceagent/micadolayout-access/resources/views/preview/ibis/defaults/tops/newsContent.blade.php on line 34
{!! fieldPropertyValue('date', $notice) !!}
{!! setTextDefault(fieldPropertyValue('title', $notice)) !!} {!! setTextDefault(fieldPropertyValue('title_sp', $notice)) !!}
@endif @endforeach
@endif