TimeTrex/interface/html5/views/reports/punch_summary/PunchSummaryReportViewController.js

21 lines
549 B
JavaScript
Raw Permalink Normal View History

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