Skip to content

Commit

Permalink
fix(cash): fix link to patient registry
Browse files Browse the repository at this point in the history
This commit fixes the link that takes a user to the patient registry.

Closes #2355.
  • Loading branch information
jniles committed Dec 6, 2017
1 parent b52491d commit 51697ba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client/src/modules/cash/payments/templates/action.cell.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@

<!-- view linked records -->
<li>
<a data-method="view-patient" href ui-sref="patientRegistry({ filters : { key : 'display_name', value : row.entity.patientName }})">
<a data-method="view-patient" href ui-sref="patientRegistry({ filters : [{ key : 'display_name', value : row.entity.patientName }]})">
<i class="fa fa-user"></i> <span translate>REPORT.VIEW_PATIENT</span>
</a>
</li>
<li ng-show="!row.entity.is_caution">
<a data-method="view-invoice" href ui-sref="invoiceRegistry({ filters : { key : 'cash_uuid', value : row.entity.uuid, displayValue: row.entity.reference }})">
<a data-method="view-invoice" href ui-sref="invoiceRegistry({ filters : [{ key : 'cash_uuid', value : row.entity.uuid, displayValue: row.entity.reference }]})">
<span class="fa fa-file-text-o"></span> <span translate>REPORT.VIEW_INVOICE</span>
</a>
</li>
Expand Down

0 comments on commit 51697ba

Please sign in to comment.