58 lines
1.4 KiB
Plaintext
58 lines
1.4 KiB
Plaintext
<%@language = "javascript" %>
|
|
<% /*
|
|
$Revision$
|
|
$Id$
|
|
|
|
File: fac_export_app.asp
|
|
|
|
Description: fac_management aanroep van model_fac_export_app
|
|
|
|
Context:
|
|
|
|
Notes:
|
|
*/
|
|
%>
|
|
<!-- #include file="../scf/scaffolding.inc" -->
|
|
<!-- #include file="../api2/model_fac_export_app.inc" -->
|
|
<%
|
|
var this_model = new model_fac_export_app();
|
|
|
|
var id = getQParamInt("id", -1);
|
|
if (id > 0)
|
|
{
|
|
var url = "../../appl/shared/BijlagenForm.asp?module=EXPORTS&imp_exp_key=" + id;
|
|
var proturl = protectQS.create(url);
|
|
var fileaction = "FcltMgr.openModalDetail('" + safe.jsstring(proturl) + "')";
|
|
}
|
|
|
|
scaffolding(this_model,
|
|
{
|
|
"search": {
|
|
"autosearch": true,
|
|
"filters": [
|
|
"name",
|
|
"description"
|
|
]
|
|
},
|
|
"list": {
|
|
"columns": [
|
|
"id",
|
|
"name",
|
|
"description",
|
|
"fileprefix",
|
|
"postfix",
|
|
"authorization",
|
|
"prefix"
|
|
]
|
|
},
|
|
"show": {
|
|
"buttons" : [{ title: L("fac_import_app_files"), action: fileaction, icon: "fa-file" }]
|
|
},
|
|
"layout": {
|
|
"miscellaneous": {
|
|
"icon": "fa-file-export"
|
|
}
|
|
}
|
|
});
|
|
%><% ASPPAGE_END(); %>
|