mirror of
https://github.com/InvoiceShelf/InvoiceShelf.git
synced 2026-04-07 21:44:51 +00:00
get custom field by slug in models
This commit is contained in:
@@ -219,4 +219,9 @@ class Expense extends Model implements HasMedia
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
public function getValues($slug)
|
||||
{
|
||||
return $this->getCustomFieldValues($slug);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user