|
|
@@ -9484,7 +9484,8 @@
|
|
|
}
|
|
|
|
|
|
// new order
|
|
|
- NSString *new_order_code = [NSString stringWithFormat:@"OFFLINE%@",[NSUUID UUID].UUIDString];
|
|
|
+// NSString *new_order_code = [NSString stringWithFormat:@"OFFLINE%@",[NSUUID UUID].UUIDString];
|
|
|
+ NSString *new_order_code = [self get_offline_soid:db];
|
|
|
|
|
|
NSString *user = ((AppDelegate *)[UIApplication sharedApplication].delegate).user;
|
|
|
user = [self translateSingleQuote:user];
|