|
|
@@ -5536,7 +5536,7 @@
|
|
|
NSString *_id = [self valueInParams:params key:@"cartitem_id"];
|
|
|
NSString *notes = [self valueInParams:params key:@"item_note"];
|
|
|
NSString *discount = [self valueInParams:params key:@"discount"];
|
|
|
- NSString *price = [self valueInParams:params key:@"discount"];
|
|
|
+ NSString *price = [self valueInParams:params key:@"price"];
|
|
|
price = [self translateSingleQuote:[AESCrypt fastencrypt:price]];
|
|
|
|
|
|
NSString *sql = [NSString stringWithFormat:@"update offline_cart set str_price = '%@',discount = %f where _id = %@",price,discount.doubleValue,_id];
|