informe_attendance.xml 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <openerp>
  3. <data>
  4. <report
  5. id="action_report_hrattendanceerror"
  6. model="hr.employee"
  7. string="Attendance Error Report"
  8. report_type="qweb-pdf"
  9. name="informe_hr_attendance.report_asistencia"
  10. file="informe_hr_attendance.report_asistencia"
  11. />
  12. <template id="report_asistencia">
  13. <t t-call="report.html_container">
  14. <t t-call="report.external_layout">
  15. <div class="page">
  16. <style type="text/css">
  17. .crm_tcab{
  18. font-size: 3mm;
  19. font-family: Arial, Helvetica, sans-serif;
  20. }
  21. .ven_tbody{
  22. font-size: 2.8mm;
  23. font-family: Arial, Helvetica, sans-serif;
  24. }
  25. .taxtotal{
  26. font-size: 2.8mm;
  27. }
  28. .total{
  29. font-size: 2.8mm;
  30. }
  31. .untotal{
  32. font-size: 2.8mm;
  33. }
  34. .logo1{
  35. width: 100%;
  36. top: 1.5cm;
  37. }
  38. </style>
  39. <h4 class="text-center">Listado de Asistencia de Funcionarios</h4>
  40. <div class="logo1"> </div>
  41. <table class="table table-bordered">
  42. <thead class="crm_tcab">
  43. <tr class="active">
  44. <th class="text-center">Nombre y Apellido</th>
  45. <th class="text-center">Fecha</th>
  46. <th class="text-center">Acción</th>
  47. <th class="text-center">Obs.</th>
  48. </tr>
  49. </thead>
  50. <t t-foreach="docs" t-as="o">
  51. <tbody class="veh_tbody">
  52. <td class="text-left">
  53. <span t-field="o.employee_id.name"/>
  54. </td>
  55. <td class="text-left">
  56. <span t-field="o.name"/>
  57. </td>
  58. <td class="text-left">
  59. <span t-field="o.action"/>
  60. </td>
  61. <td class="text-left">
  62. <span t-field="o.action_desc"/>
  63. </td>
  64. </tbody>
  65. </t>
  66. </table>
  67. </div>
  68. </t>
  69. </t>
  70. </template>
  71. </data>
  72. </openerp>