OEModule\PatientTicketing\widgets\TicketAssignAppointment::getReportString PHP Method

getReportString() public method

Generate string from the widget captured data.
public getReportString ( $data ) : string | void
$data
return string | void
    public function getReportString($data)
    {
        $res = 'Follow-up appointment booked for ' . @$data['appointment_date'];
        if (@$data['appointment_time']) {
            $res .= ' at ' . $data['appointment_time'];
        }
        return $res;
    }