19 lines
657 B
Plaintext
Executable File
19 lines
657 B
Plaintext
Executable File
|
|
%tr{:id => wish.id}
|
|
%td
|
|
=link_to wish.customer.organisation, edit_admin_customer_path(wish.customer)
|
|
%td
|
|
=wish.created_at
|
|
%td
|
|
-if wish.devis?
|
|
= link_to ic(:download) + " Télécharger sa proposition", download_devis_admin_need_wish_path(wish.need, wish), class:"btn btn-primary btn-sm"
|
|
-else
|
|
Aucune proposition attachée
|
|
%td
|
|
-if wish.note?
|
|
=wish.note
|
|
-else
|
|
Aucune note
|
|
%td.actions{:style => "width:150px;text-align:right"}
|
|
= link_to i(:"remove"), [:admin, @need, wish], :data => {:confirm => "Voulez-vous vraiment supprimer l'intérêt de cet utilisateur pour ce besoin ?"}, :method => :delete
|