Sha256: d8fbb2229136c23ad9cabb0bdd364470ceb386990c1df8e44288ff349f7353f8

Contents?: true

Size: 790 Bytes

Versions: 1

Compression:

Stored size: 790 Bytes

Contents

= step_order(0)
.clear

- unless current_cart.cart_items.empty?
  .grid_24.cart_content
    %table#cart_table
      %thead
        %tr
          %th{ :colspan => 2 } Produit
          %th Quantité
          %th Prix unitaire
          %th Réduction
          %th Prix total
      %tbody#tbody
        = render :partial => 'tbody'
  
  .grid_24#total
    .grid_9.prefix_1
      = display_voucher
      #voucher_message
        - if current_cart.voucher
          - voucher = VoucherRule.find_by_id(current_cart.voucher)
          %span= "Code validé ! #{voucher.name}" unless voucher.nil?
      #free_products
        = render :partial => 'free_products'
    .grid_10.prefix_3.omega#cart_total
      = render :partial => 'total'

- else
  Il n'y a pas de produit dans votre panier

.clear

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
forgeos_commerce_front-1.9.0 app/views/cart/index.html.haml