FSN#36227 fac_srtnotificatie bewerkbaar via scaffolding
svn path=/Website/trunk/; revision=29337
This commit is contained in:
@@ -153,6 +153,16 @@ function model_fac_srtnotificatie()
|
||||
if (!S("puo_smsaccount"))
|
||||
this.fields.notification_mode.bits[0].radios.splice(2, 1);
|
||||
|
||||
if (user.has("WEB_FACTAB"))
|
||||
{
|
||||
// Een gebruiker met WEB_FACTAB-rechten mag meer.
|
||||
this.fields.name.insertonly = false;
|
||||
this.fields.xmlnode.insertonly = false;
|
||||
this.fields.notification_url.insertonly = false;
|
||||
this.fields.group.insertonly = false;
|
||||
this.fields.id.seq = "fac_s_fac_srtnotificatie_key"; // Ook toevoegen..
|
||||
this.REST_DELETE = generic_REST_DELETE(this); // en verwijderen.
|
||||
}
|
||||
|
||||
var ext_sql = "(SELECT fac_srtnotificatie_key"
|
||||
+ " , DECODE(BITAND(fac_srtnotificatie_mode, 1), 1,"+ safe.qL("lcl_on") +", '') status"
|
||||
@@ -170,7 +180,7 @@ function model_fac_srtnotificatie()
|
||||
});
|
||||
this.REST_POST = generic_REST_POST(this);
|
||||
this.REST_PUT = generic_REST_PUT(this);
|
||||
// Verwijderen niet toegestaan.
|
||||
// Met alleen WEB_PRSSYS rechten is verwijderen niet toegestaan.
|
||||
|
||||
|
||||
function fnshowusermode(oRs)
|
||||
|
||||
Reference in New Issue
Block a user