-<% include( 'elements/cust_pay_or_refund.html',
+<& elements/cust_pay_or_refund.html,
'thing' => 'pay_pending',
'amount_field' => 'paid',
'name_singular' => 'pending payment',
'addl_fields' => [ sub { time2str('%r', shift->_date ) },
$status_sub,
],
+ 'addl_sort_fields' => [ 'status' ],
'redirect_empty' => $redirect_empty,
- )
-%>
+&>
<%init>
my %statusaction = (