From 8b40687ece398430f7e6728a8d5320d2465c51d2 Mon Sep 17 00:00:00 2001 From: Hillel Coren Date: Tue, 28 Nov 2017 22:37:19 +0200 Subject: [PATCH] Adjust promotions --- app/Models/Company.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Models/Company.php b/app/Models/Company.php index 5d1f6f70a6..180b9ec615 100644 --- a/app/Models/Company.php +++ b/app/Models/Company.php @@ -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()