f9f07f360c
The miniapp, legacy cabinet endpoint, auto-purchase service, and Telegram bot handlers were using only global settings (PRICE_PER_DEVICE, MAX_DEVICES_LIMIT) for device purchases, completely ignoring tariff-level device_price_kopeks and max_device_limit. This allowed users to buy devices when tariff price was 0 (should be blocked) and exceed the tariff's max device limit. Fixed in all 4 code paths: - miniapp _build_subscription_settings + update_subscription_devices_endpoint - cabinet legacy POST /devices (+ added subscription status check, RemnaWave sync) - subscription_auto_purchase_service._auto_add_devices - telegram bot handlers confirm_change_devices, execute_change_devices, confirm_add_devices