Initial invoice rendering
This commit is contained in:
@@ -19,10 +19,16 @@ class Product extends Model
|
||||
return $this->hasMany(Service::class);
|
||||
}
|
||||
|
||||
public function getProductIdAttribute()
|
||||
{
|
||||
return sprintf('#%04s',$this->id);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the language name
|
||||
*
|
||||
* @param Language $lo
|
||||
* @return string Product Name
|
||||
*/
|
||||
public function name(Language $lo)
|
||||
{
|
||||
|
Reference in New Issue
Block a user