//
//  ItemSearchFilterViewController.h
//  RedAnt ERP Mobile
//
//  Created by Ray on 11/12/15.
//  Copyright © 2015 United Software Applications, Inc. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "RATreeView.h"
#import "EnumSelectViewController.h"
//#import "AppDelegate.h"

@interface ItemSearchFilterViewController : UIViewController<RATreeViewDelegate, RATreeViewDataSource>//,EnumSelectViewControllerDelegate>
@property (strong, nonatomic) IBOutlet UIView *treeContainer;
@property (weak, nonatomic) RATreeView *treeView;
//@property (strong, nonatomic) IBOutlet UIView *RadioContainer;
@property (strong,nonatomic)NSDictionary* categoryMenu;
@property (strong, nonatomic) IBOutlet UITextField *textModelName;
@property (strong, nonatomic) IBOutlet UITextField *textModelDescription;


@property (strong, nonatomic) IBOutlet UIButton *buttonQTY;
@property (strong, nonatomic) IBOutlet UIButton *buttonAlert;
@property (strong, nonatomic) IBOutlet UIButton *buttonAvailability;
@property (strong, nonatomic) IBOutlet UIButton *buttonPrice;
@property (strong, nonatomic) IBOutlet UIButton *buttonBestSeller;
@property (nonatomic , copy) void (^SearchClick)(NSString* ids,NSString* modelname,NSString* modeldescrip,NSString* alert,NSString* available,NSString* QTY,NSString* price , NSString* bestseller);
@property (nonatomic , copy) void (^ResetClick)();

@property (strong, nonatomic) NSDictionary* alert_cadedate;
@property (strong, nonatomic) NSDictionary* qty_cadedate;
@property (strong, nonatomic) NSDictionary* availability_cadedate;
@property (strong, nonatomic) NSDictionary* price_cadedate;
@property (strong, nonatomic) NSDictionary* bestseller_cadedate;
@property (strong, nonatomic) NSMutableDictionary* default_filter;
@property (strong, nonatomic) IBOutlet UILabel *labelPrice;


@property (strong, nonatomic) NSString* modelname;
@property (strong, nonatomic) NSString* modeldescrip;
@end
