DocMerge - Quotes module - How to handle comment line with quoted line items

Hello,

I am wondering how to handle Quotes template using DocMerge.

On the definition screen, you can organize your quote details with group (bundle), quoted line items and comments.

My problem is that I don't know how to manage the comments and display them in the correct position according to the quote definition.

Any sample template is welcome.

Fred

  • Same error 

    Invalid closing tag on #product_bundle_items

    .

    CRM Business Consultant

  • Hi Cristinel,

    Trying all alternatives, just tried this one from you now and get this error:

    Invalid closing tag on #product_bundle_notes

    .

    CRM Business Consultant

  •   Hello Patrick, I succesfully implemented this into my quote templates. However, if I add @index for line numbers it now reserves numbers for the ProductBundleNotes.

    Exaple: Product | Note | Product results into line number 1 | 2 (hidden) | 3

    This is probably because the @index tag is now looking at ProductBundleItems instead of Products.

    Any idea's on how to use the index-tag, but make it look at the product level line-number (index)?

    Kind regards, Frank

  • Code used in template:

    {#product_bundles sort='position:asc'}{name}{#product_bundle_items}

    {if (_module=='Products')}{@index} | {quantity} | {name} | {discount_price} | {discount_rate_percent}% | {net_price_per_c} | {net_deal_subtotal_c}
    {long_product_explanation_c}
    {else}{description}{endif}

    {/product_bundle_items}{/product_bundles}

  •   I did manage to get the order right, so comments are shown between the products. However, now the line numbers show gaps where the comments are. If you can live with that I can share my sollution.

1 2 3