render_renewals_tab( $tab, $costs_data );
}
?>
renewal_type ) {
continue;
}
$next_renewal = Cost_Tracker_Admin::get_next_renewal( $cost->last_renewal, $cost->renewal_type );
if ( $next_renewal > $upcoming1 && $next_renewal <= $upcoming2 ) {
$list[] = $cost;
}
}
}
}
return $list;
}
/**
* Render upcoming renewals tabs.
*
* @param string $tab Tab.
* @param array $cost_data Cost data.
*/
public static function render_renewals_tab( $tab, $cost_data ) {
$lists = static::get_costs_widgets_data( $tab, $cost_data );
?>
|
|
|
last_renewal, $item->renewal_type );
?>
| name ); ?> |
|
price ); ?> |