Bitrix24 Community

Support » Forum » Matthias L
Select date in calendarSelect date in calendar

Pages: 1
DocDesigner - creation of standard PDF documents using templates, Application is available in Marketplace
Cheers, Alexey,

I was able to fix the issue. It seems there DocDesigner had to be reloaded. I am definately looking forward to the updated version of DocDesigner in a couple of months!

Best,
Matthias
DocDesigner - creation of standard PDF documents using templates, Application is available in Marketplace
Alexey,

Can I add calulations within the DocDesigner template? If wanted to give a 10% bulk discount on - say - 10 product items. I would love to create a Parameter "10%" or "EUR 100" and apply it on my net invoice sum ({CRMProduct:TotalSum}).

For example: {CRMProduct:TotalSum}x10% and then apply VAT to come to a new amount incl. VAT (similiar as below)

[TABLE][TR][TD] Product[/TD][TD]Qty [/TD][TD]Unit Price [/TD][TD]Total [/TD][/TR][TR][TD] 1[/TD][TD] 2 [/TD][TD] € 5 [/TD][TD]€ 10 [/TD][/TR][TR][TD] 2[/TD][TD] 1 [/TD][TD] € 10 [/TD][TD]€ 10 [/TD][/TR][TR][TD] [/TD][TD] [/TD][TD]Subtotal [/TD][TD]€ 20 [/TD][/TR][TR][TD] [/TD][TD] [/TD][TD]10% Discount [/TD][TD]-€ 2 [/TD][/TR][TR][TD] [/TD][TD] [/TD][TD]Invoice net [/TD][TD]€ 18 [/TD][/TR][TR][TD] [/TD][TD] [/TD][TD]VAT [/TD][TD]€ 2 [/TD][/TR][/TABLE]

When I use BITRIX discount facility in the CRM Order module, the discount applies to each produkt (line). DocDesigner then picks up the price after discount. It seems not to be able to work with a net amount prior to discounts and then have discounts applied to the total of the net amount prior to discounts.

Any chance to fix that?

Also, how coud I add invoice numbering to my Docs? I have tried numerator "numbers" (i.e. R_0001), but it won`t show up on the pdf.

Thanks for your help!
Matthias

P.S: I left a similiar question on your (DocDesigner) website.
Pages: 1
3,000,000+
organizations
are already using Bitrix24