Skip to content

Commit

Permalink
Service List Change
Browse files Browse the repository at this point in the history
  • Loading branch information
Harin329 committed Aug 29, 2023
1 parent b8ae928 commit 7fa3a6c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions frontend/src/components/TicketBoard/ServiceList/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,9 @@ function ServiceList({ readOnly }) {
) : null}
</div>
</div>
<div style={{ flexDirection: "row", textAlign: 'left', paddingLeft: 10 }}>
{rawDataSource.filter(
(item) => item.billable_id === serviceCost.billable_id
).length > 0 ? <div style={{ flexDirection: "row", textAlign: 'left', paddingLeft: 10 }}>
<div className="serviceInputBoxBlue">For:</div>
{Object.values(
rawDataSource.filter(
Expand All @@ -223,7 +225,7 @@ function ServiceList({ readOnly }) {
).map((item) => {
return <div className="serviceInputBoxBlue" key={item.sample_id}>{item.sample_id} - {item.authorized_by}</div>;
})}
</div>
</div> : null}
<div>
{!readOnly ? (
<input
Expand Down

0 comments on commit 7fa3a6c

Please sign in to comment.