|
@@ -1560,6 +1560,9 @@ WHERE measurement.label NOT IN ('SBP', 'DBP')
|
|
$appointment->clientAge = $appointment->client->age_in_years;
|
|
$appointment->clientAge = $appointment->client->age_in_years;
|
|
$appointment->clientSex = $appointment->client->sex;
|
|
$appointment->clientSex = $appointment->client->sex;
|
|
|
|
|
|
|
|
+ $appointment->createdBy = $appointment->creator ? $appointment->creator->displayName() : '';
|
|
|
|
+ $appointment->createdAt = friendly_date($appointment->created_at);
|
|
|
|
+
|
|
$appointment->started = false;
|
|
$appointment->started = false;
|
|
$appointment->inHowManyHours = date_diff(date_create('now'), date_create($appointment->start_time), false)
|
|
$appointment->inHowManyHours = date_diff(date_create('now'), date_create($appointment->start_time), false)
|
|
->format('%R%h h, %i m');
|
|
->format('%R%h h, %i m');
|