Add tags interface for a producer only order cycle

Add tags for first (and unique) outgoing exchange for a simple OC

Order Cycle can have tags
This commit is contained in:
Jean-Baptiste Bellet
2022-06-27 12:22:30 +02:00
parent 79bf8f0053
commit 6f303a5244
2 changed files with 5 additions and 0 deletions

View File

@@ -19,6 +19,10 @@
%tr.products
%td{ ng: { include: "'admin/panels/exchange_products_simple.html'" } }
%br
= label_tag t('.tags')
%tags-with-translation{ object: 'order_cycle.outgoing_exchanges[0]', form: 'order_cycle_form' }
%br/
= label_tag t('.fees')
= render 'coordinator_fees', f: f

View File

@@ -1218,6 +1218,7 @@ en:
customer_instructions_placeholder: Pick-up or delivery notes
products: Products
fees: Fees
tags: Tags
destroy_errors:
orders_present: That order cycle has been selected by a customer and cannot be deleted. To prevent customers from accessing it, please close it instead.
schedule_present: That order cycle is linked to a schedule and cannot be deleted. Please unlink or delete the schedule first.