diff --git a/app/controllers/PaymentController.php b/app/controllers/PaymentController.php index fb4d175976..b92892b4a4 100755 --- a/app/controllers/PaymentController.php +++ b/app/controllers/PaymentController.php @@ -417,7 +417,6 @@ class PaymentController extends \BaseController $license->affiliate_id = Session::get('affiliate_id'); $license->save(); - $data = [ 'license' => $licenseKey, 'hideHeader' => true diff --git a/app/models/Activity.php b/app/models/Activity.php index 30edee0c0e..f177e9dada 100755 --- a/app/models/Activity.php +++ b/app/models/Activity.php @@ -140,11 +140,6 @@ class Activity extends Eloquent public static function archiveInvoice($invoice) { - if ($invoice->invoice_status_id < INVOICE_STATUS_SENT) - { - return; - } - if (!$invoice->is_deleted) { $activity = Activity::getBlank(); diff --git a/app/routes.php b/app/routes.php index e5685f90fb..df96bf68a2 100755 --- a/app/routes.php +++ b/app/routes.php @@ -234,7 +234,7 @@ define('NINJA_URL', 'https://www.invoiceninja.com'); define('NINJA_VERSION', '1.3.1'); define('PRO_PLAN_PRICE', 50); -define('LICENSE_PRICE', 30); +define('LICENSE_PRICE', 30.00); /* define('GATEWAY_AMAZON', 30);