浏览代码

Show pro full-name in events

Vijayakrishnan 4 年之前
父节点
当前提交
72d4f19887
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/Http/Controllers/AppointmentController.php

+ 1 - 1
app/Http/Controllers/AppointmentController.php

@@ -37,7 +37,7 @@ class AppointmentController extends Controller
         $events = [];
         foreach ($appointments as $appointment) {
             $events[] = [
-                "title" => '(' . $appointment->pro->initials() . ') ' . $appointment->client->displayName(),
+                "title" => $appointment->pro->displayName(),
                 "_title" => $appointment->title,
                 "description" => $appointment->description,
                 "clientName" => $appointment->client->displayName(),