1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 13:12:50 +01:00

Fixes for type checking for purchase orders

This commit is contained in:
David Bomba 2022-07-01 16:58:57 +10:00
parent 9ae0474de3
commit 999ff54593

View File

@ -153,7 +153,7 @@ class PurchaseOrder extends BaseModel
public function vendor()
{
return $this->belongsTo(Vendor::class);
return $this->belongsTo(Vendor::class)->withTrashed();
}
public function history()