FCLT#85890 Bij notificaties ook een technisch-adres tabje tonen

svn path=/Website/trunk/; revision=67822
This commit is contained in:
Jos Groot Lipman
2025-02-03 12:14:38 +00:00
parent 2253f46c16
commit 785657cc79
2 changed files with 15 additions and 1 deletions

View File

@@ -11,8 +11,8 @@
Notes:
*/
%>
<!-- #include file="../api2/model_prs_bedrijfadres_srtnoti.inc" -->
<%
function model_fac_srtnotificatie(cust)
{
this.records_name = "notificationtypes";
@@ -201,6 +201,16 @@ function model_fac_srtnotificatie(cust)
}
};
this.includes = {
"srtnotifications": {
"model": new model_prs_bedrijfadres_srtnoti(),
"joinfield": "srtnotification"
}
};
delete this.includes["srtnotifications"].model["REST_POST"];
delete this.includes["srtnotifications"].model["REST_PUT"];
delete this.includes["srtnotifications"].model["REST_DELETE"];
if (!S("puo_smsaccount"))
this.fields.notificationmode.bits[0].radios.splice(2, 1);

View File

@@ -48,6 +48,10 @@
"fac_task_lastrun",
"fac_task_flags"
],
"orderby": [
"fac_cust_key",
"name"
],
rowClass: function(oRs)
{
if (oRs.Fields("fac_task_flags").Value & 1) // disabled