mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-08 12:12:48 +01:00
Adjust promotions
This commit is contained in:
parent
0bc9c626b4
commit
8b40687ece
@ -194,7 +194,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…
Reference in New Issue
Block a user