@php $userType = \App\Helpers\Helpers::getUserRole()->type_id ?? []; $userAccess = \App\Helpers\Helpers::getUserAccess() ?? []; $access = $userAccess['accesses'] ?? []; @endphp @extends('layout.master') @section('content')
{{--
--}}
@if (!empty($block_data) && count($block_data) > 0) @foreach ($block_data as $block) @endforeach @endif
Sl No. Block Unit Action
{{ str_pad($loop->index + 1, 3, '0', STR_PAD_LEFT) }} {{ $block->block_number ?? '-' }} @if (!empty($block->units) && count($block->units) > 0) @foreach ($block->units as $unit) {{ $unit->unit }} , @endforeach @else @endif
@push('scripts') @endpush @endsection