Guest User

Untitled

a guest
Oct 17th, 2018
186
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.59 KB | None | 0 0
  1. @foreach (var item in Model)
  2. {
  3.  
  4. <tr>
  5. <td>@item.EmpId</td>
  6. @*<td>@item.EmpNombre @item.EmpApellido</td>*@
  7. <td><p style="white-space: nowrap;">@item.EmpNombre @item.EmpApellido</p></td>
  8. <td>@item.PueDescripcion</td>
  9. @*<td>@item.sueldo</td>*@
  10. <td> @String.Format("{0:C}", item.sueldo) </td>
  11. <td>@item.Ihss</td>
  12. <td>@item.rap</td>
  13.  
  14.  
  15.  
  16. @*Deducciones Empleado*@
  17. @if (ViewBag.DeduccionesEmpleados != null)
  18. {
  19.  
  20. foreach (var Deduccion in (List<string>)ViewBag.Deducciones)
  21. {
  22. foreach (var Deduccionees in (IEnumerable<RecursosHumanos.Models.Con_DetalleDeduccionesEmpleado>)ViewBag.DeduccionesEmpleados)
  23. {
  24.  
  25. if (Deduccionees.EmpId == item.EmpId)
  26. {
  27. if (Deduccionees.DedDescripcion == Deduccion)
  28. {
  29. <th>@Deduccionees.DetDedEmpValor</th>
  30.  
  31. break;
  32.  
  33.  
  34. }
  35.  
  36. else
  37. {
  38. <th> </th>
  39. }
  40. }
  41.  
  42. }
  43.  
  44. }
  45.  
  46. }
Add Comment
Please, Sign In to add comment