check notification

This commit is contained in:
Ibnu Maksum
2023-03-06 14:50:55 +07:00
parent b10cfa2a8e
commit 1315621259
3 changed files with 36 additions and 20 deletions

View File

@ -123,7 +123,7 @@ switch ($action) {
$v1->user = $c['username'];
$v1->save();
// Telegram to Admin
sendTelegram('#u' . $c['username'] . " Activate #Voucher #Hotspot\n" . $p['name_plan'] .
Message::sendTelegram('#u' . $c['username'] . " Activate #Voucher #Hotspot\n" . $p['name_plan'] .
"\nCode: " . $code .
"\nRouter: " . $v1['routers'] .
"\nPrice: " . $p['price']);
@ -200,7 +200,7 @@ switch ($action) {
$v1->user = $c['username'];
$v1->save();
// Telegram to Admin
sendTelegram('#u' . $c['username'] . " Activate #Voucher #PPPOE\n" . $p['name_plan'] .
Message::sendTelegram('#u' . $c['username'] . " Activate #Voucher #PPPOE\n" . $p['name_plan'] .
"\nCode: " . $code .
"\nRouter: " . $v1['routers'] .
"\nPrice: " . $p['price']);