|
|
@@ -11995,7 +11995,9 @@ NSString* gprice = [self get_portfolio_price :appDelegate.contact_id item_id:ite
|
|
|
|
|
|
}];
|
|
|
}
|
|
|
-
|
|
|
+ if (!orderCode) {
|
|
|
+ orderCode = @"";
|
|
|
+ }
|
|
|
NSDictionary *newParams = @{
|
|
|
@"product_id" : product_id_string,
|
|
|
@"orderCode" : orderCode
|
|
|
@@ -12171,9 +12173,13 @@ NSString* gprice = [self get_portfolio_price :appDelegate.contact_id item_id:ite
|
|
|
qty = [qty substringFromIndex:1];
|
|
|
}
|
|
|
|
|
|
+ NSString *orderCode = params[@"orderCode"];
|
|
|
+ if (!orderCode) {
|
|
|
+ orderCode = @"";
|
|
|
+ }
|
|
|
NSDictionary *newParams = @{
|
|
|
@"product_id" : product_id,
|
|
|
- @"orderCode" : params[@"orderCode"],
|
|
|
+ @"orderCode" : orderCode,
|
|
|
@"qty" : qty
|
|
|
};
|
|
|
|