Der Transfertyp "verschickt" wird bei Lieferscheinen benötigt.
authorMoritz Bunkus <m.bunkus@linet-services.de>
Wed, 23 Jan 2008 14:25:48 +0000 (14:25 +0000)
committerMoritz Bunkus <m.bunkus@linet-services.de>
Wed, 23 Jan 2008 14:25:48 +0000 (14:25 +0000)
bin/mozilla/wh.pl
locale/de/all
locale/de/wh
sql/Pg-upgrade2/transfer_type_shipped.sql [new file with mode: 0644]

index 68dcdbf..19f9d98 100644 (file)
@@ -58,6 +58,7 @@ require "bin/mozilla/reportgenerator.pl";
 #  $locale->text('found')
 #  $locale->text('missing')
 #  $locale->text('stock')
+#  $locale->text('shipped')
 #  $locale->text('transfer')
 #  $locale->text('used')
 #  $locale->text('return_material')
index d82c5ab..ea0bd2e 100644 (file)
@@ -1711,6 +1711,7 @@ aktualisieren wollen?',
   'sent to printer'             => 'an Drucker geschickt',
   'service units'               => 'Dienstleistungseinheiten',
   'service_list'                => 'dienstleistungsliste',
+  'shipped'                     => 'verschickt',
   'singular first char'         => 'S',
   'soldtotal'                   => 'Verkaufte Anzahl',
   'stock'                       => 'Einlagerung',
index cf21189..7df575a 100644 (file)
@@ -194,6 +194,7 @@ $self->{texts} = {
   'return_material'             => 'Materialr&uuml;ckgabe',
   'sales_order'                 => 'Kundenauftrag',
   'sales_quotation'             => 'Verkaufsangebot',
+  'shipped'                     => 'verschickt',
   'stock'                       => 'Einlagerung',
   'transfer'                    => 'Umlagerung',
   'used'                        => 'Verbraucht',
diff --git a/sql/Pg-upgrade2/transfer_type_shipped.sql b/sql/Pg-upgrade2/transfer_type_shipped.sql
new file mode 100644 (file)
index 0000000..0645279
--- /dev/null
@@ -0,0 +1,4 @@
+-- @tag: transfer_type_shipped
+-- @description: Transfertyp &quot;verschickt&quot; wird ben&ouml;tigt.
+-- @depends: warehouse
+INSERT INTO transfer_type (direction, description, sortkey) VALUES ('out', 'shipped', (SELECT COALESCE(MAX(sortkey), 0) + 1 FROM transfer_type));