text: /**
   * @author v.lugovsky
   * created on 16.12.2015
   */
  (function () {
    'use strict';
  
    angular.module('BlurAdmin.pages.payroll.service')
      .controller('serviceDetailController', serviceDetailController);
  
    /** @ngInject */
    function serviceDetailController($scope, $state, $stateParams,
      pageService, editableOptions, editableThemes, DJWebStore, dialogModal, editFormService, toastr) {
  
      var vm = this;
      var currentState = $state.current;
      $scope.entity = {}
      $scope.page = $scope.createPage();
      $scope.page.pageId = 450;
      $scope.page.boxOptions = {
        selfLoading: true,
        showRefresh: true,
        showFilter: true,
        filterOpened: true,
        showAdd: true,
        showRowMenu: true,
        showCustomView: true,
        showUpload: false,
        showDialog: false,
        enableRefreshAfterUpdate: true,
        gridHeight: 450,
        getPageData: null,
        refreshData: null,
        addRecord: null,
        editRecord: null,
        updateRecord: null,
        viewRecord: null,
        deleteRecord: null,
        showApplyFilter: false,
        filterOnChange: null
      }    
    }
  })();
  