Anfrage-Basisprozess inquiry.request mit Schablonen für Antwort und Gastkommunikation
Antwortart (Auskunft/Angebot) und Reservierung sind entkoppelt (neue Einstellung inquiry_answer; pre_reservation bleibt die Reservierungsstrategie). Anlass-bezogene Absender für Anreise-Information und Bewertungsbitte; Schablonen liefern Standardwerte unterhalb aller einstellbaren Ebenen. A1/A2 bleiben Voreinstellungen und Altfassungen. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
e40f8639b3
commit
221ce8ca81
51 files changed
+773
-73
No files matched your search
@@ -0,0 +1,64 @@
|
||||
<?php
|
||||
|
||||
namespace App\Process\Templates;
|
||||
|
||||
/**
|
||||
* Standard: we write to the guest. It only suggests; each occasion (arrival information, review request) has its own
|
||||
* sender setting and stays individually configurable – there is no all-or-nothing responsibility for guest messages.
|
||||
*/
|
||||
final class OwnGuestCommunication extends FunctionTemplate
|
||||
{
|
||||
public static function key(): string
|
||||
{
|
||||
return 'guest_comm.own';
|
||||
}
|
||||
|
||||
public static function version(): int
|
||||
{
|
||||
return 1;
|
||||
}
|
||||
|
||||
public static function area(): TemplateArea
|
||||
{
|
||||
return TemplateArea::GuestCommunication;
|
||||
}
|
||||
|
||||
public static function label(): string
|
||||
{
|
||||
return 'Gastkommunikation durch uns';
|
||||
}
|
||||
|
||||
public static function purpose(): string
|
||||
{
|
||||
return 'Anreise-Informationen und Bewertungsbitte gehen von uns an den Gast. Einzelne Anlässe lassen sich trotzdem dem Portal zuweisen.';
|
||||
}
|
||||
|
||||
public static function modules(): array
|
||||
{
|
||||
return ['arrival.details', 'arrival.info'];
|
||||
}
|
||||
|
||||
public static function configures(): array
|
||||
{
|
||||
return ['review.request'];
|
||||
}
|
||||
|
||||
public static function fixes(): array
|
||||
{
|
||||
return [];
|
||||
}
|
||||
|
||||
public static function defaults(): array
|
||||
{
|
||||
return ['guest_messages' => 'landlord'];
|
||||
}
|
||||
|
||||
public static function dimensions(): array
|
||||
{
|
||||
return [
|
||||
'Anreise-Information' => 'Von uns, N Tage vor Anreise (einstellbar).',
|
||||
'Bewertungsbitte' => 'Von uns nach dem Aufenthalt.',
|
||||
'Medium' => 'E-Mail (über das Mail-Tor; weitere Medien sind nicht angebunden).',
|
||||
];
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user