//#region src/plus/pisellReservation/floorRoomCard/floorRoomCardPaymentUi.ts
/**
* @param orderPaymentStatus 来自 {@link FloorRoomCardBooking.order_payment_status}（接口多为 `order.payment_status` 映射）
*/
function floorRoomCardPaymentUiFromOrderStatus(orderPaymentStatus) {
	if (orderPaymentStatus == null || String(orderPaymentStatus).trim() === "") return "unpaid";
	const s = String(orderPaymentStatus).trim().toLowerCase();
	if (s === "paid") return "paid";
	if (s === "partially_paid") return "unpaid";
	return "unpaid";
}
//#endregion
exports.floorRoomCardPaymentUiFromOrderStatus = floorRoomCardPaymentUiFromOrderStatus;
