add credit reason selection, RT#85046
[freeside.git] / httemplate / search / report_cust_credit.html
index cafe556..c37b578 100644 (file)
                 'field' => 'amount',
   &>
 
+  <& /elements/tr-select-reason.html,
+       'label'        => emt('Reason').':',
+       'field'        => 'reasonnum',
+       'reason_class' => 'R',
+       'cgi'          => $cgi,
+       'hide_addnew'  => 1,
+       'pre_options'  => [ 0 => emt('(any reason)') ],
+  &>
+
   <& /elements/tr-checkbox.html,
        'label' => emt('Show Voided Credits').':',
        'field' => 'show_voided_credits',