Edit C:\Users\Administrator\Desktop\Back\Livraison EVQG22\com\edeal\frontline\helper\custom\OpportunityHelper.class
Êþº¾ 3 3com/edeal/frontline/helper/custom/OpportunityHelper 0com/edeal/frontline/helper/OpportunityBaseHelper logger Lorg/apache/commons/logging/Log; <clinit> ()V Code %org/apache/commons/logging/LogFactory getLog 3(Ljava/lang/Class;)Lorg/apache/commons/logging/Log; LineNumberTable LocalVariableTable <init> ((Lcom/edeal/frontline/OpportunityBean;)V this 5Lcom/edeal/frontline/helper/custom/OpportunityHelper; bean %Lcom/edeal/frontline/OpportunityBean; calculateOppNumRef 4(Ljavax/servlet/http/HttpSession;)Ljava/lang/String; session Ljavax/servlet/http/HttpSession; generateDevis À(Lcom/edeal/frontline/FlContext;Ljavax/servlet/http/HttpSession;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZLjava/lang/String;Ljava/lang/String;)Ljava/lang/String; Exceptions & &com/edeal/frontline/FrontlineException ( )com/edeal/frontline/AccessDeniedException * , + com/edeal/frontline/FlContext - . getDataDictionary &()Lcom/edeal/frontline/DataDictionary; 0 inv.num.size * 2 3 4 getContextParameter &(Ljava/lang/String;)Ljava/lang/String; 6 8 7 java/lang/Integer 9 : valueOf '(Ljava/lang/String;)Ljava/lang/Integer; 6 < = > intValue ()I @ B "com/edeal/frontline/EnterpriseBean A D E 4(Ljava/lang/String;Lcom/edeal/frontline/FlContext;)V G EntSaisonnier_ A I J K getCustomProperty &(Ljava/lang/String;)Ljava/lang/Object; M java/lang/String O *Erreur lors de la récupération du champ Q S R org/apache/commons/logging/Log T U error *(Ljava/lang/Object;Ljava/lang/Throwable;)V W Y X com/edeal/frontline/Utils Z [ isNullEmptyString (Ljava/lang/String;)Z L ] ^ _ equals (Ljava/lang/Object;)Z a b c getDefaultCotProductList |(Lcom/edeal/frontline/FlContext;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Z)Ljava/util/Vector; e g f java/util/Vector h > size j #com/edeal/frontline/OpportunityBean i l m "(Lcom/edeal/frontline/FlContext;)V o java/lang/StringBuilder q DV FIL n s t (Ljava/lang/String;)V v OppNumDevFIL_ x z y "com/edeal/frontline/CounterFactory { | getCounter 4(Lcom/edeal/frontline/FlContext;Ljava/lang/String;)I 6 ~ ? toString (I)Ljava/lang/String; n ? ? ? append -(Ljava/lang/String;)Ljava/lang/StringBuilder; n ? ? ()Ljava/lang/String; ? OppAssNumDev_ L ? ? > length ? 0 ? DV ASS ? OppNumDev_ i ? ? ? setCustomProperty '(Ljava/lang/String;Ljava/lang/Object;)V ? Sto ? Te1 ? DEV ? ? "com/edeal/frontline/DataDictionary ¡ ¢ getRefIdByCode J(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; i ¤ ¥ t setOppStoID § Stu i © ª t setOppStuID i ¬ t setOppEntID ¯ OppDatDev_ ± java/util/Date ° ³ µ actorID · ¹ ¸ javax/servlet/http/HttpSession º K getAttribute i ¼ ½ t setOppActID ¿ OppCnlDev_ Á INT ? à ¡ Ä 8(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; Æ È Ç 0com/edeal/frontline/helper/custom/Contrat_Helper É Ê getActifContractID E(Lcom/edeal/frontline/FlContext;Ljava/lang/String;)Ljava/lang/String; Ì OppCompteClient_ Î No Contrat for this client Q Ð T Ñ (Ljava/lang/Object;)V Ó Õ Ô 2com/edeal/frontline/helper/custom/EnterpriseHelper Ö Ê getEntExploitant i Ø Ù t setOppPerID Û No manager for this client Ý L ß FF1F7 á Cotisations Logis W ã ä å getMessage Z(Ljavax/servlet/http/HttpSession;Ljava/lang/String;ZZLjava/lang/String;)Ljava/lang/String; L ç 9 è &(Ljava/lang/Object;)Ljava/lang/String; ê - i ì í t setOppTitle ï FF1F8 ñ Cotisation Logis d'exception ó OppAccountID_ õ FIL ÷ ASS ù OppMillesime_ 6 û ü ý parseInt (Ljava/lang/String;)I 6 ÿ 9 (I)Ljava/lang/Integer; i save '()Lcom/edeal/frontline/OperationResult; +++++++++++ Devis Created : i I n ? -(Ljava/lang/Object;)Ljava/lang/StringBuilder; Q Ñ info i ? getOppID addCotisationProductOpportunity ?(Lcom/edeal/frontline/FlContext;Ljavax/servlet/http/HttpSession;Ljava/lang/String;Ljava/lang/String;Ljava/util/Vector;Ljava/lang/String;ZZLjava/lang/String;)D Cannot create devis for logis : Caused BY : java/lang/Exception ä ? 0com/edeal/frontline/FieldNotInitializedException context Lcom/edeal/frontline/FlContext; clientID Ljava/lang/String; pMillesime pTypeLogis pCountry isFIL Z yesID ma_ID dico $Lcom/edeal/frontline/DataDictionary; numSize I numDev prds Ljava/util/Vector; entSaisonnier_ ent $Lcom/edeal/frontline/EnterpriseBean; fnie 2Lcom/edeal/frontline/FieldNotInitializedException; isSaisonnier id devis cnt l i ctid fe (Lcom/edeal/frontline/FrontlineException; perid Ljava/lang/Exception; StackMapTable getPrdRemise i(Lcom/edeal/frontline/FlContext;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;E RotMillesimeG MI RotDiscountIDK [Ljava/lang/String;M RotEntID = 'O 'Q RotPrdID = 'S RotMillesime = ' UWV -com/edeal/frontline/custom/RdcCotisation_BeanXY listSummary Z(Lcom/edeal/frontline/FlContext;[Ljava/lang/String;[[Ljava/lang/String;)Ljava/util/Vector; e[\] elementAt (I)Ljava/lang/Object;_ java/util/Hashtable ^abc get &(Ljava/lang/Object;)Ljava/lang/Object; prdID remise milID fields query [[Ljava/lang/String; list row Ljava/util/Hashtable; LocalVariableTypeTable OLjava/util/Vector<Ljava/util/Hashtable<Ljava/lang/String;Ljava/lang/Object;>;>; ;Ljava/util/Hashtable<Ljava/lang/String;Ljava/lang/Object;>;q java/math/BigDecimals 0.0 p sv EntTVAIntracom_ xy printStackTrace{ "Erreur de conversion du millesime } PrdCode L?? isEmpty ()Z? PLMILL? *com/edeal/frontline/ProductOpportunityBean ? l ??? t setProOppID? PrdID ??? t setProPrdID? PrdFamilleProduit_ ??? Ä getRefCode? com/edeal/frontline/ProductBean ? D ??? ? getPrdName x ??? t setProDesignation ? ¡ getPrice k(Lcom/edeal/frontline/FlContext;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;IZ)Ljava/lang/Double; £¥¤ java/lang/Double¦§ doubleValue ()D© le prix unitaire est 0 ?«¬ setProUnitPrice (D)V ¯°± isEnseigne 4(Lcom/edeal/frontline/FlContext;Ljava/lang/String;)Z Ƴ´µ getNbEnseignes F(Lcom/edeal/frontline/FlContext;Ljava/lang/String;Ljava/lang/String;)I Æ·¸¹ isTheHotelHasaLESubContrat V(Lcom/edeal/frontline/FlContext;Ljava/util/Date;Ljava/lang/String;Ljava/lang/String;)Z» Pl_½ COTFIX¿ COTHEBÁ Nu1 ?ÃÄÅ getRefDisp J(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/Object;Ç PrdRegles_ ? I ÊÌË java/lang/SystemÍÎ out Ljava/io/PrintStream;Ð PrdRegles_= ÒÔÓ java/io/PrintStreamÕ t println Æ×Ø | getContratNbRoomsÚ PrdMaxQt_ QÜÝ Ñ warn ßBCá ProRemise_ã REM0 ? ?æ Od_ ?èÄé j(Ljavax/servlet/http/HttpSession;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/Object;@Y íîï getTwoDecimalsWithoutRounding (D)D pñ ó 100 põö÷ divide .(Ljava/math/BigDecimal;)Ljava/math/BigDecimal; pùú÷ multiply püý÷ subtractÿ ProUnitHTrem_ p setScale (II)Ljava/math/BigDecimal; p¥ £ 9 (D)Ljava/lang/Double; p (I)V ProMontantHTrem_ ? setProQuantity EntCtrID A lookup W(Lcom/edeal/frontline/FlContext;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/Object; C CalculTVAIntracomForProducts Pv_ ProMontantTva_ ProPrdTva_ PrdTaxeParafiscale_" ProPrdTaxeParafiscale_$ Pp_& Te2( PC p*+÷ add- ProMontantTpf_ ?/0 setProPrice ?3 'Cannot add cotisations product line to ' i D7 OppTotalHT_9 OppTotalTVA_; OppTotalTPF_= OppTotalTTC_? OppNetApayer_A java/lang/NumberFormatException pOppID total D totalHT totalTPF totalTVA big_total Ljava/math/BigDecimal; intracom millesime e !Ljava/lang/NumberFormatException; quantity prdcde line ,Lcom/edeal/frontline/ProductOpportunityBean; prdFamily produit !Lcom/edeal/frontline/ProductBean; designation prdTVADefaut_ prdPrixVenteUnitHT_ Ljava/lang/Double; Qunatite_COTFIX e1 quantityMax proUnitHTrem_ montantRem big_proUnitHTrem_ big_montantRem proRemise rem montantTva big_montantTva tva ctrID prdTaxeParafiscale_ tpf big_montantTpf montantTpf nature topro big_topro ae +Lcom/edeal/frontline/AccessDeniedException; opportunity e ³r STACI tuv getfamillesStaci E(Lcom/edeal/frontline/FlContext;Ljava/lang/String;)Ljava/util/Vector; ?y STACK TRACE e L|} [ equalsIgnoreCase famIDs prdFamID ex j &Ljava/util/Vector<Ljava/lang/String;>; Signature Y(Lcom/edeal/frontline/FlContext;Ljava/lang/String;)Ljava/util/Vector<Ljava/lang/String;>;? org/json/JSONArray ? ³? Pf_ ???? getRefList 8(Ljava/lang/String;Ljava/lang/String;)Ljava/util/Vector; L??? contains (Ljava/lang/CharSequence;)Z e?? Ñ addElement? La sous-categorie est vide Q?? U debug idType jsonArr Lorg/json/JSONArray; vectorSubCategoryDisplay vectorSubCategoryCode catCode resultFamIDs vSubCategoryDisplay vSubCategoryCode subCatID subCatParent getCotPrdCodes§ EntCotDevID_© ProOppID = W«¬ Ê formatToSQL ?®j¯ G(Lcom/edeal/frontline/FlContext;[[Ljava/lang/String;)Ljava/util/Vector;± ProPrdID:PrdCode ?³´ ? getID ? e·+ _ entID codes oppID pros pro code @Ljava/util/Vector<Lcom/edeal/frontline/ProductOpportunityBean;>;i getResult _(Lcom/edeal/frontline/FlContext;Ljava/lang/StringBuilder;[Ljava/lang/String;)Ljava/util/Vector; ?(Lcom/edeal/frontline/FlContext;Ljava/lang/StringBuilder;[Ljava/lang/String;)Ljava/util/Vector<Ljava/util/Hashtable<Ljava/lang/String;Ljava/lang/String;>;>; *ÄÅÆ getConnection ()Ljava/sql/Connection;ÈÊÉ java/sql/ConnectionËÌ createStatement ()Ljava/sql/Statement;ÎÐÏ java/sql/StatementÑÒ executeQuery ((Ljava/lang/String;)Ljava/sql/ResultSet; ^ ³Õ×Ö java/sql/ResultSetØ 4 getString ^ÚÛÜ put 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;ÕÞß? nextÕáâ closeä 3Erreur lors de la fermeture de connexion ResultSet Îáç 3Erreur lors de la fermeture de connexion Statement Èáê )Erreur lors de la fermeture de connexion ì java/sql/SQLException sqlQuery Ljava/lang/StringBuilder; columns result con Ljava/sql/Connection; st Ljava/sql/Statement; rs Ljava/sql/ResultSet; column OLjava/util/Vector<Ljava/util/Hashtable<Ljava/lang/String;Ljava/lang/String;>;>; ;Ljava/util/Hashtable<Ljava/lang/String;Ljava/lang/String;>;û java/lang/Throwable generateAllFacture ?(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;Lcom/edeal/frontline/FlContext;Ljava/util/Vector;)J ?(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;Lcom/edeal/frontline/FlContext;Ljava/util/Vector<Ljava/lang/String;>;)J Bcom/edeal/frontline/controller/actions/custom/SaveWebFormPvtAction ÿ ³ ÿ EnvoyerFactureViaCorrespondance u(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;Ljava/lang/String;)Ljava/lang/String; "Cannot create facture for logis : request 'Ljavax/servlet/http/HttpServletRequest; response (Ljavax/servlet/http/HttpServletResponse; vLogis counter J action DLcom/edeal/frontline/controller/actions/custom/SaveWebFormPvtAction; perID %javax/servlet/http/HttpServletRequest &javax/servlet/http/HttpServletResponse generateAllDevis3 ?(Lcom/edeal/frontline/FlContext;Ljavax/servlet/http/HttpSession;Ljava/util/Vector;Ljava/util/Vector;Ljava/lang/String;Ljava/lang/String;)J ²(Lcom/edeal/frontline/FlContext;Ljavax/servlet/http/HttpSession;Ljava/util/Vector<Ljava/lang/String;>;Ljava/util/Vector<Ljava/lang/String;>;Ljava/lang/String;Ljava/lang/String;)J OUI 9Erreur lors de la récupération de l'id de la valeur Oui A ? getEntCtrID! EntStructureLocalID_# EntGenCotDevis_% java/lang/Boolean $'(? booleanValue Æ*+, getLogisMarqueContrat g(Lcom/edeal/frontline/FlContext;Ljava/util/Date;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; . "