Vijayakrishnan 3 жил өмнө
parent
commit
4383714398
1 өөрчлөгдсөн 4 нэмэгдсэн , 0 устгасан
  1. 4 0
      app/Models/Client.php

+ 4 - 0
app/Models/Client.php

@@ -837,4 +837,8 @@ ORDER BY m.ts DESC
         }
         return '-';
     }
+
+    public function coreNote(){
+        return $this->hasOne(Note::class, 'id', 'core_note_id');
+    }
 }