mirror of
https://github.com/OpenXE-org/OpenXE.git
synced 2024-12-25 06:00:28 +01:00
auftrag added filter not sent
This commit is contained in:
parent
697f10cc68
commit
5964974458
@ -81,8 +81,9 @@ class Auftrag extends GenAuftrag
|
||||
$this->app->Tpl->Add('JQUERYREADY', "$('#autoversandok').click( function() { fnFilterColumn15( 0 ); } );");
|
||||
$this->app->Tpl->Add('JQUERYREADY', "$('#fastlanea').click( function() { fnFilterColumn16( 0 ); } );");
|
||||
$this->app->Tpl->Add('JQUERYREADY', "$('#tolate').click( function() { fnFilterColumn17( 0 ); } );");
|
||||
$this->app->Tpl->Add('JQUERYREADY', "$('#notsent').click( function() { fnFilterColumn18( 0 ); } );");
|
||||
// $this->app->Tpl->Add('JQUERYREADY',"$('#artikellager').click( function() { oTable".$name.".fnDraw(); } );");
|
||||
for ($r = 1;$r < 18;$r++) {
|
||||
for ($r = 1;$r < 19;$r++) {
|
||||
$this->app->Tpl->Add('JAVASCRIPT', '
|
||||
function fnFilterColumn' . $r . ' ( i )
|
||||
{
|
||||
@ -431,7 +432,10 @@ class Auftrag extends GenAuftrag
|
||||
)";
|
||||
}
|
||||
|
||||
|
||||
$notsent = $this->app->Secure->GetGET("more_data18");
|
||||
if ($notsent == 1) {
|
||||
$subwhere[] = "(a.versendet <> 1)";
|
||||
}
|
||||
|
||||
$tmp = '';
|
||||
if(!empty($subwhere)) {
|
||||
|
@ -35,6 +35,7 @@ document.onkeydown = function(evt) {
|
||||
<li class="filter-item"><input type="checkbox" id="autoversandok"><label for="autoversandok">{|Auto-Versand OK|}</label></li>
|
||||
<li class="filter-item"><input type="checkbox" id="fastlanea"><label for="fastlanea">{|Fast-Lane|}</label></li>
|
||||
<li class="filter-item"><input type="checkbox" id="tolate"><label for="tolate">{|Lieferdatum überfällig|}</label></li>
|
||||
<li class="filter-item"><input type="checkbox" id="notsent"><label for="notsent">{|Nicht versendet|}</label></li>
|
||||
[HOOK_FILTER_1]
|
||||
</ul>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user