Subversion Repositories SmartDukaan

Rev

Rev 8383 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 8383 Rev 12735
Line 262... Line 262...
262
                    return "DTH recharge amount should be between Rs.200 and Rs.2000";
262
                    return "DTH recharge amount should be between Rs.200 and Rs.2000";
263
                }
263
                }
264
            }
264
            }
265
          
265
          
266
        } else if (RechargeType.findByValue(Integer.parseInt(this.deviceType)) == RechargeType.MOBILE) {
266
        } else if (RechargeType.findByValue(Integer.parseInt(this.deviceType)) == RechargeType.MOBILE) {
267
            if (Long.parseLong(amount) < 1 || Long.parseLong(amount) > 2500) {
267
            if (Long.parseLong(amount) < 1 || Long.parseLong(amount) > 3000) {
268
                return "Recharge amount should be between Rs.1 and Rs.2500";
268
                return "Recharge amount should be between Rs.1 and Rs.3000";
269
            }
269
            }
270
            if (number.length() != 10) {
270
            if (number.length() != 10) {
271
                return "Number should be of 10 digits";
271
                return "Number should be of 10 digits";
272
            }
272
            }
273
            
273