/*-
* ============LICENSE_START=======================================================
- * ECOMP Policy Engine
+ * ONAP Policy Engine
* ================================================================================
* Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
* ================================================================================
docDefinition.styles.footerStyle = { fontSize: 10, bold: true };
return docDefinition;
},
+ exporterFieldCallback: function(grid, row, col, input) {
+ if( col.name == 'createdDate' || col.name == 'modifiedDate') {
+ var date = new Date(input);
+ return date.toString("yyyy-MM-dd HH:MM:ss a");
+ } else {
+ return input;
+ }
+ },
exporterPdfOrientation: 'portrait',
exporterPdfPageSize: 'LETTER',
exporterPdfMaxGridWidth: 500,
};
$scope.deleteRiskType = function(data) {
- modalService.popupConfirmWin("Confirm","You are about to delete the Ecomp Name "+data.riskType+". Do you want to continue?",
+ modalService.popupConfirmWin("Confirm","You are about to delete the Onap Name "+data.riskType+". Do you want to continue?",
function(){
var uuu = "deleteDictionary/sp_dictionary/remove_riskType";
var postData={data: data};