@model PantheonRA.BackOffice.Models.TravelOrdersDistancesViewModel

@{
    ViewBag.Title = Loc.Create;
    Layout = null;
}

<table id="returnNoteTable" class="list-table customtable cash-register-invocation">
    <thead>
        <tr style="background-color:#3a383a; color:white">
            <th>@Loc.ReturnReport</th>
        </tr>
    </thead>

    <tbody>
        @foreach (var item in Model.travelOrderDistanceList)
        {
            <tr class="returnNoteTable-@item.OrdinalNumber">
                <td>
                    <textarea id="editReturnNote-@item.OrdinalNumber"
                              onchange="checkAndSave(@item.OrdinalNumber, 'returnNotes')"
                              class="form-control">@Html.DisplayFor(modelitem => item.ReturnNote)</textarea>
                </td>
            </tr>
        }
        </tbody>
</table>