Sha256: 55c6c5500e59b98a5c8179aa9a485c3a0e0f842069ca45d10eb60e104a28d0de
Contents?: true
Size: 1.95 KB
Versions: 2
Compression:
Stored size: 1.95 KB
Contents
%ul.kv - unless order.parent.nil? %li %h6.key Parent order .value=link_to order.parent.id, order_path(order.parent) %li %h6.key Ordered by .value=link_to_person person %li %h6.key Date .value #{(l order.created_at_local_to_organization) unless order.created_at.nil?} %li %h6.key Amount .value #{number_as_cents(total)} - if order.nongift_amount > 0 %li %h6.key Non-deductible .value #{number_as_cents(order.nongift_amount)} %li %h6.key Payment method .value=(order.payment_method || "") %li %h6.key Order location .value=(order.location || "") - if !order.fa_id.nil? %li %h6.key FA ID .value=order.fa_id %li %h6.key Details .value #{order.details} %li %h6.key-full Special Instructions %li .value #{order.special_instructions} %li - if order.parent.nil? && !person.dummy? %h6.key-full Actions =icon_link_to("Resend Receipt", "#receipt", 'icon-envelope', 'btn', '', {'data-toggle' => 'modal'}) #receipt.modal -if order.is_fafs? .modal-body %p Artful.ly cannot resend a receipt because this donation was made through Fractured Atlas. We'll have this feature in place soon! .modal-footer =link_to "OK", "#", :class => "btn", 'data-dismiss'=>'modal' -elsif person.email.blank? .modal-body %p Artful.ly cannot email a receipt because we do not have an email address on file for this person. %p =link_to "Update the person record", person_path(@person) to add an email, then try again. .modal-footer =link_to "OK", "#", :class => "btn", 'data-dismiss'=>'modal' -else .modal-body Click "Resend Receipt" to email a duplicate receipt to %strong="#{person.email}" .modal-footer =link_to "Resend Receipt", resend_order_path(order), :class => "btn btn-success" =link_to "Cancel", "#", :class => "btn btn-danger", 'data-dismiss'=>'modal'
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
artfully_ose-1.0.0.rc4 | app/views/orders/_order_sidebar.html.haml |
artfully_ose-1.0.0.rc3 | app/views/orders/_order_sidebar.html.haml |