mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Fixes for recurring ivnoices
This commit is contained in:
parent
a6cedef7d8
commit
86550de39c
@ -107,7 +107,7 @@ class VersionCheck implements ShouldQueue
|
||||
|
||||
Vendor::doesntHave('contacts')
|
||||
->cursor()
|
||||
->each(function ($vendor) {
|
||||
->each(function (Vendor $vendor) {
|
||||
|
||||
$new_contact = VendorContactFactory::create($vendor->company_id, $vendor->user_id);
|
||||
$new_contact->vendor_id = $vendor->id;
|
||||
|
@ -297,7 +297,7 @@ class RecurringInvoice extends BaseModel
|
||||
/**
|
||||
* @return \Illuminate\Database\Eloquent\Relations\BelongsTo<Company>
|
||||
*/
|
||||
public function company(): \Illuminate\Database\Eloquent\Relations\BelongsTo
|
||||
public function company()
|
||||
{
|
||||
return $this->belongsTo(Company::class);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user