Skip to content

Commit

Permalink
fix(cash): fix incorrect error msg key
Browse files Browse the repository at this point in the history
Fixes the error message key for the cash payments form when the user
hasn't selected any invocies.  The previous key didn't point to
anything.
  • Loading branch information
jniles committed Jan 4, 2022
1 parent edd6afd commit 9f11338
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/modules/cash/cash.js
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ function CashController(
// if the this is not a caution payment, but no invoices are selected,
// raise an error.
if (!isCaution && !hasInvoices) {
return Notify.danger('CASH.VOUCHER.NO_INVOICES_ASSIGNED');
return Notify.danger('CASH.VOUCHER.CASHBOXES.NO_INVOICES_ASSIGNED');
}

return $q.resolve()
Expand Down

0 comments on commit 9f11338

Please sign in to comment.