|
@@ -1520,6 +1520,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
}
|
|
|
|
|
+#ifdef RA_NOTIFICATION
|
|
|
|
|
+ [ActiveViewController Notify:@"OrderListViewController" Message:RA_NOTIFICATION_RELOAD_DATA];
|
|
|
|
|
+#else
|
|
|
|
|
+ AppDelegate *appDelegate = (AppDelegate*)[[UIApplication sharedApplication] delegate];
|
|
|
|
|
+ [((MainViewController*)appDelegate.main_vc) reloadOrder:true immediately:false];
|
|
|
|
|
+#endif
|
|
|
//[RAUtils message_alert:nil title:@"Order Canceled" controller:self] ;
|
|
//[RAUtils message_alert:nil title:@"Order Canceled" controller:self] ;
|
|
|
//[self ReloadData];
|
|
//[self ReloadData];
|
|
|
|
|
|
|
@@ -2870,6 +2876,12 @@ commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:
|
|
|
}
|
|
}
|
|
|
[self.itemListTable reloadData];
|
|
[self.itemListTable reloadData];
|
|
|
[self refresh_total];
|
|
[self refresh_total];
|
|
|
|
|
+#ifdef RA_NOTIFICATION
|
|
|
|
|
+ [ActiveViewController Notify:@"OrderListViewController" Message:RA_NOTIFICATION_RELOAD_DATA];
|
|
|
|
|
+#else
|
|
|
|
|
+ AppDelegate *appDelegate = (AppDelegate*)[[UIApplication sharedApplication] delegate];
|
|
|
|
|
+ [((MainViewController*)appDelegate.main_vc) reloadOrder:true immediately:false];
|
|
|
|
|
+#endif
|
|
|
// [self reload_data];
|
|
// [self reload_data];
|
|
|
}
|
|
}
|
|
|
else
|
|
else
|