{{-- the rows of the activity history (slice 7, PRD پ۷: «عامل، چه وقت، چه چیزی، از چه به چه»), from App\History\ActivityWords; rendered here only — by the history page and by the «تاریخچه» card of a product and of a customer. a LIST, not a wide table, so it reads at 375 without sideways scrolling (owner plan question 8). each row: what was done, by which actor (a colleague by name, linked), when to the second, a short summary, every «از … به …» pair (a long text in a closed
, never cut), the reason when there is one, and a link to the subject. --}}
    @foreach ($rows as $row)
  1. {{ $row['what'] }} {{ $row['actor'] }}@if ($row['actorName'] !== null): {{ $row['actorName'] }}@endif

    {{ $row['when'] }}

    @if ($row['summary'] !== null)

    {{ $row['summary'] }}

    @endif @if ($row['changes'] !== [])
      @foreach ($row['changes'] as $change)
    • @if ($change['long'])
      {{ $change['label'] }} عوض شد (متن کامل)

      از: {{ $change['from'] }}

      به: {{ $change['to'] }}

      @else {{ $change['label'] }}: {{ $change['from'] }} به {{ $change['to'] }} @endif
    • @endforeach
    @endif @if ($row['reason'] !== null)

    دلیل یا توضیح: {{ $row['reason'] }}

    @endif @if ($row['link'] !== null) {{ $row['link']['label'] }} @endif
  2. @endforeach