Subversion Repositories SmartDukaan

Rev

Rev 27029 | Rev 27146 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 27029 Rev 27145
Line 833... Line 833...
833
				#end
833
				#end
834
				#if($sales)
834
				#if($sales)
835
				#if(!$offers.isEmpty())
835
				#if(!$offers.isEmpty())
836
				#foreach( $offer in $offers )
836
				#foreach( $offer in $offers )
837
					<div class="row col-lg-12 info-box white-bg">
837
					<div class="row col-lg-12 info-box white-bg">
838
						<h3 style="margin-top:-2px;">
838
						<h3 style="margin-top:-2px;font-size:17px; margin-bottom:3px;color:#c70db8;font-weight:bold">
839
							$offer.getName() - $offer.getStartDateTime() to $offer.getEndDateTime()
839
							$offer.getName() - $offer.getStartDateTime() to $offer.getEndDateTime()
840
						</h3>
840
						</h3>
841
						    #if($offer.getShortAmount() == 0 && $offer.getAmountType() == "amount" )
841
						    #if($offer.getShortAmount() == 0 && $offer.getAmountType() == "amount" )
842
						     <h4> Congratulations you have earn Rs. <span class="currency">$offer.getMargin()</span>. Happy Selling!</h4>
842
						     <h4 style= "color:green;margin-top:0px;margin-bottom:0px;"> Congratulations you have earn Rs. <span class="currency">$offer.getMargin()</span>. Happy Selling!</h4>
843
						      
843
						      
844
						     #elseif($offer.getShortAmount() == 0 && $offer.getAmountType() == "percentage" )
844
						     #elseif($offer.getShortAmount() == 0 && $offer.getAmountType() == "percentage" )
845
						     <h4> Congratulations you have secured $offer.getMargin()%. Happy Selling!</h4>
845
						     <h4 style= "color:green;margin-top:0px;margin-bottom:0px;"> Congratulations you have secured $offer.getMargin()%. Happy Selling!</h4>
846
						    
846
						    
847
						     #elseif($offer.getAmountType() == "amount" && $offer.getTargetType()=="value" && $offer.getShortAmount() == $offer.getValue())
847
						     #elseif($offer.getAmountType() == "amount" && $offer.getTargetType()=="value" && $offer.getShortAmount() == $offer.getValue())
848
						     <h4>
848
						     <h4 style= "color:green;margin-top:0px;margin-bottom:0px;">
849
						      Sell stock worth Rs.<span class="currency">$offer.getShortAmount()</span> to earn additional Rs. <span class="currency">$offer.getMargin()</span>
849
						      Sell stock worth Rs.<span class="currency">$offer.getShortAmount()</span> to earn additional Rs. <span class="currency">$offer.getMargin()</span>
850
						    </h4>
850
						    </h4>
851
						    
851
						    
852
						     #elseif($offer.getAmountType() == "amount" && $offer.getTargetType()=="quantity" && $offer.getShortAmount() == $offer.getValue())
852
						     #elseif($offer.getAmountType() == "amount" && $offer.getTargetType()=="quantity" && $offer.getShortAmount() == $offer.getValue())
853
						     <h4>
853
						     <h4 style= "color:green;margin-top:0px;margin-bottom:0px;">
854
						      Sell  <span class="currency">$offer.getShortAmount()</span> units  to earn additional Rs. <span class="currency">$offer.getMargin()</span>
854
						      Sell  <span class="currency">$offer.getShortAmount()</span> units  to earn additional Rs. <span class="currency">$offer.getMargin()</span>
855
						    </h4>
855
						    </h4>
856
						    
856
						    
857
						     #elseif($offer.getAmountType() == "percentage" && $offer.getTargetType()=="quantity" && $offer.getShortAmount()== $offer.getValue())
857
						     #elseif($offer.getAmountType() == "percentage" && $offer.getTargetType()=="quantity" && $offer.getShortAmount()== $offer.getValue())
858
						       <h4>
858
						       <h4 style= "color:green;margin-top:0px;margin-bottom:0px;">
