"use strict";(self.webpackChunktimetrex=self.webpackChunktimetrex||[]).push([["reports-accrual_balance_summary-AccrualBalanceSummaryReportViewController"],{1709:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"AccrualBalanceSummaryReportViewController\": () => (/* binding */ AccrualBalanceSummaryReportViewController)\n/* harmony export */ });\n/* provided dependency */ var _ = __webpack_require__(9050);\n/* provided dependency */ var $ = __webpack_require__(9755);\nclass AccrualBalanceSummaryReportViewController extends ReportBaseViewController {\n\tconstructor( options = {} ) {\n\t\t_.defaults( options, {\n\n\t\t} );\n\n\t\tsuper( options );\n\t}\n\n\tinitReport( options ) {\n\t\tthis.script_name = 'AccrualBalanceSummaryReport';\n\t\tthis.viewId = 'AccrualBalanceSummaryReport';\n\t\tthis.context_menu_name = $.i18n._( 'Accrual Balance Summary' );\n\t\tthis.navigation_label = $.i18n._( 'Saved Report' );\n\t\tthis.view_file = 'AccrualBalanceSummaryReportView.html';\n\t\tthis.api = TTAPI.APIAccrualBalanceSummaryReport;\n\t}\n\n\tgetCustomContextMenuModel() {\n\t\tvar context_menu_model = {\n\t\t\texclude: [],\n\t\t\tinclude: ['default']\n\t\t};\n\n\t\treturn context_menu_model;\n\t}\n\n\tgetFormValues() {\n\n\t\tvar other = {};\n\n\t\tother.page_orientation = this.current_edit_record.page_orientation;\n\t\tother.font_size = this.current_edit_record.font_size;\n\t\tother.auto_refresh = this.current_edit_record.auto_refresh;\n\t\tother.disable_grand_total = this.current_edit_record.disable_grand_total;\n\t\tother.maximum_page_limit = this.current_edit_record.maximum_page_limit;\n\t\tother.show_duplicate_values = this.current_edit_record.show_duplicate_values;\n\t\tother.accrual_policy_account_id = this.current_edit_record.accrual_policy_account_id;\n\n\t\tif ( this.current_saved_report && Global.isSet( this.current_saved_report.name ) ) {\n\t\t\tother.report_name = _.escape( this.current_saved_report.name );\n\t\t\tother.report_description = this.current_saved_report.description;\n\t\t}\n\n\t\treturn other;\n\t}\n\n}//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMTcwOS5qcyIsIm1hcHBpbmdzIjoiOzs7Ozs7QUFBTztBQUNQLDJCQUEyQjtBQUMzQixFQUFFLENBQUM7O0FBRUgsSUFBSTs7QUFFSjtBQUNBOztBQUVBO0FBQ0E7QUFDQTtBQUNBLDJCQUEyQixDQUFDO0FBQzVCLDBCQUEwQixDQUFDO0FBQzNCO0FBQ0E7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7QUFDQTtBQUNBOztBQUVBO0FBQ0E7O0FBRUE7O0FBRUE7O0FBRUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7O0FBRUE7QUFDQSx1QkFBdUIsQ0FBQztBQUN4QjtBQUNBOztBQUVBO0FBQ0E7O0FBRUEiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9pbnRlcmZhY2UvaHRtbDUvdmlld3MvcmVwb3J0cy9hY2NydWFsX2JhbGFuY2Vfc3VtbWFyeS9BY2NydWFsQmFsYW5jZVN1bW1hcnlSZXBvcnRWaWV3Q29udHJvbGxlci5qcz81NmU1Il0sInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBjbGFzcyBBY2NydWFsQmFsYW5jZVN1bW1hcnlSZXBvcnRWaWV3Q29udHJvbGxlciBleHRlbmRzIFJlcG9ydEJhc2VWaWV3Q29udHJvbGxlciB7XG5cdGNvbnN0cnVjdG9yKCBvcHRpb25zID0ge30gKSB7XG5cdFx0Xy5kZWZhdWx0cyggb3B0aW9ucywge1xuXG5cdFx0fSApO1xuXG5cdFx0c3VwZXIoIG9wdGlvbnMgKTtcblx0fVxuXG5cdGluaXRSZXBvcnQoIG9wdGlvbnMgKSB7XG5cdFx0dGhpcy5zY3JpcHRfbmFtZSA9ICdBY2NydWFsQmFsYW5jZVN1bW1hcnl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