This repository has been archived on 2021-11-24. You can view files and clone it, but cannot push or open issues or pull requests.
phone_app/app/views/admin/tva_rates/_form.html.haml

18 lines
767 B
Plaintext

=semantic_form_for [:admin, @tva_rate], :remote => true do |f|
.content
=f.inputs do
= f.input :enabled, :label => "Actif ?"
= f.input :name, :label => "Nom :"
= f.input :description, :label => "Description :"
= f.input :accounting_zone_id, :label => "Zone :", :collection => AccountingZone.all, :as => :select, :include_blank => false
= f.input :rate, :label => "Taux :"
= f.input :purchase_account, :label => "Compte achat :"
= f.input :sale_account, :label => "Compte vente :"
= f.input :sale_product_account, :label => "Compte vente (produits) :"
=render :partial => "qi/actions", :locals => {:f => f}
/.actions=f.submit "sauvegarder", :class => "btn btn-primary"