Make invoices and payments searchable. Extend payments overview.
This commit is contained in:
@@ -54,7 +54,7 @@ class Payment extends Model
|
||||
*/
|
||||
public function invoice(): BelongsTo
|
||||
{
|
||||
return $this->belongsTo(Invoice::class);
|
||||
return $this->belongsTo(Invoice::class)->with(['customer']);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user