FSN#39055 BCS/2000 functionaliteit in FACILITOR - customization
svn path=/Website/branches/v2017.1/; revision=33981
This commit is contained in:
@@ -42,7 +42,7 @@ function model_fin_factuur()
|
|||||||
},
|
},
|
||||||
"month": {
|
"month": {
|
||||||
"dbs": "fin_factuur_boekmaand",
|
"dbs": "fin_factuur_boekmaand",
|
||||||
"label": "boekmaand",
|
"label": L("lcl_fin_boekmaand"),
|
||||||
"typ": "varchar"
|
"typ": "varchar"
|
||||||
},
|
},
|
||||||
"date": {
|
"date": {
|
||||||
@@ -60,7 +60,7 @@ function model_fin_factuur()
|
|||||||
},
|
},
|
||||||
"order": {
|
"order": {
|
||||||
"dbs": "mld_opdr_key",
|
"dbs": "mld_opdr_key",
|
||||||
"label": "opdracht",
|
"label": L("lcl_fin_mld_opdr"),
|
||||||
"typ": "key",
|
"typ": "key",
|
||||||
"required": true,
|
"required": true,
|
||||||
"foreign": {
|
"foreign": {
|
||||||
@@ -107,7 +107,7 @@ function model_fin_factuur()
|
|||||||
"totalincl": {
|
"totalincl": {
|
||||||
"dbs": "fin_factuur_totaal_incl",
|
"dbs": "fin_factuur_totaal_incl",
|
||||||
"sql": "fin_factuur_totaal + fin_factuur_totaal_btw",
|
"sql": "fin_factuur_totaal + fin_factuur_totaal_btw",
|
||||||
"label": "Incl. BTW",
|
"label": L("lcl_fin_total_sum"),
|
||||||
"typ": "float",
|
"typ": "float",
|
||||||
"iscurrency": true,
|
"iscurrency": true,
|
||||||
"total": true,
|
"total": true,
|
||||||
@@ -141,6 +141,9 @@ function model_fin_factuur()
|
|||||||
var new_inv = cur_inv + "/" + (cur_seq + 1);
|
var new_inv = cur_inv + "/" + (cur_seq + 1);
|
||||||
obj.invoice = new_inv;
|
obj.invoice = new_inv;
|
||||||
}
|
}
|
||||||
|
// De opdracht moet wel gewijzigd kunnen worden bij het klonen.
|
||||||
|
if (!obj.id)
|
||||||
|
fld.order.readonly = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
this.hook_pre_post = function(params, obj)
|
this.hook_pre_post = function(params, obj)
|
||||||
@@ -148,12 +151,11 @@ function model_fin_factuur()
|
|||||||
// Wordt alleen gebruikt bij toevoegen.
|
// Wordt alleen gebruikt bij toevoegen.
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
this.hook_pre_put = function(params, obj, key)
|
this.hook_pre_put = function(params, obj, key)
|
||||||
{ //wijzigen factuur: bepaal ook opnieuw de som van de factuurregels.
|
{ //wijzigen factuur: bepaal ook opnieuw de som van de factuurregels.
|
||||||
}
|
}
|
||||||
|
|
||||||
this.REST_GET = generic_REST_GET(this); //, gparams);
|
this.REST_GET = generic_REST_GET(this);
|
||||||
this.REST_POST = generic_REST_POST(this);
|
this.REST_POST = generic_REST_POST(this);
|
||||||
this.REST_PUT = generic_REST_PUT(this);
|
this.REST_PUT = generic_REST_PUT(this);
|
||||||
this.REST_DELETE = generic_REST_DELETE(this);
|
this.REST_DELETE = generic_REST_DELETE(this);
|
||||||
|
|||||||
@@ -58,6 +58,5 @@ scaffolding(this_model,
|
|||||||
"js": ["../bgt/bgt_budget.js"]
|
"js": ["../bgt/bgt_budget.js"]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
});
|
});
|
||||||
%>
|
%>
|
||||||
Reference in New Issue
Block a user