Closed gkArvindr closed 5 years ago
@Davide Algh, thanks for the reply, I know how to customize fields, I want the syntax concepts of calling the fields to create customize template for pdf, which is in html format .
example "accountid" is a field and this is how it is represented $(relatedRecord : accountid|addresslevel8a|Accounts)$ in the example template.
While creating custom template I getting stuck with limited information, one is call custom, other translate : Other.PD.
I want to know
How do I bring this fields in to pdf template
you can use the variable in your pdf template
or use this
then you'll see
or
$(inventory : type=table columns=name,qty,price href=yes)$
$(inventory : type=table columns=seq,name,qty,unit,price,total,net href=no)$
I still find it difficult is there a workflow diagram somewere, i will write the help doc for this once I am successful and share the same
I got the data, but header labels are showing variables instead of actual names
@gkArvindr looks like your template language has no translation for columns labels.
I am not getting the dynamic template, where could be I going wrong
@vovpff where should i check for it. please update
@rskrzypczak can you help me, i dont see the dynamic template,
@gkArvindr for dynamic template For language try to change template language at first step of pdf template params.Try different languages
@vovpff I tried with other lang, the status is the same, it shows only variable not the translated language
Try other variables for products table. maybe this variable broken...
I tried with sale invoice, the same issue.
@vovpff I also updated the language files just to ensure
did you set the language in the PDF template?
yes I did to en_US and again tried fr_FR, and it is plain installation via Softaculous, so installation should be pretty standard
Screen shot for your reference
@mariuszkrzaczkowski In Parallel I install a new by downloading the latest version all the titles displayed perfectly , as soon as i create a custom pdf template, the language translate stopped working, I deleted the created custom pdf template, still the language translate stopped working. does it give you any clue
I was able to produce the same issue again and again
@mariuszkrzaczkowski @vovpff I experimented with many options, I reinstalled the whole application 3 times, now I feel the when creating custom pdf the language factor is not passing to while processing pdf file, it there anyway I can check to find out why it happens to custom pdf , something very specific to "translate" command
@mariuszkrzaczkowski @vovpff
I had a doubt that it was not saving language , i checked the table Table: a_yf_pdf and it was well saved ,
Hence it seem's only when the custom pdf is being generated the language parameter is not passed to pdf processing module
so check your language settings (try to modify) and global language settings.
I think that's not a issue
Pdf after ensuring all languages are set, I think it is when modified somewhere the language parameter is getting passed to pdf processed lies the issues bug.
Attach a screenshot of the server configuration
you have wrong language code
I had the same issue for months. I changed the Language to en-US in the language field all my PDF templates and now they are working perfectly. I opened MySql/a_yf_pdf/ edit template then scroll down to the language field and change to en-US. Thank you
I tried searching the git closed and googled for how to create custom invoice and quotes but was not successful. can someone direct to the link how to do use variable and with the using concept behind it.