service new_task and style conf refactoring

This commit is contained in:
ragu 2023-01-05 18:11:24 +01:00
parent 14d1891695
commit 8607a42e34
18 changed files with 54 additions and 92 deletions

View file

@ -41,38 +41,18 @@ sub envonline(){
mandant => $globalconf{shareedms_conf}->{parent_node},
start => $globalconf{shareedms_conf}->{start},
profile => $globalconf{shareedms_conf}->{profile},
superu_id => $globalconf{copri_conf}->{superu_id},
debug => $globalconf{copri_conf}->{debug},
logdir => $globalconf{copri_conf}->{logdir},
live_hostname => $globalconf{$server_type}{$server_key}->{live_hostname},
metahost=>"$metahost",
orga => "dms",
term_active_color => "#$globalconf{shareedms_conf}->{term_active_color}",
background_image => "",
background_size => "cover",
background_color => "#5c5c5c",
background_color2 => "#a7a18f",
background_align => "center",
background_repeat => "no-repeat",
font_family => "Arial",
font_size => "100.01%",
line_height => "1",
basedir => "$basedir",
csv => "$basedir/csv",
pdf => "$basedir/pdf",
data => "$basedir/data",
xmlfile => "$basedir/xml",
Anrede => "Anrede,Frau,Herr,Firma",
Einheit => "Stück,Paar,Satz,Meter,Liter",
map_activ => "",
min_width => "1100",
head_logo => "$metahost/img/sharee_bike_Logo.jpg",
barcode => "",
limit => "200",
Zahlungsweise => "SEPA-Lastschrift (payone)|Kreditkarte (payone)|Zahlungseingang (payone txid)|Abbuchung|Bar|EC-Karte|Überweisung|Zahlungsausfall",
order_state => "|angerufen|eMail gesendet|in Arbeit|an FiBu delegiert|txid renewed|cronjob fail|payone Mahnung|COPRI Mahnung",
'Ziel Datei' => "privacy.html|agb.html|impress.html|tariff_info.html|bike_info.html",
printer => "PDF"
);
return %varenv;

View file

@ -69,7 +69,7 @@ sub tpl(){
if($users_dms->{u_id}){
###header start
print "<div style='position:fixed;z-index:10;left:0px;width:100%;height:24px;background-color:$varenv->{background_color};'>\n";
print "<div style='position:fixed;z-index:10;left:0px;width:100%;height:24px;background-color:#5c5c5c;'>\n";
print "<div style='position:fixed;z-index:10;right:0px;'>\n";
#cleanup