update reservation

This commit is contained in:
root
2026-05-25 15:56:14 -04:00
parent 914ae839a7
commit 8ed572b3bd
17 changed files with 809 additions and 63 deletions
@@ -0,0 +1,26 @@
UPDATE "notification_templates"
SET
"body" = E'Hi {{firstName}},\n\nYour booking with {{companyName}} has been confirmed.\nPickup details: {{startDate}}\nPickup address: {{pickupLocation}}\nReturn: {{endDate}}\nVehicle: {{vehicleName}}\n\nThank you for choosing RentalDriveGo.',
"requiredVariables" = '["firstName","companyName","startDate","pickupLocation","endDate","vehicleName"]'::jsonb,
"updatedAt" = CURRENT_TIMESTAMP
WHERE "templateKey" = 'booking.confirmed'
AND "channel" = 'EMAIL'
AND "locale" = 'en';
UPDATE "notification_templates"
SET
"body" = E'Bonjour {{firstName}},\n\nVotre reservation chez {{companyName}} a ete confirmee.\nDetails de prise en charge : {{startDate}}\nAdresse de prise en charge : {{pickupLocation}}\nRetour : {{endDate}}\nVehicule : {{vehicleName}}\n\nMerci d''avoir choisi RentalDriveGo.',
"requiredVariables" = '["firstName","companyName","startDate","pickupLocation","endDate","vehicleName"]'::jsonb,
"updatedAt" = CURRENT_TIMESTAMP
WHERE "templateKey" = 'booking.confirmed'
AND "channel" = 'EMAIL'
AND "locale" = 'fr';
UPDATE "notification_templates"
SET
"body" = E'مرحباً {{firstName}}،\n\nتم تأكيد حجزك مع {{companyName}}.\nتفاصيل الاستلام: {{startDate}}\nعنوان الاستلام: {{pickupLocation}}\nالإرجاع: {{endDate}}\nالمركبة: {{vehicleName}}\n\nشكراً لاختيار RentalDriveGo.',
"requiredVariables" = '["firstName","companyName","startDate","pickupLocation","endDate","vehicleName"]'::jsonb,
"updatedAt" = CURRENT_TIMESTAMP
WHERE "templateKey" = 'booking.confirmed'
AND "channel" = 'EMAIL'
AND "locale" = 'ar';