improved default scopes
This commit is contained in:
@ -26,7 +26,7 @@ class DocumentItemTax extends Model
|
||||
|
||||
public function document()
|
||||
{
|
||||
return $this->belongsTo('App\Models\Document\Document');
|
||||
return $this->belongsTo('App\Models\Document\Document')->withoutGlobalScope('App\Scopes\Document');
|
||||
}
|
||||
|
||||
public function item()
|
||||
|
Reference in New Issue
Block a user