search for each status of reception

This commit is contained in:
Uwe Steinmann 2016-09-28 21:29:36 +02:00
parent 1989657c9a
commit 94c3ba51d1

View File

@ -140,7 +140,7 @@ $(document).ready( function() {
$previewwidth = $this->params['previewWidthList']; $previewwidth = $this->params['previewWidthList'];
$previewconverters = $this->params['previewconverters']; $previewconverters = $this->params['previewconverters'];
$timeout = $this->params['timeout']; $timeout = $this->params['timeout'];
$missingreception = $this->params['missingreception']; $reception = $this->params['reception'];
if(count($entries) == 1) { if(count($entries) == 1) {
$entry = $entries[0]; $entry = $entries[0];
@ -297,6 +297,8 @@ $(document).ready( function() {
$openfilterdlg = true; $openfilterdlg = true;
if($expirationdate) if($expirationdate)
$openfilterdlg = true; $openfilterdlg = true;
if($reception)
$openfilterdlg = true;
?> ?>
<?php if($totaldocs): ?> <?php if($totaldocs): ?>
<div class="accordion" id="accordion1"> <div class="accordion" id="accordion1">
@ -306,7 +308,7 @@ $(document).ready( function() {
<?php printMLText('export'); ?> <?php printMLText('export'); ?>
</a> </a>
</div> </div>
<div id="collapseFolder" class="accordion-body <?php if(!$openfilterdlg) echo "collapse";?>" style="_height: 0px;"> <div id="collapseFolder" class="accordion-body">
<div class="accordion-inner"> <div class="accordion-inner">
<table class="table-condensed"> <table class="table-condensed">
<tr> <tr>
@ -328,7 +330,7 @@ $(document).ready( function() {
<?php printMLText('filter_for_documents'); ?> <?php printMLText('filter_for_documents'); ?>
</a> </a>
</div> </div>
<div id="collapseOne" class="accordion-body <?php if(!$openfilterdlg) echo "collapse";?>" style="_height: 0px;"> <div id="collapseOne" class="accordion-body <?php if(!$openfilterdlg) echo "collapse";?>">
<div class="accordion-inner"> <div class="accordion-inner">
<table class="table-condensed"> <table class="table-condensed">
<tr> <tr>
@ -368,9 +370,11 @@ $(document).ready( function() {
</td> </td>
</tr> </tr>
<tr> <tr>
<td><?php printMLText("missing_reception");?>:</td> <td><?php printMLText("reception");?>:</td>
<td> <td>
<label class="checkbox" for='missingreception'><input type="checkbox" id="missingreception" name="missingreception" value="1" <?php echo $missingreception ? "checked" : ""; ?>></label> <label class="checkbox" for='reception'><input type="checkbox" id="reception" name="reception[]" value="0" <?php echo in_array(0, $reception) ? "checked" : ""; ?>><?php printMLText('reception_noaction'); ?></label>
<label class="checkbox" for='reception'><input type="checkbox" id="reception" name="reception[]" value="-1" <?php echo in_array(-1, $reception) ? "checked" : ""; ?>><?php printMLText('reception_rejected'); ?></label>
<label class="checkbox" for='reception'><input type="checkbox" id="reception" name="reception[]" value="1" <?php echo in_array(1, $reception) ? "checked" : ""; ?>><?php printMLText('reception_acknowleged'); ?></label>
</td> </td>
</tr> </tr>
<tr> <tr>
@ -433,7 +437,7 @@ $(document).ready( function() {
<?php printMLText('filter_for_folders'); ?> <?php printMLText('filter_for_folders'); ?>
</a> </a>
</div> </div>
<div id="collapseFolder" class="accordion-body <?php if(!$openfilterdlg) echo "collapse";?>" style="_height: 0px;"> <div id="collapseFolder" class="accordion-body <?php if(!$openfilterdlg) echo "collapse";?>">
<div class="accordion-inner"> <div class="accordion-inner">
<table class="table-condensed"> <table class="table-condensed">
<?php <?php