mirror of
https://gitlab.com/t6353/sharee.bike.git
synced 2025-07-03 12:36:32 +02:00
cpdate_check and mailing
This commit is contained in:
parent
76afd28578
commit
697a29b97d
6 changed files with 23 additions and 16 deletions
|
@ -282,10 +282,12 @@ sub channel_map(){
|
|||
169 => "sigo connector",
|
||||
172 => "reserve timeout",
|
||||
#173 => "merchant fallback",#mig
|
||||
174 => "cronjob bonus",
|
||||
175 => "cronjob cpdate",
|
||||
176 => "Mein konrad App",#mig
|
||||
177 => "LastenradBay App",#mig
|
||||
179 => "cronjob",
|
||||
178 => "payone API",
|
||||
179 => "cronjob payone",
|
||||
#181 => "SMS API",
|
||||
#182 => "velofactur API",
|
||||
183 => "Ilockit API",
|
||||
|
@ -796,7 +798,9 @@ sub fetch_tablerecord(){
|
|||
if($key =~ /ct_name/ && $value =~ /CAST/){#CAST(c_id AS text)
|
||||
$where .= " and $key $op $value";
|
||||
}elsif($key =~ /^(ct_name$|txt\d+|uri\d+|state)$/ && $value){
|
||||
if($value eq "null"){
|
||||
if($value =~ /length\($key\)/){
|
||||
$where .= " and $value";
|
||||
}elsif($value eq "null"){
|
||||
$where .= " and $key $op $value";
|
||||
}elsif($op eq "IN"){
|
||||
$where .= " and $key $op $value";
|
||||
|
|
|
@ -485,7 +485,7 @@ sub handler {
|
|||
$update_adr->{ct_name} = $q->escapeHTML($R::pseudocardpan);
|
||||
$update_adr->{txt27} = $q->escapeHTML($R::status);
|
||||
$update_adr->{txt28} = $now_dt . " pseudocardpan\n" . $q->escapeHTML($payone_return);
|
||||
$update_adr->{int12} = 0;
|
||||
$update_adr->{int12} = 0 if($users_sharee->{int12} != 2);#Vde hard set by fibu
|
||||
$update_adr->{int03} = 2;
|
||||
$dbt->update_record($dbh,$update_adr,$users_sharee) if($users_sharee->{c_id} > 0);
|
||||
($api_return,$users_sharee) = $apif->auth_verify($q,$coo,"");
|
||||
|
@ -613,8 +613,8 @@ sub handler {
|
|||
|
||||
($api_return,$users_sharee) = $apif->auth_verify($q,"",$users_sharee->{c_id}) if($users_sharee->{c_id});
|
||||
|
||||
if($users_sharee->{int12} != 2 && $users_sharee->{int04} && $users_sharee->{int13}){
|
||||
#2023-01-17 disabled because of should only be set by payment check
|
||||
if($users_sharee->{int04} && $users_sharee->{int13}){
|
||||
#2023-01-17 disabled because of should only be set by pseudocardpan ajax
|
||||
#my $row = $db->updater("contentadr","c_id","$users_sharee->{c_id}","int12","0");#Vde
|
||||
$dbt->update_operatorsloop($varenv{dbname},$users_sharee->{c_id},"update");
|
||||
}else{
|
||||
|
|
|
@ -165,7 +165,7 @@ sub save_text2contenttrans {
|
|||
if($ctt->{c_id}){
|
||||
$u_rows += $dbt->update_record($dbh,$update_ctt,$ctt);
|
||||
#empty warn_time if warnstate not set
|
||||
if(!$R::int06 && $R::txt00 eq "Rechnung"){
|
||||
if(!$R::int06 || !$R::warn_time){
|
||||
$dbt->update_one($dbh,$update_ctt,"warn_time=null",$c_id);
|
||||
}
|
||||
if($R::txt22 && $R::txt22 eq "Zahlungseingang"){
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue