@@ -110,6 +110,7 @@ class PreSalesController < ApplicationController
#cuando la venta es a credito checar que el credito permita esta nueva venta
if has_enough_stock?(@pre_sale)
+ @is_new = true if @pre_sale.quantity == 1
case @pre_sale.sale_type
when "credit" then