mirror of
https://gitlab.com/t6353/sharee.bike.git
synced 2025-02-22 19:56:29 +01:00
set_usertarif on existing user by Fcode
This commit is contained in:
parent
54c801bc6d
commit
9a036e363a
1 changed files with 2 additions and 1 deletions
|
@ -601,7 +601,8 @@ sub set_usertarif {
|
|||
$bonus_collect = $dbt->fetch_record($dbh_operator,$pref_cc) if(ref($bonus_collect->{1}) ne "HASH");
|
||||
#print FILE "Prelib bonus_collect:\n" . Dumper($bonus_collect) . "\n";
|
||||
foreach my $id (keys (%$bonus_collect)){
|
||||
print FILE "-1-> txt15: $adr_bonus->{txt15}\n" if($debug);
|
||||
print FILE "-1-> loop bonus_collect and find $bonus_collect->{$id}->{ct_name} = $adr_bonus->{txt15}\n|==>Take and insert Tarif $bonus_collect->{$id}->{int22}\n" if($debug);
|
||||
$tarif_hash{$bonus_collect->{$id}->{int22}} = 1;
|
||||
$i++;
|
||||
foreach my $sourcetarif (@{$adr_bonus->{txt30_array}}){
|
||||
print FILE "-1.2-> activeTarif:$sourcetarif | Bonus-source:$bonus_collect->{$id}->{int21} | Bonus-target:$bonus_collect->{$id}->{int22}\n" if($debug);
|
||||
|
|
Loading…
Add table
Reference in a new issue