mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
commit
9a4371a2eb
@ -52,8 +52,7 @@ class PostUpdate extends Command
|
|||||||
|
|
||||||
nlog("finished migrating");
|
nlog("finished migrating");
|
||||||
|
|
||||||
exec('vendor/bin/composer install --no-dev');
|
exec('vendor/bin/composer install --no-dev -o');
|
||||||
exec('vendor/bin/composer dump');
|
|
||||||
|
|
||||||
nlog("finished running composer install ");
|
nlog("finished running composer install ");
|
||||||
|
|
||||||
|
@ -263,5 +263,19 @@ class SubscriptionService
|
|||||||
//scan for any notification we are required to send
|
//scan for any notification we are required to send
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function products()
|
||||||
|
{
|
||||||
|
return Product::whereIn('id', explode(",", $this->subscription->product_ids))->get();
|
||||||
|
}
|
||||||
|
|
||||||
|
public function recurring_products()
|
||||||
|
{
|
||||||
|
return Product::whereIn('id', explode(",", $this->subscription->recurring_product_ids))->get();
|
||||||
|
}
|
||||||
|
|
||||||
|
public function price()
|
||||||
|
{
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user