Booking Creation - Finish initial implement.

- Check and update availability.
- Set prices.
- Generate booking refNumber.
This commit is contained in:
2024-05-10 21:31:24 +02:00
parent 528d1a39ab
commit ed4ba9d82f
3 changed files with 109 additions and 12 deletions
+4
View File
@@ -57,4 +57,8 @@ class RoomAvailability
return $this;
}
public function modNumAvailable(int $diffAmount):void {
$this->numAvailable -= $diffAmount;
}
}