projects
/
kivitendo-erp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
80cda5e
)
ZUGFeRD: Kosmetik
author
Moritz Bunkus
<m.bunkus@linet-services.de>
Mon, 2 Mar 2020 16:18:07 +0000
(17:18 +0100)
committer
Moritz Bunkus
<m.bunkus@linet-services.de>
Mon, 2 Mar 2020 16:18:07 +0000
(17:18 +0100)
SL/DB/Helper/PDF_A.pm
patch
|
blob
|
history
diff --git
a/SL/DB/Helper/PDF_A.pm
b/SL/DB/Helper/PDF_A.pm
index
99ee8d4
..
1e1e172
100644
(file)
--- a/
SL/DB/Helper/PDF_A.pm
+++ b/
SL/DB/Helper/PDF_A.pm
@@
-11,7
+11,6
@@
use Template;
sub _create_xmp_data {
my ($self, %params) = @_;
sub _create_xmp_data {
my ($self, %params) = @_;
- use Cwd;
my $template = Template->new({
INTERPOLATE => 0,
EVAL_PERL => 0,
my $template = Template->new({
INTERPOLATE => 0,
EVAL_PERL => 0,
@@
-45,17
+44,17
@@
sub create_pdf_a_print_options {
$timestamp =~ s{(..)$}{:$1};
return {
$timestamp =~ s{(..)$}{:$1};
return {
- version => '3b',
- xmp => _create_xmp_data(
+ version
=> '3b',
+ xmp
=> _create_xmp_data(
$self,
$self,
- pdf_a_version => '3',
- pdf_a_conformance => 'B',
- producer => 'pdfTeX',
- timestamp => $timestamp, # 2019-11-05T15:26:20+01:00
- meta_data => {
- title => $self->displayable_name,
- author => $author,
- language => $pdf_language,
+ pdf_a_version
=> '3',
+ pdf_a_conformance
=> 'B',
+ producer
=> 'pdfTeX',
+ timestamp
=> $timestamp, # 2019-11-05T15:26:20+01:00
+ meta_data
=> {
+ title
=> $self->displayable_name,
+ author
=> $author,
+ language
=> $pdf_language,
},
zugferd => {
conformance_level => 'EXTENDED',
},
zugferd => {
conformance_level => 'EXTENDED',