purwaren / ihram-front-desk

Front office / Front desk module for IHRAM
GNU General Public License v3.0
3 stars 1 forks source link

Bill Amount When Move Room Upgrade #47

Open sumayyah42 opened 4 years ago

sumayyah42 commented 4 years ago

Ketika Move Room yang berasal dari Guest Request, FO bisa memilih room rate sesuai dengan room type yg dipilih. Jika room rate yang dipilih lebih mahal, maka tagihan yang harus dibayarkan tamu bertambah. Contoh Initial Room Stay

Attribute Value
Room Type Deluxe
Room Rate Rate001
Total Bill Amount Rp 1.500.400
Arrival 21-10-2019
Departure 23-10-2019

Di hari kedua menginap, tamu Move Room dengan tipe kamar yang lebih tinggi

Atribute Value
Room Type Suite
Room Rate Rate002
Total Bill Amount Rp 968.000
Arrival 22-10-2019
Departure 23-10-2019

Saat ini belum ada tambahan tagihan untuk kasus tersebut.

Jika tamu sudah membayar tagihan kamar di awal seluruhnya (room bill amount==paid bill amount), tambahan tagihan yang harus dibayarkan tamu adalah = (room rate baru jumlah malam menginap) - (room rate lama (jumlah malam menginap room stay lama - jumlah malam yang sudah terlewat)) Nominal tersebut ditampilkan menjadi Current Room Bill Amount yang baru

Catatan: Untuk Move Room yang bukan Guest Request tidak perlu melakukan penghitungan tagihan karena room ratenya masih sama.

anra54 commented 4 years ago

handled in c7529a320dec55e7e4fee094f13f7fbe0e262a02 Insya Allah! 🤞