diff --git a/resources/views/livewire/panel-check-list.blade.php b/resources/views/livewire/panel-check-list.blade.php index f67388b..4099007 100644 --- a/resources/views/livewire/panel-check-list.blade.php +++ b/resources/views/livewire/panel-check-list.blade.php @@ -36,7 +36,7 @@ > --}} - + {{-- @php $status = $this->getCharacteristicStatus($record['id']); @endphp @@ -58,7 +58,57 @@ " placeholder="Enter value" > - + --}} + + + @php + $status = $this->getCharacteristicStatus($record['id']); + @endphp + + @if(($record['inspection_type'] ?? null) === 'Visual') + +
+ + + +
+ + @else + + + + @endif + @endforeach @@ -81,7 +131,7 @@ type="button" wire:click="saveChecklist" style="background-color:#16a34a; color:white;" - @disabled(!$this->canSaveChecklist()) + {{-- @disabled(!$this->canSaveChecklist()) --}} class="px-6 py-2 rounded-lg shadow-md disabled:opacity-50 disabled:cursor-not-allowed" > Save