human friendly invoice import/export
This commit is contained in:
@ -34,7 +34,7 @@ class InvoiceItem 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()
|
||||
|
Reference in New Issue
Block a user