Skip to content

Commit

Permalink
copy the end timedate (so people don't forget to set the correct time…
Browse files Browse the repository at this point in the history
… of day)
  • Loading branch information
carchrae committed Sep 1, 2021
1 parent 7be8cb7 commit 813c393
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/orders_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def new
if params[:order_id]
copy_order = Order.find(params[:order_id])
attributes.merge!(copy_order.slice(:article_ids, :note,
:supplier_note, :end_action,
:supplier_note, :end_action, :ends,
:boxfill))
end
@order = Order.new(attributes).init_dates
Expand Down

0 comments on commit 813c393

Please sign in to comment.