Removed cleaning button on operation date field.

This commit is contained in:
Alexis Lahouze 2013-01-25 23:19:57 +01:00
parent 3d91b88971
commit 616d6ca766

View File

@ -207,12 +207,7 @@
<tr class="form-inline"> <tr class="form-inline">
<td><input type="date" class="input-small" data-bind="value: value_date" data-date-format="yyyy-mm-dd" id="new_value_date"></input></td> <td><input type="date" class="input-small" data-bind="value: value_date" data-date-format="yyyy-mm-dd" id="new_value_date"></input></td>
<td> <td><input type="date" class="input-small" data-bind="value: operation_date" data-date-format="yyyy-mm-dd" id="new_operation_date"></input></td>
<div class="input-append">
<input type="date" class="input-small" data-bind="value: operation_date" data-date-format="yyyy-mm-dd" id="new_operation_date"></input>
<button class="btn" type="button" data-bind="click: function(item) { item.operation_date(null)}"><i class="icon-remove"></i></button>
</div>
</td>
<td><input type="text" class="input-xxlarge" data-bind="value: label"/></td> <td><input type="text" class="input-xxlarge" data-bind="value: label"/></td>
@ -238,7 +233,7 @@
<tr class="form-inline" data-bind="css: { 'warning': sold() < 0 && sold() >= $root.account().authorized_overdraft(), 'error': sold() < $root.account().authorized_overdraft() }"> <tr class="form-inline" data-bind="css: { 'warning': sold() < 0 && sold() >= $root.account().authorized_overdraft(), 'error': sold() < $root.account().authorized_overdraft() }">
<td><input type="date" class="input-small" data-bind="value: value_date" data-date-format="yyyy-mm-dd" id="value_date"></input></td> <td><input type="date" class="input-small" data-bind="value: value_date" data-date-format="yyyy-mm-dd" id="value_date"></input></td>
<td class="input-append"><input type="date" class="input-small" data-bind="value: operation_date" data-date-format="yyyy-mm-dd" id="operation_date"></input><button class="btn" type="button" data-bind="click: function(item) { item.operation_date(null)}"><i class="icon-remove"></i></button></td> <td><input type="date" class="input-small" data-bind="value: operation_date" data-date-format="yyyy-mm-dd" id="operation_date"></input></td>
<td><input type="text" class="input-xxlarge" data-bind="value: label"/></td> <td><input type="text" class="input-xxlarge" data-bind="value: label"/></td>