template-ize agent type edit and add comment to package listing
[freeside.git] / httemplate / edit / part_bill_event.cgi
index e60cc87..7e27bd4 100755 (executable)
@@ -252,6 +252,7 @@ tie my %events, 'Tie::IxHash',
   'spool_csv' => {
     'name' => 'Spool CSV invoice data',
     'code' => '$cust_bill->spool_csv( \'format\' => \'%%%spoolformat%%%\',
+                                      \'dest\'   => \'%%%spooldest%%%\',
                                     );',
     'html' =>
         '<TABLE BORDER=0>'.
@@ -265,6 +266,15 @@ tie my %events, 'Tie::IxHash',
             '-->'.
             '<INPUT TYPE="text" NAME="spoolformat" VALUE="%%%spoolformat%%%">'.
           '</TD></TR>'.
+        '<TR><TD align="right">For destination: </TD>'.
+          '<TD>'.
+            '<SELECT NAME="spooldest">'.
+              '<OPTION VALUE="">(all)'.
+              '<OPTION VALUE="POST">Postal mail'.
+              '<OPTION VALUE="EMAIL">Email'.
+              '<OPTION VALUE="Fax">Fax'.
+            '</SELECT>'.
+          '</TD></TR>'.
         '</TABLE>',
     'weight' => 50,
   },