X-Git-Url: http://git.hcoop.net/clinton/MarylandElectronicPetitionSignature.git/blobdiff_plain/7b3ddaef13d5c37b82c4378b8b897a2246870de9..ca7db7a4132c16eba81d338f15f4a8607ec8e31c:/admin/report.php diff --git a/admin/report.php b/admin/report.php index ae01691..527b1c3 100644 --- a/admin/report.php +++ b/admin/report.php @@ -111,7 +111,7 @@ while($d = mysqli_fetch_array($r)){ dataPoints: [ ] - },{ + },{ type: "line", visible: true, showInLegend: true, @@ -163,7 +163,7 @@ while($d = mysqli_fetch_array($r)){ } $r = $petition->query($q); while($d = mysqli_fetch_array($r)){ - echo "
$d[petition_name] - Unprinted + echo "
$d[petition_name] - Unprinted Check All Uncheck All "; @@ -171,7 +171,47 @@ while($d = mysqli_fetch_array($r)){ unset($hide); $hide = array(); $pID = $d['petition_id']; - $q2="SELECT * FROM signatures where petition_id = '$pID' and printed_status = '' and signature_status <> 'deleted' order by signature_status, id desc"; + $q2="SELECT * FROM signatures where petition_id = '$pID' and printed_status = '' and signature_status = 'verified' order by signature_status, id desc"; + $r2 = $petition->query($q2); + while($d2 = mysqli_fetch_array($r2)){ + if ($d2['signature_status'] == 'verified'){ + $id = $d2['id']; + echo " + $d2[ip_address]$d2[date_time_signed]$d2[signed_name_as]$d2[signed_name_as_circulator]$d2[contact_phone]$d2[signature_status]-Flag for Review$d2[printed_status]"; + }else{ + echo " + Override or Delete$d2[ip_address]$d2[date_time_signed]$d2[signed_name_as]$d2[signed_name_as_circulator]$d2[contact_phone]$d2[signature_status]$d2[printed_status]"; + } + } + echo '
'; + + + +} + ?> + + + + + +
+query($q); +while($d = mysqli_fetch_array($r)){ + echo "
$d[petition_name] - Flagged for Deletion or Override + Check All + Uncheck All + "; + echo ""; + unset($hide); + $hide = array(); + $pID = $d['petition_id']; + $q2="SELECT * FROM signatures where petition_id = '$pID' and printed_status = '' and signature_status <> 'deleted' and signature_status <> 'verified' order by signature_status, id desc"; $r2 = $petition->query($q2); while($d2 = mysqli_fetch_array($r2)){ if ($d2['signature_status'] == 'verified'){ @@ -190,6 +230,9 @@ while($d = mysqli_fetch_array($r)){ ?> + + + query($q); while($d = mysqli_fetch_array($r)){ - echo "
$d[petition_name] - Printed + echo "
$d[petition_name] - Printed Check All Uncheck All ";