YetiForceCompany/YetiForceCRM

View on GitHub
public_html/layouts/basic/modules/SSingleOrders/resources/Edit.min.js.map

Summary

Maintainability
Test Coverage
{"version":3,"file":"Edit.min.js","sources":["Edit.js"],"sourcesContent":["/* {[The file is published on the basis of YetiForce Public License 6.5 that can be found in the following directory: licenses/LicenseEN.txt or yetiforce.com]} */\n'use strict';\n\nVtiger_Edit_Js(\n\t'SSingleOrders_Edit_Js',\n\t{},\n\t{\n\t\tgetRecordsListParams: function (container) {\n\t\t\tvar params = this._super(container);\n\t\t\t// Limit the choice of products/services only to the ones related to currently selected Opportunity - first step.\n\t\t\tlet potential = this.getForm().find('input[name=\"salesprocessid\"]');\n\t\t\tif (jQuery.inArray(params.module, ['Products', 'Services']) != -1 && potential.length) {\n\t\t\t\tparams.salesprocessid = potential.val();\n\t\t\t}\n\t\t\treturn params;\n\t\t}\n\t}\n);\n"],"names":["Vtiger_Edit_Js","getRecordsListParams","container","params","_super","potential","getForm","find","jQuery","inArray","module","length","salesprocessid","val"],"mappings":";;AAAA,kKACA,YAAY,CAEZA,cAAc,CACb,uBAAuB,CACvB,EAAE,CACF,CACCC,oBAAoB,CAAE,SAAAA,qBAAUC,SAAS,CAAE,KACtCC,MAAM,CAAG,IAAI,CAACC,MAAM,CAACF,SAAS,CAAC,CAE/BG,SAAS,CAAG,IAAI,CAACC,OAAO,EAAE,CAACC,IAAI,CAAC,gCAA8B,CAAC,CADnE;AAKA,OAH+D,CAAC,CAAC,EAA7DC,MAAM,CAACC,OAAO,CAACN,MAAM,CAACO,MAAM,CAAE,CAAC,UAAU,CAAE,UAAU,CAAC,CAAO,EAAIL,SAAS,CAACM,MAAM,GACpFR,MAAM,CAACS,cAAc,CAAGP,SAAS,CAACQ,GAAG,EAAE,CAAA,CAEjCV,MACR,CACD,CACD,CAAC;;"}