X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2Fsvc_circuit.pm;h=7f49715b95690bdbab08d80563e6da659383e6e4;hb=5f7c4a6025b9e3a49bee72dbc06cac37a45e6f10;hp=13d84846e17aaf08b1aeff17b0a837554ccccc20;hpb=54874515da35cc39db56c647b992ae8dea17ad21;p=freeside.git diff --git a/FS/FS/svc_circuit.pm b/FS/FS/svc_circuit.pm index 13d84846e..7f49715b9 100644 --- a/FS/FS/svc_circuit.pm +++ b/FS/FS/svc_circuit.pm @@ -51,7 +51,7 @@ L. =item termnum - circuit termination type; foreign key to L -=item circuit_id - circuit ID string defined by the provider +=item circuit_id - provider circuit ID string defined by the provider =item desired_due_date - the requested date for completion of the circuit order @@ -75,6 +75,8 @@ space or checked for uniqueness. =item endpoint_mac_addr - the MAC address of the endpoint. +=item internal_circuit_id - internal circuit ID string + =back =head1 METHODS @@ -95,56 +97,57 @@ sub table_info { disabled_inventory => 1, disable_select => 1 ); tie my %fields, 'Tie::IxHash', ( - 'svcnum' => 'Service', - 'providernum' => { + 'svcnum' => 'Service', + 'providernum' => { label => 'Provider', type => 'select', select_table => 'circuit_provider', select_key => 'providernum', select_label => 'provider', disable_inventory => 1, - }, - 'typenum' => { + }, + 'typenum' => { label => 'Circuit type', type => 'select', select_table => 'circuit_type', select_key => 'typenum', select_label => 'typename', disable_inventory => 1, - }, - 'termnum' => { + }, + 'termnum' => { label => 'Termination type', type => 'select', select_table => 'circuit_termination', select_key => 'termnum', select_label => 'termination', disable_inventory => 1, - }, - 'circuit_id' => { label => 'Circuit ID', %dis }, - 'desired_due_date' => { label => 'Desired due date', + }, + 'circuit_id' => { label => 'Provider Circuit ID', %dis }, + 'desired_due_date' => { label => 'Desired due date', %dis - }, - 'due_date' => { label => 'Due date', + }, + 'due_date' => { label => 'Due date', %dis - }, - 'vendor_order_id' => { label => 'Vendor order ID', %dis }, - 'vendor_qual_id' => { label => 'Vendor qualification ID', %dis }, - 'vendor_order_type' => { + }, + 'vendor_order_id' => { label => 'Vendor order ID', %dis }, + 'vendor_qual_id' => { label => 'Vendor qualification ID', %dis }, + 'vendor_order_type' => { label => 'Vendor order type', disable_inventory => 1 - }, # should be a select? + }, # should be a select? 'vendor_order_status' => { label => 'Vendor order status', disable_inventory => 1 }, # should also be a select? - 'endpoint_ip_addr' => { + 'endpoint_ip_addr' => { label => 'Endpoint IP address', - }, - 'endpoint_mac_addr' => { + }, + 'endpoint_mac_addr' => { label => 'Endpoint MAC address', type => 'input-mac_addr', disable_inventory => 1, - }, + }, + 'internal_circuit_id' => { label => 'Internal Circuit ID', %dis }, ); return { 'name' => 'Circuit', @@ -198,6 +201,7 @@ sub check { || $self->ut_textn('vendor_order_status') || $self->ut_ipn('endpoint_ip_addr') || $self->ut_textn('endpoint_mac_addr') + || $self->ut_textn('internal_circuit_id') ; # no canonical values yet for vendor_order_status or _type