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

@ -45,30 +45,16 @@ sub envonline(){
accounting_1_5 => $globalconf{shareeapp_conf}->{accounting_1_5},
accounting_2 => $globalconf{shareeapp_conf}->{accounting_2},
accounting_3 => $globalconf{shareeapp_conf}->{accounting_3},
superu_id => $globalconf{copri_conf}->{superu_id},
debug => $globalconf{copri_conf}->{debug},
logdir => $globalconf{copri_conf}->{logdir},
live_hostname => $globalconf{primary}{sharee_primary}->{live_hostname},
metahost=>"$metahost",
orga => "",
style_font => "$metahost/img/OfficinaSansITCStd-Book.otf",
font_family => "OfficinaSansITCStd-Book,Arial",
background_image => "",
background_size => "cover",
background_color => "white",
background_color2 => "#c7c8ca",
background_align => "center",
background_repeat => "no-repeat",
font_size => "100.01%",
line_height => "1",
basedir => "$basedir",
basedir => "$basedir",
pdf => "$basedir/pdf",
pdfinvoice => "$basedir/pdfinvoice",
data => "$basedir/data",
xmlfile => "$basedir/xml",
head_logo => "",
barcode => "",
printer => "PDF"
);
return %varenv;