|
@@ -1841,6 +1841,7 @@ commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:
|
|
|
|
|
|
|
|
- (void)handleUserLogin:(NSNotification *)notification {
|
|
- (void)handleUserLogin:(NSNotification *)notification {
|
|
|
AppDelegate *appDelegate = (AppDelegate*)[[UIApplication sharedApplication] delegate];
|
|
AppDelegate *appDelegate = (AppDelegate*)[[UIApplication sharedApplication] delegate];
|
|
|
|
|
+ self.orderType = 0;
|
|
|
if (appDelegate.user_type == USER_ROLE_CUSTOMER) {
|
|
if (appDelegate.user_type == USER_ROLE_CUSTOMER) {
|
|
|
self.orderTypeSegmentControl.selectedSegmentIndex = 0;
|
|
self.orderTypeSegmentControl.selectedSegmentIndex = 0;
|
|
|
|
|
|