Add link to a different quote template

Hi all,

I have added a link to generate a PDF for quotes without prices (which I use as a FT worksheet)

the links in red point to: (InvoicePlane.php)
index.php/quotes/generate_pdf/572

and I would like the green links to point to my new template InvoicePlaneFT.php

index.php/quotes/generate_pdf/572

How do I do that?

Thanks

Find …just add

factures/index.php/quotes/generate_pdf/572//pdf/InvoicePlaneFT

Thanks

1 Like

factures/index.php/quotes/generate_pdf/572//pdf/InvoicePlaneFT

Great that you found it! But “572” is the “id” of your quote, so every row in that table has a different id, keep that in mind

 <a href="<?php echo site_url('quotes/generate_pdf/' . $quote->quote_id . '//pdf/InvoicePlaneFT'); ?>"
1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.