Subversion Repositories SmartDukaan

Rev

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

Rev 34365 Rev 34367
Line 851... Line 851...
851
 
851
 
852
                if ((selectedGift == ScratchedGift.LED && ledCount > 0)) {
852
                if ((selectedGift == ScratchedGift.LED && ledCount > 0)) {
853
                    LOGGER.info("LED already given today.");
853
                    LOGGER.info("LED already given today.");
854
                    return ScratchedGift.ACCESSORIES_50_PERCENT_OFF;
854
                    return ScratchedGift.ACCESSORIES_50_PERCENT_OFF;
855
                }
855
                }
-
 
856
 
-
 
857
                if ((selectedGift == ScratchedGift.LED)) {
-
 
858
                    LOGGER.info("LED already given today.");
-
 
859
                    return ScratchedGift.ACCESSORIES_50_PERCENT_OFF;
-
 
860
                }
-
 
861
 
856
                if ((selectedGift == ScratchedGift.MICROWAVE_OVEN && ovenCount > 0)) {
862
                if ((selectedGift == ScratchedGift.MICROWAVE_OVEN && ovenCount > 0)) {
857
                    LOGGER.info("Oven already given today.");
863
                    LOGGER.info("Oven already given today.");
858
                    return ScratchedGift.ACCESSORIES_50_PERCENT_OFF;
864
                    return ScratchedGift.ACCESSORIES_50_PERCENT_OFF;
859
                }
865
                }
860
            }
866
            }