Subversion Repositories eFlore/Applications.coel

Rev

Rev 1501 | Rev 1506 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1501 Rev 1502
Line 190... Line 190...
190
				') ';
190
				') ';
191
		}
191
		}
192
		$this->debug[] = $p;
192
		$this->debug[] = $p;
193
		if (isset($p['sci'])) {
193
		if (isset($p['sci'])) {
194
			if ($p['sci'] === true) {
194
			if ($p['sci'] === true) {
195
				$where .= 'AND csv_mark_acces_ss_motif = 1 ';
-
 
196
			} else if ($p['sci'] === false) {
-
 
197
				$where .= 'AND csv_mark_visite_avec_motif = 1 ';
195
				$where .= 'AND csv_mark_visite_avec_motif = 1 ';
-
 
196
			} else if ($p['sci'] === false) {
-
 
197
				$where .= 'AND csv_mark_acces_ss_motif = 1 ';
198
			}
198
			}
199
		}
199
		}
200
		if (isset($p['bot'])) {
200
		if (isset($p['bot'])) {
201
			$where .= "AND ccb_ce_truk_type IN ({$p['bot']}) ";
201
			$where .= "AND ccb_ce_truk_type IN ({$p['bot']}) ";
202
		}
202
		}