mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-23 13:40:55 -04:00
Working on time tracker
This commit is contained in:
parent
d50dc6f3e6
commit
81c8934a94
@ -136,7 +136,9 @@
|
|||||||
<div data-bind="text: duration"></div>
|
<div data-bind="text: duration"></div>
|
||||||
<div data-bind="text: age" style="padding-top: 2px"></div>
|
<div data-bind="text: age" style="padding-top: 2px"></div>
|
||||||
</div>
|
</div>
|
||||||
<h4 class="list-group-item-heading" data-bind="text: description"></h4>
|
<h4 class="list-group-item-heading">
|
||||||
|
<span data-bind="text: description"></span>
|
||||||
|
</h4>
|
||||||
<p class="list-group-item-text">
|
<p class="list-group-item-text">
|
||||||
<span class="link" data-bind="text: clientName, click: $parent.viewClient, clickBubble: false"></span>
|
<span class="link" data-bind="text: clientName, click: $parent.viewClient, clickBubble: false"></span>
|
||||||
<span data-bind="visible: clientName && projectName"> | </span>
|
<span data-bind="visible: clientName && projectName"> | </span>
|
||||||
@ -595,6 +597,9 @@
|
|||||||
var projectId = $('input[name=project_id]').val();
|
var projectId = $('input[name=project_id]').val();
|
||||||
var client = clientMap[clientId];
|
var client = clientMap[clientId];
|
||||||
var project = projectMap[projectId];
|
var project = projectMap[projectId];
|
||||||
|
if (!clientId && (window.model && !model.selectedTask().client)) {
|
||||||
|
e.preventDefault();return;
|
||||||
|
}
|
||||||
if (project && ((project.client && project.client.public_id == clientId) || !project.client)) {
|
if (project && ((project.client && project.client.public_id == clientId) || !project.client)) {
|
||||||
e.preventDefault();return;
|
e.preventDefault();return;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user