mirror of
https://github.com/OpenXE-org/OpenXE.git
synced 2024-12-24 13:40:29 +01:00
Merge branch 'refs/heads/master' into cleanup
This commit is contained in:
commit
87c9feba1e
@ -7209,6 +7209,20 @@ title: 'Abschicken',
|
||||
$navarray['menu']['admin'][$menu]['sec'][] = array('Wiedervorlage','wiedervorlage','list');
|
||||
$navarray['menu']['admin'][$menu]['sec'][] = array('Wiki','wiki','list');
|
||||
$navarray['menu']['admin'][$menu]['sec'][] = array('Zeiterfassung','zeiterfassung','create');
|
||||
|
||||
foreach ($navarray['menu']['admin'] as $key => $menuitem) {
|
||||
usort($menuitem['sec'], function ($a, $b) {
|
||||
$a_val = $a[0];
|
||||
$b_val = $b[0];
|
||||
|
||||
if($a_val > $b_val) return 1;
|
||||
if($a_val < $b_val) return -1;
|
||||
return 0;
|
||||
});
|
||||
$navarray['menu']['admin'][$key] = $menuitem;
|
||||
}
|
||||
|
||||
// Always the last entry
|
||||
$navarray['menu']['admin'][$menu]['sec'][] = array('Abmelden','welcome','logout');
|
||||
|
||||
return $this->CalculateNavigation($navarray);
|
||||
|
@ -232,7 +232,7 @@ class RechnungPDF extends BriefpapierCustom {
|
||||
FROM lieferschein WHERE id='$lieferscheinid' LIMIT 1");
|
||||
|
||||
if($datumlieferschein=="00.00.0000") $datumlieferschein = $datum;
|
||||
if($lieferdatum=="00.00.0000") $lieferdatum = $datum;
|
||||
if($lieferdatum=="00.00.0000") $lieferdatum = "";
|
||||
if($mahnwesen_datum=="00.00.0000") $mahnwesen_datum = "";
|
||||
|
||||
$bearbeiteremail = $this->app->DB->Select("SELECT b.email FROM rechnung r LEFT JOIN adresse b ON b.id=r.bearbeiterid WHERE r.id='$id' LIMIT 1");
|
||||
|
@ -4008,7 +4008,8 @@ class Importvorlage extends GenImportvorlage {
|
||||
$feldnameohnepsrache = str_replace($sprachenSet,'',$feldnameohnepsrache);
|
||||
}
|
||||
|
||||
if(in_array($feldnameohnepsrache, $erlaubtefelder,false) && !in_array($sprachenSet,$zuImportierendeSprachen[$sprache],false)){
|
||||
$haystack = $zuImportierendeSprachen[$sprache]?$zuImportierendeSprachen[$sprache]:array();
|
||||
if(in_array($feldnameohnepsrache, $erlaubtefelder,false) && !in_array($sprachenSet,$haystack,false)){
|
||||
$zuImportierendeSprachen[$sprache][] = $sprachenSet;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user