Revision 2729421a
Von Bernd Bleßmann vor etwa 3 Jahren hinzugefügt
SL/Controller/File.pm | ||
---|---|---|
43 | 43 |
|
44 | 44 |
__PACKAGE__->run_before('check_object_params', only => [ qw(list ajax_delete ajax_importdialog ajax_import ajax_unimport ajax_upload ajax_files_uploaded) ]); |
45 | 45 |
|
46 |
# gen: bitmask: bit 1 (value is 1 or 3) => file created |
|
47 |
# bit 2 (value is 2 or 3) => file from other source |
|
48 |
# gltype: is this used somewhere? |
|
49 |
# dir: is this used somewhere? |
|
50 |
# model: base name of the rose model |
|
51 |
# right: access right used for import |
|
46 | 52 |
my %file_types = ( |
47 | 53 |
'sales_quotation' => { gen => 1, gltype => '', dir =>'SalesQuotation', model => 'Order', right => 'import_ar' }, |
48 | 54 |
'sales_order' => { gen => 1, gltype => '', dir =>'SalesOrder', model => 'Order', right => 'import_ar' }, |
... | ... | |
61 | 67 |
'csv_customer' => { gen => 1, gltype => '', dir =>'Reports', model => 'Customer', right => 'xx' }, |
62 | 68 |
'csv_vendor' => { gen => 1, gltype => '', dir =>'Reports', model => 'Vendor', right => 'xx' }, |
63 | 69 |
'shop_image' => { gen => 0, gltype => '', dir =>'ShopImages', model => 'Part', right => 'xx' }, |
70 |
'letter' => { gen => 3, gltype => '', dir =>'Letter', model => 'Letter', right => 'sales_letter_edit | purchase_letter_edit' }, |
|
64 | 71 |
); |
65 | 72 |
|
66 | 73 |
#--- 4 locale ---# |
Auch abrufbar als: Unified diff
Brief: erzeugtes Dokument im DMS speichern