Ray Zhang 9 лет назад
Родитель
Сommit
202d3b7953

BIN
RedAnt ERP Mobile/RedAnt ERP Mobile.xcworkspace/xcuserdata/Ray.xcuserdatad/UserInterfaceState.xcuserstate


+ 3 - 3
RedAnt ERP Mobile/common/Functions/offline/SyncControlPanelViewController.m

@@ -112,7 +112,7 @@
     //    if(self.mail_content==nil)
     //        self.mail_content=@"";
     
-    NSString* htmlbody = [NSString stringWithFormat:@"<p>%@</p></br>%@%@",@"Process description:",appinfo,userinfo];
+    NSString* htmlbody = [NSString stringWithFormat:@"<p>%@</p></br>%@%@</br></br>%@",@"Process description:",appinfo,userinfo,[appDelegate.downloadlog stringByReplacingOccurrencesOfString:@"\n" withString:@"</br>"]];
     
     [mc setMessageBody:htmlbody
                 isHTML:YES];
@@ -130,8 +130,8 @@
     
     
     
-    [mc addAttachmentData:data mimeType:@"text/plain" fileName:@"offlinelog.txt"];
-    [mc addAttachmentData:data1 mimeType:@"text/plain" fileName:@"db.zip"];
+//    [mc addAttachmentData:data mimeType:@"text/plain" fileName:filename];
+    [mc addAttachmentData:data1 mimeType:@"application/zip" fileName:@"db.zip"];
     
     [self presentModalViewController:mc animated:YES];
     

+ 1 - 1
RedAnt ERP Mobile/iSales-NPD/iSales-NPD-Info.plist

@@ -21,7 +21,7 @@
 	<key>CFBundleSignature</key>
 	<string>????</string>
 	<key>CFBundleVersion</key>
-	<string>160923</string>
+	<string>160926</string>
 	<key>LSRequiresIPhoneOS</key>
 	<true/>
 	<key>NSAppTransportSecurity</key>