%doc> Formats customer payment history into a table. include('/elements/customer-statement.html', 'history' => \@history ); Option 'history' should be of the form returned by $cust_main->payment_history. This element might be used directly by selfservice, so it does not (and should not) pull data from the database. %doc> % my $style = 'text-align: left; margin: 0; padding: 0 1em 0 0;'; % my $moneystyle = 'text-align: right; margin: 0; padding: 0 1em 0 0;';
Date | Description | Amount | Balance |
---|---|---|---|
<% $$item{'date_pretty'} %> | <% $$item{'description'} %> | <% $$item{'amount_pretty'} %> | <% $$item{'balance_pretty'} %> |