adjust IPifony download to show quantity/unit price in package desc, #18333
authorMark Wells <mark@freeside.biz>
Tue, 12 Mar 2013 04:21:37 +0000 (21:21 -0700)
committerMark Wells <mark@freeside.biz>
Tue, 12 Mar 2013 04:21:37 +0000 (21:21 -0700)
FS/bin/freeside-ipifony-download

index e2d7e97..36d3e8e 100644 (file)
@@ -188,7 +188,8 @@ FILE: foreach my $filename (@$files) {
       amount      => $amount,
       quantity    => $hash{quantity},
       start_date  => $cust_main->next_bill_date,
-      pkg         => $hash{date_desc},
+      pkg         => $hash{date_desc} .
+                   ' (' . $hash{quantity} . ' @ $' . $hash{unit_price} . ' ea)',
       taxclass    => $TAXCLASSES{ $hash{taxclass} },
     );
     if (my $classname = $hash{classname}) {