mirror of
				https://github.com/crater-invoice/crater.git
				synced 2025-10-30 21:21:09 -04:00 
			
		
		
		
	update implementation
This commit is contained in:
		| @ -43,9 +43,9 @@ trait HasCustomFieldsTrait | ||||
|         } | ||||
|     } | ||||
|  | ||||
|     public function getCustomFieldValues($slug) | ||||
|     public function getCustomFieldBySlug($slug) | ||||
|     { | ||||
|         return $this->fields()->whereHas('customField', function ($query) use ($slug) { | ||||
|         return $this->fields()->with('customField')->whereHas('customField', function ($query) use ($slug) { | ||||
|             $query->where('slug', $slug); | ||||
|         })->first(); | ||||
|     } | ||||
|  | ||||
		Reference in New Issue
	
	Block a user