TimeTrex/interface/html5/dist/payroll-remittance_wizard-PayrollRemittanceAgencyEventWizardStepReview.bundle.js

1 line
67 KiB
JavaScript

"use strict";(self.webpackChunktimetrex=self.webpackChunktimetrex||[]).push([["payroll-remittance_wizard-PayrollRemittanceAgencyEventWizardStepReview","wizard-WizardStep"],{8880:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"WizardStep\": () => (/* binding */ WizardStep)\n/* harmony export */ });\n/* harmony import */ var _views_TTBackboneView__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(6739);\n/* provided dependency */ var _ = __webpack_require__(9050);\n/* provided dependency */ var $ = __webpack_require__(9755);\n\n\nclass WizardStep extends _views_TTBackboneView__WEBPACK_IMPORTED_MODULE_0__.TTBackboneView {\n\tconstructor( options = {} ) {\n\t\t_.defaults( options, {\n\t\t\tprevious_step_name: null,\n\t\t\tnext_step_name: null,\n\t\t\tbuttons: null,\n\t\t\twizard_obj: null, //rename to wizard_obj\n\n\t\t\tclicked_buttons: {},\n\t\t\treload: false,\n\n\t\t\tapi: null,\n\n\t\t\t//override in children\n\t\t\tname: 'undefined',\n\t\t\ttitle: $.i18n._( 'Undefined Step' ),\n\t\t\tinstructions: $.i18n._( 'Undefined step data' )\n\t\t} );\n\n\t\tsuper( options );\n\t}\n\n\tinitialize( wizard_obj ) {\n\t\tsuper.initialize( wizard_obj );\n\n\t\tthis.buttons = {};\n\t\tthis.clicked_buttons = {}; //Clear clicked buttons on each step so checking that all buttons are clicked doesn't carry state from one step to the next. (ie: They click a required button on Step 2, but not Step 3, the count for required buttons would still match as 1)\n\t\tthis.reload = false;\n\t\tthis.setWizardObject( wizard_obj );\n\t\tvar $this = this;\n\t\tthis.init();\n\t}\n\n\t//Children must always call render()\n\tinit() {\n\t\tthis.render();\n\t}\n\n\tinitCardsBlock() {\n\t\t$( this.wizard_obj.el ).find( '#cards' ).html( '' );\n\t}\n\n\tsetTitle( title ) {\n\t\t$( this.wizard_obj.el ).find( '.title-1' ).html( title );\n\t}\n\n\tsetInstructions( instructions, callback ) {\n\n\t\tif ( $( this.el ).find( '.instructions' ).length == 0 ) {\n\t\t\t$( this.el ).find( '.progress-bar' ).append( '<p class=\"instructions\"></p>' );\n\t\t}\n\n\t\t$( this.el ).find( '.progress-bar .instructions' ).html( instructions );\n\n\t\tif ( typeof callback == 'function' ) {\n\t\t\tcallback();\n\t\t}\n\t}\n\n\tsetWizardObject( val ) {\n\t\tthis.wizard_obj = val;\n\t\tthis.el = this.wizard_obj.el;\n\t}\n\n\tgetWizardObject() {\n\t\treturn this.wizard_obj;\n\t}\n\n\tsetNextStepName( val ) {\n\t\tthis.next_step_name = val;\n\t}\n\n\tgetNextStepName() {\n\t\treturn false;\n\t}\n\n\tsetPreviousStepName( val ) {\n\t\tthis.previous_step_name = val;\n\t}\n\n\tgetPreviousStepName() {\n\t\treturn false;\n\t}\n\n\trender() {\n\t\tthis.initCardsBlock();\n\t\treturn this._render();\n\t}\n\n\t_render() {\n\t\treturn;\n\t\t//always overrirde\n\t}\n\n\tappend( content ) {\n\t\t$( this.wizard_obj.el ).find( '.content' ).append( content );\n\t}\n\n\tappendButton( button ) {\n\t\t$( this.wizard_obj.el ).find( '#cards' ).append( button );\n\t}\n\n\tsetGrid( gridId, grid_div, allMultipleSelection ) {\n\n\t\tif ( !allMultipleSelection ) {\n\t\t\tallMultipleSelection = false;\n\t\t}\n\n\t\t$( '#' + gridId ).remove(); //Remove the grid to prevent JS Exception: Uncaught TypeError: Failed to execute 'replaceChild' on 'Node': parameter 2 is not of type 'Node'.\n\n\t\tthis.append( grid_div );\n\n\t\tvar grid = $( '#' + gridId );\n\n\t\tvar grid_columns = this.getGridColumns( gridId );\n\n\t\tvar $this = this;\n\n\t\tgrid = new TTGrid( gridId, {\n\t\t\tonSelectRow: function( e ) {\n\t\t\t\t$this.onGridSelectRow( e );\n\t\t\t},\n\t\t\tonSelectAll: function( e ) {\n\t\t\t\tfor ( var n in e ) {\n\t\t\t\t\t$this.onGridSelectRow( e[n] );\n\t\t\t\t}\n\t\t\t},\n\t\t\tondblClickRow: function() {\n\t\t\t\t$this.onGridDblClickRow();\n\t\t\t},\n\t\t\tmultiselect: false,\n\t\t\twinMultiSelect: false\n\t\t}, grid_columns );\n\n\t\tthis.setGridSize( grid );\n\t\tthis.setGridGroupColumns( gridId );\n\n\t\treturn grid; //allowing chaining off this method.\n\t}\n\n\tgetGridColumns( gridId, callBack ) {\n\t\t//override if step object needs a grid.\n\t}\n\n\tsetGridAutoHeight( grid, length ) {\n\t\tif ( length > 0 && length < 10 ) {\n\t\t\tgrid.grid.setGridHeight( length * 23 );\n\t\t} else if ( length > 10 ) {\n\t\t\tgrid.grid.setGridHeight( 400 );\n\t\t}\n\t}\n\n\tsetGridSize( grid ) {\n\t\tgrid.grid.setGridWidth( $( this.wizard_obj.el ).find( '.content .grid-div' ).width() - 11 );\n\t\tgrid.grid.setGridHeight( $( this.wizard_obj.el ).find( '.content' ).height() - 150 ); //During merge, this wasn't in MASTER branch.\n\t}\n\n\tgetRibbonButtonBox() {\n\t\tvar div = $( '<div class=\"menu ribbon-button-bar\"></div>' );\n\t\tvar ul = $( '<ul></ul>' );\n\n\t\tdiv.append( ul );\n\n\t\treturn div;\n\t}\n\n\t/**\n\t * to get old-style icons, don't provide desc\n\t * to get card-style icons, provide desc\n\t * to get card-style icons without a description, send a blank string ('') as desc\n\t *\n\t * @param id\n\t * @param icon\n\t * @param label\n\t * @param desc\n\t * @returns {*|jQuery|HTMLElement}\n\t */\n\tgetRibbonButton( id, icon, label, desc ) {\n\t\t//prelaod imgages to reduce the appearance of phantom flashing\n\t\t$( '<img></img>' )[0].src = icon;\n\n\t\tif ( typeof desc == 'undefined' ) {\n\t\t\tvar button = $( '<li><div class=\"ribbon-sub-menu-icon\" id=\"' + id + '\"><img src=\"' + icon + '\" >' + label + '</div></li>' );\n\t\t\treturn button;\n\t\t}\n\n\t\tvar container = $( '<div class=\"wizard_icon_card\" id=\"' + id + '\"></div>' );\n\n\t\tvar img = $( '<img src=\"' + icon + '\"></img>' );\n\n\t\tvar right_container = $( '<div class=\"right_container\"></div>' );\n\n\t\tvar title = $( '<h3 class=\"button_title\"></h3>' );\n\t\ttitle.html( label ? label : '' );\n\n\t\tvar description = $( '<div class=\"description\"></div>' );\n\t\tdescription.html( desc ? desc : '' );\n\n\t\tcontainer.append( img );\n\t\tright_container.append( title );\n\t\tright_container.append( description );\n\t\tcontainer.append( right_container );\n\n\t\treturn container;\n\t}\n\n\t//\n\t//stubs that should be overrideen\n\t//\n\n\tonGridSelectRow( selected_id ) {\n\t\t//\n\t}\n\n\tonGridDblClickRow( selected_id ) {\n\t\t//\n\t}\n\n\tonNavigationClick( e, icon ) {\n\t\tif ( e ) {\n\t\t\tthis.addButtonClick( e, icon );\n\t\t}\n\n\t\t//Prevent double clicking on tax wizard buttons.\n\t\tProgressBar.showOverlay();\n\n\t\t//this flag is turned off in ProgressBarManager::closeOverlay, or 2s whichever happens first\n\t\tif ( window.clickProcessing == true ) {\n\t\t\treturn;\n\t\t} else {\n\t\t\twindow.clickProcessing = true;\n\t\t\twindow.clickProcessingHandle = window.setTimeout( function() {\n\t\t\t\tif ( window.clickProcessing == true ) {\n\t\t\t\t\twindow.clickProcessing = false;\n\t\t\t\t\tProgressBar.closeOverlay();\n\t\t\t\t}\n\t\t\t}, 1000 );\n\t\t}\n\n\t\tvar api_payroll_remittance_agency_event = TTAPI.APIPayrollRemittanceAgencyEvent;\n\t\tapi_payroll_remittance_agency_event.doLogWizardEvent( this.getWizardObject().selected_remittance_agency_event_id, 'step_action', this.current_step, icon, false, true, {\n\t\t\tonResult: function( result ) {\n\t\t\t}\n\t\t} );\n\t\tthis._onNavigationClick( icon );\n\t}\n\n\t//Overridden in each Wizard step.\n\t_onNavigationClick( icon ) {\n\t}\n\n\t//Overridden in each Wizard step that needs to determine if required buttons are clicked or not.\n\tisRequiredButtonsClicked() {\n\t\treturn true;\n\t}\n\n\taddButtonClick( e, icon ) {\n\t\t// $(e.target).addClass('clicked_wizard_icon');\n\t\t// $(e.target).find('img').addClass('disable-image');\n\t\tvar element = $( e.target );\n\t\tif ( !element.hasClass( 'wizard_icon_card' ) ) {\n\t\t\telement = $( e.target ).parents( '.wizard_icon_card' );\n\t\t}\n\t\telement.addClass( 'clicked_wizard_icon' );\n\t\telement.addClass( 'disable-image' );\n\n\t\tthis.clicked_buttons[icon] = true;\n\t}\n\n\tisButtonClicked( icon ) {\n\t\tif ( this.clicked_buttons.hasOwnProperty( icon ) && typeof this.clicked_buttons[icon] != 'undefined' ) {\n\t\t\treturn true;\n\t\t}\n\t\treturn false;\n\t}\n\n\taddButton( context_name, icon_name, title, description, button_name ) {\n\t\tif ( typeof button_name == 'undefined' ) {\n\t\t\tbutton_name = context_name;\n\t\t}\n\n\t\tvar button = this.getRibbonButton( context_name, Global.getRibbonIconRealPath( icon_name ), title, description );\n\n\t\tvar $this = this;\n\t\tbutton.unbind( 'click' ).bind( 'click', function( e ) {\n\t\t\t$this.onNavigationClick( e, button_name );\n\t\t} );\n\t\t//ribbon_button_box.find('ul').append(button);\n\n\t\tif ( this.isButtonClicked( button_name ) ) {\n\t\t\tbutton.addClass( 'clicked_wizard_icon' );\n\t\t\tbutton.addClass( 'disable-image' );\n\t\t}\n\n\t\tthis.buttons[icon_name] = button;\n\t\tthis.appendButton( button );\n\n\t\treturn button;\n\t}\n\n\tsetGridGroupColumns( gridId ) {\n\n\t}\n\n\turlClick( action_id ) {\n\t\tthis.api.getMakePaymentData( this.getWizardObject().selected_remittance_agency_event_id, action_id, {\n\t\t\tonResult: function( result ) {\n\t\t\t\tvar url = result.getResult();\n\t\t\t\tDebug.Text( 'Redirecting to external site: ' + url, 'WizardStep.js', 'WizardStep', 'urlClick', 10 );\n\t\t\t\twindow.open( url );\n\t\t\t}\n\t\t} );\n\t}\n\n\tpaymentServicesClick( action_id ) {\n\t\tthis.api.getFileAndPayWithPaymentServicesData( this.getWizardObject().selected_remittance_agency_event_id, action_id, {\n\t\t\tonResult: function( result ) {\n\t\t\t\tvar retval = result.getResult();\n\n\t\t\t\tif ( retval['user_message'] && retval['user_message'] != '' ) {\n\t\t\t\t\tTAlertManager.showAlert( retval['user_message'] );\n\t\t\t\t} else {\n\t\t\t\t\tif ( retval == false ) {\n\t\t\t\t\t\tTAlertManager.showAlert( $.i18n._( 'ERROR! Something went wrong, please contact customer service immediately!' ) );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t} );\n\t}\n\n}//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiODg4MC5qcyIsIm1hcHBpbmdzIjoiOzs7Ozs7O0FBQXdEOztBQUVqRCx5QkFBeUIsaUVBQWM7QUFDOUMsMkJBQTJCO0FBQzNCLEVBQUUsQ0FBQztBQUNIO0FBQ0E7QUFDQTtBQUNBOztBQUVBLHNCQUFzQjtBQUN0Qjs7QUFFQTs7QUFFQTtBQUNBO0FBQ0EsVUFBVSxDQUFDO0FBQ1gsaUJBQWlCLENBQUM7QUFDbEIsSUFBSTs7QUFFSjtBQUNBOztBQUVBO0FBQ0E7O0FBRUE7QUFDQSw2QkFBNkI7QUFDN0I7QUFDQTtBQUNBO0FBQ0E7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7QUFDQTs7QUFFQTtBQUNBLEVBQUUsQ0FBQztBQUNIOztBQUVBO0FBQ0EsRUFBRSxDQUFDO0FBQ0g7O0FBRUE7O0FBRUEsT0FBTyxDQUFDO0FBQ1IsR0FBRyxDQUFDO0FBQ0o7O0FBRUEsRUFBRSxDQUFDOztBQUVIO0FBQ0E7QUFDQTtBQUNBOztBQUVBO0FBQ0E7QUFDQTtBQUNBOztBQUVBO0FBQ0E7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7O0FBRUE7QUFDQTtBQUNBOztBQUVBO0FBQ0E7QUFDQ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lc3NhZ2UnXSApO1xuXHRcdFx0XHR9IGVsc2Uge1xuXHRcdFx0XHRcdGlmICggcmV0dmFsID09IGZhbHNlICkge1xuXHRcdFx0XHRcdFx0VEFsZXJ0TWFuYWdlci5zaG93QWxlcnQoICQuaTE4bi5fKCAnRVJST1IhIFNvbWV0aGluZyB3ZW50IHdyb25nLCBwbGVhc2UgY29udGFjdCBjdXN0b21lciBzZXJ2aWNlIGltbWVkaWF0ZWx5IScgKSApO1xuXHRcdFx0XHRcdH1cblx0XHRcdFx0fVxuXHRcdFx0fVxuXHRcdH0gKTtcblx0fVxuXG59Il0sIm5hbWVzIjpbXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///8880\n")},7547:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"PayrollRemittanceAgencyEventWizardStepReview\": () => (/* binding */ PayrollRemittanceAgencyEventWizardStepReview)\n/* harmony export */ });\n/* harmony import */ var _global_widgets_wizard_WizardStep__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8880);\n/* provided dependency */ var _ = __webpack_require__(9050);\n/* provided dependency */ var $ = __webpack_require__(9755);\n\n\nclass PayrollRemittanceAgencyEventWizardStepReview extends _global_widgets_wizard_WizardStep__WEBPACK_IMPORTED_MODULE_0__.WizardStep {\n\tconstructor( options = {} ) {\n\t\t_.defaults( options, {\n\t\t\tname: 'review',\n\t\t\tapi: null,\n\n\t\t\tel: $( '.wizard.process_transactions_wizard' )\n\t\t} );\n\n\t\tsuper( options );\n\t}\n\n\tinit() {\n\t\tthis.api = TTAPI.APIPayrollRemittanceAgencyEvent;\n\t\tthis.render();\n\t}\n\n\tgetPreviousStepName() {\n\t\treturn 'home';\n\t}\n\n\tgetNextStepName() {\n\t\treturn 'submit';\n\t}\n\n\t_render() {\n\t\tthis.setTitle( $.i18n._( 'Review and Verify Information' ) );\n\t\tthis.setInstructions( $.i18n._( 'Review and verify all necessary information' ) + ': ' );\n\n\t\tvar $this = this;\n\t\tthis.getWizardObject().getPayrollRemittanceAgencyEventById( this.getWizardObject().selected_remittance_agency_event_id, null, function( result ) {\n\t\t\t$this.getWizardObject().selected_remittance_agency_event = result;\n\n\t\t\t$this.getWizardObject().buildEventDataBlock( 'payroll_remittance_agency_event_wizard-review-event_details', result );\n\t\t\t$this.initCardsBlock();\n\n\t\t\tDebug.Text( 'Selected tax report type: ' + $this.getWizardObject().selected_remittance_agency_event.type_id, null, null, null, 10 );\n\t\t\tvar tax_button = false;\n\n\t\t\tswitch ( $this.getWizardObject().selected_remittance_agency_event.type_id ) {\n\t\t\t\t//Canada\n\t\t\t\tcase 'T4':\n\t\t\t\t\ttax_button = $this.addButton( 'taxReportsIcon',\n\t\t\t\t\t\t'tax_reports-35x35.png',\n\t\t\t\t\t\t$.i18n._( 'Summary Report' ),\n\t\t\t\t\t\t$.i18n._( 'View a summary report to quickly review and verify information for each employee.' )\n\t\t\t\t\t);\n\n\t\t\t\t\t$this.addButton( 'GovernmentT4',\n\t\t\t\t\t\t'view_detail-35x35.png',\n\t\t\t\t\t\t$.i18n._( 'T4 Forms' ),\n\t\t\t\t\t\t$.i18n._( 'Generate T4 forms to review and verify that all necessary boxes are properly filled out.' )\n\t\t\t\t\t);\n\n\t\t\t\t\t$this.addButton( 'T4FormSetup',\n\t\t\t\t\t\t'save_setup-35x35.png',\n\t\t\t\t\t\t$.i18n._( 'Form Setup' ) + ' (' + $.i18n._( 'Optional' ) + ')',\n\t\t\t\t\t\t$.i18n._( 'In the event that the T4 report or forms are not showing the correct information, use this Form Setup icon to make adjustments and try again.' )\n\t\t\t\t\t);\n\t\t\t\t\tbreak;\n\t\t\t\tcase 'T4A':\n\t\t\t\t\ttax_button = $this.addButton( 'taxReportsIcon',\n\t\t\t\t\t\t'tax_reports-35x35.png',\n\t\t\t\t\t\t$.i18n._( 'Summary Report' ),\n\t\t\t\t\t\t$.i18n._( 'View a summary report to quickly review and verify information for each employee.' )\n\t\t\t\t\t);\n\n\t\t\t\t\t$this.addButton( 'GovernmentT4A',\n\t\t\t\t\t\t'view_detail-35x35.png',\n\t\t\t\t\t\t$.i18n._( 'T4A Forms' ),\n\t\t\t\t\t\t$.i18n._( 'Generate T4A forms to review and verify that all necessary boxes are properly filled out.' )\n\t\t\t\t\t);\n\n\t\t\t\t\t$this.addButton( 'T4AFormSetup',\n\t\t\t\t\t\t'save_setup-35x35.png',\n\t\t\t\t\t\t$.i18n._( 'Form Setup' ) + ' (' + $.i18n._( 'Optional' ) + ')',\n\t\t\t\t\t\t$.i18n._( 'In the event that the T4A report or forms are not showing the correct information, use this Form Setup icon to make adjustments and try again.' )\n\t\t\t\t\t);\n\t\t\t\t\tbreak;\n\n\t\t\t\t//US\n\t\t\t\tcase 'FW2':\n\t\t\t\t\ttax_button = $this.addButton( 'taxReportsIcon',\n\t\t\t\t\t\t'tax_reports-35x35.png',\n\t\t\t\t\t\t$.i18n._( 'Summary Report' ),\n\t\t\t\t\t\t$.i18n._( 'View a summary report to quickly review and verify information for each employee.' )\n\t\t\t\t\t);\n\n\t\t\t\t\t$this.addButton( 'GovernmentW2',\n\t\t\t\t\t\t'view_detail-35x35.png',\n\t\t\t\t\t\t$.i18n._( 'W2 Forms' ),\n\t\t\t\t\t\t$.i18n._( 'Generate W2 forms to review and verify that all necessary boxes are properly filled out.' )\n\t\t\t\t\t);\n\n\t\t\t\t\t$this.addButton( 'W2FormSetup',\n\t\t\t\t\t\t'save_setup-35x35.png',\n\t\t\t\t\t\t$.i18n._( 'Form Setup' ) + ' (' + $.i18n._( 'Optional' ) + ')',\n\t\t\t\t\t\t$.i18n._( 'In the event that the W2 report or forms are not showing the correct information, use this Form Setup icon to make adjustments and try again.' )\n\t\t\t\t\t);\n\t\t\t\t\tbreak;\n\t\t\t\tcase 'F1099NEC':\n\t\t\t\t\ttax_button = $this.addButton( 'taxReportsIcon',\n\t\t\t\t\t\t'tax_reports-35x35.png',\n\t\t\t\t\t\t$.i18n._( 'Summary Report' ),\n\t\t\t\t\t\t$.i18n._( 'View a summary report to quickly review and verify information for each employee.' )\n\t\t\t\t\t);\n\n\t\t\t\t\t$this.addButton( 'Government1099Nec',\n\t\t\t\t\t\t'view_detail-35x35.png',\n\t\t\t\t\t\t$.i18n._( '1099-NEC Forms' ),\n\t\t\t\t\t\t$.i18n._( 'Generate 1099-NEC forms to review and verify that all necessary boxes are properly filled out.' )\n\t\t\t\t\t);\n\n\t\t\t\t\t$this.addButton( '1099NecFormSetup',\n\t\t\t\t\t\t'save_setup-35x35.png',\n\t\t\t\t\t\t$.i18n._( 'Form Setup' ) + ' (' + $.i18n._( 'Optional' ) + ')',\n\t\t\t\t\t\t$.i18n._( 'In the event that the 1099-NEC report or forms are not showing the correct information, use this Form Setup icon to make adjustments and try again.' )\n\t\t\t\t\t);\n\t\t\t\t\tbreak;\n\t\t\t\tcase 'F940':\n\t\t\t\t\ttax_button = $this.addButton( 'taxReportsIcon',\n\t\t\t\t\t\t'tax_reports-35x35.png',\n\t\t\t\t\t\t$.i18n._( 'Summary Report' ),\n\t\t\t\t\t\t$.i18n._( 'View a summary report to quickly review and verify information for each employee.' )\n\t\t\t\t\t);\n\n\t\t\t\t\t$this.addButton( 'Government940',\n\t\t\t\t\t\t'view_detail-35x35.png',\n\t\t\t\t\t\t$.i18n._( '940 Form' ),\n\t\t\t\t\t\t$.i18n._( 'Generate the 940 form to review and verify that all necessary boxes are properly filled out.' )\n\t\t\t\t\t);\n\n\t\t\t\t\t$this.addButton( '940FormSetup',\n\t\t\t\t\t\t'save_setup-35x35.png',\n\t\t\t\t\t\t$.i18n._( 'Form Setup' ) + ' (' + $.i18n._( 'Optional' ) + ')',\n\t\t\t\t\t\t$.i18n._( 'In the event that the 940 report or forms are not showing the correct information, use this Form Setup icon to make adjustments and try again.' )\n\t\t\t\t\t);\n\t\t\t\t\tbreak;\n\t\t\t\tcase 'F941':\n\t\t\t\t\ttax_button = $this.addButton( 'taxReportsIcon',\n\t\t\t\t\t\t'tax_reports-35x35.png',\n\t\t\t\t\t\t$.i18n._( 'Summary Report' ),\n\t\t\t\t\t\t$.i18n._( 'View a summary report to quickly review and verify information for each employee.' )\n\t\t\t\t\t);\n\n\t\t\t\t\t$this.addButton( 'Government941',\n\t\t\t\t\t\t'view_detail-35x35.png',\n\t\t\t\t\t\t$.i18n._( '941 Form' ),\n\t\t\t\t\t\t$.i18n._( 'Generate the 941 form to review and verify that all necessary boxes are properly filled out.' )\n\t\t\t\t\t);\n\n\t\t\t\t\t$this.addButton( '941FormSetup',\n\t\t\t\t\t\t'save_setup-35x35.png',\n\t\t\t\t\t\t$.i18n._( 'Form Setup' ) + ' (' + $.i18n._( 'Optional' ) + ')',\n\t\t\t\t\t\t$.i18n._( 'In the event that the 941 report or forms are not showing the correct information, use this Form Setup icon to make adjustments and try again.' )\n\t\t\t\t\t);\n\t\t\t\t\tbreak;\n\t\t\t\tcase 'PBJ':\n\t\t\t\t\ttax_button = $this.addButton( 'taxReportsIcon',\n\t\t\t\t\t\t'tax_reports-35x35.png',\n\t\t\t\t\t\t$.i18n._( 'Summary Report' ),\n\t\t\t\t\t\t$.i18n._( 'View a summary report to quickly review and verify information for each employee.' )\n\t\t\t\t\t);\n\n\t\t\t\t\t$this.addButton( 'PBJExportSetup',\n\t\t\t\t\t\t'save_setup-35x35.png',\n\t\t\t\t\t\t$.i18n._( 'Export Setup' ),\n\t\t\t\t\t\t$.i18n._( 'In the event that the export format is not showing the correct information, use this icon to make adjustments and try again.' )\n\t\t\t\t\t);\n\t\t\t\t\tbreak;\n\t\t\t\tcase 'ROE':\n\t\t\t\t\ttax_button = $this.addButton( 'taxReportsIcon',\n\t\t\t\t\t\t'view-35x35.png',\n\t\t\t\t\t\t$.i18n._( 'ROE Forms' ),\n\t\t\t\t\t\t$.i18n._( 'View ROE forms to review and verify that all necessary boxes are properly filled out.' )\n\t\t\t\t\t);\n\t\t\t\t\tbreak;\n\t\t\t\tdefault:\n\t\t\t\t\ttax_button = $this.addButton( 'taxReportsIcon',\n\t\t\t\t\t\t'tax_reports-35x35.png',\n\t\t\t\t\t\t$.i18n._( 'Summary Report' ),\n\t\t\t\t\t\t$.i18n._( 'View a summary report to quickly review and verify information for each employee.' )\n\t\t\t\t\t);\n\t\t\t}\n\n\t\t\tif ( tax_button != false ) {\n\t\t\t\t$this.initRightClickMenuForTaxReportViewButton();\n\t\t\t}\n\n\t\t\t$this.getWizardObject().enableButtons();\n\t\t} );\n\t}\n\n\t_onNavigationClick( icon ) {\n\t\t//When navigating away, link the wizard.\n\t\tvar $this = this;\n\t\tswitch ( $this.getWizardObject().selected_remittance_agency_event.type_id ) {\n\t\t\t//Canada\n\t\t\tcase 'T4':\n\t\t\t\tswitch ( icon ) {\n\t\t\t\t\tcase 'GovernmentT4':\n\t\t\t\t\t\tGlobal.loadScript( 'views/reports/t4_summary/T4SummaryReportViewController', function() {\n\t\t\t\t\t\t\t$this.getWizardObject().getReport( 'pdf_form_government' );\n\t\t\t\t\t\t} );\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 'taxReportsIcon_new_window':\n\t\t\t\t\t\tthis.getWizardObject().showHTMLReport( 'T4Summary', true );\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 'taxReportsIcon':\n\t\t\t\t\t\tthis.getWizardObject().showHTMLReport( 'T4Summary' );\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 'T4FormSetup':\n\t\t\t\t\t\tthis.getWizardObject().minimize();\n\t\t\t\t\t\tIndexViewController.openReport( LocalCacheData.current_open_primary_controller, 'T4SummaryReport', null, 'FormSetup' );\n\t\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\tcase 'T4A':\n\t\t\t\tswitch ( icon ) {\n\t\t\t\t\tcase 'GovernmentT4A':\n\t\t\t\t\t\tGlobal.loadScript( 'views/reports/t4a_summary/T4ASummaryReportViewController', function() {\n\t\t\t\t\t\t\t$this.getWizardObject().getReport( 'pdf_form_government' );\n\t\t\t\t\t\t} );\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 'taxReportsIcon_new_window':\n\t\t\t\t\t\tthis.getWizardObject().showHTMLReport( 'T4ASummary', true );\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 'taxReportsIcon':\n\t\t\t\t\t\tthis.getWizardObject().showHTMLReport( 'T4ASummary' );\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 'T4AFormSetup':\n\t\t\t\t\t\tthis.getWizardObject().minimize();\n\t\t\t\t\t\tIndexViewController.openReport( LocalCacheData.current_open_primary_controller, 'T4ASummaryReport', null, 'FormSetup' );\n\t\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tbreak;\n\n\t\t\t//US\n\t\t\tcase 'FW2':\n\t\t\t\tswitch ( icon ) {\n\t\t\t\t\tcase 'GovernmentW2':\n\t\t\t\t\t\tGlobal.loadScript( 'views/reports/formw2/FormW2ReportViewController', function() {\n\t\t\t\t\t\t\t$this.getWizardObject().getReport( 'pdf_form_government' );\n\t\t\t\t\t\t} );\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 'taxReportsIcon_new_window':\n\t\t\t\t\t\tthis.getWizardObject().showHTMLReport( 'FormW2Report', true );\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 'taxReportsIcon':\n\t\t\t\t\t\tthis.getWizardObject().showHTMLReport( 'FormW2Report' );\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 'W2FormSetup':\n\t\t\t\t\t\tthis.getWizardObject().minimize();\n\t\t\t\t\t\tIndexViewController.openReport( LocalCacheData.current_open_primary_controller, 'FormW2Report', null, 'FormSetup' );\n\t\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\tcase 'F1099NEC':\n\t\t\t\tswitch ( icon ) {\n\t\t\t\t\tcase 'Government1099Nec':\n\t\t\t\t\t\tGlobal.loadScript( 'views/reports/form1099/Form1099NecReportViewController', function() {\n\t\t\t\t\t\t\t$this.getWizardObject().getReport( 'pdf_form_government' );\n\t\t\t\t\t\t} );\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 'taxReportsIcon_new_window':\n\t\t\t\t\t\tthis.getWizardObject().showHTMLReport( 'Form1099NecReport', true );\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 'taxReportsIcon':\n\t\t\t\t\t\tthis.getWizardObject().showHTMLReport( 'Form1099NecReport' );\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase '1099NecFormSetup':\n\t\t\t\t\t\tthis.getWizardObject().minimize();\n\t\t\t\t\t\tIndexViewController.openReport( LocalCacheData.current_open_primary_controller, 'Form1099NecReport', null, 'FormSetup' );\n\t\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\tcase 'F940':\n\t\t\t\tswitch ( icon ) {\n\t\t\t\t\tcase 'Government940':\n\t\t\t\t\t\tGlobal.loadScript( 'views/reports/form940/Form940ReportViewController', function() {\n\t\t\t\t\t\t\t$this.getWizardObject().getReport( 'pdf_form' );\n\t\t\t\t\t\t} );\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 'taxReportsIcon_new_window':\n\t\t\t\t\t\tthis.getWizardObject().showHTMLReport( 'Form940', true );\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 'taxReportsIcon':\n\t\t\t\t\t\tthis.getWizardObject().showHTMLReport( 'Form940' );\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase '940FormSetup':\n\t\t\t\t\t\tthis.getWizardObject().minimize();\n\t\t\t\t\t\tIndexViewController.openReport( LocalCacheData.current_open_primary_controller, 'Form940Report', null, 'FormSetup' );\n\t\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\tcase 'F941':\n\t\t\t\tswitch ( icon ) {\n\t\t\t\t\tcase 'Government941':\n\t\t\t\t\t\tGlobal.loadScript( 'views/reports/form941/Form941ReportViewController', function() {\n\t\t\t\t\t\t\t$this.getWizardObject().getReport( 'pdf_form' );\n\t\t\t\t\t\t} );\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 'taxReportsIcon_new_window':\n\t\t\t\t\t\tthis.getWizardObject().showHTMLReport( 'Form941', true );\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 'taxReportsIcon':\n\t\t\t\t\t\tthis.getWizardObject().showHTMLReport( 'Form941' );\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase '941FormSetup':\n\t\t\t\t\t\tthis.getWizardObject().minimize();\n\t\t\t\t\t\tIndexViewController.openReport( LocalCacheData.current_open_primary_controller, 'Form941Report', null, 'FormSetup' );\n\t\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\tcase 'PBJ':\n\t\t\t\tswitch ( icon ) {\n\t\t\t\t\tcase 'taxReportsIcon_new_window':\n\t\t\t\t\t\tthis.getWizardObject().showHTMLReport( 'PayrollExportReport', true );\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 'taxReportsIcon':\n\t\t\t\t\t\tthis.getWizardObject().showHTMLReport( 'PayrollExportReport' );\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 'PBJExportSetup':\n\t\t\t\t\t\tthis.getWizardObject().minimize();\n\t\t\t\t\t\tIndexViewController.openReport( LocalCacheData.current_open_primary_controller, 'PayrollExportReport', null, 'ExportSetup' );\n\t\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\tcase 'ROE':\n\t\t\t\tswitch ( icon ) {\n\t\t\t\t\tcase 'taxReportsIcon':\n\t\t\t\t\t\t$this.getWizardObject().getReport( 'pdf_form' );\n\t\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\tcase 'NEWHIRE':\n\t\t\t\tswitch ( icon ) {\n\t\t\t\t\tcase 'taxReportsIcon':\n\t\t\t\t\t\tthis.getWizardObject().showHTMLReport( 'UserSummaryReport' );\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 'taxReportsIcon_new_window':\n\t\t\t\t\t\tthis.getWizardObject().showHTMLReport( 'UserSummaryReport', true );\n\t\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\tdefault:\n\t\t\t\tif ( $this.getWizardObject().selected_remittance_agency_event.payroll_remittance_agency_obj.type_id == 20 ) {\n\t\t\t\t\t//US State Unemployment\n\t\t\t\t\tswitch ( icon ) {\n\t\t\t\t\t\tcase 'taxReportsIcon_new_window':\n\t\t\t\t\t\t\tthis.getWizardObject().showHTMLReport( 'USStateUnemployment', true );\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\tcase 'taxReportsIcon':\n\t\t\t\t\t\t\tthis.getWizardObject().showHTMLReport( 'USStateUnemployment' );\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tswitch ( icon ) {\n\t\t\t\t\t\tcase 'taxReportsIcon_new_window':\n\t\t\t\t\t\t\tthis.getWizardObject().showHTMLReport( 'TaxSummary', true );\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\tcase 'taxReportsIcon':\n\t\t\t\t\t\t\tthis.getWizardObject().showHTMLReport( 'TaxSummary' );\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\tcase 'TaxSummaryFormSetup':\n\t\t\t\t\t\t\tthis.getWizardObject().minimize();\n\t\t\t\t\t\t\tIndexViewController.openReport( LocalCacheData.current_open_primary_controller, 'TaxSummaryReport' );\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t}\n\t}\n\n\tinitRightClickMenuForTaxReportViewButton() {\n\t\tvar $this = this;\n\t\tvar selector = '#taxReportsIcon';\n\t\tif ( $( selector ).length == 0 ) {\n\t\t\treturn;\n\t\t}\n\t\tvar items = this.getViewButtonRightClickItems();\n\n\t\tif ( !items || $.isEmptyObject( items ) ) {\n\t\t\treturn;\n\t\t}\n\t\t$.contextMenu( 'destroy', selector );\n\t\t$.contextMenu( {\n\t\t\tselector: selector,\n\t\t\tcallback: function( key, options ) {\n\t\t\t\t$this.onNavigationClick( null, key );\n\t\t\t},\n\n\t\t\tonContextMenu: function() {\n\t\t\t\treturn false;\n\t\t\t},\n\t\t\titems: items,\n\t\t\tzIndex: 50\n\t\t} );\n\t}\n\n\tgetViewButtonRightClickItems() {\n\t\tvar $this = this;\n\t\tvar items = {};\n\n\t\titems['taxReportsIcon'] = {\n\t\t\tname: $.i18n._( 'View' ), icon: 'viewIcon', disabled: function() {\n\t\t\t\treturn isDisabled();\n\t\t\t}\n\t\t};\n\n\t\titems['taxReportsIcon_new_window'] = {\n\t\t\tname: $.i18n._( 'View in New Window' ), icon: 'viewIcon', disabled: function() {\n\t\t\t\treturn isDisabled();\n\t\t\t}\n\t\t};\n\n\t\tfunction isDisabled() {\n\t\t\tif ( $( '#taxReportsIcon' ).parent().hasClass( 'disable-image' ) ) {\n\t\t\t\treturn true;\n\t\t\t} else {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}\n\n\t\treturn items;\n\t}\n}//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiNzU0Ny5qcyIsIm1hcHBpbmdzIjoiOzs7Ozs7O0FBQWdFOztBQUV6RCwyREFBMkQseUVBQVU7QUFDNUUsMkJBQTJCO0FBQzNCLEVBQUUsQ0FBQztBQUNIO0FBQ0E7O0FBRUEsT0FBTyxDQUFDO0FBQ1IsSUFBSTs7QUFFSjtBQUNBOztBQUVBO0FBQ0E7QUFDQTtBQUNBOztBQUVBO0FBQ0E7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7O0FBRUE7QUFDQSxpQkFBaUIsQ0FBQztBQUNsQix3QkFBd0IsQ0FBQzs7QUFFekI7QUFDQTtBQUNBOztBQUVBO0FBQ0E7O0FBRUE7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7QUFD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