|
@@ -15,6 +15,8 @@
|
|
|
#import "DefaultTableHeaderView.h"
|
|
#import "DefaultTableHeaderView.h"
|
|
|
#import "SortItemViewController.h"
|
|
#import "SortItemViewController.h"
|
|
|
#import "UIColor+JK_HEX.h"
|
|
#import "UIColor+JK_HEX.h"
|
|
|
|
|
+#import "TextUtils.h"
|
|
|
|
|
+
|
|
|
|
|
|
|
|
@interface PDFListViewController ()
|
|
@interface PDFListViewController ()
|
|
|
|
|
|
|
@@ -544,7 +546,9 @@
|
|
|
// {
|
|
// {
|
|
|
// subject = [NSString stringWithFormat:@"Tear sheet for %@",company ];
|
|
// subject = [NSString stringWithFormat:@"Tear sheet for %@",company ];
|
|
|
// }
|
|
// }
|
|
|
- ViewController.attachment_name = [NSString stringWithFormat:@"NPD_Product_List %@.pdf",cur_time];
|
|
|
|
|
|
|
+ NSString* lfilename = [TextUtils legalFilename:name];
|
|
|
|
|
+ ViewController.attachment_name = [NSString stringWithFormat:@"%@.pdf",lfilename];
|
|
|
|
|
+ ViewController.filename = [NSString stringWithFormat:@"%@.pdf",lfilename];
|
|
|
ViewController.mail_subject = subject;
|
|
ViewController.mail_subject = subject;
|
|
|
|
|
|
|
|
ViewController.hidenavi = false;
|
|
ViewController.hidenavi = false;
|