فهرست منبع

1.修改Homer Order Detail Model Section Title Invoice#判断。

Pen Li 8 سال پیش
والد
کامیت
044a4aadf6
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      RedAnt ERP Mobile/common/Functions/order/OrderDetailViewController.m

+ 2 - 2
RedAnt ERP Mobile/common/Functions/order/OrderDetailViewController.m

@@ -1616,7 +1616,7 @@
         btn.autoresizingMask = UIViewAutoresizingFlexibleLeftMargin;
         [myView addSubview:btn];
         
-    } else if ([title containsString:@"Models"]) {
+    } else if ([title containsString:@"Models"] || [title containsString:@"Invoice#"]) {
         
         BOOL item_switch = [[section_item objectForKey:@"switch"] boolValue];
         NSString *normalTitle = @"Show";
@@ -1770,7 +1770,7 @@
         NSIndexSet *sectionToReload = [NSIndexSet indexSetWithIndexesInRange:range];
         [self.detailTable reloadSections:sectionToReload withRowAnimation:UITableViewRowAnimationAutomatic];
         
-    } else if ([title containsString:@"Models"]) {
+    } else if ([title containsString:@"Models"]  || [title containsString:@"Invoice#"]) {
         
         BOOL item_switch = [[section_item objectForKey:@"switch"] boolValue];
         if (item_switch == YES) {