[+] Project : adding Features detachables in order to improve performance

// clean code
This commit is contained in:
aFolletete committed 2011-09-03 17:21:32 +00:00
1 parent a4491c9897
commit 230bebc7c7
51 files changed
+1081 -419

No files matched your search

+1 -1
View File
@@ -456,7 +456,7 @@ class Followup extends Module
private function createDiscount($id_email_type, $amount, $id_customer, $dateValidity, $description)
{
$discount = new Discount();
$discount->id_discount_type = 1;
$discount->id_discount_type = Discount::PERCENT;
$discount->value = (float)($amount);
$discount->id_customer = (int)($id_customer);
$discount->date_to = $dateValidity;