Skip to content
This repository has been archived by the owner on Jan 9, 2023. It is now read-only.

Commit

Permalink
feat(patient): add appointment button
Browse files Browse the repository at this point in the history
  • Loading branch information
oizuldan committed Apr 4, 2020
1 parent 6ca695b commit ec5d655
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/locales/enUs/translations/patient/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ export default {
new: 'New Related Person',
relationshipType: 'Relationship Type',
},
appointments: {
new: 'Add Appointment',
},
allergies: {
label: 'Allergies',
new: 'Add Allergy',
Expand Down
14 changes: 14 additions & 0 deletions src/patients/appointments/AppointmentsList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,20 @@ const AppointmentsList = (props: Props) => {

return (
<Container>
<div className="row">
<div className="col-md-12 d-flex justify-content-end">
<Button
outlined
color="success"
icon="add"
iconLocation="left"
onClick={() => history.push('/appointments/new')}
>
{t('patient.appointments.new')}
</Button>
</div>
</div>
<br />
<form className="form-inline" onSubmit={onSearchFormSubmit}>
<div className="input-group" style={{ width: '100%' }}>
<TextInput
Expand Down

0 comments on commit ec5d655

Please sign in to comment.