| {{ $row->name }} |
@foreach ($columns as $column)
@php
$color = $red[$column->id][$row->id] ?? null;
$style = '';
if ($color === 'red') {
$style = 'background-color: red; color: white;';
} elseif ($color === 'yellow') {
$style = 'background-color: yellow; color: black;';
} elseif ($color === 'green') {
$style = 'background-color: green; color: white;';
}
@endphp
@if (isset($scan[$column->id][$row->id]))
@endif
@if (isset($data[$column->id][$row->id]))
{{ $data[$column->id][$row->id] }}
@php $create = 0; @endphp
@endif
@if ($user == 'Admin')
@endif
|
@endforeach
@endforeach