+ my $total_recur = $self->total_recur;
+ my $setup_show = $total_setup > 0 ? 1 : 0;
+ my $recur_show = $total_recur > 0 ? 1 : 0;
+ unless ($setup_show && $recur_show) {
+ foreach my $quotation_pkg ($self->quotation_pkg) {
+ $setup_show = 1 if !$setup_show and $quotation_pkg->setup_show_zero;
+ $recur_show = 1 if !$recur_show and $quotation_pkg->recur_show_zero;
+ last if $setup_show && $recur_show;
+ }
+ }
+