mirror of
https://gitlab.com/t6353/sharee.bike.git
synced 2025-05-13 23:26:29 +02:00
Adding bike move methode
This commit is contained in:
parent
7736fee89d
commit
0857601751
8 changed files with 98 additions and 319 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue