projects
/
dksnas.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
29564e8
)
pdfreport example
author
kilian (ksmachome)
<ksaffran@dks.lu>
Tue, 14 Jan 2020 08:53:03 +0000
(09:53 +0100)
committer
kilian (ksmachome)
<ksaffran@dks.lu>
Tue, 14 Jan 2020 08:53:03 +0000
(09:53 +0100)
CGI/api/report.cgi
patch
|
blob
|
history
diff --git
a/CGI/api/report.cgi
b/CGI/api/report.cgi
index
3720f83
..
c3c2dd6
100755
(executable)
--- a/
CGI/api/report.cgi
+++ b/
CGI/api/report.cgi
@@
-17,7
+17,8
@@
use MIME::Type::FileName;
use dksconfig qw/$sitecfg/;
use dksdb;
use pdfreport;
-
+#Beispiel: http://localhost:6060/api/report.cgi?generate=invoices/dks-deutsch&app=invoicejournal&filename=dks_test.pdf&db=dksbuchhaltung&data={"id_invoice":"469"}
+#http://localhost:6060/api/report.cgi?open=invoices/dks_test.pdf&app=invoicejournal
# use session;
#use sendemail;
my $cgi = new CGI();