YetiForceCompany / YetiForceCRM

Our team created for you one of the most innovative CRM systems that supports mainly business processes and allows for customization according to your needs. Be ahead of your competition and implement YetiForce!
https://yetiforce.com
Other
1.72k stars 742 forks source link

[Question]: Is there a debug-function for output plain PDF-code(NOT rendered)? #11788

Closed mad99 closed 4 years ago

mad99 commented 4 years ago

Hi, Is there a built-in ways in YetiForce-PDF to output the «source-code» from the hole PDF (with all <table><thead></thead><tbody><tr><td>....</td></tr><tr>...</tr></tbody></table stuff as string).

I tried different approaches, but alltime I get a rendered Version. With them, it is quite hard or impossible to figure out some HTML-Structure errors.

Would be great to have a simple solution for. So I could import the code beautify it and find the problem.

Usually, I debug PDF with output variables as string with my debug-function https://github.com/YetiForceCompany/YetiForceCRM/issues/11512 extended with @mariuszkrzaczkowski part Textparser.

But with all my different trials, the PDF is alltime rendered... Thanks in advanced Martin

apcloic commented 4 years ago

@mad99 Output variables from app/Pdf/YetiForcePDF.php should work.

mad99 commented 4 years ago

@»: Thank you. I guess for the method «output» I have to use YetiForcePDF different then I do it now. Usually I have cloned a «PDF Template» unter Settings>System Tools>PDF. Therein the second «Document content» after first «Document basic option», I use the fields to choose an own written TextParser for particular pdf-sections.

Sometimes I guess there a two totally different approaches to use YetiForce-PDF in YetiForce. Maybe I use the «build-in» for simple use.

I can't figure out, how I could use them in the above described place « Settings>System Tools>PDF.»

Thanks anyway