From 7e55ad8d3bce0d08436390a87e40624b775dc3f2 Mon Sep 17 00:00:00 2001 From: ivan Date: Wed, 14 Dec 2005 18:52:22 +0000 Subject: [PATCH] add 'STATE' field for suspensions to Radiator export --- FS/FS/part_export/radiator.pm | 2 ++ 1 file changed, 2 insertions(+) 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; } -- 2.11.0