859
							     Sell  <span class="currency">$offer.getShortAmount()</span> units to earn additional $offer.getMargin()%
859
							     Sell  <span class="currency">$offer.getShortAmount()</span> units to earn additional $offer.getMargin()%
860
					
860
					
861
							  </h4>
861
							  </h4 style= "color:green;margin-top:0px;margin-bottom:0px;">
862
						     #elseif($offer.getAmountType() == "percentage" && $offer.getTargetType()=="value" && $offer.getShortAmount() == $offer.getValue())
862
						     #elseif($offer.getAmountType() == "percentage" && $offer.getTargetType()=="value" && $offer.getShortAmount() == $offer.getValue())
863
					         <h4>
863
					         <h4 style= "color:green;margin-top:0px;margin-bottom:0px;">
864
							   Sell stock worth Rs <span class="currency">$offer.getShortAmount()</span>  to earn additional $offer.getMargin()%
864
							   Sell stock worth Rs <span class="currency">$offer.getShortAmount()</span>  to earn additional $offer.getMargin()%
865
					         </h4>
865
					         </h4>
866
						     
866
						     
867
							#elseif($offer.getAmountType() == "amount" && $offer.getTargetType()=="value" && $offer.getShortAmount() != 0)
867
							#elseif($offer.getAmountType() == "amount" && $offer.getTargetType()=="value" && $offer.getShortAmount() != 0)
868
							<h4>
868
							<h4 style= "color:green;margin-top:0px;margin-bottom:0px;">
869
						    Sell stock worth Rs.<span class="currency">$offer.getShortAmount()</span> more to earn additional Rs. <span class="currency">$offer.getMargin()</span>
869
						    Sell stock worth Rs.<span class="currency">$offer.getShortAmount()</span> more to earn additional Rs. <span class="currency">$offer.getMargin()</span>
870
						    </h4>
870
						    </h4>
871
						    #elseif($offer.getAmountType() == "amount" && $offer.getTargetType()=="quantity" && $offer.getShortAmount() != 0)
871
						    #elseif($offer.getAmountType() == "amount" && $offer.getTargetType()=="quantity" && $offer.getShortAmount() != 0)
872
							<h4>
872
							<h4 style= "color:green;margin-top:0px;margin-bottom:0px;">
873
						    Sell <span class="currency">$offer.getShortAmount()</span> unit more to earn additional Rs. <span class="currency">$offer.getMargin()</span>
873
						    Sell <span class="currency">$offer.getShortAmount()</span> unit more to earn additional Rs. <span class="currency">$offer.getMargin()</span>
874
						    </h4>
874
						    </h4>
875
						    #elseif($offer.getAmountType() == "percentage" && $offer.getTargetType()=="quantity" && $offer.getShortAmount() != 0)
875
						    #elseif($offer.getAmountType() == "percentage" && $offer.getTargetType()=="quantity" && $offer.getShortAmount() != 0)
876
							<h4>
876
							<h4 style= "color:green;margin-top:0px;margin-bottom:0px;">
877
							Sell  <span class="currency">$offer.getShortAmount()</span> unit more to earn additional $offer.getMargin()%
877
							Sell  <span class="currency">$offer.getShortAmount()</span> unit more to earn additional $offer.getMargin()%
878
					
878
					
879
							</h4>
879
							</h4>
880
							 #elseif($offer.getAmountType() == "percentage" && $offer.getTargetType()=="value" && $offer.getShortAmount() != 0)
880
							 #elseif($offer.getAmountType() == "percentage" && $offer.getTargetType()=="value" && $offer.getShortAmount() != 0)
881
							<h4>
881
							<h4 style= "color:green;margin-top:0px;margin-bottom:0px;">
882
							Sell stock worth Rs<span class="currency">$offer.getShortAmount()</span> more to earn additional $offer.getMargin()%
882
							Sell stock worth Rs<span class="currency">$offer.getShortAmount()</span> more to earn additional $offer.getMargin()%
883
					
883
					
884
							</h4>
884
							</h4>
885
							
885
							
886
						   #end
886
						   #end