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