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/SBogers10/vebon.komma.pro/storage/framework/views/a098e8dd36ffd34a0ca8800e09710fe1
<table width="100%" cellspacing="0" cellpadding="0" border="0" style="">
    <tr>
        <th align="left"><?php echo app('translator')->get('kms/members.audit_year'); ?></th>
        <th align="left"><?php echo app('translator')->get('kms/members.auditor'); ?></th>
        <th align="left"><?php echo app('translator')->get('kms/members.status'); ?></th>
        <th align="left"><?php echo app('translator')->get('kms/members.approval_date'); ?></th>
        <?php if(Auth::user()->get()->role != 4): ?>
            <th align="left"><?php echo app('translator')->get('kms/members.incidentDeclaration'); ?></th>
        <?php endif; ?>
    </tr>
    <?php foreach($audits as $audit): ?>
        <tr>
            <td><?php echo $audit->year; ?></td>
            <?php if(isset($audit->auditor)): ?>
                <td><?php echo $audit->auditor->first_name . ' ' . $audit->auditor->last_name; ?></td>
            <?php else: ?>
                <td><?php echo app('translator')->get('kms/members.audit.no_auditor'); ?></td>
            <?php endif; ?>
            <td><?php echo app('translator')->get('kms/members.audit.status.'.$audit->status); ?></td>
            <td>
                <?php if($audit->status == $audit::$closed || $audit->status == $audit::$reviewedInPractice): ?>
                    <?php echo \KommaHelper::localize_date($audit->updated_at, 'd-m-Y'); ?>

                <?php else: ?>
                    -
                <?php endif; ?>
            </td>
            <?php if(Auth::user()->get()->role != 4): ?>
                <td>
                    <?php if($audit->incidentDocumentGroup): ?>
                        <?php echo HTML::linkRoute('kms.download', 'Download', ['type'=> 'documentGroup', 'id'=> $audit->incidentDocumentGroup->id]); ?>

                    <?php else: ?>
                        -
                    <?php endif; ?>
                </td>
            <?php endif; ?>
        </tr>
    <?php endforeach; ?>
</table>