|
@@ -31,7 +31,7 @@ class Client extends Model
|
|
}
|
|
}
|
|
|
|
|
|
public function notes() {
|
|
public function notes() {
|
|
- return $this->hasMany(Note::class, 'client_id', 'id')->orderBy('created_at', 'desc');
|
|
|
|
|
|
+ return $this->hasMany(Note::class, 'client_id', 'id')->orderBy('effective_dateest', 'desc');
|
|
}
|
|
}
|
|
|
|
|
|
public function duplicateOf() {
|
|
public function duplicateOf() {
|