X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2Fsvc_phone.pm;h=cf9d9b44019e2d470a22469f0b1e9694f8a6262b;hb=5c7813f35e16943b2fa35fbeecd0825c3342dce6;hp=326c0be309e0583e4f9d5adf2fb933ef4551ed73;hpb=5cfa294b20d7b7d96e9b8665ab51c3a897dab424;p=freeside.git diff --git a/FS/FS/svc_phone.pm b/FS/FS/svc_phone.pm index 326c0be30..cf9d9b440 100644 --- a/FS/FS/svc_phone.pm +++ b/FS/FS/svc_phone.pm @@ -201,9 +201,10 @@ sub table_info { }, 'circuit_svcnum' => { label => 'Circuit', type => 'select', - select_table => 'svc_domain', + select_table => 'svc_circuit', select_key => 'svcnum', - select_label => 'circuit_label', + select_label => 'label', + select_allow_empty=> 1, disable_inventory => 1, }, @@ -275,6 +276,8 @@ sub table { 'svc_phone'; } sub table_dupcheck_fields { ( 'countrycode', 'phonenum' ); } +sub device_table { 'phone_device'; } + =item search_sql STRING Class method which returns an SQL fragment to search for the given string.