|
@@ -18,8 +18,7 @@ use Illuminate\Database\Capsule\Manager as Capsule;
|
|
|
|
|
|
|
|
function current_billingcycle_hook($vars)
|
|
function current_billingcycle_hook($vars)
|
|
|
{
|
|
{
|
|
|
- if ($vars['templatefile']=='upgrade'){
|
|
|
|
|
-
|
|
|
|
|
|
|
+ if ($vars['templatefile']=='upgrade' || $vars['templatefile']=='upgradesummary'){
|
|
|
$id = $vars['id'];
|
|
$id = $vars['id'];
|
|
|
$billingcycle = Capsule::table('tblhosting')
|
|
$billingcycle = Capsule::table('tblhosting')
|
|
|
->where('id',$id)
|
|
->where('id',$id)
|