//
//  DetailViewController.h
//  RedAnt ERP Mobile
//
//  Created by Ray on 7/25/15.
//  Copyright (c) 2015 United Software Applications, Inc. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "DetailTopicCell.h"
#import "DetailHeaderCell.h"
//#import "SelectorViewController.h"
#import "ActiveViewController.h"
#import "NIDropDown.h"
@interface DetailViewController : ActiveViewController<UITableViewDataSource,UITableViewDelegate,DetailRelatedCellDelegate,DetailHeaderCellDelegate,/*SelectorDelegate,*/NIDropDownDelegate>
@property (strong,nonatomic) NSMutableDictionary* detail_data;
@property (strong,nonatomic) NSString* product_id;
@property (strong,nonatomic) NSString* model_name;
@property (strong,nonatomic) NSString* category_id;
@property (strong,nonatomic) NSDictionary* selector;
@property bool ispush;
@property bool use_model_name;
@property (strong, nonatomic) IBOutlet UITableView *detailTable;
@property (strong, nonatomic) IBOutlet UIButton *anchor_button;
@property int quantity;
@property int step;

@property (strong,nonatomic) UIPopoverController *popover;


@property (nonatomic , copy) void (^OnBack)(bool add_cart,bool add_wish,bool update_data);
@property bool add_cart;
@property bool add_wish;
@property bool add_portfolio;
@property bool update_data;
//@property CALayer layer;
@property (strong, nonatomic) IBOutlet UILabel *label_net_err;

@property (strong, nonatomic)  NIDropDown *dropDown;

@property (strong, nonatomic) IBOutlet UIActivityIndicatorView *mum;
-(void) reload;
@end
