Subversion-Projekte lars-tiefland.ci

Revision

Revision 2302 | Revision 2304 | Zur aktuellen Revision | Ganze Datei anzeigen | Leerzeichen ignorieren | Details | Blame | Letzte Änderung | Log anzeigen | RSS feed

Revision 2302 Revision 2303
Zeile 3... Zeile 3...
3
/**
3
/**
4
 *
4
 *
5
 * @package WebanOS CI
5
 * @package WebanOS CI
6
 * @author Lars Tiefland <ltiefland@gmail.com> 
6
 * @author Lars Tiefland <ltiefland@gmail.com> 
7
 * @copyright 2016
7
 * @copyright 2016
8
 * @version $Rev: 2302 $
8
 * @version $Rev: 2303 $
9
 */
9
 */
Zeile 10... Zeile 10...
10
 
10
 
11
class Logistiker_model extends CI_Model
11
class Logistiker_model extends CI_Model
12
{
12
{
Zeile 153... Zeile 153...
153
		return json_encode($output);
153
		return json_encode($output);
154
	}
154
	}
Zeile 155... Zeile 155...
155
 
155
 
156
	public function tracking($id)
156
	public function tracking($id)
157
	{
157
	{
-
 
158
		$aColumns = array(
-
 
159
			'paketnummer',
-
 
160
			'datum',
-
 
161
			'bestellung',
158
		$aColumns = array("exportiert");
162
			);
159
		trigger_error(var_export($_GET, true));
163
		trigger_error(var_export($_GET, true));
160
		$sWhere = "";
164
		$sWhere = "";
161
		if ($this->input->get('sSearch') != "") {
165
		if ($this->input->get('sSearch') != "") {
162
			$sWhere = "WHERE (";
166
			$sWhere = "WHERE (";
Zeile 253... Zeile 257...
253
			"iTotalRecords" => $iTotal,
257
			"iTotalRecords" => $iTotal,
254
			"iTotalDisplayRecords" => $iFilteredTotal,
258
			"iTotalDisplayRecords" => $iFilteredTotal,
255
			"aaData" => array());
259
			"aaData" => array());
Zeile 256... Zeile 260...
256
 
260
 
257
		while ($aRow = $rResult->unbuffered_row('array')) {
261
		while ($aRow = $rResult->unbuffered_row('array')) {
258
			trigger_error(var_export($aRow,true));
262
			trigger_error(var_export($aRow, true));
259
			//$aRow['datum'] = strtotime($aRow['datum']);
263
			//$aRow['datum'] = strtotime($aRow['datum']);
260
			$aRow['datum'] = date('d.m.Y', $aRow['datum']);
264
			$aRow['datum'] = date('d.m.Y', $aRow['datum']);
261
			$aRow['bestellung'] = ' <a href="/Warenwirtschaft/bestellungen.php?Bestellung=' .
265
			$aRow['bestellung'] = ' <a href="/Warenwirtschaft/bestellungen.php?Bestellung=' .