From: ivan Date: Thu, 18 Jun 2009 11:09:28 +0000 (+0000) Subject: omit listing spurious customer details X-Git-Tag: root_of_svc_elec_features~1118 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=c7328c352c9a88a3a685be06191c7bd9de1505a5 omit listing spurious customer details --- diff --git a/FS/FS/part_pkg/agent.pm b/FS/FS/part_pkg/agent.pm index 70ad2adf6..880d135c2 100644 --- a/FS/FS/part_pkg/agent.pm +++ b/FS/FS/part_pkg/agent.pm @@ -138,7 +138,8 @@ sub calc_recur { $pkg_charge += $recur_charge; - push @$details, $pkg_details; + push @$details, $pkg_details + if $pkg_charge; $total_agent_charge += $pkg_charge; } #foreach $cust_pkg