update reservation
This commit is contained in:
+26
@@ -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';
|
||||
Reference in New Issue
Block a user