diff --git a/src/components/bookings/BookingModal.tsx b/src/components/bookings/BookingModal.tsx index 9fdd762..7d9d24c 100644 --- a/src/components/bookings/BookingModal.tsx +++ b/src/components/bookings/BookingModal.tsx @@ -533,41 +533,10 @@ export function BookingModal({ open, draft, rooms, bookings = [], onClose, onSav - {/* TV Message — только для существующих броней с активным модулем */} - {tvEnabled && existing && existing.roomId && ( -
Доп. места
-{EXTRA_BED_PRICE.toLocaleString('ru-RU')} ₽/место{!isHourly && nights > 0 ? '/ночь' : ''}
+{EXTRA_BED_PRICE.toLocaleString('ru-RU')} ₽{!isHourly && nights > 0 ? '/ночь' : ''}
Оплата
+ {/* TV Message */} + {tvEnabled && existing && existing.roomId && ( +- −{discountAmount.toLocaleString('ru-RU')} ₽ - {selectedDiscount.note ? ` · ${selectedDiscount.note}` : ''} -
- )} -Способ оплаты
+Доп. услуги
+Оплачено (₽)
+ setPaidAmount(Math.min(total, Math.max(0, parseInt(e.target.value) || 0)))} + /> ++ {isHourly && room.allowHourly + ? `${hourlyHours} ч × ${(room.hourlyRate ?? 0).toLocaleString('ru-RU')} ₽` + : `${nights} ${nights === 1 ? 'ночь' : nights < 5 ? 'ночи' : 'ночей'} × ${room.baseRate.toLocaleString('ru-RU')} ₽` + } + {discountAmount > 0 && ` − ${discountAmount.toLocaleString('ru-RU')} ₽`} +
+ )} ++ {total.toLocaleString('ru-RU')} ₽ +
+ {paidAmount > 0 && ( ++ Оплачено {paidAmount.toLocaleString('ru-RU')} ₽ +
+ )} + {debt > 0 && ( +
+