Subversion Repositories SmartDukaan

Rev

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

Rev 7236 Rev 7559
Line 280... Line 280...
280
                    return "DTH recharge amount should be between Rs.200 and Rs.2000";
280
                    return "DTH recharge amount should be between Rs.200 and Rs.2000";
281
                }
281
                }
282
            }
282
            }
283
          
283
          
284
        } else if (RechargeType.findByValue(Integer.parseInt(this.deviceType)) == RechargeType.MOBILE) {
284
        } else if (RechargeType.findByValue(Integer.parseInt(this.deviceType)) == RechargeType.MOBILE) {
285
            if (Long.parseLong(amount) < 10 || Long.parseLong(amount) > 1000) {
285
            if (Long.parseLong(amount) < 10 || Long.parseLong(amount) > 2500) {
286
                return "Recharge amount should be between Rs.10 and Rs.1000";
286
                return "Recharge amount should be between Rs.10 and Rs.2500";
287
            }
287
            }
288
            if (number.length() != 10) {
288
            if (number.length() != 10) {
289
                return "Number should be of 10 digits";
289
                return "Number should be of 10 digits";
290
            }
290
            }
291
            
291