TimeTrex/interface/html5/views/reports/exception_summary/ExceptionSummaryReportViewController.js

23 lines
563 B
JavaScript
Raw Permalink Normal View History

2022-12-13 07:10:06 +01:00
export class ExceptionSummaryReportViewController extends ReportBaseViewController {
constructor( options = {} ) {
_.defaults( options, {
} );
super( options );
}
initReport( options ) {
this.script_name = 'ExceptionReport';
this.viewId = 'ExceptionSummaryReport';
this.context_menu_name = $.i18n._( 'Exception Summary' );
this.navigation_label = $.i18n._( 'Saved Report' );
this.view_file = 'ExceptionSummaryReportView.html';
this.api = TTAPI.APIExceptionReport;
}
getCustomContextMenuModel() {
return { include: ['default'] };
}
}