Skip to content

Commit

Permalink
(fix) O3-4008 - Ward App - swap the position of patient card footer a…
Browse files Browse the repository at this point in the history
…nd extension rows (#1320)
  • Loading branch information
chibongho authored Sep 19, 2024
1 parent 6822458 commit 4128769
Showing 1 changed file with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,16 @@ const WardPatientCard: WardPatientCard = (wardPatient) => {
))}
<ExtensionSlot name={headerExtensionSlotName} state={wardPatient} />
</div>
<div className={styles.wardPatientCardRow}>
{footerRowElements.map((elementId, i) => (
<WardPatientCardElement
key={`ward-card-${patient.uuid}-footer-${i}`}
elementId={elementId}
{...wardPatient}
/>
))}
<ExtensionSlot name={footerExtensionSlotName} state={wardPatient} />
</div>
{wardPatient?.inpatientRequest || showPendingOrders ? (
<div className={styles.wardPatientCardPendingItemsRow}>
<Hourglass className={styles.hourGlassIcon} size="16" />:
Expand All @@ -52,16 +62,6 @@ const WardPatientCard: WardPatientCard = (wardPatient) => {
state={wardPatient}
className={classNames(styles.wardPatientCardExtensionSlot)}
/>
<div className={styles.wardPatientCardRow}>
{footerRowElements.map((elementId, i) => (
<WardPatientCardElement
key={`ward-card-${patient.uuid}-footer-${i}`}
elementId={elementId}
{...wardPatient}
/>
))}
<ExtensionSlot name={footerExtensionSlotName} state={wardPatient} />
</div>
<button
className={styles.wardPatientCardButton}
onClick={() => {
Expand Down

0 comments on commit 4128769

Please sign in to comment.