Skip to content

Commit

Permalink
projects amount remaining(updated) issue #54
Browse files Browse the repository at this point in the history
  • Loading branch information
Syed Asher Ahmed committed Mar 21, 2017
1 parent d3eb171 commit cf65f7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion imports/ui/components/projects/ProjectDetail.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ export default class ProjectDetail extends Component {
<div> <p>Client Name :</p> <p>{project.client.name}</p></div>
<div> <p>Amount Agreed :</p> <p>{project.amount}</p></div>
<div> <p>Amount Paid :</p> <p>{this.state.amountPaid || 0} </p></div>
<div> <p>Project Status :</p> <p>{project.status}</p></div>
<div> <p>Amount Remaining :</p> <p>{project.amount - this.state.amountPaid || project.amount} </p></div>
<div> <p>Project Status :</p> <p>{project.status}</p></div>
</div>

<div className={theme.buttonBox}>
Expand Down

1 comment on commit cf65f7d

@Furqankhanzada
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@kashifsulaiman it should be on top. also can we make it separate component ?

Please sign in to comment.