0
Hello,
I am trying to create a service contract within the Dolibar CRM.
He works with fpdf
, and since I don’t understand almost anything, I’m here.
Since every contract is great, I thought of attaching a file contrato.php
with the contract, and call on the pdf_strato.modules.php
, So I think it would be easier.
My doubts are:
- It is possible to do this?
- It’s worth calling
contrato.php
? - How to do this?
In case anyone has another idea, I’m accepting.
Thank you;
Kako.
Is this contract generated? a giant string?
– rray
this contract is predefined in a file I need to make to generate pdf. The information of the services and qualification of the parties is already solved. What I need is only text formatted with articles and paragraphs
– Rico Gaucho
I even thought of inserting an already formatted.doc contract file
– Rico Gaucho
can be the insertion of an external html file (contract.html)
– Rico Gaucho
The "big", you mean, more than one A4 page, that?
– William Aparecido Brandino
Yeah, it’s four A4 sheets. I’ve already been able to make tcpdf to do the pages dynamically, but the problem is to format contract clauses that are fixed without variables. If I divide the articles into Cell() or Multicell() the problem is to continue the text as a paragraph with the first indented line and the other lines accompanying the text of the paragraph.
– Rico Gaucho