Parcourir la source

Merge branch 'chemi_branch' of SML/pos-boutique into master

Jose Miguel Ledon il y a 6 ans
Parent
commit
8fd0cbe24b
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. 1 0
      app/datatables/stock_by_pointsale_datatable.rb

+ 1 - 0
app/datatables/stock_by_pointsale_datatable.rb

@@ -49,6 +49,7 @@ class StockByPointsaleDatatable
 
   def get_display_name(product)
     name = "<label style='margin-bottom:0px'><strong>#{product.name}</strong></label> <br>"
+    name += "#{product.description}<br>"
     name += "#{product.display_attributes} <br>" if product.display_attributes.present?
     name += "SKU: #{product.sku}"
     name += "<br> <i class='fa fa-barcode'></i>: #{product.barcode}" if product.barcode.present?