ShelterPMS plugin fixed

This commit is contained in:
2024-12-28 18:11:15 +09:00
parent 5fd3468083
commit 9ae7380166
3 changed files with 149 additions and 58 deletions

View File

@@ -56,6 +56,9 @@ class PMSIntegrationManager:
if pms_name == "ecvi_intermark" or pms_name == "ecvi":
from pms_integration.plugins.ecvi_pms import EcviPMSPlugin
self.plugin = EcviPMSPlugin(self.hotel)
elif pms_name == "shelter" or pms_name == "shelter":
from pms_integration.plugins.shelter_pms import ShelterPMSPlugin
self.plugin = ShelterPMSPlugin(self.hotel)
else:
raise ValueError(f"Неизвестный PMS: {pms_name}")
def fetch_data(self):