HEX
Server: Microsoft-IIS/8.5
System: Windows NT YDAWBH120 6.3 build 9600 (Windows Server 2012 R2 Standard Edition) AMD64
User: tentjecom_web (0)
PHP: 7.4.14
Disabled: NONE
Upload Files
File: D:/HostingSpaces/SBogers68/ouddorp-duin.nl/workbench/komma/kms/src/views/attributes/table.blade.php
<div class="entity-attribute entity-attribute-table{{{ count($attribute->errors) == 0 ? '' : ' error' }}} {{{$attribute->class}}} @if( !$attribute->show || ($attribute->show === 'admin' && !\Auth::user()->get()->is_admin) ) hidden @endif photo " ng-controller="KmsAttributeSelectController">

    {{ Form::label($attribute->key, $attribute->label) }}

    <div class="content">
        @if($attribute->getData())
        <table>
            <tr>
                @foreach(array_keys($attribute->getData()[0]) as $key)
                    <th>{{ $key }}</th>
                @endforeach
            </tr>
            @foreach($attribute->getData() as $dataObject)
                <tr>
                    @foreach(array_keys($dataObject) as $key)
                        <td>{{ $dataObject[$key] }}</td>
                    @endforeach
                </tr>
            @endforeach
        </table>
        @else
        <table>
            <tr><td>{{Config::get('kms::'.$lang.'/translations.noData')}}</td></tr>
        </table>
        @endif
    </div>

</div>