<div dir="ltr"><div class="gmail_default" style="font-family:georgia,serif;font-size:small;color:#000000"><br></div><div class="gmail_default" style="font-family:georgia,serif;font-size:small;color:#000000">Thank you Alexander for answering.<br><br>If I have used it, I fail to see the scope of your question.<br><br>If I place myself in a profile of a normal user, I understand how the tool works.<br><br>I am trying to understand the code to be able to add two fields that are in the vtiger_inventoryproductrel table which are quantity_pending and quantity_sent and add them to the quote template<br></div><div class="gmail_default" style="font-family:georgia,serif;font-size:small;color:#000000"><br></div><div class="gmail_default" style="font-family:georgia,serif;font-size:small;color:#000000"><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">El dom, 16 abr 2023 a la(s) 20:54, Alexander Allen (<a href="mailto:alexander.allenz@gmail.com">alexander.allenz@gmail.com</a>) escribió:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Have you use Vtiger PDFMaker from it4you? <br><br>El domingo, 16 de abril de 2023, Jorge Eduardo Olaya Perdomo <<a href="mailto:jorgeeolayap@gmail.com" target="_blank">jorgeeolayap@gmail.com</a>> escribió:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-family:georgia,serif;font-size:small;color:rgb(0,0,0)"><br clear="all"></div><div class="gmail_default" style="font-family:georgia,serif;font-size:small;color:rgb(0,0,0)"><br></div><div class="gmail_default" style="font-family:georgia,serif;font-size:small;color:rgb(0,0,0)"><p style="margin:0px 0px 1.1em;padding:0px;border:0px;font-stretch:inherit;line-height:inherit;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI Adjusted","Segoe UI","Liberation Sans",sans-serif;font-size:15px;vertical-align:baseline;clear:both;color:rgb(35,38,41)">There is a module for vtiger that is pdfmaker In this module you can make templates and parameterize the combinable fields</p><p style="margin:0px 0px 1.1em;padding:0px;border:0px;font-stretch:inherit;line-height:inherit;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI Adjusted","Segoe UI","Liberation Sans",sans-serif;font-size:15px;vertical-align:baseline;clear:both;color:rgb(35,38,41)">I want to add two more variables to this list of variables</p><p style="margin:0px 0px 1.1em;padding:0px;border:0px;font-stretch:inherit;line-height:inherit;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI Adjusted","Segoe UI","Liberation Sans",sans-serif;font-size:15px;vertical-align:baseline;clear:both;color:rgb(35,38,41)">In the pdfmaker script there are these lines</p><p style="margin:0px 0px 1.1em;padding:0px;border:0px;font-stretch:inherit;line-height:inherit;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI Adjusted","Segoe UI","Liberation Sans",sans-serif;font-size:15px;vertical-align:baseline;clear:both;color:rgb(35,38,41)">$Product_Fields["PRODUCTQUANTITY"] = vtranslate("LBL_VARIABLE_QUANTITY", "PDFMaker"); $Product_Fields["PRODUCTUSAGEUNIT"] = vtranslate("LBL_VARIABLE_USAGEUNIT", "PDFMaker"); $Product_Fields["PRODUCTLISTPRICE"] = vtranslate("LBL_VARIABLE_LISTPRICE", "PDFMaker"); $Product_Fields["PRODUCTTOTAL"] = vtranslate("LBL_PRODUCT_TOTAL", "PDFMaker"); $Product_Fields["PRODUCTDISCOUNT"] = vtranslate("LBL_VARIABLE_DISCOUNT", "PDFMaker"); $Product_Fields["PRODUCTDISCOUNTPERCENT"] = vtranslate("LBL_VARIABLE_DISCOUNT_PERCENT", "PDFMaker"); $Product_Fields["PRODUCTSTOTALAFTERDISCOUNT"] = vtranslate("LBL_VARIABLE_PRODUCTTOTALAFTERDISCOUNT", "PDFMaker"); $Product_Fields["PRODUCTVATPERCENT"] = vtranslate("LBL_PRODUCT_VAT_PERCENT", "PDFMaker"); $Product_Fields["PRODUCTVATSUM"] = vtranslate("LBL_PRODUCT_VAT_SUM", "PDFMaker"); $Product_Fields["PRODUCTTOTALSUM"] = vtranslate("LBL_PRODUCT_TOTAL_VAT", "PDFMaker"); $result["SELECT_PRODUCT_FIELD"] = $Product_Fields;</p><p style="margin:0px 0px 1.1em;padding:0px;border:0px;font-stretch:inherit;line-height:inherit;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI Adjusted","Segoe UI","Liberation Sans",sans-serif;font-size:15px;vertical-align:baseline;clear:both;color:rgb(35,38,41)">I added</p><p style="margin:0px 0px 1.1em;padding:0px;border:0px;font-stretch:inherit;line-height:inherit;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI Adjusted","Segoe UI","Liberation Sans",sans-serif;font-size:15px;vertical-align:baseline;clear:both;color:rgb(35,38,41)">$Product_Fields["PRODUCTQUANTITYPENDING"] = vtranslate("LBL_VARIABLE_QUANTITYPENDING", "PDFMaker"); $Product_Fields["PRODUCTQUANTITYSEND"] = vtranslate("LBL_VARIABLE_QUANTITYSEND", "PDFMaker");</p><p style="margin:0px 0px 1.1em;padding:0px;border:0px;font-stretch:inherit;line-height:inherit;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI Adjusted","Segoe UI","Liberation Sans",sans-serif;font-size:15px;vertical-align:baseline;clear:both;color:rgb(35,38,41)">but in the template it does not match me</p><p style="margin:0px 0px 1.1em;padding:0px;border:0px;font-stretch:inherit;line-height:inherit;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI Adjusted","Segoe UI","Liberation Sans",sans-serif;font-size:15px;vertical-align:baseline;clear:both;color:rgb(35,38,41)">How do I get it to combine?</p></div><div class="gmail_default" style="font-family:georgia,serif;font-size:small;color:rgb(0,0,0)"><br></div><div><div dir="ltr"><div dir="ltr"><div style="font-size:13px;font-family:georgia,serif;color:rgb(51,102,102)">---------------------------------------------------------------</div><div style="font-size:13px;font-family:georgia,serif;color:rgb(51,102,102)"><br></div><div><font color="#336666" style="font-family:georgia,serif;font-size:13px"> Jorge Eduardo Olaya Perdomo </font><font color="#336666" style="font-family:georgia,serif;font-size:13px"><br></font><a href="mailto:jorgeeolayap@gmail.com" target="_blank"><font color="#336633" face="georgia, serif">jorgeeolayap@</font>gmail.com</a><br><font color="#336666" style="font-family:georgia,serif;font-size:12.8px"><span style="font-size:13px">Celular: 3223426320</span><br></font><span style="font-family:georgia,serif;font-size:12.8px"><font color="#336666">Código postal: 730005</font></span></div></div></div></div></div>
</blockquote>
_______________________________________________<br>
<a href="http://www.vtiger.com/" rel="noreferrer" target="_blank">http://www.vtiger.com/</a></blockquote></div>