mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Complete API for recurring transactions.
This commit is contained in:
@@ -73,7 +73,7 @@ class RecurrenceTransaction extends Model
|
||||
*/
|
||||
public function destinationAccount(): BelongsTo
|
||||
{
|
||||
return $this->belongsTo(Account::class);
|
||||
return $this->belongsTo(Account::class,'destination_id');
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -109,7 +109,7 @@ class RecurrenceTransaction extends Model
|
||||
*/
|
||||
public function sourceAccount(): BelongsTo
|
||||
{
|
||||
return $this->belongsTo(Account::class);
|
||||
return $this->belongsTo(Account::class,'source_id');
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user