From: Moritz Bunkus Date: Wed, 29 Dec 2010 10:21:59 +0000 (+0100) Subject: Merge branch 'master' of ssh://lx-office.linet-services.de/~/lx-office-erp X-Git-Tag: release-2.6.2beta1~42^2~4 X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/commitdiff_plain/738c240ad3a167dd3013ef01f0892b5589fd7d9a?hp=be40bd398c2911e87af5e9fd6025ea1faceb679c Merge branch 'master' of ssh://lx-office.linet-services.de/~/lx-office-erp --- diff --git a/bin/mozilla/is.pl b/bin/mozilla/is.pl index f4ae1c952..7ac9f4d49 100644 --- a/bin/mozilla/is.pl +++ b/bin/mozilla/is.pl @@ -505,7 +505,11 @@ sub update { my $rows = scalar @{ $form->{item_list} }; - $form->{"discount_$i"} = $form->format_amount(\%myconfig, $form->{customer_discount} * 100); + # Falls kein Kundenrabatt vorhanden ist, den aktuellen Rabatt nicht mit 0% überschreiben, + # da hier der Anwender schon manual einen Wert eingetragen haben könnte (analog zu qty) Bugfix: 1412 + if ($form->{customer_discount}){ + $form->{"discount_$i"} = $form->format_amount(\%myconfig, $form->{customer_discount} * 100); + } if ($rows) { $form->{"qty_$i"} = ($form->{"qty_$i"} * 1) ? $form->{"qty_$i"} : 1; diff --git a/bin/mozilla/ustva.pl b/bin/mozilla/ustva.pl index db6995f89..f04c8ee05 100644 --- a/bin/mozilla/ustva.pl +++ b/bin/mozilla/ustva.pl @@ -674,9 +674,8 @@ sub generate_ustva { }; } - # Kontrollvariable für die Templates - $form->{'year2007'} = ($form->{year} >= 2007 ) ? "1":"0"; - + # Kontrollvariablen für die Templates + $form->{"year$_"} = ($form->{year} >= $_ ) ? "1":"0" for 2007..2107; # Get the USTVA $ustva->ustva(\%myconfig, \%$form); diff --git a/doc/INSTALL.txt b/doc/INSTALL.txt index 0518df082..89b8f15e0 100644 --- a/doc/INSTALL.txt +++ b/doc/INSTALL.txt @@ -114,7 +114,9 @@ Distributionen unterschiedlich heißen. libdatetime-perl libdbi-perl libdbd-pg-perl libpg-perl libemail-address-perl libio-stringy-perl liblist-moreutils-perl libpdf-api2-perl libtemplate-perl libtext-csv-xs-perl -libtext-iconv-perl liburi-perl libxml-writer-perl libyaml-perl' +libtext-iconv-perl liburi-perl libxml-writer-perl libyaml-perl +librose-object-perl librose-db-perl librose-db-object-perl +libreadonly-xs-perl' Für Fedora Core benötigen Sie diese Pakete: diff --git a/sql/Pg-upgrade2/ustva_2010.sql b/sql/Pg-upgrade2/ustva_2010.sql new file mode 100644 index 000000000..b01498a52 --- /dev/null +++ b/sql/Pg-upgrade2/ustva_2010.sql @@ -0,0 +1,15 @@ +-- @tag: ustva_2010 +-- @description: Zusätzliche UStVA Kennziffern. +-- @charset: utf-8 +-- @depends: release_2_6_1 + +INSERT INTO tax.report_variables (id, position, heading_id, description, taxbase, dec_places, valid_from) + VALUES (47, '21', 66, 'Nicht steuerbare sonstige Leistungen gem. § 18b Satz 1 Nr. 2 UStG', 0, 0, '01.01.2010'); +INSERT INTO tax.report_variables (id, position, heading_id, description, taxbase, dec_places, valid_from) + VALUES (48, '46', 6, 'Im Inland steuerpflichtige sonstige Leistungen von im übrigen Gemeinschaftsgebiet ansässigen Unternehmen (§13b Abs. 1 UStG)', 0, 0, '01.01.2010'); +INSERT INTO tax.report_variables (id, position, heading_id, description, taxbase, dec_places, valid_from) + VALUES (49, '47', 6, '', 49, 2, '01.01.2010'); +INSERT INTO tax.report_variables (id, position, heading_id, description, taxbase, dec_places, valid_from) + VALUES (50, '83', 8, 'Verbleibender Überschuss - bitte dem Betrag ein Minuszeichen voranstellen -', 0, 0, '01.01.2010'); + + diff --git a/templates/German-ustva.html b/templates/German-ustva.html index 7acd26529..1f5da1ae7 100644 --- a/templates/German-ustva.html +++ b/templates/German-ustva.html @@ -256,6 +256,15 @@ Vorsteuerabzug.
Umsätze nach § 4 Nr. 8 bis 20 UStG +<%if year2010%> + + Nicht steuerbare Leistungen gem. § 18b Satz 1 Nr. 2 UStG + 21 + <%21%>
+ + + +<%end if year2010%> Im Inland nicht steuerbare Umsätze 45 @@ -278,6 +287,15 @@ Vorsteuerabzug.
Umsätze nach § 4 Nr. 8 bis 20 UStG <%Z45%> +<%if year2010%> + + Im Inland steuerpflichtige sonstige Leistungen von im übrigen Gemeinschaftsgebiet ansässigen Unternehmen (§13b Abs. 1 UStG) + 46 + <%46%> + 47 + <%47%> + +<%end if year2010%> Leistungen eines im Ausland ansässigen Unternehmers 52 diff --git a/users/ustva-2010.pdf b/users/ustva-2010.pdf new file mode 100755 index 000000000..86c3ee1d9 Binary files /dev/null and b/users/ustva-2010.pdf differ