From: ivan Date: Wed, 14 Dec 2005 18:52:22 +0000 (+0000) Subject: add 'STATE' field for suspensions to Radiator export X-Git-Tag: BEFORE_FINAL_MASONIZE~256 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=7e55ad8d3bce0d08436390a87e40624b775dc3f2 add 'STATE' field for suspensions to Radiator export --- diff --git a/FS/FS/part_export/radiator.pm b/FS/FS/part_export/radiator.pm index 11ce3e793..2ac3edb22 100644 --- a/FS/FS/part_export/radiator.pm +++ b/FS/FS/part_export/radiator.pm @@ -93,6 +93,8 @@ sub _radiator_hash { if $cust_pkg && $cust_pkg->setup; $hash{'validfrom'} = $cust_pkg->last_bill || $cust_pkg->setup if $cust_pkg && ( $cust_pkg->last_bill || $cust_pkg->setup ); + $hash{'state'} = $cust_pkg->susp ? 1 : 0 + if $cust_pkg; %hash; }