Version 5.0.0 beta 9
This commit is contained in:
1 parent
214f649f1d
commit
56979f8ee8
202 files changed
+4403
-1123
No files matched your search
@@ -2622,6 +2622,11 @@ class Package extends Model
|
||||
return (string) $form;
|
||||
|
||||
case 'reactivate':
|
||||
if( !$purchase->cancelled OR ( $purchase->cancelled AND !$purchase->can_reactivate ) )
|
||||
{
|
||||
\IPS\Output::i()->error( 'package_cannot_reactivate_error', '2S437/1', 403, '' );
|
||||
}
|
||||
|
||||
$currency = $purchase->original_invoice->currency;
|
||||
$renewalOptions = json_decode( $this->renew_options, TRUE );
|
||||
$noOptions = count( $renewalOptions ) === 1;
|
||||
|
||||
Reference in new issue
Block a user