x
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
<div class="lui-tabs_content"> <div class="row"> <div class="column "> <div class="lui-title_description lui-title_description--normal"> <span class="lui-title_description__title"> Outgoing Payment Info </span> <span class="lui-title_description__description"> All the information about this outgoing payment service. </span></div> </div> </div> <div class="row"> <div class="column "> <div class="lui-tabs_section"> <div class="lui-tabs_section__header lui-tabs_section__header--underline"> <div class="lui-title_description lui-title_description--small"> <span class="lui-title_description__title"> Outgoing Payment Details </span> </div> <div class="lui-tabs_section__buttons"> </div> </div> <div class="lui-tabs_section__content"> <div class="lui-form_entry lui-form_entry--horizontal"> <div class="lui-form_entry__input"> <div class="lui-text relative"> <span class="lui-input__value">-</span> </div> </div> <div class="lui-form_entry__label-wrapper pt-2" style="width: 140px; min-width: 140px; word-break: break-all;"> <span class="lui-form_entry__label">Reference</span> <span class="lui-form_entry__required"></span> <div class="lui-form_entry__icon"> </div> </div> </div> <div class="lui-form_entry lui-form_entry--horizontal"> <div class="lui-form_entry__input"> <div class="lui-text relative"> <span class="lui-input__value">92.14 €</span> </div> </div> <div class="lui-form_entry__label-wrapper pt-2" style="width: 140px; min-width: 140px; word-break: break-all;"> <span class="lui-form_entry__label">Amount</span> <span class="lui-form_entry__required"></span> <div class="lui-form_entry__icon"> </div> </div> </div> <div class="lui-form_entry lui-form_entry--horizontal"> <div class="lui-form_entry__input"> <div class="lui-text relative"> <span class="lui-input__value">2025-12-06 11:29:00 UTC</span> </div> </div> <div class="lui-form_entry__label-wrapper pt-2" style="width: 140px; min-width: 140px; word-break: break-all;"> <span class="lui-form_entry__label">Paid Date</span> <span class="lui-form_entry__required"></span> <div class="lui-form_entry__icon"> </div> </div> </div> <div class="lui-form_entry lui-form_entry--horizontal"> <div class="lui-form_entry__input"> <span class="lui-date-show">07-12-2025 11h29</span> </div> <div class="lui-form_entry__label-wrapper pt-2" style="width: 140px; min-width: 140px; word-break: break-all;"> <span class="lui-form_entry__label">Created At</span> <span class="lui-form_entry__required"></span> <div class="lui-form_entry__icon"> </div> </div> </div> <div class="lui-form_entry lui-form_entry--horizontal"> <div class="lui-form_entry__input"> <span class="lui-date-show">08-12-2025 11h29</span> </div> <div class="lui-form_entry__label-wrapper pt-2" style="width: 140px; min-width: 140px; word-break: break-all;"> <span class="lui-form_entry__label">Updated At</span> <span class="lui-form_entry__required"></span> <div class="lui-form_entry__icon"> </div> </div> </div> </div> </div> </div> <div class="column "> <div class="lui-tabs_section"> <div class="lui-tabs_section__header lui-tabs_section__header--underline"> <div class="lui-title_description lui-title_description--small"> <span class="lui-title_description__title"> Item Info </span> </div> <div class="lui-tabs_section__buttons"> </div> </div> <div class="lui-tabs_section__content"> <div class="lui-form_entry lui-form_entry--horizontal"> <div class="lui-form_entry__input"> <span id="lui-token_6392059189" class="lui-token lui-entity-token lui-entity-token-general " style="color: #212529; background-color: #F8F9FA;"> <i class="lui-token__icon fa-regular fa-regular fa-box"></i> <a href="#" class="lui-token__text lui-token__text--url" data-turbo-frame="lui-main-layout" data-turbo-action="advance">BIL-0</a> <div class="lui-token__actions"> </div> </span> </div> <div class="lui-form_entry__label-wrapper pt-2" style="width: 140px; min-width: 140px; word-break: break-all;"> <span class="lui-form_entry__label">Item ID</span> <span class="lui-form_entry__required"></span> <div class="lui-form_entry__icon"> </div> </div> </div> <div class="lui-form_entry lui-form_entry--horizontal"> <div class="lui-form_entry__input"> <div id="lui-token_list_4032709066" class="lui-token-list lui-token-list--horizontal" data-controller="token-list" data-token-list-frame-id-value="lui-token_list_4032709066_frame" data-token-list-model-association-overlay-outlet="#lui-token_list_4032709066 .lui-association-overlay"> <turbo-frame class="lui-token-list__items" id="lui-token_list_4032709066_frame"> <div data-controller="drag" class="lui-token-list__items"> <span id="lui-token_2643051547" class="lui-token lui-entity-token lui-entity-token-general " style="color: #212529; background-color: #F8F9FA;"> <i class="lui-token__icon fa-regular fa-regular fa-grid"></i> <a href="#" class="lui-token__text lui-token__text--url" data-turbo-frame="lui-main-layout" data-turbo-action="advance">Granite</a> <div class="lui-token__actions"> </div> </span> <span id="lui-token_1951053954" class="lui-token lui-entity-token lui-entity-token-general " style="color: #212529; background-color: #F8F9FA;"> <i class="lui-token__icon fa-regular fa-regular fa-grid"></i> <a href="#" class="lui-token__text lui-token__text--url" data-turbo-frame="lui-main-layout" data-turbo-action="advance">Concrete</a> <div class="lui-token__actions"> </div> </span> </div> </turbo-frame> </div> </div> <div class="lui-form_entry__label-wrapper pt-2" style="width: 140px; min-width: 140px; word-break: break-all;"> <span class="lui-form_entry__label">Categories</span> <span class="lui-form_entry__required"></span> <div class="lui-form_entry__icon"> </div> </div> </div> <div class="lui-form_entry lui-form_entry--horizontal"> <div class="lui-form_entry__input"> <span id="lui-token_6663567588" class="lui-token lui-entity-token lui-entity-token-general " style="color: #212529; background-color: #F8F9FA;"> <i class="lui-token__icon fa-regular fa-regular fa-box-open"></i> <a href="#" class="lui-token__text lui-token__text--url" data-turbo-frame="lui-main-layout" data-turbo-action="advance">Intelligent Copper Pants</a> <div class="lui-token__actions"> </div> </span> </div> <div class="lui-form_entry__label-wrapper pt-2" style="width: 140px; min-width: 140px; word-break: break-all;"> <span class="lui-form_entry__label">Product</span> <span class="lui-form_entry__required"></span> <div class="lui-form_entry__icon"> </div> </div> </div> <div class="lui-form_entry lui-form_entry--horizontal"> <div class="lui-form_entry__input"> <div id="lui-token_list_604451979" class="lui-token-list lui-token-list--horizontal" data-controller="token-list" data-token-list-frame-id-value="lui-token_list_604451979_frame" data-token-list-model-association-overlay-outlet="#lui-token_list_604451979 .lui-association-overlay"> <turbo-frame class="lui-token-list__items" id="lui-token_list_604451979_frame"> <div data-controller="drag" class="lui-token-list__items"> <span id="lui-token_4888336179" class="lui-token lui-entity-token lui-entity-token-general " style="color: #212529; background-color: #F8F9FA;"> <i class="lui-token__icon fa-regular fa-regular fa-seal"></i> <a href="#" class="lui-token__text lui-token__text--url" data-turbo-frame="lui-main-layout" data-turbo-action="advance">Apple</a> <div class="lui-token__actions"> </div> </span> </div> </turbo-frame> </div> </div> <div class="lui-form_entry__label-wrapper pt-2" style="width: 140px; min-width: 140px; word-break: break-all;"> <span class="lui-form_entry__label">Brands</span> <span class="lui-form_entry__required"></span> <div class="lui-form_entry__icon"> </div> </div> </div> </div> </div> </div> </div></div>Info
Description
Content for Info Tab on each Service
Related components
| Used Components | Components where is Used |
|---|---|
Usage rules
- ✅ Do
- ❌ Don't
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
30
31
32
33
34
35
36
37
38
39
<% payments = 25.times.map do |i| item_full_id = "BIL-#{i * 100}" status = ["waiting_approval", "pending", "reverted", "waiting_for_iban", "completed", "approved", "failed", "declined", "created"].sample data = { key: i, id: i, show_url: "#", payment_retry_url: "#", name: Faker::Company.name, status: status, item: { id: i, full_id: item_full_id, show_url: "#" }, amount: "#{sprintf('%.2f', rand * 100)} €", partnable: { id: 0, name: Faker::Company.name, show_url: "#" }, provider: { id: 0, name: "InvoiceExpress", show_url: "#" }, categories: (rand * 3 + 1).floor.times.map { |i| { id: i, name: Faker::Commerce.material, show_url: "#" } }, product: { id: 0, name: Faker::Commerce.product_name, show_url: "#" }, brands: (rand * 3 + 1).floor.times.map { |i| { id: i, name: Faker::Commerce.brand, show_url: "#" } }, paid_date: rand(DateTime.now..3.days.from_now.to_datetime).strftime("%d %h %Y, %H:%M"), created_at: rand(DateTime.now..3.days.from_now.to_datetime).strftime("%d %h %Y, %H:%M"), updated_at: rand(DateTime.now..3.days.from_now.to_datetime).strftime("%d %h %Y, %H:%M"), error_messages: ["failed", "reverted", "declined"].include?(status) ? ["Teste"] : nil, } if LooposUi.config.app_type != "core" data.except!(:categories, :product, :brands) end ::LooposUi::Resources::PaymentResource::Payment.new(data) end permissions = { can_view_providers: params[:can_view_providers] || false, }%><%= render LooposUi::Services::Payments::Tabs::Info.new( data: payments.first, permissions: permissions) %>No notes provided.
| Param | Description | Input |
|---|---|---|
|
Can view providers |
|
Description
Overall Usage for Info Tab on each Service
Examples
Example Emails Messages
<%= render LooposUi::Services::EmailMessages::Tabs::Info.new( data: Services::EmailPresenter.new(@email).serialize, permissions: { can_view_providers: current_user.can_view_providers_in_network_manager?, } )%>Example Incoming Payments
<%= render LooposUi::Services::IncomingPayments::Tabs::Info.new( data: Services::IncomingPaymentPresenter.new(@incoming_payment).serialize, permissions: { can_view_providers: current_user.can_view_providers_in_network_manager?, } )%>Example Outgoing Payments
<%= render LooposUi::Services::Payments::Tabs::Info.new( data: Services::PaymentPresenter.new(@payment).serialize, permissions: { can_view_providers: current_user.can_view_providers_in_network_manager?, } )%>Example Invoices
<%= render LooposUi::Services::Invoices::Tabs::Info.new( data: Services::InvoicePresenter.new(@invoice).serialize, permissions: { can_view_providers: current_user.can_view_providers_in_network_manager?, } )%>Example Shippings
<%= render LooposUi::Services::Shippings::Tabs::Info.new( data: Services::ShippingPresenter.new(@shipping).serialize, permissions: { can_view_providers: current_user.can_view_providers_in_network_manager?, } )%>