|
@@ -37,7 +37,7 @@ class AppointmentController extends Controller
|
|
|
$events = [];
|
|
|
foreach ($appointments as $appointment) {
|
|
|
$events[] = [
|
|
|
- "title" => $appointment->pro->displayName(),
|
|
|
+ "title" => ($appointment->client->id != $clientId ? '* ' : '') . $appointment->pro->displayName(),
|
|
|
"_title" => $appointment->title,
|
|
|
"description" => $appointment->description,
|
|
|
"clientName" => $appointment->client->displayName(),
|
|
@@ -48,6 +48,7 @@ class AppointmentController extends Controller
|
|
|
"start" => $this->convertToTimezone($appointment->start_time, $timeZone),
|
|
|
"end" => $this->convertToTimezone($appointment->end_time, $timeZone),
|
|
|
"clientOnly" => !in_array($appointment->pro->id, $proIds),
|
|
|
+ "otherClient" => ($appointment->client->id != $clientId),
|
|
|
"editable" => true
|
|
|
];
|
|
|
}
|