8889841chome/clixcotz/.trash/app/Models/Client.php000064400000004332150443302760014472 0ustar00hasOne(ContactPerson::class, 'id'); } public function tasks() { return $this->hasMany(Tasks::class, 'clients_id'); } public function ClientService(): BelongsTo { return $this->belongsTo(ClientsService::class, 'clients_id', 'id'); } public function clientserv() { return $this->hasOne(ClientsService::class, 'clients_id', 'id'); } public function dispatchjob(): HasOne { return $this->hasOne(DispatchJob::class); } public function companytype() { return $this->belongsTo(CompanyType::class, 'client_id'); } public function compType() { return $this->hasOne(CompanyType::class, 'client_id', 'id'); } public function ReceiveDocs() { //return $this->hasOne(ReceiveDocs::class, 'client_id'); } }