[+] Project : adding Features detachables in order to improve performance
// clean code git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@8328 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
1 parent
adb185cdf9
commit
3eff951265
51 files changed
+1081
-419
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user