TimeTrex/interface/html5/views/reports/audittrail/AuditTrailReportViewController.js

24 lines
558 B
JavaScript
Raw Normal View History

2022-12-13 07:10:06 +01:00
export class AuditTrailReportViewController extends ReportBaseViewController {
constructor( options = {} ) {
_.defaults( options, {} );
super( options );
}
initReport( options ) {
this.script_name = 'AuditTrailReport';
this.viewId = 'AuditTrailReport';
this.context_menu_name = $.i18n._( 'Audit Trail' );
this.navigation_label = $.i18n._( 'Saved Report' );
this.view_file = 'AuditTrailReportView.html';
this.api = TTAPI.APIAuditTrailReport;
}
getCustomContextMenuModel() {
return {
exclude: [],
include: ['default']
};
}
}