summaryrefslogtreecommitdiff
path: root/httemplate/edit
diff options
context:
space:
mode:
authorivan <ivan>2005-11-01 05:14:08 +0000
committerivan <ivan>2005-11-01 05:14:08 +0000
commit5862c8ef887a1f8b54aebb8b03aab6cc5dc5860a (patch)
treecc8cda8ea4f5925852e50c57507996ee9514792c /httemplate/edit
parent82a758a8e4aa37e1e312969b2b23b611205be9ec (diff)
add option for spool_csv events to apply only to a specific destination type (i.e. postal only)
Diffstat (limited to 'httemplate/edit')
-rwxr-xr-xhttemplate/edit/part_bill_event.cgi10
1 files changed, 10 insertions, 0 deletions
diff --git a/httemplate/edit/part_bill_event.cgi b/httemplate/edit/part_bill_event.cgi
index e60cc87e9..7e27bd400 100755
--- a/httemplate/edit/part_bill_event.cgi
+++ b/httemplate/edit/part_bill_event.cgi
@@ -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,
},