mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-05-24 02:14:21 -04:00
Fixes for type checking for purchase orders
This commit is contained in:
parent
999ff54593
commit
a20240b64f
@ -63,6 +63,11 @@ class VendorHtmlEngine
|
||||
|
||||
$this->vendor = $this->contact->vendor->load('company','country');
|
||||
|
||||
if(!$this->vendor->currency_id){
|
||||
$this->vendor->currency_id = $this->company->settings->currency_id;
|
||||
$this->vendor->save();
|
||||
}
|
||||
|
||||
$this->entity->load('vendor');
|
||||
|
||||
$this->settings = $this->company->settings;
|
||||
|
Loading…
x
Reference in New Issue
Block a user