mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-05-31 22:34:37 -04:00
Fixes for type checking for purchase orders
This commit is contained in:
parent
9ae0474de3
commit
999ff54593
@ -153,7 +153,7 @@ class PurchaseOrder extends BaseModel
|
|||||||
|
|
||||||
public function vendor()
|
public function vendor()
|
||||||
{
|
{
|
||||||
return $this->belongsTo(Vendor::class);
|
return $this->belongsTo(Vendor::class)->withTrashed();
|
||||||
}
|
}
|
||||||
|
|
||||||
public function history()
|
public function history()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user