auctify 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (115) hide show
  1. checksums.yaml +7 -0
  2. data/MIT-LICENSE +20 -0
  3. data/README.md +229 -0
  4. data/Rakefile +34 -0
  5. data/app/assets/config/auctify_manifest.js +1 -0
  6. data/app/assets/javascripts/folio/console/main_app.coffee +1 -0
  7. data/app/assets/stylesheets/auctify/application.css +15 -0
  8. data/app/assets/stylesheets/auctify/bidder_registrations.css +4 -0
  9. data/app/assets/stylesheets/auctify/bids.css +4 -0
  10. data/app/assets/stylesheets/auctify/sales.css +4 -0
  11. data/app/assets/stylesheets/auctify/sales_packs.css +4 -0
  12. data/app/assets/stylesheets/folio/console/_main_app.sass +1 -0
  13. data/app/assets/stylesheets/scaffold.css +80 -0
  14. data/app/cells/folio/console/atoms/previews/main_app.coffee +1 -0
  15. data/app/concerns/auctify/behavior/base.rb +20 -0
  16. data/app/concerns/auctify/behavior/buyer.rb +16 -0
  17. data/app/concerns/auctify/behavior/item.rb +27 -0
  18. data/app/concerns/auctify/behavior/seller.rb +36 -0
  19. data/app/concerns/auctify/sale/auction_callbacks.rb +44 -0
  20. data/app/controllers/auctify/api/v1/auctions_controller.rb +61 -0
  21. data/app/controllers/auctify/api/v1/base_controller.rb +22 -0
  22. data/app/controllers/auctify/api/v1/console/bids_controller.rb +37 -0
  23. data/app/controllers/auctify/application_controller.rb +8 -0
  24. data/app/controllers/auctify/bidder_registrations_controller.rb +65 -0
  25. data/app/controllers/auctify/bids_controller.rb +64 -0
  26. data/app/controllers/auctify/sales_controller.rb +75 -0
  27. data/app/controllers/auctify/sales_packs_controller.rb +75 -0
  28. data/app/helpers/auctify/application_helper.rb +10 -0
  29. data/app/helpers/auctify/bidder_registrations_helper.rb +6 -0
  30. data/app/helpers/auctify/bids_helper.rb +6 -0
  31. data/app/helpers/auctify/sales_helper.rb +15 -0
  32. data/app/helpers/auctify/sales_packs_helper.rb +6 -0
  33. data/app/jobs/auctify/application_job.rb +6 -0
  34. data/app/jobs/auctify/bidding_closer_job.rb +23 -0
  35. data/app/jobs/auctify/bidding_is_close_to_end_notifier_job.rb +29 -0
  36. data/app/mailers/auctify/application_mailer.rb +8 -0
  37. data/app/models/auctify/application_record.rb +14 -0
  38. data/app/models/auctify/behaviors.rb +27 -0
  39. data/app/models/auctify/bid.rb +72 -0
  40. data/app/models/auctify/bidder_registration.rb +84 -0
  41. data/app/models/auctify/sale/auction.rb +404 -0
  42. data/app/models/auctify/sale/base.rb +210 -0
  43. data/app/models/auctify/sale/retail.rb +97 -0
  44. data/app/models/auctify/sales_pack.rb +101 -0
  45. data/app/serializers/auctify/sale/auction_serializer.rb +46 -0
  46. data/app/services/auctify/bids_appender.rb +241 -0
  47. data/app/services/auctify/service_base.rb +78 -0
  48. data/app/types/auctify/minimal_bids_ladder_type.rb +77 -0
  49. data/app/views/auctify/api/v1/console/bids/index.html.erb +1 -0
  50. data/app/views/auctify/api/v1/console/bids/show.html.erb +1 -0
  51. data/app/views/auctify/bidder_registrations/_form.html.erb +27 -0
  52. data/app/views/auctify/bidder_registrations/edit.html.erb +6 -0
  53. data/app/views/auctify/bidder_registrations/index.html.erb +33 -0
  54. data/app/views/auctify/bidder_registrations/new.html.erb +5 -0
  55. data/app/views/auctify/bidder_registrations/show.html.erb +24 -0
  56. data/app/views/auctify/bids/_form.html.erb +32 -0
  57. data/app/views/auctify/bids/edit.html.erb +6 -0
  58. data/app/views/auctify/bids/index.html.erb +31 -0
  59. data/app/views/auctify/bids/new.html.erb +5 -0
  60. data/app/views/auctify/bids/show.html.erb +19 -0
  61. data/app/views/auctify/sales/_form.html.erb +32 -0
  62. data/app/views/auctify/sales/edit.html.erb +6 -0
  63. data/app/views/auctify/sales/index.html.erb +36 -0
  64. data/app/views/auctify/sales/new.html.erb +5 -0
  65. data/app/views/auctify/sales/show.html.erb +19 -0
  66. data/app/views/auctify/sales_packs/_form.html.erb +57 -0
  67. data/app/views/auctify/sales_packs/edit.html.erb +6 -0
  68. data/app/views/auctify/sales_packs/index.html.erb +40 -0
  69. data/app/views/auctify/sales_packs/new.html.erb +5 -0
  70. data/app/views/auctify/sales_packs/show.html.erb +44 -0
  71. data/app/views/layouts/auctify/application.html.erb +15 -0
  72. data/config/locales/auctify.cs.yml +121 -0
  73. data/config/locales/default.cs.yml +220 -0
  74. data/config/locales/default.en.yml +215 -0
  75. data/config/routes.rb +23 -0
  76. data/db/migrate/20210212163000_create_auctify_sales.rb +16 -0
  77. data/db/migrate/20210216151350_add_type_to_auctify_sales.rb +7 -0
  78. data/db/migrate/20210217101246_add_state_to_auctify_sales.rb +7 -0
  79. data/db/migrate/20210217110819_add_prices_to_auctify_sales.rb +9 -0
  80. data/db/migrate/20210222103031_add_published_at_to_auctify_sale.rb +7 -0
  81. data/db/migrate/20210223090240_create_auctify_bidder_registrations.rb +15 -0
  82. data/db/migrate/20210223152139_create_auctify_bids.rb +13 -0
  83. data/db/migrate/20210225103227_add_bid_steps_ladder_to_auctify_sales.rb +7 -0
  84. data/db/migrate/20210412114319_add_reserve_price_to_auctify_sales.rb +7 -0
  85. data/db/migrate/20210416140603_create_auctify_sales_packs.rb +17 -0
  86. data/db/migrate/20210416141111_add_pack_reference_to_auctify_sales.rb +7 -0
  87. data/db/migrate/20210419075003_add_ends_at_to_auctify_sales.rb +7 -0
  88. data/db/migrate/20210419082800_add_position_to_auctify_sales.rb +8 -0
  89. data/db/migrate/20210419083321_add_indexes.rb +12 -0
  90. data/db/migrate/20210421093652_add_number_to_auctify_sales.rb +7 -0
  91. data/db/migrate/20210423071326_removing_polymorphic_assoc_sale_to_item.rb +7 -0
  92. data/db/migrate/20210423071534_add_currently_ends_at_to_auctify_sales.rb +7 -0
  93. data/db/migrate/20210427121353_change_column_published_on_auctify_sale.rb +15 -0
  94. data/db/migrate/20210427122315_add_featured_to_auctify_sales.rb +7 -0
  95. data/db/migrate/20210428045651_add_sales_bool_indices.rb +9 -0
  96. data/db/migrate/20210428064615_allow_seller_to_be_nil.rb +13 -0
  97. data/db/migrate/20210429051508_add_sales_pack_start_and_end.rb +15 -0
  98. data/db/migrate/20210430080419_add_sales_slug.rb +11 -0
  99. data/db/migrate/20210503095704_add_cancelled_to_auctify_bids.rb +7 -0
  100. data/db/migrate/20210504072041_add_commission_and_contract_to_auctify_sales.rb +8 -0
  101. data/db/migrate/20210506064100_add_winner_to_auctify_sales.rb +7 -0
  102. data/db/migrate/20210506072438_add_bids_count_to_auctify_sales.rb +7 -0
  103. data/db/migrate/20210507085845_rename_bids_count_to_applied_bids_count.rb +7 -0
  104. data/db/migrate/20210510063146_add_dont_confirm_bids_to_registrations.rb +7 -0
  105. data/db/migrate/20210511081556_add_index_on_cancelled_on.rb +7 -0
  106. data/db/migrate/20210512162942_add_sold_at_to_auctify_sales.rb +7 -0
  107. data/db/migrate/20210607113440_add_commission_in_percent_to_sales_packs.rb +7 -0
  108. data/db/migrate/20210617062509_add_index_to_auctify_sales_currently_ends_at.rb +7 -0
  109. data/db/migrate/20210625125732_add_current_winner_to_auctify_sales.rb +7 -0
  110. data/lib/auctify.rb +7 -0
  111. data/lib/auctify/configuration.rb +43 -0
  112. data/lib/auctify/engine.rb +25 -0
  113. data/lib/auctify/version.rb +5 -0
  114. data/lib/tasks/auctify_tasks.rake +23 -0
  115. metadata +442 -0
