Revision ba40069b
Von Moritz Bunkus vor mehr als 3 Jahren hinzugefügt
bin/mozilla/ct.pl | ||
---|---|---|
58 | 58 |
use SL::ReportGenerator; |
59 | 59 |
use SL::Locale::String qw(t8); |
60 | 60 |
use SL::MoreCommon qw(uri_encode); |
61 |
use SL::ZUGFeRD; |
|
61 | 62 |
|
62 | 63 |
require "bin/mozilla/common.pl"; |
63 | 64 |
require "bin/mozilla/reportgenerator.pl"; |
... | ... | |
69 | 70 |
|
70 | 71 |
sub _zugferd_settings { |
71 | 72 |
return ([ -1, $::locale->text('Use settings from client configuration') ], |
72 |
[ 0, $::locale->text('Do not create ZUGFeRD invoices') ], |
|
73 |
[ 1, $::locale->text('Create ZUGFeRD invoices') ], |
|
74 |
[ 2, $::locale->text('Create ZUGFeRD invoices in test mode') ]); |
|
73 |
@SL::ZUGFeRD::customer_settings); |
|
75 | 74 |
} |
76 | 75 |
|
77 | 76 |
sub search { |
... | ... | |
164 | 163 |
push @options, $locale->text('Billing/shipping address (country)') . " : $form->{addr_country}" if $form->{addr_country}; |
165 | 164 |
push @options, $locale->text('Billing/shipping address (GLN)') . " : $form->{addr_gln}" if $form->{addr_gln}; |
166 | 165 |
push @options, $locale->text('Quick Search') . " : $form->{all}" if $form->{all}; |
167 |
push @options, $locale->text('ZUGFeRD settings') . " : $zugferd_filter" if $zugferd_filter;
|
|
166 |
push @options, $locale->text('Factur-X/ZUGFeRD settings') . " : $zugferd_filter" if $zugferd_filter;
|
|
168 | 167 |
|
169 | 168 |
if ($form->{business_id}) { |
170 | 169 |
my $business = SL::DB::Manager::Business->find_by(id => $form->{business_id}); |
... | ... | |
232 | 231 |
'creditlimit' => { 'text' => $locale->text('Credit Limit'), }, |
233 | 232 |
'ustid' => { 'text' => $locale->text('VAT ID'), }, |
234 | 233 |
'commercial_court' => { 'text' => $locale->text('Commercial court'), }, |
235 |
create_zugferd_invoices => { text => $locale->text('ZUGFeRD settings'), }, |
|
234 |
create_zugferd_invoices => { text => $locale->text('Factur-X/ZUGFeRD settings'), },
|
|
236 | 235 |
%column_defs_cvars, |
237 | 236 |
); |
238 | 237 |
|
Auch abrufbar als: Unified diff
Factur-X/ZUGFeRD: in »Factur-X/ZUGFeRD« umbenannt
Mit ZUGFeRD-Standard Version 2.1.1 ist der offizielle Name des
EU-Standards schlicht Factur-X. ZUGFeRD ist nur noch der tolerierte
alte Name.
In der Oberfläche ist nun überall von »Factur-X/ZUGFeRD« die Rede.
Im Quellcode heißen die Module hingegen weiterhin `SL::…::ZUGFeRD`,
weil die Umstellung ansonsten zu groß und irgendwo auch nicht so nötig
ist.
Es ändern sich auch die ganzen Namen in den Metadaten des PDFs und der
XML-Datei:
• Namensraum in der für Factur-X/ZUGFeRD relevanten XML-Elemente in
den XMP-Metadaten im PDF
• Name des Dateianhangs der Rechnungs-XML im PDF (»factur-x.xml«)
• Standard-Identifier in der Rechnungs-XML