<?php

$ticketInegrationClassName = config('ticket-integration.service', null);

$lineBreak = config('ticket-integration.' . $ticketInegrationClassName . '.newline_character') ?? '/n';

$boldTextStart = config('ticket-integration.' . $ticketInegrationClassName . '.bold_text_start') ?? '*';
$boldTextEnd = config('ticket-integration.' . $ticketInegrationClassName . '.bold_text_end') ?? '*';

$htmlEntityStart = config('ticket-integration.' . $ticketInegrationClassName . '.html_entity_start') ?? '';
$htmlEntityEnd = config('ticket-integration.' . $ticketInegrationClassName . '.html_entity_end') ?? '';

return [

    'Created' => $htmlEntityStart . $boldTextStart . ":username - :useremail :created_by" . $boldTextEnd . $lineBreak . " Created asset " . $boldTextStart . ":assetname" . $boldTextEnd  . $htmlEntityEnd,

    'Loaned' => $htmlEntityStart . $boldTextStart . ":username - :useremail" . $boldTextEnd . $lineBreak . "Updated status of asset " . $boldTextStart . ":assetname" . $boldTextEnd  . $lineBreak . "From :oldasset_status to :newstatus and user/location updated:oldusername:roomname and loaner return date changed to :loanerdate" . $lineBreak . ":commenttext" . $htmlEntityEnd,

    'RetainHold' => $htmlEntityStart . $boldTextStart . ":username - :useremail" . $boldTextEnd . $lineBreak . "Updated status of asset " . $boldTextStart . ":assetname" . $boldTextEnd  . $lineBreak . " From :oldasset_status to :newstatus and user/location updated:oldusername:roomname and retain hold release date changed to :retention_date " . $lineBreak . " :commenttext" . $htmlEntityEnd,

    'Description' => $htmlEntityStart . $boldTextStart . ":username - :useremail" . $boldTextEnd . $lineBreak . "Updated status of asset " . $boldTextStart . ":assetname" . $boldTextEnd  . $lineBreak . " From :oldasset_status to :newstatus and user/location updated:oldusername:roomname " . $lineBreak . " :commenttext" . $htmlEntityEnd,

    'LostorStolen' => $htmlEntityStart . $boldTextStart . ":username - :useremail" . $boldTextEnd . $lineBreak . "Updated status of asset " . $boldTextStart . ":assetname" . $boldTextEnd  . $lineBreak . " From :oldasset_status to :newstatus :stolenOrLostDateText with wipe confirmation # :wipe_confirmation " . $lineBreak . " :commenttext" . $htmlEntityEnd,

    'StolenLost' => $htmlEntityStart . $boldTextStart . ":username - :useremail" . $boldTextEnd . $lineBreak . " Updated status of asset " . $boldTextStart . ":assetname" . $boldTextEnd  . $lineBreak . " From :oldasset_status to :newstatus :stolenOrLostDateText " . $lineBreak . " :commenttext" . $htmlEntityEnd,

    'EndofLifeDisposed' => $htmlEntityStart . $boldTextStart . ":username - :useremail" . $boldTextEnd . $lineBreak . "Updated status of asset " . $boldTextStart . ":assetname" . $boldTextEnd  . $lineBreak . " From :oldasset_status to :newstatus, and vendor updated to :vendor." . $lineBreak . " :commenttext" . $htmlEntityEnd,

    'EndofLifeDataWiped' => $htmlEntityStart . $boldTextStart . ":username - :useremail" . $boldTextEnd . $lineBreak . "Updated status of asset " . $boldTextStart . ":assetname" . $boldTextEnd  . $lineBreak . " From :oldasset_status to :newstatus, and vendor updated to :vendor." . $lineBreak . " :commenttext" . $htmlEntityEnd,

    'RMAReturned' => $htmlEntityStart . $boldTextStart . ":username - :useremail" . $boldTextEnd . $lineBreak . " Updated status of asset " . $boldTextStart . ":assetname" . $boldTextEnd  . $lineBreak . " From :oldasset_status to :newstatus, to vendor :vendor " . $lineBreak . " :commenttext" . $htmlEntityEnd,

    'Moved' => $htmlEntityStart . $boldTextStart . ":username - :useremail" . $boldTextEnd . $lineBreak . " Moved asset " . $boldTextStart . ":assetname" . $boldTextEnd  . $lineBreak . " From :oldroomname to :newroomname " . $lineBreak . " :commenttext" . $htmlEntityEnd,

    'Returned' => $htmlEntityStart . $boldTextStart . ":username - :useremail" . $boldTextEnd . $lineBreak . " Returned asset " . $boldTextStart . ":assetname" . $boldTextEnd  . $lineBreak . " From :oldroomname to :newroomname " . $lineBreak . " :commenttext" . $htmlEntityEnd,

    'Linked' => $htmlEntityStart . $boldTextStart . ":username - :useremail" . $boldTextEnd . $lineBreak . " Linked asset :parentAssetname to :childAssetname " . $lineBreak . " :commenttext" . $htmlEntityEnd,


    'Unlinked' => $htmlEntityStart . "Unlinked asset <a href='/assets/:assetid' target='__blank'> " . $boldTextStart . ":assetname" . $boldTextEnd . " </a> From <a href='/assets/:parent_assetid' target='__blank'>:parentAssetname</a>" . $htmlEntityEnd,

    'Released' => $htmlEntityStart . $boldTextStart . ":username - :useremail" . $boldTextEnd . $lineBreak . " Updated status of asset " . $boldTextStart . ":assetname" . $boldTextEnd  . $lineBreak . " From :oldasset_status to :newstatus " . $lineBreak . " :commenttext" . $htmlEntityEnd,

    'NasDriveUserAdded' => $htmlEntityStart . $boldTextStart . ":username - :useremail" . $boldTextEnd . $lineBreak . " Added User " . $boldTextStart . ":nasusername - :nasuseremail" . $boldTextEnd . " to NAS Asset " . $boldTextStart . ":assetname" . $boldTextEnd  . $lineBreak .  $htmlEntityEnd,

    'NasDriveUserRemoved' => $htmlEntityStart . $boldTextStart . ":username - :useremail" . $boldTextEnd . $lineBreak . " Removed User " . $boldTextStart . ":nasusername - :nasuseremail" . $boldTextEnd . " from NAS Asset " . $boldTextStart  . ":assetname" . $boldTextEnd . $lineBreak .  $htmlEntityEnd,

    'DisputeCommon' => $htmlEntityStart . "Asset Type - :asset_type " . $lineBreak . "  Hardware Standard - :make_and_model " . $lineBreak . " Asset Tag # - :asset_tag " . $lineBreak . " Serial # - :serial_no,  " . $lineBreak .  $htmlEntityEnd,

    'AsnAssigned' => $htmlEntityStart . $boldTextStart . ":username - :useremail" . $boldTextEnd . $lineBreak . " Updated status of asset " . $boldTextStart . ":assetname" . $boldTextEnd . $lineBreak . " From :oldasset_status to :newstatus  and  user/location updated :roomname " . $lineBreak . " :commenttext" . $htmlEntityEnd,

    'updateAssignee' => $htmlEntityStart . $boldTextStart . ":username - :useremail" . $boldTextEnd . $lineBreak . " Updated assignee of asset " . $boldTextStart . ":assetname" . $boldTextEnd . $lineBreak . " From :oldusername to :newusername" . $htmlEntityEnd,

    'InRepair' => $htmlEntityStart . $boldTextStart . ":username - :useremail" . $boldTextEnd . $lineBreak . " Updated status of asset " . $boldTextStart . ":assetname" . $boldTextEnd  . $lineBreak . " From :oldasset_status to :newstatus " . $lineBreak . " :commenttext" . $htmlEntityEnd,
];
