Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 3af1ae3c

Von Bernd Bleßmann vor etwa 6 Jahren hinzugefügt

  • ID 3af1ae3c0e590feebb2f4c0f1fc0a5bd6dfbd4a2
  • Vorgänger 56cd3280
  • Nachfolger c1773213

Dateimanagement: nicht implementierte Speichertypen nicht anbieten/entfernen

Aus Maske und Datenbank (defaults)

Unterschiede anzeigen:

SL/DB/MetaSetup/Default.pm
46 46
  datev_check_on_purchase_invoice           => { type => 'boolean', default => 'true' },
47 47
  datev_check_on_sales_invoice              => { type => 'boolean', default => 'true' },
48 48
  disabled_price_sources                    => { type => 'array' },
49
  doc_database                              => { type => 'boolean', default => 'false' },
50 49
  doc_delete_printfiles                     => { type => 'boolean', default => 'false' },
51 50
  doc_files                                 => { type => 'boolean', default => 'false' },
52 51
  doc_files_rootpath                        => { type => 'text', default => './documents' },
locale/de/all
855 855
  'Data type'                   => 'Datentyp',
856 856
  'DataSet #1'                  => 'Datensatz #1',
857 857
  'DataSet for GoBD version #1. Created with kivitendo #2 by #3 (#4)' => 'Datenüberlassung nach GoBD vom #1. Erstellt mit kivitendo #2. Ansprechpartner ist #3 (#4)',
858
  'Database'                    => 'Datenbank',
859 858
  'Database Administration'     => 'Datenbankadministration',
860 859
  'Database Connection Test'    => 'Test der Datenbankverbindung',
861 860
  'Database Host'               => 'Datenbankcomputer',
......
3678 3677
  'UsageWithout'                => 'Entnommen (ohne Korr.)',
3679 3678
  'Use As New'                  => 'Als neu verwenden',
3680 3679
  'Use Balance Sheet'           => 'Bilanz verwenden',
3681
  'Use Database Storage backend (not implemented yet!)' => 'Verwende Datenbank-Backend (NICHT IMPLEMENTIERT !)',
3682 3680
  'Use Datevautomatik'          => 'Datev-Automatik verwenden',
3683 3681
  'Use Erfolgsrechnung'         => 'Erfolgsrechnung verwenden',
3684 3682
  'Use File Storage backend'    => 'Verwende Dateisystem-Backend',
......
3956 3954
  'every time'                  => 'immer',
3957 3955
  'executed'                    => 'ausgeführt',
3958 3956
  'execution as user \'#1\''    => 'Ausführung als User »#1«',
3959
  'ext.DMS'                     => 'externes DMS',
3960 3957
  'failed'                      => 'fehlgeschlagen',
3961 3958
  'false'                       => 'falsch',
3962 3959
  'female'                      => 'weiblich',
locale/en/all
855 855
  'Data type'                   => '',
856 856
  'DataSet #1'                  => '',
857 857
  'DataSet for GoBD version #1. Created with kivitendo #2 by #3 (#4)' => '',
858
  'Database'                    => '',
859 858
  'Database Administration'     => '',
860 859
  'Database Connection Test'    => '',
861 860
  'Database Host'               => '',
......
3677 3676
  'UsageWithout'                => 'Usage (without correction)',
3678 3677
  'Use As New'                  => '',
3679 3678
  'Use Balance Sheet'           => '',
3680
  'Use Database Storage backend (not implemented yet!)' => '',
3681 3679
  'Use Datevautomatik'          => '',
3682 3680
  'Use Erfolgsrechnung'         => '',
3683 3681
  'Use File Storage backend'    => '',
......
3955 3953
  'every time'                  => '',
3956 3954
  'executed'                    => '',
3957 3955
  'execution as user \'#1\''    => '',
3958
  'ext.DMS'                     => '',
3959 3956
  'failed'                      => '',
3960 3957
  'false'                       => '',
3961 3958
  'female'                      => '',
sql/Pg-upgrade2/defaults_filemanagement_remove_doc_database.sql
1
-- @tag: defaults_filemanagement_remove_doc_database
2
-- @description: "Unbenutze Spalte für Dateimanagement-Speichertyp Datenbank entfernen"
3
-- @depends: filemanagement_feature
4

  
5
ALTER TABLE defaults DROP COLUMN doc_database;
templates/webpages/client_config/_features.html
37 37
  <tr>
38 38
    <td align="right">[% LxERP.t8('Storage Type for generated/imported PDF Documents') %]</td>
