projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ach 5.005
[freeside.git]
/
FS
/
FS
/
part_bill_event.pm
diff --git
a/FS/FS/part_bill_event.pm
b/FS/FS/part_bill_event.pm
index
a75a011
..
86f9294
100644
(file)
--- a/
FS/FS/part_bill_event.pm
+++ b/
FS/FS/part_bill_event.pm
@@
-37,7
+37,7
@@
FS::Record. The following fields are currently supported:
=item eventpart - primary key
=item eventpart - primary key
-=item payby - CARD,
CHE
K, LECB, BILL, or COMP
+=item payby - CARD,
DCRD, CHEK, DCH
K, LECB, BILL, or COMP
=item event - event name
=item event - event name
@@
-140,7
+140,7
@@
sub check {
}
my $error = $self->ut_numbern('eventpart')
}
my $error = $self->ut_numbern('eventpart')
- || $self->ut_enum('payby', [qw( CARD
CHE
K LECB BILL COMP )] )
+ || $self->ut_enum('payby', [qw( CARD
DCRD CHEK DCH
K LECB BILL COMP )] )
|| $self->ut_text('event')
|| $self->ut_anything('eventcode')
|| $self->ut_number('seconds')
|| $self->ut_text('event')
|| $self->ut_anything('eventcode')
|| $self->ut_number('seconds')
@@
-160,10
+160,15
@@
sub check {
join("\n", $conf->config('invoice_template') )
);
}
join("\n", $conf->config('invoice_template') )
);
}
+ unless ( $conf->exists("invoice_latex_$name") ) {
+ $conf->set(
+ "invoice_latex_$name" =>
+ join("\n", $conf->config('invoice_latex') )
+ );
+ }
}
}
- '';
-
+ $self->SUPER::check;
}
=back
}
=back