MIFOSX-1713 Approved amount is shown if status is Approved/Active AND di...

...sbursed amount is shown only if status is Active in View Loan Details
For both the fixes, we only need to hide Disbursed and approved fields for loan is in pending approval status, it should still be shown for other statuses like closed (written off etc) , overpaid etc 

Would be best to move the show logic into a function into a function inside the controller

So you would show approved amount for all statuses other than submitted and pending approval (100),  withdrawn by client (400) or rejected (500)

Similarly, disbursed amount should be shown for all statuses other than submitted and pending approval (100),  APPROVED(200) , withdrawn by client (400) or rejected (500)

for