timesheet source code
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

76 行
3.0KB

  1. {{#lines}}
  2. <tr class="{{Xero_Status}}">
  3. <td rowspan='{{rowspan}}'><strong>{{staff_name}}</strong> <br>Total: {{local_total}} hours</td>
  4. <td>Earnings</td>
  5. <td class=sync_detail> <table class='hours'>
  6. <thead id="p{{staff_id}}">
  7. <th>{{days_1}}</th>
  8. <th>{{days_2}}</th>
  9. <th>{{days_3}}</th>
  10. <th>{{days_4}}</th>
  11. <th>{{days_5}}</th>
  12. <th>{{days_6}}</th>
  13. <th>{{days_7}}</th>
  14. <th>{{days_8}}</th>
  15. <th>{{days_9}}</th>
  16. <th>{{days_10}}</th>
  17. <th>{{days_11}}</th>
  18. <th>{{days_12}}</th>
  19. <th>{{days_13}}</th>
  20. <th>{{days_14}}</th>
  21. </thead>
  22. </table>
  23. </td>
  24. <td rowspan='{{rowspan}}' style="vertical-align:bottom;">{{remote_total}} hours<br><strong>{{Xero_Status}}</strong></td>
  25. </tr>
  26. {{#ratetype}}
  27. <tr>
  28. <td>{{rate_name}}</td>
  29. <td class=sync_detail>
  30. <table class='hours'>
  31. <tbody>
  32. <tr>
  33. <td class='local week1color' id='a_0'>{{local_1}}</td>
  34. <td class='local week1color' id='a_1'>{{local_2}}</td>
  35. <td class='local week1color' id='a_2'>{{local_3}}</td>
  36. <td class='local week1color' id='a_3'>{{local_4}}</td>
  37. <td class='local week1color' id='a_4'>{{local_5}}</td>
  38. <td class='local week1color' id='a_5'>{{local_6}}</td>
  39. <td class='local week1color' id='a_6'>{{local_7}}</td>
  40. <td class='local week2color' id='a_7'>{{local_8}}</td>
  41. <td class='local week2color' id='a_8'>{{local_9}}</td>
  42. <td class='local week2color' id='a_9'>{{local_10}}</td>
  43. <td class='local week2color' id='a_10'>{{local_11}}</td>
  44. <td class='local week2color' id='a_11'>{{local_12}}</td>
  45. <td class='local week2color' id='a_12'>{{local_13}}</td>
  46. <td class='local week2color' id='a_13'>{{local_14}}</td>
  47. </tr>
  48. <tr>
  49. <td colspan="14">
  50. <div style="text-align: center">To Xero
  51. <span class="ticon ticon-arrow-down"></span>
  52. </div>
  53. </td>
  54. </tr>
  55. <tr>
  56. <td class='xero week1color {{xero_1_mismatch}}' id='b_0'>{{xero_1}}</td>
  57. <td class='xero week1color {{xero_2_mismatch}}' id='b_1'>{{xero_2}}</td>
  58. <td class='xero week1color {{xero_3_mismatch}}' id='b_2'>{{xero_3}}</td>
  59. <td class='xero week1color {{xero_4_mismatch}}' id='b_3'>{{xero_4}}</td>
  60. <td class='xero week1color {{xero_5_mismatch}}' id='b_4'>{{xero_5}}</td>
  61. <td class='xero week1color {{xero_6_mismatch}}' id='b_5'>{{xero_6}}</td>
  62. <td class='xero week1color {{xero_7_mismatch}}' id='b_6'>{{xero_7}}</td>
  63. <td class='xero week2color {{xero_8_mismatch}}' id='b_7'>{{xero_8}}</td>
  64. <td class='xero week2color {{xero_9_mismatch}}' id='b_8'>{{xero_9}}</td>
  65. <td class='xero week2color {{xero_10_mismatch}}' id='b_9'>{{xero_10}}</td>
  66. <td class='xero week2color {{xero_11_mismatch}}' id='b_10'>{{xero_11}}</td>
  67. <td class='xero week2color {{xero_12_mismatch}}' id='b_11'>{{xero_12}}</td>
  68. <td class='xero week2color {{xero_13_mismatch}}' id='b_12'>{{xero_13}}</td>
  69. <td class='xero week2color {{xero_14_mismatch}}' id='b_13'>{{xero_14}}</td>
  70. </tr>
  71. </tbody>
  72. </table>
  73. </td>
  74. </tr>
  75. {{/ratetype}}
  76. {{/lines}}