git.net

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Display Payment Type description in Checker Inbox


Hi Santosh,
 

I  added a field to display Payment Type description in Checker Inbox for a Loan Repayment..
In viewcheckerinbox.html i have (see attached image):

<tr data-ng-show="transaction.paymentDetailData.paymentType">
<td>{{ 'label.heading.paymenttype' | translate}}</td>
<td>{{transaction.paymentDetailData.paymentType.name}}</td>
</tr>

I have query on how  i can pass a transaction object to the ViewCheckerinboxController .  The  controller currently has auditResource injected.

I want to be able to inject both  auditResource and loanTrxnsResource to  ViewCheckerinboxController so that i have access to the transaction object and hence the payment description.

 

Regards

Ed