human friendly invoice import/export

This commit is contained in:
denisdulici
2020-01-20 22:58:49 +03:00
parent 8562223ff3
commit 6923a3d6e4
27 changed files with 497 additions and 76 deletions

View File

@ -68,6 +68,11 @@ class Category extends Model
return $query->whereIn('type', (array) $types);
}
public function scopeName($query, $name)
{
return $query->where('name', '=', $name);
}
/**
* Scope transfer category.
*