Skip to content

Commit

Permalink
Poc 292a (#1620)
Browse files Browse the repository at this point in the history
* Add sms delivery status to appointments

* display sms consent status

* sms conset status

---------

Co-authored-by: derrick rono <[email protected]>
Co-authored-by: Kipchumba Bett <[email protected]>
  • Loading branch information
3 people authored Jun 2, 2023
1 parent 3c35b6c commit bbdd40d
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,15 @@ export class DailyScheduleAppointmentsComponent implements OnInit, OnDestroy {
},
{
headerName: 'SMS Consent Provided',
width: 150,
field: 'sms_consent_provided'
field: 'sms_consent_provided',
width: 200,
cellRenderer: (column: any) => {
if (column.value) {
return column.value;
} else {
return 'Not Consented';
}
}
},
{
headerName: 'SMS Time',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,15 @@ export class DailyScheduleNotReturnedComponent implements OnInit, OnDestroy {
},
{
headerName: 'SMS Consent Provided',
width: 150,
field: 'sms_consent_provided'
field: 'sms_consent_provided',
width: 200,
cellRenderer: (column: any) => {
if (column.value) {
return column.value;
} else {
return 'Not Consented';
}
}
},
{
headerName: 'SMS Time',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,15 @@ export class DailyScheduleVisitsComponent implements OnInit, OnDestroy {
},
{
headerName: 'SMS Consent Provided',
width: 150,
field: 'sms_consent_provided'
field: 'sms_consent_provided',
width: 200,
cellRenderer: (column: any) => {
if (column.value) {
return column.value;
} else {
return 'Not Consented';
}
}
},
{
headerName: 'SMS Time',
Expand Down

0 comments on commit bbdd40d

Please sign in to comment.