+
+ 'group_column' => 'payby',
+ 'group_label' => 'payby_name',
+ 'subtotal' => { 'paid' => 'sum(paid)' },
+ 'subtotal_row' => [ 'Subtotal',
+ sub { sprintf($money, $_[0]->paid) },
+ ],
+ 'total_row' => [ '<B>Total</B>',
+ sub { sprintf("<B>$money</B>", $_[0]->paid) },
+ ],