X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fsearch%2Fcust_pay_pending.html;h=52646265b2e5f82d724842449e95034ebd549bc5;hb=1a49f525882c638ef2df5b9732d2504f18c14da7;hp=2afce0ce9a8a182e3f0c91fedd5e0937697e2a4f;hpb=0af38652da3b3be7da2d35b048285ef6f2194e1a;p=freeside.git diff --git a/httemplate/search/cust_pay_pending.html b/httemplate/search/cust_pay_pending.html index 2afce0ce9..52646265b 100755 --- a/httemplate/search/cust_pay_pending.html +++ b/httemplate/search/cust_pay_pending.html @@ -1,4 +1,4 @@ -<% include( 'elements/cust_pay_or_refund.html', +<& elements/cust_pay_or_refund.html, 'thing' => 'pay_pending', 'amount_field' => 'paid', 'name_singular' => 'pending payment', @@ -9,15 +9,15 @@ 'addl_fields' => [ sub { time2str('%r', shift->_date ) }, $status_sub, ], + 'addl_sort_fields' => [ 'status' ], 'redirect_empty' => $redirect_empty, - ) -%> +&> <%init> my %statusaction = ( 'new' => 'delete', 'pending' => 'complete', - #'authorized' => '', + 'authorized' => 'complete', 'captured' => 'capture', #'declined' => '', #wouldn't need to take action on a done state#'done'