-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Khp3 6316 add ability to print manifest and specimen label (#297)
* Manifest dashboard summary done * Lab manifest listing ui adaptation done * Manifest detail header ui refactor done, * Delete dialog refactored to have samples table for thos selected * Previewing selected orders to be added to manifest in the sample dialog form * Cleaned up code * Fixed bug on lab manifest form and also on mutating links * Printing specimen labels and lab manifest * Addedd print manifest button to manifet detail header * Conditionally showing active valid orders for Draft and onHold * Removed time from start date field of pns contacts table, improoved ui colors as per design
- Loading branch information
Showing
15 changed files
with
176 additions
and
38 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
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
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
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
27 changes: 27 additions & 0 deletions
27
packages/esm-lab-manifest-app/src/tables/filter-table-header.component.tsx
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,27 @@ | ||
import React from 'react'; | ||
import styles from './lab-manifest-table.scss'; | ||
import { Search } from '@carbon/react'; | ||
|
||
interface FilterTableHeaderProps { | ||
searchText?: string; | ||
onSearch?: (string: string) => void; | ||
} | ||
|
||
const FilterTableHeader: React.FC<FilterTableHeaderProps> = ({ onSearch, searchText = '' }) => { | ||
return ( | ||
<div> | ||
<Search | ||
placeholder="Search this table" | ||
onClear={() => { | ||
onSearch(''); | ||
}} | ||
value={searchText} | ||
onChange={({ target: { value } }) => { | ||
onSearch(value); | ||
}} | ||
/> | ||
</div> | ||
); | ||
}; | ||
|
||
export default FilterTableHeader; |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -82,3 +82,4 @@ | |
width: 100%; | ||
margin-bottom: spacing.$spacing-05; | ||
} | ||
|
Oops, something went wrong.