Skip to content

Commit

Permalink
Merge pull request #188 from openimis/feature/OP-1899
Browse files Browse the repository at this point in the history
OP-1899: change right to review claim
  • Loading branch information
jdolkowski committed Apr 9, 2024
2 parents b9712cf + 492de84 commit 06b5ba7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/ClaimForm.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ import {
import { claimHealthFacilitySet, fetchClaim, generate, print } from "../actions";
import {
RIGHT_ADD,
RIGHT_LOAD,
RIGHT_PRINT,
CARE_TYPE_STATUS,
IN_PATIENT_STRING,
Expand All @@ -41,6 +40,7 @@ import {
STORAGE_KEY_ADMIN,
STORAGE_KEY_CLAIM_HEALTH_FACILITY,
DEFAULT,
RIGHT_CLAIMREVIEW,
} from "../constants";
import ClaimMasterPanel from "./ClaimMasterPanel";
import ClaimChildPanel from "./ClaimChildPanel";
Expand Down Expand Up @@ -438,7 +438,7 @@ class ClaimForm extends Component {
(!forReview && !forFeedback && claim.status !== 2) ||
(forReview && (claim.reviewStatus >= 8 || claim.status !== 4)) ||
(forFeedback && claim.status !== 4) ||
!rights.filter((r) => r === RIGHT_LOAD).length;
!rights.filter((r) => r === RIGHT_CLAIMREVIEW).length;

var actions = [];
if (!!claim_uuid) {
Expand Down

0 comments on commit 06b5ba7

Please sign in to comment.