BS Processing Order

<h2>Processing Orders List</h2>
<div class="card-body">
    <div class="table-responsive">
        <table class="table table-bordered" id="dataTable" width="100%" cellspacing="0">
            <thead>
                <tr>
                    <th>S.No</th>
                    <th>Order NO</th>
                    <th>Name</th>
                    <th>Total</th>
                    <th>Date</th>
                    <th>
                        NUMBER OF ITEMS
                    </th>

                    <th>Action</th>
                </tr>
            </thead>
            <tbody>
                @foreach (var item in Model)
                {
                    <tr>
                        <td>@i</td>
                        <td>@item.id</td>
                        <td>@item.first_name  @item.last_name</td>
                        <td>@item.total</td>
                        <td>@item.orderdate</td>
                        <td>@item.TotalItem</td>
                        <td>
                            @Html.ActionLink("Complete", "Packing", "Home", new { id = item.id }, new { @class = "btn btn-success" })
                        </td>
                    </tr>
                    i++;
                }

            </tbody>
        </table>
    </div>
</div>

Share


Categories

Leave a Reply

Your email address will not be published. Required fields are marked *