39 39
    <td>[% L.select_tag('defaults.doc_storage_for_documents',
40
         [ [ 'None', LxERP.t8('None') ],[ 'Filesystem', LxERP.t8('Files') ],[ 'Webdav', LxERP.t8('WebDAV') ],[ 'ExtDMS', LxERP.t8('ext.DMS') ],[ 'DB', LxERP.t8('Database') ]  ],
40
         [ [ 'None', LxERP.t8('None') ],[ 'Filesystem', LxERP.t8('Files') ],[ 'Webdav', LxERP.t8('WebDAV') ] ],
41 41
                               default = SELF.defaults.doc_storage_for_documents,
42 42
                               onchange="return checkavailable_filebackend(this);") %]</td>
43 43
    <td>[% LxERP.t8('Use this storage backend for all generated PDF-Files') %]</td>
......
45 45
  <tr>
46 46
    <td align="right">[% LxERP.t8('Storage Type for Attachments') %]</td>
47 47
    <td>[% L.select_tag('defaults.doc_storage_for_attachments',
48
         [ [ 'None', LxERP.t8('None') ], [ 'Filesystem', LxERP.t8('Files') ],[ 'Webdav', LxERP.t8('WebDAV') ],[ 'ExtDMS', LxERP.t8('ext.DMS') ],[ 'DB', LxERP.t8('Database') ]  ],
48
         [ [ 'None', LxERP.t8('None') ], [ 'Filesystem', LxERP.t8('Files') ],[ 'Webdav', LxERP.t8('WebDAV') ] ],
49 49
                               default = SELF.defaults.doc_storage_for_attachments,
50 50
                               onchange="return checkavailable_filebackend(this);") %]</td>
51 51
    <td>[% LxERP.t8('Use this storage backend for all uploaded attachments') %]</td>
......
53 53
  <tr>
54 54
    <td align="right">[% LxERP.t8('Storage Type for images') %]</td>
55 55
    <td>[% L.select_tag('defaults.doc_storage_for_images',
56
         [ [ 'None', LxERP.t8('None') ], [ 'Filesystem', LxERP.t8('Files') ],[ 'Webdav', LxERP.t8('WebDAV') ],[ 'ExtDMS', LxERP.t8('ext.DMS') ],[ 'DB', LxERP.t8('Database') ]  ],
56
         [ [ 'None', LxERP.t8('None') ], [ 'Filesystem', LxERP.t8('Files') ],[ 'Webdav', LxERP.t8('WebDAV') ] ],
57 57
                               default = SELF.defaults.doc_storage_for_images,
58 58
                               onchange="return checkavailable_filebackend(this);") %]</td>
59 59
    <td>[% LxERP.t8('Use this storage backend for uploaded images') %]</td>
......
61 61
  <tr>
62 62
    <td align="right">[% LxERP.t8('Storage Type for shopimages') %]</td>
63 63
    <td>[% L.select_tag('defaults.doc_storage_for_shopimages',
64
         [ [ 'None', LxERP.t8('None') ], [ 'Filesystem', LxERP.t8('Files') ],[ 'Webdav', LxERP.t8('WebDAV') ],[ 'ExtDMS', LxERP.t8('ext.DMS') ],[ 'DB', LxERP.t8('Database') ]  ],
64
         [ [ 'None', LxERP.t8('None') ], [ 'Filesystem', LxERP.t8('Files') ],[ 'Webdav', LxERP.t8('WebDAV') ] ],
65 65
                               default = SELF.defaults.doc_storage_for_shopimages,
66 66
                               onchange="return checkavailable_filebackend(this);") %]</td>
67 67
    <td>[% LxERP.t8('Use this storage backend for uploaded images') %]</td>
......
88 88
   <td>[% L.yes_no_tag('defaults.doc_webdav', SELF.defaults.doc_webdav) %]</td>
89 89
   <td>[% LxERP.t8('Use WebDAV Storage backend') %]</td>
90 90
  </tr>
91
  <tr>
92
   <td align="right">[% LxERP.t8('Database') %]</td>
93
   <td>[% L.yes_no_tag('defaults.doc_database', SELF.defaults.doc_database, disabled=1) %]</td>
94
   <td>[% LxERP.t8('Use Database Storage backend (not implemented yet!)') %]</td>
95
  </tr>
96 91

  
97 92
  <tr><td class="listheading" colspan="4">[% LxERP.t8("Reports") %]</td></tr>
98 93

  
templates/webpages/client_config/form.html
54 54
  var selval = elem.value;
55 55
  if ( selval == 'Webdav' && $("#defaults_doc_webdav").val() == 0 ) {
56 56
     elem.value = 'Filesystem';
57
  } else if ( selval == 'ExtDMS' ) {
58
     elem.value = 'Filesystem';
59
  } if ( selval == 'DB' && $("#defaults_doc_database").val() == 0 ) {
60
     elem.value = 'Filesystem';
61 57
  }
62 58
  if ( elem.value == 'Filesystem' && $("#defaults_doc_files").val() == 0 ) {
63 59
     elem.value = 'None';

Auch abrufbar als: Unified diff