- key_2_label = mynumber.employee? ? :employee : :business_partner1
.panel.panel-default
.panel-heading= t(".form_info",key_1: mynumber.key_1_i18n_from_cns)
.panel-body
.row.form-horizontal
.col-md-6
= f.input :key_2,label_html: {class: "col-md-4"},input_wrapper_div_html: {class: ["col-md-8"]},label: Mynumber.human_attribute_name(key_2_label),input_html: {class: "ime-inactive"}
= f.input :mynumber,label_html: {class: "col-md-4"},input_html: {value: mynumber.mynumber,class: ["ime-disable"]},input_wrapper_div_html: {class: "col-md-8"}
= f.input :getdate,label_html: {class: "col-md-4"},as: :string,input_html: {class: "datepicker"},input_wrapper_div_html: {class: "col-md-8"}
- if !mynumber.new_record?
= f.input :will_delete_date,label_html: {class: "col-md-4"},as: :string,input_html: {class: "datepicker"},input_wrapper_div_html: {class: "col-md-8"}
.col-md-6
= f.input :checkway,label_html: {class: "col-md-4"},collection: Checkway.mynumber_input_collection(mynumber),input_wrapper_div_html: {class: "col-md-8"}
= f.input :nc_media,label_html: {class: "col-md-4"},collection: NumbercationMedium.mynumber_input_collection(mynumber),input_wrapper_div_html: {class: "col-md-8"}
= f.input :ic_media,label_html: {class: "col-md-4"},collection: IdentificationMedium.mynumber_input_collection(mynumber),input_wrapper_div_html: {class: "col-md-8"}
- if TenantSetting.use_authority
.row.form-horizontal
.col-md-6
= f.input :organization,organization_input_options(label_html: {class: "col-md-4"},input_wrapper_div_html: {class: "col-md-8"})
.col-md-6
= f.input :unit,unit_input_options(label_html: {class: "col-md-4"},input_wrapper_div_html: {class: "col-md-8"})
.row.form-horizontal
.col-md-12
= f.input :remarks,label_html: {class: "col-md-2"},input_wrapper_div_html: {class: "col-md-10"}