Only fake expended funds if the TO is active
This commit is contained in:
parent
0bf0e9dcb2
commit
34cb9daca6
@ -140,7 +140,10 @@ class TaskOrder(Base, mixins.TimestampsMixin):
|
|||||||
@property
|
@property
|
||||||
def invoiced_funds(self):
|
def invoiced_funds(self):
|
||||||
# TODO: implement this using reporting data from the CSP
|
# TODO: implement this using reporting data from the CSP
|
||||||
return self.total_obligated_funds * Decimal(0.75)
|
if self.is_active:
|
||||||
|
return self.total_obligated_funds * Decimal(0.75)
|
||||||
|
else:
|
||||||
|
return 0
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def display_status(self):
|
def display_status(self):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user