Skip to content

Commit

Permalink
remove pdf generator and replace with print css
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelfolaron committed Aug 2, 2023
1 parent 6df2ab3 commit 0a3845c
Show file tree
Hide file tree
Showing 6 changed files with 245 additions and 665 deletions.
7 changes: 0 additions & 7 deletions .idea/leantime-oss.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 0 additions & 7 deletions .idea/php.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion app/domain/canvas/templates/showCanvasTop.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
<li><a href="javascript:void(0)" class="importCanvasLink "><?=$this->__("links.icon.import") ?></a></li>
<?php } ?>
<li><a href="<?=BASE_URL ?>/<?=$canvasName ?>canvas/export/<?php echo $this->get('currentCanvas');?>"><?=$this->__("links.icon.export") ?></a></li>
<li><a href="<?=BASE_URL ?>/<?=$canvasName ?>canvas/pdf/<?php echo $this->get('currentCanvas');?>"><?=$this->__("links.icon.print") ?></a></li>
<li><a href="javascript:window.print();"><?=$this->__("links.icon.print") ?></a></li>
<?php if ($login::userIsAtLeast($roles::$editor)) { ?>
<li><a href="<?=BASE_URL ?>/<?=$canvasName ?>canvas/delCanvas/<?php echo $this->get('currentCanvas');?>" class="delete"><?php echo $this->__("links.icon.delete") ?></a></li>
<?php } ?>
Expand Down
5 changes: 1 addition & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@
"symfony/console": "^5.4",
"ramsey/uuid": "^4.3",
"htmlawed/htmlawed": "1.2.6",
"mpdf/mpdf": "^8.1.3",
"vlucas/phpdotenv": "^5.5",
"symfony/yaml": "^5.4",
"lasserafn/php-initial-avatar-generator": "^4.2",
Expand All @@ -49,9 +48,7 @@
"illuminate/view": "^8.83",
"illuminate/events": "^8.83",
"illuminate/filesystem": "^8.83",
"metasyntactical/composer-plugin-license-check": "^2.1",
"setasign/fpdf": "^1.8",
"spipu/html2pdf": "^5.2"
"metasyntactical/composer-plugin-license-check": "^2.1"
},
"require-dev": {
"squizlabs/php_codesniffer": "^3.7",
Expand Down
Loading

0 comments on commit 0a3845c

Please sign in to comment.