suite
This commit is contained in:
parent
b37a0a2080
commit
d1a79521b1
@ -97,7 +97,7 @@
|
||||
-if @p_customer_sheet.acompte_percent?
|
||||
%p=link_to "Générer la facture d'acompte", generate_fa_admin_p_customer_sheet_path(@p_customer_sheet), :class => "btn btn-primary"
|
||||
|
||||
-elsif @p_customer_sheet.state == "commande" and @p_customer_sheet.p_sheet_lines.joins(:p_product).where("bl = 0 and (p_products.p_product_cat_id != 6 OR (p_products.p_product_cat_id = 6 and externe = 1))").count > 0
|
||||
-elsif @p_customer_sheet.state == "commande" and @p_customer_sheet.p_sheet_lines.joins(:p_product).where("bl = 0").count > 0
|
||||
%p=link_to "Générer le bon de livraison", generate_bl_admin_p_customer_sheet_path(@p_customer_sheet), :class => "btn btn-primary"
|
||||
|
||||
-if @p_customer_sheet.acompte_percent?
|
||||
|
Loading…
x
Reference in New Issue
Block a user