Adjust promotions

This commit is contained in:
Hillel Coren 2017-11-28 22:37:19 +02:00
parent 0bc9c626b4
commit 8b40687ece

View File

@ -194,7 +194,7 @@ class Company extends Eloquent
public function applyDiscount($amount) public function applyDiscount($amount)
{ {
$this->discount = $amount; $this->discount = $amount;
$this->promo_expires = date_create()->modify('5 days')->format('Y-m-d'); $this->promo_expires = date_create()->modify('3 days')->format('Y-m-d');
} }
public function applyFreeYear() public function applyFreeYear()