hide start date on package order for specific package definitions, RT#13783
[freeside.git] / FS / FS / part_pkg / flat.pm
index 4566c87..c1d1f56 100644 (file)
@@ -196,6 +196,8 @@ sub is_free_options {
 
 sub is_prepaid { 0; } #no, we're postpaid
 
+sub can_start_date { ! shift->option('start_1st', 1) }
+
 #XXX discounts only on recurring fees for now (no setup/one-time or usage)
 sub can_discount {
   my $self = shift;