Fix pickup view for orders without pickup data (#537)
This commit is contained in:
parent
209ad615b4
commit
4c41a99fde
1 changed files with 1 additions and 1 deletions
|
@ -2,9 +2,9 @@
|
|||
|
||||
- @orders.each do |pickup, orders|
|
||||
= form_tag document_pickups_path do
|
||||
= hidden_field_tag 'date', l(pickup, format: :long)
|
||||
%h2
|
||||
- if pickup
|
||||
= hidden_field_tag 'date', l(pickup, format: :long)
|
||||
= l pickup, format: :long
|
||||
- else
|
||||
= t '.without_pickup'
|
||||
|
|
Loading…
Reference in a new issue