Invoice - $aos_line_item_groups_name causing problems

Hi there,

After hours and hours of trying and trying I desperately seek your help. I create PDF invoices and quotes from within SuiteCRM. I also use Line Item Groups. By using $aos_line_item_groups_name I get the groups neatly sorted - which is just what I need.

What I also need is a total. I use $aos_invoices_total_amount to get the total amount of the invoice. But that doesn’t work quite the way I expect - it shows it after EVERY sorted group (see screenshot 2). And that’s not what I want.

Most likely it’s something quite simple, however, I can’t seem to get it to work. Anyone?

No one?

Hi

$aos_line_item_groups_name repeat all body html content for me,
How you get the groups sorted ?

best

I mean, I would like add own COMMERCIAL CONDITIONS after all Line Items etc ,
unfortunately all this is repeated with every new Line Item Groups