Edit C:\Users\Administrator\Desktop\galaxie\WEB-INF\classes\com\edeal\frontline\helper\custom\OpportunityHelper.class
Êþº¾ 3w 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;Z)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 C D getDefaultCotProductList i(Lcom/edeal/frontline/FlContext;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/util/Vector; F H G java/util/Vector I > size K #com/edeal/frontline/OpportunityBean J M N "(Lcom/edeal/frontline/FlContext;)V P java/lang/StringBuilder R DV FIL O T U (Ljava/lang/String;)V W OppNumDevFIL_ Y [ Z "com/edeal/frontline/CounterFactory \ ] getCounter 4(Lcom/edeal/frontline/FlContext;Ljava/lang/String;)I 6 _ ` a toString (I)Ljava/lang/String; O c d e append -(Ljava/lang/String;)Ljava/lang/StringBuilder; O g ` h ()Ljava/lang/String; j OppAssNumDev_ l n m java/lang/String o > length q 0 s DV ASS u OppNumDev_ J w x y 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; J ? ? U setOppStoID ? Stu J ? ? U setOppStuID J ? ? U setOppEntID ? OppDatDev_ ? java/util/Date ? ? ? actorID ? ? ? javax/servlet/http/HttpSession ? ? getAttribute &(Ljava/lang/String;)Ljava/lang/Object; J ¡ U 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 ´ ¶ µ org/apache/commons/logging/Log · ¸ error (Ljava/lang/Object;)V º ¼ » 2com/edeal/frontline/helper/custom/EnterpriseHelper ½ ® getEntExploitant J ¿ À U setOppPerID  No manager for this client Ä L l Æ Ç È equals (Ljava/lang/Object;)Z Ê FF1F7 Ì Cotisations Logis Î Ð Ï com/edeal/frontline/Utils Ñ Ò getMessage Z(Ljavax/servlet/http/HttpSession;Ljava/lang/String;ZZLjava/lang/String;)Ljava/lang/String; l Ô 9 Õ &(Ljava/lang/Object;)Ljava/lang/String; × - J Ù Ú U setOppTitle Ü FF1F8 Þ Cotisation Logis d'exception à OppAccountID_ â FIL ä ASS æ OppMillesime_ 6 è é ê parseInt (Ljava/lang/String;)I 6 ì 9 í (I)Ljava/lang/Integer; J ï ð ñ save '()Lcom/edeal/frontline/OperationResult; ó +++++++++++ Devis Created : J õ ö ? getCustomProperty O ø d ù -(Ljava/lang/Object;)Ljava/lang/StringBuilder; ´ û ü ¸ info J þ ÿ h getOppID addCotisationProductOpportunity ?(Lcom/edeal/frontline/FlContext;Ljavax/servlet/http/HttpSession;Ljava/lang/String;Ljava/lang/String;Ljava/util/Vector;Ljava/lang/String;Z)D Cannot create devis for logis : Caused BY : java/lang/Exception Ñ h context Lcom/edeal/frontline/FlContext; clientID Ljava/lang/String; pMillesime pTypeLogis pCountry isFIL Z dico $Lcom/edeal/frontline/DataDictionary; numSize I numDev prds Ljava/util/Vector; 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;* RotMillesime, M. RotDiscountID0 [Ljava/lang/String;2 RotEntID = '4 '6 RotPrdID = '8 RotMillesime = ' :<; -com/edeal/frontline/custom/RdcCotisation_Bean=> listSummary Z(Lcom/edeal/frontline/FlContext;[Ljava/lang/String;[[Ljava/lang/String;)Ljava/util/Vector; F@AB elementAt (I)Ljava/lang/Object;D java/util/Hashtable CFGH 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;>;V "com/edeal/frontline/EnterpriseBean UX Y 4(Ljava/lang/String;Lcom/edeal/frontline/FlContext;)V[ java/math/BigDecimal] 0.0 Z T` EntTVAIntracom_ U õ cd printStackTracef PrdCode lhij isEmpty ()Zl PLMILLn *com/edeal/frontline/ProductOpportunityBean m M mqr U setProOppIDt PrdID mvw U setProPrdIDy PrdFamilleProduit_ ?{| ¨ getRefCode~ com/edeal/frontline/ProductBean }X }?? h getPrdName ?c? 0com/edeal/frontline/FieldNotInitializedException m?? U setProDesignation }??? getPrdPrice ()Ljava/lang/Double; ??? java/lang/Double?? doubleValue ()D m??? 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 Pl_¢ COTFIX¤ COTHEB¦ Nu1 ?¨©ª getRefDisp J(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/Object;¬ PrdRegles_ } õ ¯±° java/lang/System²³ out Ljava/io/PrintStream;µ PrdRegles_= ·¹¸ java/io/PrintStreamº U println ª¼½ ] getContratNbRooms¿ PrdMaxQt_ ´Á ¸ warn Ä'(Æ ProRemise_È REM0 m wË Od_ ?Í©Î j(Ljavax/servlet/http/HttpSession;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/Object;@Y ÒÓÔ getTwoDecimalsWithoutRounding (D)D ZÖ ?Ø 100 ZÚÛÜ divide .(Ljava/math/BigDecimal;)Ljava/math/BigDecimal; ZÞßÜ multiply ZáâÜ subtractä ProUnitHTrem_ Zæçè setScale (II)Ljava/math/BigDecimal; Z? ?ë 9ì (D)Ljava/lang/Double; Zî ï (I)Vñ ProMontantHTrem_ móôï setProQuantityö EntCtrID Uøùú lookup W(Lcom/edeal/frontline/FlContext;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/Object; üý( CalculTVAIntracomForProductsÿ Pv_ ProMontantTva_ ProPrdTva_ PrdTaxeParafiscale_ ProPrdTaxeParafiscale_ Pp_ Te2 PC ZÜ add ProMontantTpf_ m? setProPrice m ï 'Cannot add cotisations product line to ' JX OppTotalHT_ OppTotalTVA_ OppTotalTPF_" OppTotalTTC_$ OppNetApayer_ pOppID ent $Lcom/edeal/frontline/EnterpriseBean; total D totalHT totalTPF totalTVA big_total Ljava/math/BigDecimal; intracom quantity prdcde line ,Lcom/edeal/frontline/ProductOpportunityBean; prdCode prdFamily produit !Lcom/edeal/frontline/ProductBean; designation 2Lcom/edeal/frontline/FieldNotInitializedException; prdTVADefaut_ prdPrixVenteUnitHT_ Qunatite_COTFIX e1 e 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 F ?V STACI XYZ getfamillesStaci E(Lcom/edeal/frontline/FlContext;Ljava/lang/String;)Ljava/util/Vector; }ø] STACK TRACE ´_ ·` *(Ljava/lang/Object;Ljava/lang/Throwable;)V Fh lcde equalsIgnoreCase (Ljava/lang/String;)Z 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;>;n org/json/JSONArray m ?q Pf_ ?stu getRefList 8(Ljava/lang/String;Ljava/lang/String;)Ljava/util/Vector; lwxy contains (Ljava/lang/CharSequence;)Z F{| ¸ addElement~ La sous-categorie est vide ´??` debug idType jsonArr Lorg/json/JSONArray; vectorSubCategoryDisplay vectorSubCategoryCode catCode resultFamIDs vSubCategoryDisplay vSubCategoryCode subCatID subCatParent getCotPrdCodes? EntCotDevID_? ProOppID = Î?? ® formatToSQL m?O? G(Lcom/edeal/frontline/FlContext;[[Ljava/lang/String;)Ljava/util/Vector;? ProPrdID:PrdCode m?? h getID mø F? È entID codes oppID pros pro code @Ljava/util/Vector<Lcom/edeal/frontline/ProductOpportunityBean;>;N© PrdName« PrdTVADefaut_ PrdCtrID_¯ PrdMillesime_± PrdPrice U³´ h getEntCtrID¶ NULL ¸ LE ªº» D getPrdCodesFromContract ª½¾ ® getActifContractIDLEÀ PrdIncludedInCot_ = 1 PrdFamilleProduit_ = Ä COTANNÆ PrdCtTypID_ = È PrdCtTypID_Ê PrdCtrID_ = Ì PrdCtrID_ = NULL Î PrdMillesime_ = ÐÒÑ ,com/edeal/frontline/helper/custom/FormHelperÓÔ formatLfqQueryToSQL E(Lcom/edeal/frontline/FlContext;Ljava/util/Vector;)Ljava/lang/String;Ö PrdID in (Ø ) }<Û FRÝ GFß GPá Liste des produits : ã la taille est Oå dæ (I)Ljava/lang/StringBuilder; O ?é $select RotPrdExclu_ as rotPrdExclu_ ë From RdcCotisation_ í where rotprdid = 'ï ' AND ñ RotMillesime = 'ó RotPrdExclu_ = 'õ RotPrdExclu_÷ OUI *ùúû getConnection ()Ljava/sql/Connection;ýÿþ java/sql/Connection createStatement (II)Ljava/sql/Statement; java/sql/Statement executeQuery ((Ljava/lang/String;)Ljava/sql/ResultSet; java/sql/ResultSetj last > getRow FGB 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 codeCtr listprds ensList keys country qc_prdincluded qc_prdfamilCotann qc_prdCtTyp qc_prdCtr qc_prdCtrNul qc_prdMil q qc_qEnsList result sqlQuery Ljava/lang/StringBuilder; con Ljava/sql/Connection; st Ljava/sql/Statement; rs Ljava/sql/ResultSet; nb7 java/lang/Throwable 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< EntStructureLocalID_> EntGenCotDevis_@ java/lang/Boolean ?BCj booleanValue E "