|
@@ -3928,7 +3928,7 @@ NSString* gprice = [self get_portfolio_price :appDelegate.contact_id item_id:ite
|
|
|
|
|
|
|
|
|
|
|
|
|
{
|
|
{
|
|
|
- sqlQuery=[NSString stringWithFormat:@"select editable,company_name,country,addr,zipcode,state,city,contact_name,phone,contact_id,addr_1,addr_2,addr_3,addr_4,first_name,last_name,fax,email,img_0,img_1,img_2,price_type,notes,sales_rep from offline_contact where contact_id='%@'",contactId];
|
|
|
|
|
|
|
+ sqlQuery=[NSString stringWithFormat:@"select editable,company_name,country,addr,zipcode,state,city,contact_name,phone,contact_id,addr_1,addr_2,addr_3,addr_4,first_name,last_name,fax,email,img_0,img_1,img_2,price_type,notes,sales_rep,type from offline_contact where contact_id='%@'",contactId];
|
|
|
|
|
|
|
|
}
|
|
}
|
|
|
|
|
|
|
@@ -4108,6 +4108,8 @@ NSString* gprice = [self get_portfolio_price :appDelegate.contact_id item_id:ite
|
|
|
else
|
|
else
|
|
|
nssalesrep= [[NSString alloc]initWithUTF8String:salesrep];
|
|
nssalesrep= [[NSString alloc]initWithUTF8String:salesrep];
|
|
|
|
|
|
|
|
|
|
+ NSString *contact_type = [self textAtColumn:24 statement:statement];
|
|
|
|
|
+
|
|
|
|
|
|
|
|
{
|
|
{
|
|
|
// decrypt
|
|
// decrypt
|
|
@@ -4174,7 +4176,7 @@ NSString* gprice = [self get_portfolio_price :appDelegate.contact_id item_id:ite
|
|
|
[item setValue:nscontact_name forKey:@"customer_contact"];
|
|
[item setValue:nscontact_name forKey:@"customer_contact"];
|
|
|
[item setValue:nsfax forKey:@"customer_fax"];
|
|
[item setValue:nsfax forKey:@"customer_fax"];
|
|
|
[item setValue:nsemail forKey:@"customer_email"];
|
|
[item setValue:nsemail forKey:@"customer_email"];
|
|
|
-
|
|
|
|
|
|
|
+ [item setValue:contact_type forKey:@"customer_contact_type"];
|
|
|
|
|
|
|
|
|
|
|
|
|
[ret setObject:item forKey:@"customerInfo"];
|
|
[ret setObject:item forKey:@"customerInfo"];
|
|
@@ -5131,6 +5133,32 @@ NSString* gprice = [self get_portfolio_price :appDelegate.contact_id item_id:ite
|
|
|
return ret;
|
|
return ret;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
++ (NSDictionary *)offline_getContactTypeChecked:(NSString *)type {
|
|
|
|
|
+ NSString *sql = @"select _id,type_name from contact_type";
|
|
|
|
|
+ __block NSMutableDictionary *ret = [NSMutableDictionary dictionary];
|
|
|
|
|
+ [ret setValue:[NSNumber numberWithInt:0] forKey:@"count"];
|
|
|
|
|
+
|
|
|
|
|
+ [iSalesDB jk_query:sql completion:^(sqlite3_stmt *stmt, NSMutableDictionary *container, long *count) {
|
|
|
|
|
+
|
|
|
|
|
+ int _id = sqlite3_column_int(stmt, 0);
|
|
|
|
|
+ NSString *name = [self textAtColumn:1 statement:stmt];
|
|
|
|
|
+
|
|
|
|
|
+ NSDictionary *typeDic = @{
|
|
|
|
|
+ @"value_id" : name,
|
|
|
|
|
+ @"value" : name,
|
|
|
|
|
+ @"check" : type && [type isEqualToString:name] ? @(1) : !type && *count == 0 ? @(1) : @(0)
|
|
|
|
|
+ };
|
|
|
|
|
+
|
|
|
|
|
+ [ret setValue:typeDic forKey:[NSString stringWithFormat:@"val_%ld",*count]];
|
|
|
|
|
+ [ret setValue:[NSNumber numberWithInt:++(*count)] forKey:@"count"];
|
|
|
|
|
+
|
|
|
|
|
+ } failure:^(NSMutableDictionary *container, NSString *err_msg) {
|
|
|
|
|
+
|
|
|
|
|
+ }];
|
|
|
|
|
+
|
|
|
|
|
+ return ret;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
+ (NSDictionary *)offline_getSalesRep {
|
|
+ (NSDictionary *)offline_getSalesRep {
|
|
|
|
|
|
|
|
// 首先从offline_login表中取出sales_code
|
|
// 首先从offline_login表中取出sales_code
|
|
@@ -5973,9 +6001,9 @@ NSString* gprice = [self get_portfolio_price :appDelegate.contact_id item_id:ite
|
|
|
city = [dic valueForKey:@"city"];
|
|
city = [dic valueForKey:@"city"];
|
|
|
|
|
|
|
|
// zip code
|
|
// zip code
|
|
|
- NSMutableDictionary *zipDic = [[section_0 valueForKey:@"item_10"] mutableCopy];
|
|
|
|
|
|
|
+ NSMutableDictionary *zipDic = [[section_0 valueForKey:@"item_11"] mutableCopy];
|
|
|
[zipDic setValue:zipCode forKey:@"value"];
|
|
[zipDic setValue:zipCode forKey:@"value"];
|
|
|
- [section_0 setValue:zipDic forKey:@"item_10"];
|
|
|
|
|
|
|
+ [section_0 setValue:zipDic forKey:@"item_11"];
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
|
|
@@ -5987,28 +6015,32 @@ NSString* gprice = [self get_portfolio_price :appDelegate.contact_id item_id:ite
|
|
|
|
|
|
|
|
// country
|
|
// country
|
|
|
NSDictionary *allCountry = [self offline_getAllCountryDefault:countryCode];
|
|
NSDictionary *allCountry = [self offline_getAllCountryDefault:countryCode];
|
|
|
- [self setValue:allCountry forItemKey:@"item_5" valueKey:@"cadedate" inDictionary:section_0];
|
|
|
|
|
|
|
+ [self setValue:allCountry forItemKey:@"item_6" valueKey:@"cadedate" inDictionary:section_0];
|
|
|
|
|
|
|
|
// state
|
|
// state
|
|
|
NSDictionary *allState = [self offline_getStateByCountryCode:countryCode checkedState:stateCode];
|
|
NSDictionary *allState = [self offline_getStateByCountryCode:countryCode checkedState:stateCode];
|
|
|
// NSDictionary *allState = [self offline_getStateByCountryCodeId:countryCode_id checkedState:stateCode];
|
|
// NSDictionary *allState = [self offline_getStateByCountryCodeId:countryCode_id checkedState:stateCode];
|
|
|
- [self setValue:allState forItemKey:@"item_11" valueKey:@"cadedate" inDictionary:section_0];
|
|
|
|
|
|
|
+ [self setValue:allState forItemKey:@"item_12" valueKey:@"cadedate" inDictionary:section_0];
|
|
|
|
|
|
|
|
// city
|
|
// city
|
|
|
if (city) {
|
|
if (city) {
|
|
|
- NSMutableDictionary *cityDic = [[section_0 valueForKey:@"item_12"] mutableCopy];
|
|
|
|
|
|
|
+ NSMutableDictionary *cityDic = [[section_0 valueForKey:@"item_13"] mutableCopy];
|
|
|
[cityDic setValue:city forKey:@"value"];
|
|
[cityDic setValue:city forKey:@"value"];
|
|
|
|
|
|
|
|
- [section_0 setValue:cityDic forKey:@"item_12"];
|
|
|
|
|
|
|
+ [section_0 setValue:cityDic forKey:@"item_13"];
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
// price type
|
|
// price type
|
|
|
NSDictionary *priceDic = [self offline_getPrice];
|
|
NSDictionary *priceDic = [self offline_getPrice];
|
|
|
[self setValue:priceDic forItemKey:@"item_2" valueKey:@"cadedate" inDictionary:section_0];
|
|
[self setValue:priceDic forItemKey:@"item_2" valueKey:@"cadedate" inDictionary:section_0];
|
|
|
|
|
|
|
|
|
|
+ // contact type
|
|
|
|
|
+ NSDictionary *contactTypeDic = [self offline_getContactTypeChecked:nil];
|
|
|
|
|
+ [self setValue:contactTypeDic forItemKey:@"item_3" valueKey:@"cadedate" inDictionary:section_0];
|
|
|
|
|
+
|
|
|
// Sales Rep
|
|
// Sales Rep
|
|
|
NSDictionary *repDic = [self offline_getSalesRep];
|
|
NSDictionary *repDic = [self offline_getSalesRep];
|
|
|
- [self setValue:repDic forItemKey:@"item_17" valueKey:@"cadedate" inDictionary:section_0];
|
|
|
|
|
|
|
+ [self setValue:repDic forItemKey:@"item_18" valueKey:@"cadedate" inDictionary:section_0];
|
|
|
|
|
|
|
|
[ret setValue:section_0 forKey:@"section_0"];
|
|
[ret setValue:section_0 forKey:@"section_0"];
|
|
|
|
|
|
|
@@ -6186,6 +6218,12 @@ NSString* gprice = [self get_portfolio_price :appDelegate.contact_id item_id:ite
|
|
|
|
|
|
|
|
NSString *contact_id = [NSUUID UUID].UUIDString;
|
|
NSString *contact_id = [NSUUID UUID].UUIDString;
|
|
|
|
|
|
|
|
|
|
+ NSString *contact_type = [params objectForKey:@"type_name"];
|
|
|
|
|
+ if (!contact_type) {
|
|
|
|
|
+ contact_type = @"";
|
|
|
|
|
+ }
|
|
|
|
|
+ contact_type = [self translateSingleQuote:contact_type];
|
|
|
|
|
+
|
|
|
// 判断更新时是否为customer
|
|
// 判断更新时是否为customer
|
|
|
if (update) {
|
|
if (update) {
|
|
|
contact_id = [params objectForKey:@"contact_id"];
|
|
contact_id = [params objectForKey:@"contact_id"];
|
|
@@ -6223,7 +6261,7 @@ NSString* gprice = [self get_portfolio_price :appDelegate.contact_id item_id:ite
|
|
|
sync_data = [RAUtils dict2string:sync_dic];
|
|
sync_data = [RAUtils dict2string:sync_dic];
|
|
|
sync_data = [self translateSingleQuote:sync_data];
|
|
sync_data = [self translateSingleQuote:sync_data];
|
|
|
|
|
|
|
|
- sql = [NSString stringWithFormat:@"update offline_contact set company_name = '%@',addr_1 = '%@',addr_2 = '%@',addr_3 = '%@',addr_4 = '%@',country = '%@',state = '%@',city = '%@',zipcode = '%@',first_name = '%@',last_name = '%@',phone = '%@',fax = '%@',email = '%@',notes = '%@',price_type = '%@',sales_rep = '%@',img_0 = '%@',img_1 = '%@',img_2 = '%@',sync_data = '%@',contact_name = '%@',addr = '%@' where contact_id = '%@';",companyName,addr1,addr2,addr3,addr4,country,state,city,zipcode,fistName,lastName,phone,fax,email,notes,price,salesRep,img_0,img_1,img_2,sync_data,contact_name,addr,contact_id];
|
|
|
|
|
|
|
+ sql = [NSString stringWithFormat:@"update offline_contact set company_name = '%@',addr_1 = '%@',addr_2 = '%@',addr_3 = '%@',addr_4 = '%@',country = '%@',state = '%@',city = '%@',zipcode = '%@',first_name = '%@',last_name = '%@',phone = '%@',fax = '%@',email = '%@',notes = '%@',price_type = '%@',sales_rep = '%@',img_0 = '%@',img_1 = '%@',img_2 = '%@',sync_data = '%@',contact_name = '%@',addr = '%@',type = '%@' where contact_id = '%@';",companyName,addr1,addr2,addr3,addr4,country,state,city,zipcode,fistName,lastName,phone,fax,email,notes,price,salesRep,img_0,img_1,img_2,sync_data,contact_name,addr,contact_type,contact_id];
|
|
|
} else {
|
|
} else {
|
|
|
|
|
|
|
|
contact_id = [self translateSingleQuote:contact_id];
|
|
contact_id = [self translateSingleQuote:contact_id];
|
|
@@ -6233,7 +6271,7 @@ NSString* gprice = [self get_portfolio_price :appDelegate.contact_id item_id:ite
|
|
|
sync_data = [RAUtils dict2string:sync_dic];
|
|
sync_data = [RAUtils dict2string:sync_dic];
|
|
|
sync_data = [self translateSingleQuote:sync_data];
|
|
sync_data = [self translateSingleQuote:sync_data];
|
|
|
|
|
|
|
|
- sql = [NSString stringWithFormat:@"insert into offline_contact (is_active,company_name,addr_1,addr_2,addr_3,addr_4,country,state,city,zipcode,first_name,last_name,phone,fax,email,notes,price_type,sales_rep,img_0,img_1,img_2,editable,contact_id,Sales_Order_Customer,Sales_Order_Freight_Bill_To,Sales_Order_Ship_From,Sales_Order_Merchandise_Bill_To,Contact_Return_To,Sales_Order_Ship_To,sync_data,contact_name,addr) values (1,'%@','%@','%@','%@','%@','%@','%@','%@','%@','%@','%@','%@','%@','%@','%@','%@','%@','%@','%@','%@',1,'%@',%d,%d,0,%d,0,1,'%@','%@','%@')",companyName,addr1,addr2,addr3,addr4,country,state,city,zipcode,fistName,lastName,phone,fax,email,notes,price,salesRep,img_0,img_1,img_2,contact_id,isCustomer ? 1 : 0,isCustomer ? 1 : 0,isCustomer ? 1 : 0,sync_data,contact_name,addr];
|
|
|
|
|
|
|
+ sql = [NSString stringWithFormat:@"insert into offline_contact (is_active,company_name,addr_1,addr_2,addr_3,addr_4,country,state,city,zipcode,first_name,last_name,phone,fax,email,notes,price_type,sales_rep,img_0,img_1,img_2,editable,contact_id,Sales_Order_Customer,Sales_Order_Freight_Bill_To,Sales_Order_Ship_From,Sales_Order_Merchandise_Bill_To,Contact_Return_To,Sales_Order_Ship_To,sync_data,contact_name,addr,type) values (1,'%@','%@','%@','%@','%@','%@','%@','%@','%@','%@','%@','%@','%@','%@','%@','%@','%@','%@','%@','%@',1,'%@',%d,%d,0,%d,0,1,'%@','%@','%@','%@')",companyName,addr1,addr2,addr3,addr4,country,state,city,zipcode,fistName,lastName,phone,fax,email,notes,price,salesRep,img_0,img_1,img_2,contact_id,isCustomer ? 1 : 0,isCustomer ? 1 : 0,isCustomer ? 1 : 0,sync_data,contact_name,addr,contact_type];
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
int result = [iSalesDB execSql:sql];
|
|
int result = [iSalesDB execSql:sql];
|
|
@@ -6285,9 +6323,10 @@ NSString* gprice = [self get_portfolio_price :appDelegate.contact_id item_id:ite
|
|
|
__block NSString *phone,*fax,*email;
|
|
__block NSString *phone,*fax,*email;
|
|
|
__block NSString *notes,*price_type,*sales_rep;
|
|
__block NSString *notes,*price_type,*sales_rep;
|
|
|
__block NSString *img_0,*img_1,*img_2;
|
|
__block NSString *img_0,*img_1,*img_2;
|
|
|
|
|
+ __block NSString *contact_type;
|
|
|
|
|
|
|
|
contact_id = [self translateSingleQuote:contact_id];
|
|
contact_id = [self translateSingleQuote:contact_id];
|
|
|
- NSString *sql = [NSString stringWithFormat:@"select country,company_name,addr_1,addr_2,addr_3,addr_4,zipcode,state,city,first_name,last_name,phone,fax,email,notes,price_type,sales_rep,img_0,img_1,img_2 from offline_contact where contact_id = '%@';",contact_id];
|
|
|
|
|
|
|
+ NSString *sql = [NSString stringWithFormat:@"select country,company_name,addr_1,addr_2,addr_3,addr_4,zipcode,state,city,first_name,last_name,phone,fax,email,notes,price_type,sales_rep,img_0,img_1,img_2,type from offline_contact where contact_id = '%@';",contact_id];
|
|
|
|
|
|
|
|
[iSalesDB jk_query:sql completion:^(sqlite3_stmt *stmt, NSMutableDictionary *container, long *count) {
|
|
[iSalesDB jk_query:sql completion:^(sqlite3_stmt *stmt, NSMutableDictionary *container, long *count) {
|
|
|
|
|
|
|
@@ -6311,7 +6350,7 @@ NSString* gprice = [self get_portfolio_price :appDelegate.contact_id item_id:ite
|
|
|
img_0 = [self textAtColumn:17 statement:stmt];
|
|
img_0 = [self textAtColumn:17 statement:stmt];
|
|
|
img_1 = [self textAtColumn:18 statement:stmt];
|
|
img_1 = [self textAtColumn:18 statement:stmt];
|
|
|
img_2 = [self textAtColumn:19 statement:stmt];
|
|
img_2 = [self textAtColumn:19 statement:stmt];
|
|
|
-
|
|
|
|
|
|
|
+ contact_type = [self textAtColumn:20 statement:stmt];
|
|
|
}];
|
|
}];
|
|
|
|
|
|
|
|
// decrypt
|
|
// decrypt
|
|
@@ -6394,7 +6433,8 @@ NSString* gprice = [self get_portfolio_price :appDelegate.contact_id item_id:ite
|
|
|
// 15 Email
|
|
// 15 Email
|
|
|
// 16 Contact Notes
|
|
// 16 Contact Notes
|
|
|
// 17 Price Type
|
|
// 17 Price Type
|
|
|
- // 18 Sales Rep
|
|
|
|
|
|
|
+ // 18 Contact Type
|
|
|
|
|
+ // 19 Sales Rep
|
|
|
|
|
|
|
|
// country
|
|
// country
|
|
|
NSDictionary *allCountry = [self offline_getAllCountryDefault:countryCode];
|
|
NSDictionary *allCountry = [self offline_getAllCountryDefault:countryCode];
|
|
@@ -6459,6 +6499,10 @@ NSString* gprice = [self get_portfolio_price :appDelegate.contact_id item_id:ite
|
|
|
}
|
|
}
|
|
|
[self setValue:priceDic forItemKey:@"item_17" valueKey:@"cadedate" inDictionary:section_0];
|
|
[self setValue:priceDic forItemKey:@"item_17" valueKey:@"cadedate" inDictionary:section_0];
|
|
|
|
|
|
|
|
|
|
+ // Contact Rep
|
|
|
|
|
+ NSDictionary *contactTypeDic = [self offline_getContactTypeChecked:contact_type];
|
|
|
|
|
+ [self setValue:contactTypeDic forItemKey:@"item_18" valueKey:@"cadedate" inDictionary:section_0];
|
|
|
|
|
+
|
|
|
// Sales Rep
|
|
// Sales Rep
|
|
|
NSMutableDictionary *repDic = [[self offline_getSalesRep] mutableCopy];
|
|
NSMutableDictionary *repDic = [[self offline_getSalesRep] mutableCopy];
|
|
|
for (NSString *key in repDic.allKeys) {
|
|
for (NSString *key in repDic.allKeys) {
|
|
@@ -6472,7 +6516,7 @@ NSString* gprice = [self get_portfolio_price :appDelegate.contact_id item_id:ite
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
- [self setValue:repDic forItemKey:@"item_18" valueKey:@"cadedate" inDictionary:section_0];
|
|
|
|
|
|
|
+ [self setValue:repDic forItemKey:@"item_19" valueKey:@"cadedate" inDictionary:section_0];
|
|
|
|
|
|
|
|
[ret setValue:section_0 forKey:@"section_0"];
|
|
[ret setValue:section_0 forKey:@"section_0"];
|
|
|
|
|
|
|
@@ -10010,29 +10054,29 @@ NSString* gprice = [self get_portfolio_price :appDelegate.contact_id item_id:ite
|
|
|
|
|
|
|
|
[new_section_0 setObject:[NSNumber numberWithInteger:14] forKey:@"count"];
|
|
[new_section_0 setObject:[NSNumber numberWithInteger:14] forKey:@"count"];
|
|
|
|
|
|
|
|
- NSMutableDictionary *country_dic = [section_0[@"item_5"] mutableCopy];
|
|
|
|
|
|
|
+ NSMutableDictionary *country_dic = [section_0[@"item_6"] mutableCopy];
|
|
|
[country_dic removeObjectForKey:@"refresh"];
|
|
[country_dic removeObjectForKey:@"refresh"];
|
|
|
[country_dic removeObjectForKey:@"restore"];
|
|
[country_dic removeObjectForKey:@"restore"];
|
|
|
[new_section_0 setObject:country_dic forKey:@"item_0"]; // Country
|
|
[new_section_0 setObject:country_dic forKey:@"item_0"]; // Country
|
|
|
|
|
|
|
|
|
|
|
|
|
[new_section_0 setObject:section_0[@"item_0"] forKey:@"item_1"]; // company name*
|
|
[new_section_0 setObject:section_0[@"item_0"] forKey:@"item_1"]; // company name*
|
|
|
- [new_section_0 setObject:[self anameDealWithStarAtItem:section_0[@"item_6"] add:YES] forKey:@"item_2"]; // Address 1*
|
|
|
|
|
- [new_section_0 setObject:section_0[@"item_7"] forKey:@"item_3"]; // Address 2
|
|
|
|
|
- [new_section_0 setObject:section_0[@"item_8"] forKey:@"item_4"]; // Address 3
|
|
|
|
|
- [new_section_0 setObject:section_0[@"item_9"] forKey:@"item_5"]; // Address 4
|
|
|
|
|
|
|
+ [new_section_0 setObject:[self anameDealWithStarAtItem:section_0[@"item_7"] add:YES] forKey:@"item_2"]; // Address 1*
|
|
|
|
|
+ [new_section_0 setObject:section_0[@"item_8"] forKey:@"item_3"]; // Address 2
|
|
|
|
|
+ [new_section_0 setObject:section_0[@"item_9"] forKey:@"item_4"]; // Address 3
|
|
|
|
|
+ [new_section_0 setObject:section_0[@"item_10"] forKey:@"item_5"]; // Address 4
|
|
|
|
|
|
|
|
- NSMutableDictionary *zip_code_dic = [self anameDealWithStarAtItem:section_0[@"item_10"] add:YES];
|
|
|
|
|
|
|
+ NSMutableDictionary *zip_code_dic = [self anameDealWithStarAtItem:section_0[@"item_11"] add:YES];
|
|
|
[zip_code_dic removeObjectForKey:@"refresh"];
|
|
[zip_code_dic removeObjectForKey:@"refresh"];
|
|
|
[new_section_0 setObject:zip_code_dic forKey:@"item_6"]; // Zip Code*
|
|
[new_section_0 setObject:zip_code_dic forKey:@"item_6"]; // Zip Code*
|
|
|
|
|
|
|
|
- [new_section_0 setObject:[self anameDealWithStarAtItem:section_0[@"item_11"] add:YES] forKey:@"item_7"]; // State/Province*
|
|
|
|
|
- [new_section_0 setObject:[self anameDealWithStarAtItem:section_0[@"item_12"] add:YES] forKey:@"item_8"]; // City*
|
|
|
|
|
- [new_section_0 setObject:section_0[@"item_13"] forKey:@"item_9"]; // Contact First Name
|
|
|
|
|
- [new_section_0 setObject:section_0[@"item_14"] forKey:@"item_10"]; // Contact Last Name
|
|
|
|
|
- [new_section_0 setObject:section_0[@"item_4"] forKey:@"item_11"]; // Phone*
|
|
|
|
|
- [new_section_0 setObject:section_0[@"item_15"] forKey:@"item_12"]; // Fax
|
|
|
|
|
- [new_section_0 setObject:[self anameDealWithStarAtItem:section_0[@"item_3"] add:NO] forKey:@"item_13"]; // Email
|
|
|
|
|
|
|
+ [new_section_0 setObject:[self anameDealWithStarAtItem:section_0[@"item_12"] add:YES] forKey:@"item_7"]; // State/Province*
|
|
|
|
|
+ [new_section_0 setObject:[self anameDealWithStarAtItem:section_0[@"item_13"] add:YES] forKey:@"item_8"]; // City*
|
|
|
|
|
+ [new_section_0 setObject:section_0[@"item_14"] forKey:@"item_9"]; // Contact First Name
|
|
|
|
|
+ [new_section_0 setObject:section_0[@"item_15"] forKey:@"item_10"]; // Contact Last Name
|
|
|
|
|
+ [new_section_0 setObject:section_0[@"item_5"] forKey:@"item_11"]; // Phone*
|
|
|
|
|
+ [new_section_0 setObject:section_0[@"item_16"] forKey:@"item_12"]; // Fax
|
|
|
|
|
+ [new_section_0 setObject:[self anameDealWithStarAtItem:section_0[@"item_4"] add:NO] forKey:@"item_13"]; // Email
|
|
|
[new_section_0 setObject:section_0[@"title"] forKey:@"title"];
|
|
[new_section_0 setObject:section_0[@"title"] forKey:@"title"];
|
|
|
|
|
|
|
|
|
|
|