Adjust promotions
This commit is contained in:
parent
710b6fe458
commit
d936d48641
1 changed files with 1 additions and 1 deletions
|
|
@ -189,7 +189,7 @@ class Company extends Eloquent
|
|||
public function applyDiscount($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()
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue