Skip to content

Commit

Permalink
Merge pull request #564 from mozzy11/2.8
Browse files Browse the repository at this point in the history
Fix modify order
  • Loading branch information
mozzy11 authored Sep 25, 2023
2 parents baa0bc0 + 416a636 commit 89f8b42
Show file tree
Hide file tree
Showing 12 changed files with 931 additions and 46 deletions.
2 changes: 1 addition & 1 deletion frontend/src/components/addOrder/Index.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ const Index = () => {
}, [page]);

const attacheSamplesToFormValues = () => {
let sampleXmlString = null;
let sampleXmlString = "";
let referralItems = [];
if (samples.length > 0) {
if (samples[0].tests.length > 0) {
Expand Down
20 changes: 20 additions & 0 deletions frontend/src/components/data/orderCurrentTestsHeaders.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,23 @@ export const OrderCurrentTestsHeaders = [
header: "Cancel Test",
},
];

export const OrderPossibleTestsHeaders = [
{
key: "accessionNumber",
header: "Lab No.",
},
{
key: "sampleType",
header: "Sample Type",
},
{
key: "testName",
header: "Test Name",
},
{
key: "add",
header: "Assign",
},
];

Loading

0 comments on commit 89f8b42

Please sign in to comment.