@@ -0,0 +1,5 @@
1
+ <h1>New Bidder Registration</h1>
2
+
3
+ <%= render 'form', bidder_registration: @bidder_registration %>
4
+
5
+ <%= link_to 'Back', auctify_bidder_registrations_path %>
@@ -0,0 +1,24 @@
1
+ <p id="notice"><%= notice %></p>
2
+
3
+ <p>
4
+ <strong>Bidder:</strong>
5
+ <%= @bidder_registration.bidder_id %>
6
+ </p>
7
+
8
+ <p>
9
+ <strong>Auction:</strong>
10
+ <%= @bidder_registration.auction_id %>
11
+ </p>
12
+
13
+ <p>
14
+ <strong>Aasm state:</strong>
15
+ <%= @bidder_registration.aasm_state %>
16
+ </p>
17
+
18
+ <p>
19
+ <strong>Handled at:</strong>
20
+ <%= @bidder_registration.handled_at %>
21
+ </p>
22
+
23
+ <%= link_to 'Edit', edit_auctify_bidder_registration_path(@bidder_registration) %> |
24
+ <%= link_to 'Back', auctify_bidder_registrations_path %>
@@ -0,0 +1,32 @@
1
+ <%= form_with(model: bid, local: true) do |form| %>
2
+ <% if bid.errors.any? %>
3
+ <div id="error_explanation">
4
+ <h2><%= pluralize(bid.errors.count, "error") %> prohibited this bid from being saved:</h2>
5
+
6
+ <ul>
7
+ <% bid.errors.full_messages.each do |message| %>
8
+ <li><%= message %></li>
9
+ <% end %>
10
+ </ul>
11
+ </div>
12
+ <% end %>
13
+
14
+ <div class="field">
15
+ <%= form.label :registration %>
16
+ <%= form.text_field :registration %>
17
+ </div>
18
+
19
+ <div class="field">
20
+ <%= form.label :price %>
21
+ <%= form.text_field :price %>
22
+ </div>
23
+
24
+ <div class="field">
25
+ <%= form.label :max_price %>
26
+ <%= form.text_field :max_price %>
27
+ </div>
28
+
29
+ <div class="actions">
30
+ <%= form.submit %>
31
+ </div>
32
+ <% end %>
@@ -0,0 +1,6 @@
1
+ <h1>Editing Bid</h1>
2
+
3
+ <%= render 'form', bid: @bid %>
4
+
5
+ <%= link_to 'Show', @bid %> |
6
+ <%= link_to 'Back', auctify_bids_path %>
@@ -0,0 +1,31 @@
1
+ <p id="notice"><%= notice %></p>
2
+
3
+ <h1>Bids</h1>
4
+
5
+ <table>
6
+ <thead>
7
+ <tr>
8
+ <th>Registration</th>
9
+ <th>Price</th>
10
+ <th>Max price</th>
11
+ <th colspan="3"></th>
12
+ </tr>
13
+ </thead>
14
+
15
+ <tbody>
16
+ <% @bids.each do |bid| %>
17
+ <tr>
18
+ <td><%= bid.registration %></td>
19
+ <td><%= bid.price %></td>
20
+ <td><%= bid.max_price %></td>
21
+ <td><%= link_to 'Show', bid %></td>
22
+ <td><%= link_to 'Edit', edit_auctify_bid_path(bid) %></td>
23
+ <td><%= link_to 'Destroy', bid, method: :delete, data: { confirm: 'Are you sure?' } %></td>
24
+ </tr>
25
+ <% end %>
26
+ </tbody>
27
+ </table>
28
+
29
+ <br>
30
+
31
+ <%= link_to 'New Bid', new_auctify_bid_path %>
@@ -0,0 +1,5 @@
1
+ <h1>New Bid</h1>
2
+
3
+ <%= render 'form', bid: @bid %>
4
+
5
+ <%= link_to 'Back', auctify_bids_path %>
@@ -0,0 +1,19 @@
1
+ <p id="notice"><%= notice %></p>
2
+
3
+ <p>
4
+ <strong>Registration:</strong>
5
+ <%= @bid.registration %>
6
+ </p>
7
+
8
+ <p>
9
+ <strong>Price:</strong>
10
+ <%= @bid.price %>
11
+ </p>
12
+
13
+ <p>
14
+ <strong>Max price:</strong>
15
+ <%= @bid.max_price %>
16
+ </p>
17
+
18
+ <%= link_to 'Edit', edit_auctify_bid_path(@bid) %> |
19
+ <%= link_to 'Back', auctify_bids_path %>
@@ -0,0 +1,32 @@
1
+ <%= form_with(model: sale, scope: :sale, url:auctify_sales_path, local: true) do |form| %>
2
+ <% if sale.errors.any? %>
3
+ <div id="error_explanation">
4
+ <h2><%= pluralize(sale.errors.count, "error") %> prohibited this sale from being saved:</h2>
5
+
6
+ <ul>
7
+ <% sale.errors.full_messages.each do |message| %>
8
+ <li><%= message %></li>
9
+ <% end %>
10
+ </ul>
11
+ </div>
12
+ <% end %>
13
+
14
+ <div class="field">
15
+ <%= form.label :seller_auctify_id %>
16
+ <%= form.select(:seller_auctify_id, auctify_id_options_for_select(:seller)) %>
17
+ </div>
18
+
19
+ <div class="field">
20
+ <%= form.label :buyer_auctify_id %>
21
+ <%= form.select(:buyer_auctify_id, auctify_id_options_for_select(:buyer)) %>
22
+ </div>
23
+
24
+ <div class="field">
25
+ <%= form.label :item_auctify_id %>
26
+ <%= form.select(:item_auctify_id, auctify_id_options_for_select(:item)) %>
27
+ </div>
28
+
29
+ <div class="actions">
30
+ <%= form.submit %>
31
+ </div>
32
+ <% end %>
@@ -0,0 +1,6 @@
1
+ <h1>Editing Sale</h1>
2
+
3
+ <%= render 'form', sale: @sale %>
4
+
5
+ <%= link_to 'Show',auctify_sale_path(@sale) %> |
6
+ <%= link_to 'Back',auctify_sales_path %>
@@ -0,0 +1,36 @@
1
+ <p id="notice"><%= notice %></p>
2
+
3
+ <h1>Sales</h1>
4
+ <% unless params[:list_all].to_s == "1" %>
5
+ Listed only published sales. Do you want <%= link_to 'all',auctify_sales_path(params: { list_all: 1}) %>?
6
+ <% end %>
7
+
8
+ <table>
9
+ <thead>
10
+ <tr>
11
+ <th>Seller</th>
12
+ <th>Buyer</th>
13
+ <th>Item</th>
14
+ <th>Published</th>
15
+ <th colspan="3"></th>
16
+ </tr>
17
+ </thead>
18
+
19
+ <tbody>
20
+ <% @sales.each do |sale| %>
21
+ <tr>
22
+ <td><%= sale.seller&.name %></td>
23
+ <td><%= sale.buyer&.name %></td>
24
+ <td><%= sale.item.name %></td>
25
+ <td><%= sale.published? ? "YES" : "NO" %></td>
26
+ <td><%= link_to 'Show',auctify_sale_path(sale) %></td>
27
+ <td><%= link_to 'Edit', edit_auctify_sale_path(sale) %></td>
28
+ <td><%= link_to 'Destroy',auctify_sale_path(sale), method: :delete, data: { confirm: 'Are you sure?' } %></td>
29
+ </tr>
30
+ <% end %>
31
+ </tbody>
32
+ </table>
33
+
34
+ <br>
35
+
36
+ <%= link_to 'New Sale', new_auctify_sale_path %>
@@ -0,0 +1,5 @@
1
+ <h1>New Sale</h1>
2
+
3
+ <%= render 'form', sale: @sale %>
4
+
5
+ <%= link_to 'Back',auctify_sales_path %>
@@ -0,0 +1,19 @@
1
+ <p id="notice"><%= notice %></p>
2
+
3
+ <p>
4
+ <strong>Seller:</strong>
5
+ <%= @sale.seller.name %>
6
+ </p>
7
+
8
+ <p>
9
+ <strong>Buyer:</strong>
10
+ <%= @sale.buyer&.name %>
11
+ </p>
12
+
13
+ <p>
14
+ <strong>Item:</strong>
15
+ <%= @sale.item.name %>
16
+ </p>
17
+
18
+ <%= link_to 'Edit', edit_auctify_sale_path(@sale) %> |
19
+ <%= link_to 'Back',auctify_sales_path %>
@@ -0,0 +1,57 @@
1
+ <%= form_with(model: sales_pack, local: true) do |form| %>
2
+ <% if sales_pack.errors.any? %>
3
+ <div id="error_explanation">
4
+ <h2><%= pluralize(sales_pack.errors.count, "error") %> prohibited this sales_pack from being saved:</h2>
5
+
6
+ <ul>
7
+ <% sales_pack.errors.full_messages.each do |message| %>
8
+ <li><%= message %></li>
9
+ <% end %>
10
+ </ul>
11
+ </div>
12
+ <% end %>
13
+
14
+ <div class="field">
15
+ <%= form.label :title %>
16
+ <%= form.text_field :title %>
17
+ </div>
18
+
19
+ <div class="field">
20
+ <%= form.label :description %>
21
+ <%= form.text_area :description %>
22
+ </div>
23
+
24
+ <div class="field">
25
+ <%= form.label :position %>
26
+ <%= form.number_field :position %>
27
+ </div>
28
+
29
+ <div class="field">
30
+ <%= form.label :slug %>
31
+ <%= form.text_field :slug %>
32
+ </div>
33
+
34
+ <div class="field">
35
+ <%= form.label :start_date %>
36
+ <%= form.date_select :start_date %>
37
+ </div>
38
+
39
+ <div class="field">
40
+ <%= form.label :end_date %>
41
+ <%= form.date_select :end_date %>
42
+ </div>
43
+
44
+ <div class="field">
45
+ <%= form.label :place %>
46
+ <%= form.text_field :place %>
47
+ </div>
48
+
49
+ <div class="field">
50
+ <%= form.label :published %>
51
+ <%= form.check_box :published %>
52
+ </div>
53
+
54
+ <div class="actions">
55
+ <%= form.submit %>
56
+ </div>
57
+ <% end %>
@@ -0,0 +1,6 @@
1
+ <h1>Editing Sales Pack</h1>
2
+
3
+ <%= render 'form', sales_pack: @sales_pack %>
4
+
5
+ <%= link_to 'Show', @sales_pack %> |
6
+ <%= link_to 'Back', auctify_sales_packs_path %>
@@ -0,0 +1,40 @@
1
+ <p id="notice"><%= notice %></p>
2
+
3
+ <h1>Sales Packs</h1>
4
+
5
+ <table>
6
+ <thead>
7
+ <tr>
8
+ <th>Title</th>
9
+ <th>Description</th>
10
+ <th>Position</th>
11
+ <th>Slug</th>
12
+ <th>Time frame</th>
13
+ <th>Place</th>
14
+ <th>Published</th>
15
+ <th colspan="3"></th>
16
+ </tr>
17
+ </thead>
18
+
19
+ <tbody>
20
+ <% @sales_packs.each do |sales_pack| %>
21
+ <tr>
22
+ <td><%= sales_pack.title %></td>
23
+ <td><%= sales_pack.description %></td>
24
+ <td><%= sales_pack.position %></td>
25
+ <td><%= sales_pack.slug %></td>
26
+ <td><%= sales_pack.start_date %></td>
27
+ <td><%= sales_pack.end_date %></td>
28
+ <td><%= sales_pack.place %></td>
29
+ <td><%= sales_pack.published %></td>
30
+ <td><%= link_to 'Show', sales_pack %></td>
31
+ <td><%= link_to 'Edit', edit_auctify_sales_pack_path(sales_pack) %></td>
32
+ <td><%= link_to 'Destroy', sales_pack, method: :delete, data: { confirm: 'Are you sure?' } %></td>
33
+ </tr>
34
+ <% end %>
35
+ </tbody>
36
+ </table>
37
+
38
+ <br>
39
+
40
+ <%= link_to 'New Sales Pack', new_auctify_sales_pack_path %>
@@ -0,0 +1,5 @@
1
+ <h1>New Sales Pack</h1>
2
+
3
+ <%= render 'form', sales_pack: @sales_pack %>
4
+
5
+ <%= link_to 'Back', auctify_sales_packs_path %>
@@ -0,0 +1,44 @@
1
+ <p id="notice"><%= notice %></p>
2
+
3
+ <p>
4
+ <strong>Title:</strong>
5
+ <%= @sales_pack.title %>
6
+ </p>
7
+
8
+ <p>
9
+ <strong>Description:</strong>
10
+ <%= @sales_pack.description %>
11
+ </p>
12
+
13
+ <p>
14
+ <strong>Position:</strong>
15
+ <%= @sales_pack.position %>
16
+ </p>
17
+
18
+ <p>
19
+ <strong>Slug:</strong>
20
+ <%= @sales_pack.slug %>
21
+ </p>
22
+
23
+ <p>
24
+ <strong>Start date:</strong>
25
+ <%= @sales_pack.start_date %>
26
+ </p>
27
+
28
+ <p>
29
+ <strong>End date:</strong>
30
+ <%= @sales_pack.end_date %>
31
+ </p>
32
+
33
+ <p>
34
+ <strong>Place:</strong>
35
+ <%= @sales_pack.place %>
36
+ </p>
37
+
38
+ <p>
39
+ <strong>Published:</strong>
40
+ <%= @sales_pack.published %>
41
+ </p>
42
+
43
+ <%= link_to 'Edit', edit_auctify_sales_pack_path(@sales_pack) %> |
44
+ <%= link_to 'Back', auctify_sales_packs_path %>
@@ -0,0 +1,15 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>Auctify</title>
5
+ <%= csrf_meta_tags %>
6
+ <%= csp_meta_tag %>
7
+
8
+ <%= stylesheet_link_tag "auctify/application", media: "all" %>
9
+ </head>
10
+ <body>
11
+
12
+ <%= yield %>
13
+
14
+ </body>
15
+ </html>
@@ -0,0 +1,121 @@
1
+ cs:
2
+ activerecord:
3
+ models:
4
+ auctify/sale/base:
5
+ auctify/sale/retail:
6
+ one: Přímý prodej
7
+ few: Přímé prodeje
8
+ other: Přímých prodejů
9
+ auctify/sale/auction:
10
+ one: Aukční položka
11
+ few: Aukční položky
12
+ other: Aukčních položek
13
+ auctify/bid:
14
+ one: Přihoz
15
+ few: Příhozy
16
+ other: Příhozů
17
+ auctify/sales_pack:
18
+ one: Aukce
19
+ few: Aukce
20
+ other: Aukcí
21
+ auctify/bidder_registration:
22
+ one: Registrace dražebníka
23
+ other: Registrace dražebníků
24
+
25
+ attributes:
26
+ auctify/sales_pack:
27
+ title: Název
28
+ description: Popisek
29
+ position: Pozice
30
+ slug: Varianta názvu pro odkazy
31
+ start_date: Začátek
32
+ end_date: Konec
33
+ place: Místo konání
34
+ published: Zveřejněno
35
+ sales_count: Počet položek
36
+ sales: Položky
37
+ sales_interval: Časový rozestup mezi předměty v minutách
38
+ sales_beginning_hour: Čas prvního předmětu (hodina)
39
+ sales_beginning_minutes: Čas prvního předmětu (minuty)
40
+ commission_in_percent: Provize aukční síně (procenta)
41
+ auctify/sale/base:
42
+ buyer: Kupec
43
+ seller: Prodejce
44
+ item: Zboží
45
+ aasm_state: Stav
46
+ published: Zveřejněno
47
+ number: Číslo
48
+ commission_in_percent: Provize aukční síně (procenta)
49
+ auctify/sale/retail:
50
+ created_at: Vytvořen
51
+ updated_at: Změněn
52
+ auctify/sale/auction:
53
+ bid_steps_ladder: Žebříček příhozů
54
+ offered_price: Vyvolávací cena
55
+ current_price: Aktuální cena
56
+ sold_price: Vydražená cena
57
+ created_at: Vytvořena
58
+ updated_at: Změněna
59
+ reserve_price: Rezervovaná cena
60
+ ends_at: Předpokládaný konec
61
+ pack_id: Aukce+
62
+ pack: Aukce-
63
+ auctify/bid:
64
+ price: Výše příhozu
65
+ max_price: Maximální výše příhozu
66
+ created_at: Přihozeno
67
+ updated_at:
68
+ registration: Registrace do aukce položky
69
+
70
+ errors:
71
+ models:
72
+ auctify/sale/base:
73
+ attributes:
74
+ seller:
75
+ not_auctified: "objekt Prodejce nebyl Auctifikován pomocí `auctify_as: :seller`"
76
+ buyer:
77
+ not_auctified: "objekt Kupce nebyl Auctifikován pomocí `auctify_as: :buyer`"
78
+ item:
79
+ not_auctified: "objekt Předmětu nebyl Auctifikován pomocí `auctify_as: :item`"
80
+ already_on_sale_in_sales_pack: "předmět je již jednou nabízen v rámci Aukce `%{sale_pack_title}`"
81
+ offered_price:
82
+ required_for_published: "musí být vyplněna před publikováním"
83
+
84
+ auctify/sale/auction:
85
+ attributes:
86
+ ends_at:
87
+ no_modification_allowed_now: "Již není možné měnit čas konce aukce"
88
+ offered_price:
89
+ no_modification_allowed_now: "Již není možné měnit vyvolávací cenu"
90
+
91
+ buyer:
92
+ buyer_is_not_the_winner: "Kupec %{buyer} není výhercem aukce, tím je %{winner}"
93
+ there_is_a_buyer_for_not_sold_auction: "Aukci nelze označit za neprodanou, neboť má kupce (%{winner})"
94
+ sold_price:
95
+ sold_price_is_not_from_bidding: "Prodejní cena %{sold_price} neodpovídá výherní ceně z aukce %{won_price}"
96
+ you_cannot_delete_auction_with_bids: "Není možné mazat aukční položku, která má příhozy"
97
+ auctify/sales_pack:
98
+ attributes:
99
+ end_date:
100
+ smaller_than_start_date: "musí být později než začátek"
101
+ auctify/bid:
102
+ not_confirmed: "Příhoz je potřeba potvrdit"
103
+ attributes:
104
+ bidder:
105
+ you_cannot_overbid_yourself: "Není možné přehazovat své příhozy"
106
+ you_are_not_allowed_to_bid: "Nemáte povoleno dražit"
107
+ you_can_only_increase_your_max_price: "Svůj limit můžete pouze zvyšovat"
108
+ auction:
109
+ auction_is_not_accepting_bids_now: "je momentálně uzavřena pro přihazování"
110
+ bidder_is_not_registered_for_this_auction: "dražitel není registrován k této aukci"
111
+ price:
112
+ price_is_bellow_current: "je nižší než aktuální cena"
113
+ price_is_bellow_opening_price: "je nižší než vyvolávací cena"
114
+ price_is_bellow_minimal_bid: "je nižší než aktuální minimální příhoz %{minimal_bid}"
115
+ must_be_lower_or_equal_max_price: "musí být nižší nebo rovna maximálnímu limitu"
116
+ max_price:
117
+ price_is_bellow_minimal_bid: "je nižší než aktuální minimální příhoz %{minimal_bid}"
118
+ auctify/bidder_registration:
119
+ attributes:
120
+ auction:
121
+ auction_do_not_allow_new_registrations: "Aukce aktuálně nepovoluje nové registrace"