Homeparty online, Cron SEPA

This commit is contained in:
Kevin Adametz 2021-04-23 14:54:09 +02:00
parent 13fb2cfe98
commit 36872100c6
41 changed files with 1140 additions and 189 deletions

View file

@ -165,6 +165,19 @@ class Util
return false;
}
public static function checkUserLandIsNot($user){
if(isset($user->account->country_id)){
//ch schweiz is out
if($user->account->country_id === 6){
return false;
}
return true;
}
return false;
}
public static function getMyMivitaUrl($protocol = true){
$pro = $protocol ? config('app.protocol') : "";
return $pro.config('app.pre_url_crm').config('app.domain').config('app.tld_care');