@extends('main') @section('content')
@csrf

{{ $title }}

@if (isset($tabs)) @if ($tabs > 0)
@endif @else

{{ $title }}

@endif
{{ (Session::has("error_message")) ? Session::get("error_message") : "" }}
{{ (Session::has("success_message")) ? Session::get("success_message") : "" }}
@if (empty($hide_simple_search))
@endif

@php $isSingle = "FALSE"; @endphp @foreach ($action as $action_menu) {!! getActionButton($action_menu->name, $action_menu->url, $action_menu->icon) !!} @php $var = explode("|", $action_menu->icon); @endphp @if ($var[0] == "single-modal") @php $isSingle = "TRUE"; @endphp @endif @endforeach @if (!empty($SHR_ModuleId)) @else @endif @if (!empty($adv_search)) @endif

@foreach ($table_header as $header) @endforeach @if (count($select) == 0) @else @php ($No = 0) @endphp @foreach ($select as $rs) @foreach ($table_header as $row) @php ($field = $row["name"]) @endphp @endforeach @php $No = $No + 1 @endphp @endforeach @endif
{{ $header["label"] }}
No data found (0)
@if ($row["item-format"] == "number") {{ number_format($rs->$field, 0) }} @elseif ($row["item-format"] == "flag") {!! getLabelFlag($rs->$field) !!} @elseif ($row["item-format"] == "checkbox") @else {{ $rs->$field }} @endif
{!! $pagging !!}
@if (empty($query)) No data found | (0) data @else Found ({{$record}}) rows @endif
@if (!empty($fields_modal)) @endif
@stop