Skip to content

Commit

Permalink
[TASK] Add new log status for future API requests to generate new vis…
Browse files Browse the repository at this point in the history
…itors
  • Loading branch information
einpraegsam committed Feb 1, 2024
1 parent 0ab0d60 commit 8ae77dc
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Classes/Domain/Model/Log.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,10 @@ class Log extends AbstractModel
const STATUS_UTM_TRACK = 300;
const STATUS_WIREDMINDS_CONNECTION = 400;
const STATUS_WIREDMINDS_SUCCESSFUL = 410;
const STATUS_API_CREATEVISITOR = 500;
const STATUS_ERROR = 900;

protected int $status = 0;
protected int $status = self::STATUS_DEFAULT;

protected ?Visitor $visitor = null;
protected ?DateTime $crdate = null;
Expand Down
4 changes: 4 additions & 0 deletions Resources/Private/Language/de.locallang_db.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -1119,6 +1119,10 @@
<source>Successfully converted company to lead via Wiredminds</source>
<target state="translated">Firma erfolgreich ermittelt mittels Wiredminds</target>
</trans-unit>
<trans-unit id="module.analysis.log.status.500">
<source>Created new lead via API</source>
<target state="translated">Lead über API erstellt</target>
</trans-unit>
<trans-unit id="module.analysis.map">
<source>Lead source</source>
<target state="translated">Lead Ursprung</target>
Expand Down
3 changes: 3 additions & 0 deletions Resources/Private/Language/locallang_db.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -846,6 +846,9 @@
<trans-unit id="module.analysis.log.status.410">
<source>Successfully converted company to lead via Wiredminds</source>
</trans-unit>
<trans-unit id="module.analysis.log.status.500">
<source>Created new lead via API</source>
</trans-unit>
<trans-unit id="module.analysis.map">
<source>Lead source</source>
</trans-unit>
Expand Down

0 comments on commit 8ae77dc

Please sign in to comment.