~singpolyma/sgx-jmp

690a17e0d937103f8a0ca44343ca1849f668258e — Stephen Paul Weber 9 months ago 483b5c6
Fix CNAM display
1 files changed, 2 insertions(+), 2 deletions(-)

M forms/configure_calls.rb
M forms/configure_calls.rb => forms/configure_calls.rb +2 -2
@@ 31,12 31,12 @@ field(
	value: @customer.fwd.uri
)

if @customer.tndetails.dig(:features, :lidb)
if (lidb = @customer.tndetails.dig(:features, :lidb))
	field(
		var: "lidb_name",
		type: "fixed",
		label: "CNAM",
		value: "#{@lidb[:name]} (#{@lidb[:status]})"
		value: "#{lidb[:subscriber_information]} (#{lidb[:status]})"
	)
elsif @customer.tndetails[:on_net_vendor]
	field(