~singpolyma/sgx-jmp

ref: c7c48663714307e3598dc14848e539fb8672b0b7 sgx-jmp/forms/legacy_customer_admin_info.rb -rw-r--r-- 437 bytes
c7c48663Christopher Vollick Customer Info Forms and More Info 5 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
result!
title "Customer Info"

render "legacy_customer_info_partial", info: @admin_info.info

field(
	var: "jid",
	label: "JID",
	value: @admin_info.jid.unproxied.to_s
)

field(
	var: "cheo_jid",
	label: "Cheo JID",
	value: @admin_info.jid.to_s
)

field(
	var: "api",
	label: "API",
	value: @admin_info.api.to_s
)

field(
	var: "link",
	label: "Link",
	type: "jid-single",
	value: "#{@admin_info.info.tel}@#{CONFIG[:upstream_domain]}"
)