Remove line 169 and use night.value instead of night.
I created a pull request: https://github.com/webdev866/vouchermanager/pull/1
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Hello, I have an issue with this code Line 161 https://github.com/webdev866/vouchermanager/blob/main/resources/views/admin/createVouchers/create.blade.php
When I select the date of the arrival and departure, it is calculated correctly however when I enter Room Price, it doesn't calculate and change the "nights" to "[object HTMLInputElement]"
What could be wrong?
Please or to participate in this conversation.