X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2Fpart_event%2FAction%2Ffee.pm;h=c700301e23e486cbafb0c61e712b48f256b07a26;hb=5470df9cd0062a366aaf8ff7d1e66cf6fac60311;hp=6450225a2a4986795a0fb7092ebdef5be66b6a6b;hpb=6884c9a9d164124a188c1653ba63b71a416c38b3;p=freeside.git diff --git a/FS/FS/part_event/Action/fee.pm b/FS/FS/part_event/Action/fee.pm index 6450225a2..c700301e2 100644 --- a/FS/FS/part_event/Action/fee.pm +++ b/FS/FS/part_event/Action/fee.pm @@ -12,7 +12,10 @@ sub option_fields { 'charge' => { label=>'Amount', type=>'money', }, # size=>7, }, 'reason' => 'Reason', 'taxclass' => { label=>'Tax class', type=>'select-taxclass', }, - 'nextbill' => { label=>'Hold late fee until next invoice', type=>'checkbox', value=>'Y' }, + 'nextbill' => { label=>'Hold late fee until next invoice', + type=>'checkbox', value=>'Y' }, + 'setuptax' => { label=>'Late fee is tax exempt', + type=>'checkbox', value=>'Y' }, ); } @@ -26,7 +29,8 @@ sub do_action { my %charge = ( 'amount' => $self->option('charge'), 'pkg' => $self->option('reason'), - 'taxclass' => $self->option('taxclass') + 'taxclass' => $self->option('taxclass'), + 'setuptax' => $self->option('setuptax'), ); $charge{'start_date'} = $cust_main->next_bill_date #unless its more than N months away?