Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <table class="table table-bordered table-hover" id="myTable">
- <thead>
- <tr>
- <th>
- @Html.DisplayNameFor(model => model.CadastroEmpresa.NomeEmpresa)
- </th>
- <th>
- @Html.DisplayNameFor(model => model.Fornecedor.NomeFornecedor)
- </th>
- <th>
- @Html.DisplayNameFor(model => model.DataL)
- </th>
- <th>
- @Html.DisplayNameFor(model => model.NumeroNFE)
- </th>
- <th>
- @Html.DisplayNameFor(model => model.Valor)
- </th>
- <th>
- @Html.DisplayNameFor(model => model.Icms)
- </th>
- <th>
- @Html.DisplayNameFor(model => model.Vencimento)
- </th>
- <th></th>
- </tr>
- </thead>
- <tfoot>
- <tr>
- //Posso estar errando aqui!
- <th colspan="4" style="text-align:right" id="total">.</th>
- <th> </th>
- </tr>
- </tfoot>
- <tbody>
- @foreach (var item in Model)
- {
- <tr>
- <td>
- @Html.DisplayFor(modelItem => item.CadastroEmpresa.NomeEmpresa)
- </td>
- <td>
- @Html.DisplayFor(modelItem => item.Fornecedor.NomeFornecedor)
- </td>
- <td>
- @Html.DisplayFor(modelItem => item.DataL)
- </td>
- <td>
- @Html.DisplayFor(modelItem => item.NumeroNFE)
- </td>
- <td>
- @Html.DisplayFor(modelItem => item.Valor)
- </td>
- <td>
- @Html.DisplayFor(modelItem => item.Icms)
- </td>
- <td>
- @Html.DisplayFor(modelItem => item.Vencimento)
- </td>
- <td>
- @Html.ActionLink("Editar", "Edit", new { id = item.CadastroNFEID }, new { @class = "btn btn-primary" })
- @Html.ActionLink("Detalhes", "Details", new { id = item.CadastroNFEID }, new { @class = "btn btn-info" })
- @Html.ActionLink("Excluir", "Delete", new { id = item.CadastroNFEID }, new { @class = "btn btn-danger" })
- </td>
- </tr>
- }
- </tbody>
- </table>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement