@extends('layouts.pro-logged-in')
@section('content')

    <h3 class="d-flex mb-3">
        <div>Action Items: List</div>
        <div class="ml-auto">
            <!-- _ADD_NEW_LINK_ -->
        </div>
    </h3>

    <div class="table-responsive p-0 bg-white border">
        <table class="table table-hover text-nowrap">
            <thead>
            <tr>
<th>Id</th>
<th>Action Item Category</th>
<th>Content Detail</th>
<th>Content Text</th>
<th>Is Signed By Prescriber</th>
<th>Signed By Prescriber At</th>
<th>Status Category</th>
<th>Status Memo</th>
<th>Client Id</th>
<th>Prescriber Pro Id</th>
<th>Signed By Prescriber Session Id</th>
<th>To Facility Id</th>
<th>Created At</th>
<th>Uid</th>
<th>Created By Session Id</th>
<th>Type</th>
<th>Is Signed By Ally</th>
<th>Signed By Ally At</th>
<th>Ally Pro Id</th>
<th>Current Content Update Id</th>
<th>Current Status Update Id</th>
<th>Signed By Ally Session Id</th>
            </tr>
            </thead>
            <tbody>
            @foreach($records as $record)
                <tr>
<td><?= $record->id ?></td>
<td><?= $record->action_item_category ?></td>
<td><?= $record->content_detail ?></td>
<td><?= $record->content_text ?></td>
<td><?= $record->is_signed_by_prescriber ?></td>
<td><?= $record->signed_by_prescriber_at ?></td>
<td><?= $record->status_category ?></td>
<td><?= $record->status_memo ?></td>
<td><?= $record->client_id ?></td>
<td><?= $record->prescriber_pro_id ?></td>
<td><?= $record->signed_by_prescriber_session_id ?></td>
<td><?= $record->to_facility_id ?></td>
<td><?= $record->created_at ?></td>
<td><a href="/action_items/view/<?= $record->uid ?>"><?= $record->uid ?></a></td>
<td><?= $record->created_by_session_id ?></td>
<td><?= $record->type ?></td>
<td><?= $record->is_signed_by_ally ?></td>
<td><?= $record->signed_by_ally_at ?></td>
<td><?= $record->ally_pro_id ?></td>
<td><?= $record->current_content_update_id ?></td>
<td><?= $record->current_status_update_id ?></td>
<td><?= $record->signed_by_ally_session_id ?></td>
                </tr>
            @endforeach
            </tbody>
        </table>
    </div>

@endsection
