fix up application of things to refunds, RT#3606/RT#3545
authorivan <ivan>
Tue, 10 Jun 2008 02:15:17 +0000 (02:15 +0000)
committerivan <ivan>
Tue, 10 Jun 2008 02:15:17 +0000 (02:15 +0000)
httemplate/edit/process/cust_credit_bill.cgi
httemplate/edit/process/cust_credit_refund.cgi
httemplate/edit/process/cust_pay_refund.cgi

index e3627ff..c0f34ae 100755 (executable)
@@ -1,9 +1,8 @@
 <% include('elements/ApplicationCommon.html',
-     'form_action' => 'process/cust_credit_bill.cgi',
-     'src_table'   => 'cust_credit',
-     'src_thing'   => 'credit',
-     'dst_table'   => 'cust_bill',
-     'dst_thing'   => 'invoice',
+     'error_redirect' => 'cust_credit_bill.cgi',
+     'src_table'      => 'cust_credit',
+     'src_thing'      => 'credit',
+     'link_table'     => 'cust_credit_bill',
    )
 %>
 <%init>
index d4fd9ff..88420f8 100755 (executable)
@@ -1,5 +1,5 @@
 <% include('elements/ApplicationCommon.html',
-     'error_redirect' => 'cust_credit_bill.cgi',
+     'error_redirect' => 'cust_credit_refund.cgi',
      'src_table'      => 'cust_credit',
      'src_thing'      => 'credit',
      'link_table'     => 'cust_credit_refund',
index ffe89ec..2616cad 100755 (executable)
@@ -1,5 +1,5 @@
 <% include('elements/ApplicationCommon.html',
-     'error_redirect' => 'cust_bill_pay.cgi',
+     'error_redirect' => 'cust_pay_refund.cgi',
      'src_table'      => 'cust_pay',
      'src_thing'      => 'payment',
      'link_table'     => 'cust_pay_refund',