From 18dc704364c14d65836954e4d07e78a1e8f80631 Mon Sep 17 00:00:00 2001 From: Syed Asher Ahmed Date: Wed, 15 Mar 2017 12:57:36 +0000 Subject: [PATCH] Projects Amount Remaining issue #54 --- imports/ui/components/projects/ProjectDetail.jsx | 1 + 1 file changed, 1 insertion(+) diff --git a/imports/ui/components/projects/ProjectDetail.jsx b/imports/ui/components/projects/ProjectDetail.jsx index 0c5415f..27080aa 100755 --- a/imports/ui/components/projects/ProjectDetail.jsx +++ b/imports/ui/components/projects/ProjectDetail.jsx @@ -37,6 +37,7 @@ export default class ProjectDetail extends Component {

Amount Agreed :

{project.amount}

Amount Paid :

{this.state.amountPaid || 0}

Project Status :

{project.status}

+

Amount Remaining :

{project.amount - this.state.amountPaid || project.amount}