negos_app/app/views/public/needs/_accepted_offer.html.haml
2016-02-16 21:09:48 +01:00

18 lines
440 B
Plaintext
Executable File

-if(accepted_offer.devis_received?)
-class_name="success"
-else
-class_name="warning"
%tr{class: class_name}
%td
=link_to accepted_offer.offer.need.title, public_need_path(accepted_offer.offer.need)
%td
=number_to_currency(accepted_offer.offer.price, locale: :fr)
%td
=accepted_offer.offer.supplier
%td{style: 'text-align:center'}
=accepted_offer.human_state
%td{style: 'text-align:right'}