Adding bike move methode

This commit is contained in:
ragu 2023-06-14 21:48:20 +02:00
parent 7736fee89d
commit 0857601751
8 changed files with 98 additions and 319 deletions

View file

@ -1475,6 +1475,7 @@ sub booking_update(){
}
my $co2saving = "";
$booking->{int26} = 10 if(!$booking->{int26} && ($auth->{c_id} == 5781 || $auth->{c_id} == 38883));#10 km test
if($booking->{int26}){
$co2saving = "Einsparung: ";
my $co2diff = $pri->co2calc($booking);
@ -1738,6 +1739,7 @@ sub rental_to_feedback{
$show_dialog->{user_miniquery} = $dbt->evaluationsfragen($dbh);
}
$show_dialog->{co2saving} = "";
$ctpos->{int26} = 10 if(!$ctpos->{int26} && ($auth->{c_id} == 5781 || $auth->{c_id} == 38883));#10 km test
if($ctpos->{int26}){
my $co2saving = "Einsparung: ";
my $co2diff = $pri->co2calc($ctpos);