|
|
@@ -237,7 +237,7 @@ NSString* gprice = [self get_portfolio_price :appDelegate.contact_id item_id:ite
|
|
|
|
|
|
for(int i=0;i<[values[@"count"] intValue];i++)
|
|
|
{
|
|
|
- NSMutableDictionary * valueitem= [[RAUtils string2dict:values[[NSString stringWithFormat:@"item_%d",i]]] mutableCopy];
|
|
|
+ NSMutableDictionary * valueitem=values[[NSString stringWithFormat:@"item_%d",i]];;
|
|
|
|
|
|
if([valueitem[@"product_id"] intValue]==product_id)
|
|
|
{
|
|
|
@@ -10930,7 +10930,7 @@ NSString* gprice = [self get_portfolio_price :appDelegate.contact_id item_id:ite
|
|
|
|
|
|
if (ver!=nil) {
|
|
|
|
|
|
- where=@"is_dirty=1";
|
|
|
+ where=@"is_dirty=1 and is_local = 1";
|
|
|
|
|
|
}
|
|
|
|