X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FWebdav.pm;h=85f6249adc63bf51b960d2310f96c9cce40174d9;hb=d58f0807a72e7a791cded47b057e5f20116ca13f;hp=95955127d9d485b486288478bcb9468547da07b6;hpb=dc6d82312f264df3d2bf482836ff4fd2bfe3a462;p=kivitendo-erp.git diff --git a/SL/Webdav.pm b/SL/Webdav.pm index 95955127d..85f6249ad 100644 --- a/SL/Webdav.pm +++ b/SL/Webdav.pm @@ -17,18 +17,28 @@ use Rose::Object::MakeMethods::Generic ( ); my %type_to_path = ( - sales_quotation => 'angebote', - sales_order => 'bestellungen', - request_quotation => 'anfragen', - purchase_order => 'lieferantenbestellungen', - sales_delivery_order => 'verkaufslieferscheine', - purchase_delivery_order => 'einkaufslieferscheine', - credit_note => 'gutschriften', - invoice => 'rechnungen', - purchase_invoice => 'einkaufsrechnungen', - part => 'waren', - service => 'dienstleistungen', - assembly => 'erzeugnisse', + sales_quotation => 'angebote', + sales_order => 'bestellungen', + request_quotation => 'anfragen', + purchase_order => 'lieferantenbestellungen', + sales_delivery_order => 'verkaufslieferscheine', + purchase_delivery_order => 'einkaufslieferscheine', + supplier_delivery_order => 'beistelllieferscheine', + rma_delivery_order => 'retourenlieferscheine', + credit_note => 'gutschriften', + invoice => 'rechnungen', + invoice_for_advance_payment => 'rechnungen', + final_invoice => 'rechnungen', + purchase_invoice => 'einkaufsrechnungen', + 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 +155,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 +191,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