Skip to content

Commit

Permalink
support done logic
Browse files Browse the repository at this point in the history
  • Loading branch information
qinmingyuan committed Dec 2, 2024
1 parent d308110 commit f48e898
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion app/controllers/trade/admin/items_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def desk

def desk_history
q_params = {
status: ['deliverable']
status: ['deliverable', 'done']
}
q_params.merge! default_params
q_params.merge! params.permit(:cart_id, :order_id, :good_type, :good_id, :desk_id, :aim, :address_id, :status)
Expand Down
1 change: 0 additions & 1 deletion app/views/trade/admin/items/_desk/_breadcrumb.html.erb
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
<li><%= link_to t('space.admin.desks.all.title'), { controller: 'space/admin/desks', action: 'all' } %></li>
<li><span class="px-3"><%= @desk.name %></span></li>
<li class="is-active"><%= t('.title') %></li>
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
<li><%= link_to t('space.admin.desks.all.title'), { controller: 'space/admin/desks', action: 'all' } %></li>
<li><span class="px-3"><%= @desk.name %></span></li>
<li class="is-active"><%= t('.title') %></li>

0 comments on commit f48e898

Please sign in to comment.