Remove status input
This commit is contained in:
parent
b36b1d46a1
commit
95b7829927
@ -256,7 +256,7 @@ class PCustomerSheet < ApplicationRecord
|
|||||||
|
|
||||||
|
|
||||||
after_create do
|
after_create do
|
||||||
#self.state = "brouillon" if self.state != "Panier web"
|
self.state = "brouillon" if self.state != "Panier web"
|
||||||
self.save
|
self.save
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -1,14 +1,7 @@
|
|||||||
=semantic_form_for [:admin, @p_customer_sheet], :html => {:class => "qi_price_form"}, :remote => false do |form|
|
=semantic_form_for [:admin, @p_customer_sheet], :html => {:class => "qi_price_form"}, :remote => false do |form|
|
||||||
|
|
||||||
.content
|
.content
|
||||||
.qi_row
|
|
||||||
.qi_pannel.qi_plain.padding
|
|
||||||
-if @p_customer_sheet and @p_customer_sheet.state != "commande"
|
|
||||||
=#form.input :demande_type, :collection => ["Brouillon", "Demande de bon de commande","Demande de devis"], :as => :select, :include_blank => false, :label => "Type de demande :"
|
|
||||||
|
|
||||||
=form.input :state, :collection => ["AV BPA", "PAS BPA","BPA", "Traitée"], :as => :select, :include_blank => false, :label => "Statut :"
|
|
||||||
|
|
||||||
=form.input :past_id, :label => "N° système actuel"
|
|
||||||
|
|
||||||
.price_line_block_form
|
.price_line_block_form
|
||||||
=form.semantic_fields_for :price_line_block do |f|
|
=form.semantic_fields_for :price_line_block do |f|
|
||||||
|
Reference in New Issue
Block a user