bill scopes

This commit is contained in:
denisdulici
2020-01-20 23:50:29 +03:00
parent a3372aeb63
commit 04173eae78
3 changed files with 14 additions and 4 deletions

View File

@ -34,7 +34,7 @@ class BillItem extends Model
public function item()
{
return $this->belongsTo('App\Models\Common\Item');
return $this->belongsTo('App\Models\Common\Item')->withDefault(['name' => trans('general.na')]);
}
public function taxes()