@php $tab = 'review'; /** @var \App\Tables\Changeset $changeset */ /** @var \App\Models\Table $table */ $numChangedRows = count($changeset->rowUpdates); $numNewRows = count($changeset->newRows); $numRemovedRows = count($changeset->removedRows); $anyRowChanges = $numChangedRows || $numNewRows || $numRemovedRows; $numChangedColumns = count($changeset->columnUpdates); $numNewColumns = count($changeset->newColumns); $numRemovedColumns = count($changeset->removedColumns); $colsReordered = !empty($changeset->columnOrder); $anyColChanges = $numChangedColumns || $numNewColumns || $numRemovedColumns || $colsReordered; $anyChanges = ($anyRowChanges || $anyColChanges) && strlen(trim($changeset->note)) > 0; @endphp @extends('table.propose.layout') @section('tab-content')