Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Creating a pdf, all the content is not large enough to the width of the page. #68

Open
nunodotferreira opened this issue Jan 9, 2025 · 1 comment
Assignees
Labels
bug Something isn't working enhancement New feature or request

Comments

@nunodotferreira
Copy link

  • Laravel CRM Version: 1.2.2
  • PHP Version: 8.3.14

Description:

I found that when on creating a pdf, all the content is not large enough to the width of the page.
When you create a pdf with PHP using framework classes don't work, i've tried, and i know what is the problem.
This happen's in quotes, orders, invoices...

<table class="table table-sm table-items"> - creation of pdf don't care about the class, all the struture of pdf must have explicit width or explicit styles.

<table class="table table-sm table-items" width="100%"> like this, the table will stay larger to fill the width of the page

this is a sample from pdf.blade.php

<table class="table table-bordered table-sm table-items" width="100%"> <thead style="border: 1px solid black;">

works ok.

Steps To Reproduce:

Just download a document from Quotes, for example!

@andrewdrake
Copy link
Contributor

Thanks I will take a look at this in some updates coming soon

@andrewdrake andrewdrake self-assigned this Jan 20, 2025
@andrewdrake andrewdrake added bug Something isn't working enhancement New feature or request labels Jan 20, 2025
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants