diff options
| author | niv-openerp <nicolas.vanhoren@openerp.com> | 2012-10-01 13:09:48 +0200 |
|---|---|---|
| committer | niv-openerp <nicolas.vanhoren@openerp.com> | 2012-10-01 13:09:48 +0200 |
| commit | ac84e4800a4ebcc012cd8012f2b52491a6032333 (patch) | |
| tree | d265b876b56a67ecd57dbcf10c8c035d4a75493b /addons/hr_timesheet_sheet/static/src/xml | |
| parent | ef1d6592e2a676f14eb8076fab10f7f06245c034 (diff) | |
now renders something
bzr revid: nicolas.vanhoren@openerp.com-20121001110948-qu7f3ancrfa73rxw
Diffstat (limited to 'addons/hr_timesheet_sheet/static/src/xml')
| -rw-r--r-- | addons/hr_timesheet_sheet/static/src/xml/timesheet.xml | 22 |
1 files changed, 20 insertions, 2 deletions
diff --git a/addons/hr_timesheet_sheet/static/src/xml/timesheet.xml b/addons/hr_timesheet_sheet/static/src/xml/timesheet.xml index 2f4063aed01..cb633543cec 100644 --- a/addons/hr_timesheet_sheet/static/src/xml/timesheet.xml +++ b/addons/hr_timesheet_sheet/static/src/xml/timesheet.xml @@ -2,8 +2,26 @@ <templates> <t t-name="hr_timesheet_sheet.WeeklyTimesheet"> - <div> - Yoh! + <div class="oe_timesheet_weekly"> + <table> + <tr> + <th> </th> + <th t-foreach="widget.dates" t-as="date"> + <t t-esc="date.toString('ddd')"/><br /> + <t t-esc="date.toString('MMM d')"/> + </th> + <th>Total</th> + </tr> + <tr t-foreach="widget.accounts" t-as="account"> + <td><t t-esc="widget.account_names[account.account]"/></td> + <t t-set="day_count" t-value="0"/> + <td t-foreach="account.days" t-as="day"> + <input t-att-data-account="account.account" t-att-data-day-count="day_count" type="text"/> + <t t-set="day_count" t-value="day_count + 1"/> + </td> + <td t-att-data-account-total="account.account"> </td> + </tr> + </table> </div> </t> </templates>
\ No newline at end of file |
