mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-08 14:04:40 -04:00
Working on the time tracker
This commit is contained in:
parent
2d2a734ee7
commit
d7b1998ae6
@ -617,7 +617,7 @@
|
|||||||
if (project.public_id() != self.project_id()) {
|
if (project.public_id() != self.project_id()) {
|
||||||
return "Project id's don't match " + project.public_id() + " " + self.project_id();
|
return "Project id's don't match " + project.public_id() + " " + self.project_id();
|
||||||
}
|
}
|
||||||
if (project.public_id() != -1) {
|
if (project.public_id() != -1 && projectMap[project.public_id()]) {
|
||||||
var client = projectMap[project.public_id()].client;
|
var client = projectMap[project.public_id()].client;
|
||||||
if (client.public_id != self.client_id()) {
|
if (client.public_id != self.client_id()) {
|
||||||
return "Client and project id's don't match " + client.public_id + " " + self.client_id();
|
return "Client and project id's don't match " + client.public_id + " " + self.client_id();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user