This commit is contained in:
jhartworks
2025-04-22 14:57:41 +02:00
parent f0a076345d
commit 683febde0f
2 changed files with 17 additions and 7 deletions
+15 -7
View File
@@ -9,30 +9,39 @@
"type": "List",
"name": "Parameterlist",
"caption": "Parameter List",
"rowCount": 2,
"rowCount": 3,
"add": true,
"delete": true,
"sort": {
"column": "ParAlias",
"column": "ParNumber",
"direction": "ascending"
},
"columns": [{
"columns": [
{
"caption": "Parameter Number",
"name": "ParNumber",
"width": "auto",
"add": "0"
},
{
"caption": "Parameter Alias",
"name": "ParAlias",
"width": "auto",
"add": "",
"edit": {
"type": "ValidationTextBox"
}
}, {
}
},
{
"caption": "Parametername",
"name": "ParName",
"width": "auto",
"add": "",
"edit": {
"type": "ValidationTextBox"
}
}
}],
],
"values": [{
"ParAlias": "New Parameter",
"ParName": "pn"
@@ -42,7 +51,6 @@
],
"actions":
[
{ "type": "Button", "label": "Send Message", "onClick": "WBM_SendMessage($id, $Params);" }
],
"status":
[
+2
View File
@@ -48,6 +48,8 @@ class WhatsappMessage extends IPSModule {
];
}
print_r($parameters);
$data = [
"messaging_product" => "whatsapp",
"to" => $recip,