suite
This commit is contained in:
parent
2db8839a72
commit
4738749394
@ -123,19 +123,19 @@ Documents générés
|
||||
|
||||
%hr
|
||||
%hr
|
||||
|
||||
-#@product_order.generate_docs
|
||||
%table.table
|
||||
-@product_orders = ProductOrder.where(:completed_finish => true).order("created_at ASC").each do |po|
|
||||
-if false
|
||||
-#@product_order.generate_docs
|
||||
%table.table
|
||||
-@product_orders = ProductOrder.where(:completed_finish => true).order("created_at ASC").each do |po|
|
||||
|
||||
-if !po.reseaux
|
||||
-po.reseaux_id = 2
|
||||
-po.save
|
||||
-po.generate_docs
|
||||
%tr
|
||||
%td=po.reseaux.name if po.reseaux
|
||||
%td=link_to po.bl_number,[:admin,po]
|
||||
%td=po.product_order_documents[0].d_number if po.product_order_documents[0]
|
||||
-if !po.reseaux
|
||||
-po.reseaux_id = 2
|
||||
-po.save
|
||||
-po.generate_docs
|
||||
%tr
|
||||
%td=po.reseaux.name if po.reseaux
|
||||
%td=link_to po.bl_number,[:admin,po]
|
||||
%td=po.product_order_documents[0].d_number if po.product_order_documents[0]
|
||||
%br
|
||||
%br
|
||||
%br
|
||||
|
Loading…
x
Reference in New Issue
Block a user