Skip to content

Commit 3eb305a

Browse files
committed
Rollback translate texts
1 parent 97851c4 commit 3eb305a

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

src/ReportMedia/PdfReport.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ public function make()
3535
try {
3636
$pdf = \App::make('snappy.pdf.wrapper');
3737
$pdf->setOption('footer-font-size', 10);
38-
$pdf->setOption('footer-left', 'Página [page] de [topage]');
39-
$pdf->setOption('footer-right', 'Data de impressão: ' . date('d M Y H:i:s'));
38+
$pdf->setOption('footer-left', 'Page [page] of [topage]');
39+
$pdf->setOption('footer-right', 'Date Printed: ' . date('d M Y H:i:s'));
4040
} catch (\ReflectionException $e) {
4141
try {
4242
$pdf = \App::make('dompdf.wrapper');

src/views/general-pdf-template.blade.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -290,13 +290,13 @@
290290
<script type="text/php">
291291
@if (strtolower($orientation) == 'portrait')
292292
if ( isset($pdf) ) {
293-
$pdf->page_text(30, ($pdf->get_height() - 26.89), "Data de impressão: " . date('d M Y H:i:s'), null, 10);
294-
$pdf->page_text(($pdf->get_width() - 84), ($pdf->get_height() - 26.89), "Página {PAGE_NUM} de {PAGE_COUNT}", null, 10);
293+
$pdf->page_text(30, ($pdf->get_height() - 26.89), "Date Printed: " . date('d M Y H:i:s'), null, 10);
294+
$pdf->page_text(($pdf->get_width() - 84), ($pdf->get_height() - 26.89), "Page {PAGE_NUM} of {PAGE_COUNT}", null, 10);
295295
}
296296
@elseif (strtolower($orientation) == 'landscape')
297297
if ( isset($pdf) ) {
298-
$pdf->page_text(30, ($pdf->get_height() - 26.89), "Data de impressão: " . date('d M Y H:i:s'), null, 10);
299-
$pdf->page_text(($pdf->get_width() - 84), ($pdf->get_height() - 26.89), "Página {PAGE_NUM} de {PAGE_COUNT}", null, 10);
298+
$pdf->page_text(30, ($pdf->get_height() - 26.89), "Date Printed: " . date('d M Y H:i:s'), null, 10);
299+
$pdf->page_text(($pdf->get_width() - 84), ($pdf->get_height() - 26.89), "Page {PAGE_NUM} of {PAGE_COUNT}", null, 10);
300300
}
301301
@endif
302302
</script>

src/views/without-manipulation-pdf-template.blade.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -196,13 +196,13 @@
196196
<script type="text/php">
197197
@if (strtolower($orientation) == 'portrait')
198198
if ( isset($pdf) ) {
199-
$pdf->page_text(30, ($pdf->get_height() - 26.89), "Data de impressão: " . date('d M Y H:i:s'), null, 10);
200-
$pdf->page_text(($pdf->get_width() - 84), ($pdf->get_height() - 26.89), "Página {PAGE_NUM} de {PAGE_COUNT}", null, 10);
199+
$pdf->page_text(30, ($pdf->get_height() - 26.89), "Date Printed: " . date('d M Y H:i:s'), null, 10);
200+
$pdf->page_text(($pdf->get_width() - 84), ($pdf->get_height() - 26.89), "Page {PAGE_NUM} of {PAGE_COUNT}", null, 10);
201201
}
202202
@elseif (strtolower($orientation) == 'landscape')
203203
if ( isset($pdf) ) {
204-
$pdf->page_text(30, ($pdf->get_height() - 26.89), "Data de impressão: " . date('d M Y H:i:s'), null, 10);
205-
$pdf->page_text(($pdf->get_width() - 84), ($pdf->get_height() - 26.89), "Página {PAGE_NUM} de {PAGE_COUNT}", null, 10);
204+
$pdf->page_text(30, ($pdf->get_height() - 26.89), "Date Printed: " . date('d M Y H:i:s'), null, 10);
205+
$pdf->page_text(($pdf->get_width() - 84), ($pdf->get_height() - 26.89), "Page {PAGE_NUM} of {PAGE_COUNT}", null, 10);
206206
}
207207
@endif
208208
</script>

0 commit comments

Comments
 (0)