_templatePdfGet

Fetches the Portable Document Format (PDF) template.

Parameters

None.

Example

FM_api('Quotes_templatePdfGet');

Result

On Success

A JSON array of arrays of properties for each component. For example:

{['name':'Customer Address','left':46.125,'top':319,'type':'general','width':428,'height':175],
 ['name':'Customer Name','left':45.125,'top':279,'type':'general','width':432,'height':35],
 ['name':'Parent Address','left':586.125,'top':317.33334350586,'type':'general','width':438,'height':176],
 ['name':'Parent Company','left':587.125,'top':276.66668701172,'type':'general','width':438,'height':35],
 ['name':'Orders Table','left':40.125,'top':576.66668701172,'type':'general','width':981,'height':625],
 ['name':'Quote Notes','left':43.125,'top':1232,'type':'general','width':547,'height':164],
 ['name':'Discount Net','left':796.125,'top':1220.3333740234,'type':'general','width':228,'height':35],
 ['name':'Quote Date','left':901.125,'top':176.66668701172,'type':'general','width':144,'height':34],
 ['name':'Quote Total','left':797.125,'top':1365.3333435059,'type':'general','width':228,'height':32],
 ['name':'Total Tax','left':797.125,'top':1319.3333435059,'type':'general','width':225,'height':30],
 ['name':'Total Net Amount','left':796.125,'top':1267,'type':'general','width':227,'height':33],
 ['name':'Quote Number','left':830.125,'top':26.333343505859,'type':'general','width':179,'height':66]}

On Failure

If the user is not logged in:

{'error':'not logged in'}

Last updated