|
@@ -71,14 +71,26 @@
|
71
|
71
|
var ptime = Math.round(new Date().getTime() / 1000);
|
72
|
72
|
this.print_time = uParseTime(ptime, "{y}-{m}-{d} {h}:{i}");
|
73
|
73
|
|
74
|
|
- const style =
|
|
74
|
+ if(this.org_id != 9990){
|
|
75
|
+ const style =
|
75
|
76
|
'@media print {.statementTitle{font-size: 28px;text-align: center;font-weight: bold;margin-bottom: 10px;}.statementTable{width: 100%;text-align: center;border-collapse: collapse;line-height: 40px;font-size: 16px;border-color: #000;}}';
|
76
|
|
- printJS({
|
77
|
|
- printable: "statement-print",
|
78
|
|
- type: "html",
|
79
|
|
- style: style,
|
80
|
|
- scanStyles: false
|
81
|
|
- });
|
|
77
|
+ printJS({
|
|
78
|
+ printable: "statement-print",
|
|
79
|
+ type: "html",
|
|
80
|
+ style: style,
|
|
81
|
+ scanStyles: false
|
|
82
|
+ });
|
|
83
|
+ }else {
|
|
84
|
+ const style =
|
|
85
|
+ '@media print {#statement-print{font-size:12px;}.statementTitle{font-size: 22px;text-align: center;margin-bottom: 10px;}.statementTable{width: 100%;text-align: center;border-collapse: collapse;line-height: 40px;font-size: 16px;border-color: #000;}}';
|
|
86
|
+ printJS({
|
|
87
|
+ printable: "statement-print",
|
|
88
|
+ type: "html",
|
|
89
|
+ style: style,
|
|
90
|
+ scanStyles: false
|
|
91
|
+ });
|
|
92
|
+ }
|
|
93
|
+
|
82
|
94
|
|
83
|
95
|
// if (this.org_template_info.template_id == 1) {
|
84
|
96
|
// printJS({
|