X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FWebdav.pm;h=0b27d7dc6075e467656ce7009b3f8d0e12341f43;hb=2d0387d1624b5b7ed6b13b79b9d5a87ce9b6d12b;hp=95955127d9d485b486288478bcb9468547da07b6;hpb=dc6d82312f264df3d2bf482836ff4fd2bfe3a462;p=kivitendo-erp.git diff --git a/SL/Webdav.pm b/SL/Webdav.pm index 95955127d..0b27d7dc6 100644 --- a/SL/Webdav.pm +++ b/SL/Webdav.pm @@ -29,6 +29,12 @@ my %type_to_path = ( part => 'waren', service => 'dienstleistungen', assembly => 'erzeugnisse', + letter => 'briefe', + general_ledger => 'dialogbuchungen', + accounts_payable => 'kreditorenbuchungen', + customer => 'kunden', + vendor => 'lieferanten', + dunning => 'mahnungen', ); sub get_all_files { @@ -145,13 +151,13 @@ This module is a wrapper around the webdav storage mechanism with some simple document management functionality. This is not a replacement for real document management, mostly because the -underlying webdav storage ist not fully under our control. It's common practice +underlying webdav storage is not fully under our control. It's common practice to allow people direct samba access to the webdav, so all versioning -information need to be encoded into the filename of a file, and nonsensical +information needs to be encoded into the filename of a file, and nonsensical filenames must not break assumptions. This module is intended to be used if you need to scan the folder for -previously saved files and need to build a list to display for it. +previously saved files and need to build a list in order to display it. If you need to manipulate the versions of a file, see L @@ -181,15 +187,15 @@ Returns the physical path to this webdav object. =head1 VERSIONING SCHEME -You may register a versioning scheme object to hangdle versioning. It is +You may register a versioning scheme object to handle versioning. It is expected to implement the following methods: =over 4 =item C -Must return a string that will be used to separate basename and version part of -filenames in generating and parsing. +Must return a string that will be used to separate the basename and version part of +filenames when generating and parsing. =item C