<?php
/*
 * @version			$Id: index.php 10381 2008-06-01 03:35:53Z $
 * @package			Carteasy
 * @copyright		Copyright (C) 2005 - 2011 Wlanium
 * @license			proprietary
 * @author			Thomas Bartelt
 * Carteasy is a web shop system
 */

include_once './core/main.class.php';

class Return_goods extends Main {

	public $list_table_config = array (
		'title' => 'Warenrückläufer',
		'db_table' => 'return_goods',
		'list_fields' => array(
			array(
				'db_field' => 'return_date',
				'name' => 'Datum',
				'sortable' => 1
			),
			array(
				'db_field' => 'customer',
				'name' => 'Kunde',
				'sortable' => 1
			),
			array(
				'db_field' => 'state_id',
				'name' => 'Status',
				'sortable' => 1
			),
			array(
				'db_field' => 'amount_brutto',
				'name' => 'Betrag',
				'sortable' => 1
			)
		),
		'search_fields' => array('customer'),
		'db_id_field' => 'id',
		'db_selectable_field' => 'name',
		'edit_link' => 'index.php?admin_modul=admin_object_edit&object=Email_template&object_id=',
		'toolbar' => array(
			'delete' => '1',
			'new' => 'index.php?admin_modul=admin_object_edit&object=Email_template',
			'copy' => 0,
			'select_all' => 1,
			'edit' => 0,
			'actions' => 0,
			'filter' => 0,
			'search' => 1
		),
		'edit_title' => 'Rückläufer',
		'edit_fields' => array (
			array(
				'name' => 'Stammdaten',
				'type' => 'form_title'
			),
			array(
				'db_field' => 'name',
				'name' => 'Bezeichnung',
				'type' => 'text'
			),
			array(
				'db_field' => 'subject',
				'name' => 'Betreff',
				'type' => 'text'
			)
		),
		'edit_mandatory_fields' => array('name', 'subject', 'body'),
		'edit_toolbar' => array(
			'close' => 'index.php?admin_modul=admin_object_list&object=Email_template',
			'copy' => 0,
			'undo' => 0,
			'redo' => 0,
			'save' => 1,
			'delete' => 1
		),
	);

}

?>