grou order edit show less infos

This commit is contained in:
Philipp Rothmann 2023-02-23 14:05:50 +01:00
parent d0147986d9
commit 7347bff156

View file

@ -31,11 +31,21 @@
.well .well
= render 'explanations' = render 'explanations'
.well.span9 .well.span9
%h2= t '.sub_title', order_name: @order.name %h2.span9= t '.sub_title', order_name: @order.name
%a(href='#tab1' data-toggle="collapse") .span3
=t '.details' %table.table-condensed
#tab1.collapse -if @order.ends
= render 'order_details' %tr
%td= heading_helper(Order, :ends) + ': '
%td= format_time(@order.ends)
- unless @order.stockit? or @order.supplier.min_order_quantity.blank?
%tr
%td= heading_helper(Supplier, :min_order_quantity)
%td= number_to_currency(@order.supplier.min_order_quantity)
%tr
%td= t('group_orders.form.sum_amount') + ':'
%td= number_to_currency(@order.sum)
%hr
.form-search.pull-right .form-search.pull-right
.input-append .input-append
= text_field_tag :article, params[:article], placeholder: t('.search_article'), class: 'search-query delayed-search resettable' = text_field_tag :article, params[:article], placeholder: t('.search_article'), class: 'search-query delayed-search resettable'