Browse code

Add Standort to notification tokens

Benjamin Roth authored on07/09/2023 10:41:36
Showing2 changed files
... ...
@@ -58,7 +58,8 @@ $GLOBALS['NOTIFICATION_CENTER']['NOTIFICATION_TYPE']['weinanlieferung']['wa_book
58 58
         'member_email',
59 59
         'admin_email',
60 60
         'slot_date',
61
-        'slot_time'
61
+        'slot_time',
62
+        'slot_standort',
62 63
     ),
63 64
     'email_text'    => array
64 65
     (
... ...
@@ -67,6 +68,7 @@ $GLOBALS['NOTIFICATION_CENTER']['NOTIFICATION_TYPE']['weinanlieferung']['wa_book
67 68
         'member_memberno', // The member account number of the recipient
68 69
         'slot_date',
69 70
         'slot_time',
71
+        'slot_standort',
70 72
         'slot_behaelter',
71 73
         'slot_sorten',
72 74
         'slot_ernteart',
... ...
@@ -84,6 +86,7 @@ $GLOBALS['NOTIFICATION_CENTER']['NOTIFICATION_TYPE']['weinanlieferung']['wa_book
84 86
         'member_memberno', // The member account number of the recipient
85 87
         'slot_date',
86 88
         'slot_time',
89
+        'slot_standort',
87 90
         'slot_behaelter',
88 91
         'slot_sorten',
89 92
         'slot_ernteart',
... ...
@@ -128,6 +128,7 @@ class SendBookingChangeNotificationJob
128 128
                                 'member_memberno'    => $Member->memberno,
129 129
                                 'slot_date'          => Date::parse(Date::getNumericDateFormat(),$Booking['slot_date']),
130 130
                                 'slot_time'          => Date::parse(Date::getNumericTimeFormat(),$Booking['slot_time']),
131
+                                'slot_standort'      => $Location->title,
131 132
                                 'slot_behaelter'     => $Booking['slot_behaelter'],
132 133
                                 'slot_sorten'        => implode(', ',$arrSortenAvailable),
133 134
                                 'slot_ernteart'      => implode(', ',$arrErnteartAvailable),