//
//  AccidentsVC.h
//  Gilliatte
//
//  Created by Lead on 12/08/16.
//  Copyright © 2016 Lead infosoft. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "ActionSheetPicker.h"

@protocol AccidentDelegate <NSObject>
@optional
-(void)getRecordArray:(NSMutableArray *)recordArray;
@end

@interface AccidentsVC : UIViewController<UITextViewDelegate>

@property (assign, nonatomic)id<AccidentDelegate> delegate;

@property (nonatomic, strong) AbstractActionSheetPicker *actionSheetPicker;

@property (strong, nonatomic) IBOutlet UIButton *btn_Project;
@property (strong, nonatomic) IBOutlet UIButton *btn_Job;

@property (strong, nonatomic) IBOutlet UITextField *txt_Name;
@property (strong, nonatomic) IBOutlet UITextField *txt_PhoneNumber;
@property (strong, nonatomic) IBOutlet UITextField *txt_CompanyName;

@property (strong, nonatomic) IBOutlet UIButton *btn_IncidentDate;
@property (strong, nonatomic) IBOutlet UIButton *btn_IncidentTime;
@property (strong, nonatomic) IBOutlet UIButton *btn_Radio_PropertyDamage;
@property (strong, nonatomic) IBOutlet UIButton *btn_Radio_Other;

@property (strong, nonatomic) IBOutlet UITextField *txt_Radio_Other;
@property (strong, nonatomic) IBOutlet UITextField *txt_WitnessName;
@property (strong, nonatomic) IBOutlet UITextField *txt_WitnessNumber;

@property (strong, nonatomic) IBOutlet UITextView *textview_Write;

@property (strong, nonatomic) IBOutlet UIButton *btn_Save;

- (IBAction)Btn_ImgviewSelect:(id)sender;

@property (weak, nonatomic) IBOutlet UIImageView *Imgview_AddPhoto;

@property (weak, nonatomic) IBOutlet UICollectionView *Collectionview_Image;

@property (weak, nonatomic) IBOutlet UIScrollView *Scrollview;

@property (strong, nonatomic) NSString *isEdited;

@property (strong, nonatomic) NSMutableArray *EditedArray;
@property (strong, nonatomic) NSMutableArray *EditedsplitNameArray;
@property (strong, nonatomic) NSMutableArray *EditedsplitPhoneArray;
@property (strong, nonatomic) NSMutableArray *EditedsplitDescArray;

@end
