Преглед изворни кода

修复PDF预览时,文件路径错误。

Pen Li пре 9 година
родитељ
комит
f393040041

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


+ 1 - 1
RedAnt ERP Mobile/common/Functions/portfolio/TearSheetParamViewController.m

@@ -363,7 +363,7 @@
                     UIAlertView * waitalert = [RAUtils waiting_alert:@"Please wait" title:@"Saving..."];
                     dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0), ^{
                         
-                        NSDictionary* json = [iSalesNetwork save_TearSheet:path name:name delete:del_ids note:internal_note configureParams:pdf_url modelIds:upparams];
+                        NSDictionary* json = [iSalesNetwork save_TearSheet:url name:name delete:del_ids note:internal_note configureParams:pdf_url modelIds:upparams];
                         
                         dispatch_async(dispatch_get_main_queue(), ^{
                             [waitalert dismissWithClickedButtonIndex:0 animated:FALSE];