This topic is locked

Notification Spamming

4/19/2024 11:59:32 AM
PHPRunner General questions
mic'',) author

Im wondering why I kept encountering this in nofication

img alt

Is there anything in the code?

addNotification(
$record["Process"]." | STATUS: "." (".$params["tm_action"].")",
"SO: ".$customer_name." | ₱".number_format($record["AMOUNT"],2),
"fa-envelope",
makePageLink("order","view",$keys),
$expire=5,
$record["SalesRep_ID"]
);

Thanks in advance

Cheers
mic

mic'',) author 4/19/2024

I guest I found the answer,

I set the autoincrement ID by trigger with this format

BEGIN
SET NEW.ID = UUID_SHORT();
END

I hate using the 1,2,3 etc in the ID, so any suggestion to alter the autoincrement ID like this format strtoupper(uniqid()) or maybe uuid_short()

Cheers
mic