Adding user-feedback mailing to hotline. freed-rental check on booking-request

This commit is contained in:
ragu 2024-06-12 19:32:36 +02:00
parent 000acb8e35
commit b9b63c63e5
4 changed files with 44 additions and 24 deletions

View file

@ -831,7 +831,7 @@ elsif($q->param('request') eq "user_feedback" || $q->param('request') eq "user_m
#if(!$back_id)#disabled because of every feedback have to be saved
if(1==1){
#INSERT just dadaset
$back_id = $apif->service_insert($q,$authraw,$node_template,$crecord,$aowner);
$back_id = $apif->service_insert($q,\%varenv,$authraw,$node_template,$crecord,$aowner);
$rows = $apif->service_update($q,$authraw,$node_template,$back_id);
if($rows && $rows > 0){
$response->{response_state} = "OK, feedback insert and update";
@ -893,7 +893,7 @@ elsif($q->param('request') eq "service_done"){
if(!$service_id){
#INSERT just dadaset (without work values)
($response->{service_id}) = $apif->service_insert($q,$authraw,$node_template,$crecord);
($response->{service_id}) = $apif->service_insert($q,\%varenv,$authraw,$node_template,$crecord);
$bw->log("service insert ",$response,"");
#once again to get node_record template