Skip to content

Commit

Permalink
Finish hotfix/claim_creation
Browse files Browse the repository at this point in the history
hotfix: claim creation
  • Loading branch information
dragos-dobre authored Mar 1, 2022
2 parents c79aa9e + 4f77c0a commit 1242dde
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 11 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@openimis/fe-claim",
"version": "1.3.1",
"version": "1.3.2",
"license": "AGPL-3.0-only",
"description": "openIMIS Frontend Claim reference module",
"repository": "openimis/openimis-fe-claim_js",
Expand Down
23 changes: 13 additions & 10 deletions src/components/ClaimChildPanel.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import {
TextInput,
Error,
} from "@openimis/fe-core";
import { Paper } from "@material-ui/core";
import { Paper, Box } from "@material-ui/core";
import _ from "lodash";
import { claimedAmount, approvedAmount } from "../helpers/amounts";

Expand Down Expand Up @@ -180,15 +180,18 @@ class ClaimChildPanel extends Component {

let itemFormatters = [
(i, idx) => (
<PublishedComponent
readOnly={!!forReview || readOnly}
pubRef={picker}
withLabel={false}
value={i[type]}
pricelistUuid={edited.healthFacility[`${this.props.type}sPricelist`].uuid}
date={edited.dateClaimed}
onChange={(v) => this._onChangeItem(idx, type, v)}
/>
<Box minWidth={400}>
<PublishedComponent
readOnly={!!forReview || readOnly}
pubRef={picker}
withLabel={false}
value={i[type]}
fullWidth
pricelistUuid={edited.healthFacility[`${this.props.type}sPricelist`].uuid}
date={edited.dateClaimed}
onChange={(v) => this._onChangeItem(idx, type, v)}
/>
</Box>
),
(i, idx) => (
<NumberInput
Expand Down

0 comments on commit 1242dde

Please sign in to comment.