-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CM-380: add update individual task table (#31)
Co-authored-by: Jan <[email protected]>
- Loading branch information
1 parent
b7a75ef
commit 71af2b0
Showing
3 changed files
with
33 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
import React from 'react'; | ||
import { FormattedMessage } from '@openimis/fe-core'; | ||
|
||
const IndividualUpdateTaskTableHeaders = () => [ | ||
<FormattedMessage module="individual" id="individual.firstName" />, | ||
<FormattedMessage module="individual" id="individual.lastName" />, | ||
<FormattedMessage module="individual" id="individual.dob" />, | ||
]; | ||
|
||
const IndividualUpdateTaskItemFormatters = () => [ | ||
(individual) => individual?.first_name, | ||
(individual) => individual?.last_name, | ||
(individual) => individual?.dob, | ||
]; | ||
|
||
export { IndividualUpdateTaskTableHeaders, IndividualUpdateTaskItemFormatters }; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters