BPA states

This commit is contained in:
Barnabé 2021-09-30 13:08:15 +02:00
parent 69efd1df5a
commit dba61c6baf

View File

@ -8,7 +8,7 @@ class Admin::BuyListsController < ApplicationController
@p_customer_sheets = PCustomerSheet.all
@p_customer_sheets = @p_customer_sheets.where(:state => ["brouillon", "offre", "commande"])
@p_customer_sheets = @p_customer_sheets.where(:state => ["BPA", "AV BPA", "PAS BPA"])
@price_line_blocks = PriceLineBlock.where(:price_lineable_type => "PCustomerSheet", :price_lineable_id => @p_customer_sheets.ids)