mirror of
https://github.com/OpenXE-org/OpenXE.git
synced 2024-11-14 20:17:14 +01:00
Compare commits
2 Commits
a358125eae
...
fe75b1b716
Author | SHA1 | Date | |
---|---|---|---|
|
fe75b1b716 | ||
|
fec1e628f3 |
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user