add payment option

This commit is contained in:
2025-10-02 18:35:02 +02:00
parent 0e0912c81b
commit 971a9e89d1
27 changed files with 1327 additions and 34 deletions
+14
View File
@@ -42,4 +42,18 @@ public function debts(): HasMany
return $this->hasMany(\App\Models\Debt::class);
}
public function payments(): HasMany
{
return $this->hasMany(\App\Models\Payment::class);
}
public function bookings(): HasMany
{
return $this->hasMany(\App\Models\Booking::class);
}
public function contract(): BelongsTo
{
return $this->belongsTo(\App\Models\Contract::class);
}
}