-
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
da85e4c
commit 34e96f9
Showing
6 changed files
with
44 additions
and
3 deletions.
There are no files selected for viewing
9 changes: 9 additions & 0 deletions
9
app/views/trade/admin/order_payments/_index/_top_bar.html+phone.erb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<div class="weui-panel is-borderless"> | ||
<div data-controller="mini-program" data-mini-program-pt-class="pt-0" class="weui-panel__hd as-bar"> | ||
<%= link_to({ controller: 'orders' }, class: 'px-4') do %> | ||
<i class="fa-solid fa-lg fa-fw-1 fa-angle-left"></i> | ||
<% end %> | ||
<div class="weui-title"><%= @order.uuid %></div> | ||
<i style="width: 3rem"></i> | ||
</div> | ||
</div> |
9 changes: 9 additions & 0 deletions
9
app/views/trade/admin/order_payments/_new/_top_bar.html+phone.erb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<div class="weui-panel is-borderless"> | ||
<div data-controller="mini-program" data-mini-program-pt-class="pt-0" class="weui-panel__hd as-bar"> | ||
<%= link_to({ controller: 'orders' }, class: 'px-4') do %> | ||
<i class="fa-solid fa-lg fa-fw-1 fa-angle-left"></i> | ||
<% end %> | ||
<div class="weui-title"><%= @order.uuid %></div> | ||
<i style="width: 3rem"></i> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
app/views/trade/admin/orders/_payment_types/_hand_payment.html+phone.erb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 9 additions & 0 deletions
9
app/views/trade/admin/orders/_payment_types/_top_bar.html+phone.erb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<div class="weui-panel is-borderless"> | ||
<div data-controller="mini-program" data-mini-program-pt-class="pt-0" class="weui-panel__hd as-bar"> | ||
<%= link_to({ controller: 'orders' }, class: 'px-4') do %> | ||
<i class="fa-solid fa-lg fa-fw-1 fa-angle-left"></i> | ||
<% end %> | ||
<div class="weui-title"><%= @order.uuid %></div> | ||
<i style="width: 3rem"></i> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<%= render 'top_bar' %> | ||
|
||
<table class="table is-fullwidth is-borderless as-show"> | ||
<tbody> | ||
<tr> | ||
<td class="has-text-right"><%= Trade::Order.human_attribute_name(:unreceived_amount) %></td> | ||
<td class="has-text-danger"><%= @order.unreceived_amount.to_money.format.html_safe %></td> | ||
</tr> | ||
<%# render partial: 'wallet_payment', collection: @order.payment_orders, as: :payment_order %> | ||
</tbody> | ||
</table> | ||
|
||
<div class="weui-panel is-box"> | ||
<%= render 'hand_payment' %> | ||
</div> |