mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Tracking activity when invoice is archived
This commit is contained in:
parent
77289e270e
commit
8a56575eda
@ -417,7 +417,6 @@ class PaymentController extends \BaseController
|
|||||||
$license->affiliate_id = Session::get('affiliate_id');
|
$license->affiliate_id = Session::get('affiliate_id');
|
||||||
$license->save();
|
$license->save();
|
||||||
|
|
||||||
|
|
||||||
$data = [
|
$data = [
|
||||||
'license' => $licenseKey,
|
'license' => $licenseKey,
|
||||||
'hideHeader' => true
|
'hideHeader' => true
|
||||||
|
@ -140,11 +140,6 @@ class Activity extends Eloquent
|
|||||||
|
|
||||||
public static function archiveInvoice($invoice)
|
public static function archiveInvoice($invoice)
|
||||||
{
|
{
|
||||||
if ($invoice->invoice_status_id < INVOICE_STATUS_SENT)
|
|
||||||
{
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (!$invoice->is_deleted)
|
if (!$invoice->is_deleted)
|
||||||
{
|
{
|
||||||
$activity = Activity::getBlank();
|
$activity = Activity::getBlank();
|
||||||
|
@ -234,7 +234,7 @@ define('NINJA_URL', 'https://www.invoiceninja.com');
|
|||||||
define('NINJA_VERSION', '1.3.1');
|
define('NINJA_VERSION', '1.3.1');
|
||||||
|
|
||||||
define('PRO_PLAN_PRICE', 50);
|
define('PRO_PLAN_PRICE', 50);
|
||||||
define('LICENSE_PRICE', 30);
|
define('LICENSE_PRICE', 30.00);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
define('GATEWAY_AMAZON', 30);
|
define('GATEWAY_AMAZON', 30);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user