109 lines
2.2 KiB
PHP
109 lines
2.2 KiB
PHP
<?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 Bill extends Main {
|
|
|
|
public $list_table_config = array (
|
|
'title' => 'Rechnungen',
|
|
'db_table' => 'bills',
|
|
'list_fields' => array(
|
|
array(
|
|
'db_field' => 'state_id',
|
|
'name' => 'Status',
|
|
'sortable' => 1
|
|
),
|
|
array(
|
|
'db_field' => 'number',
|
|
'name' => 'Nummmer',
|
|
'sortable' => 1
|
|
),
|
|
array(
|
|
'db_field' => 'bill_date',
|
|
'name' => 'Datum',
|
|
'sortable' => 1
|
|
),
|
|
array(
|
|
'db_field' => 'payment_date',
|
|
'name' => 'Fällig am',
|
|
'sortable' => 1
|
|
),
|
|
array(
|
|
'db_field' => 'customer',
|
|
'name' => 'Kunde',
|
|
'sortable' => 1
|
|
),
|
|
array(
|
|
'db_field' => 'payment_state',
|
|
'name' => 'Zahlungsstatus',
|
|
'sortable' => 1
|
|
),
|
|
array(
|
|
'db_field' => 'amount_brutto',
|
|
'name' => 'Summe brutto',
|
|
'sortable' => 1
|
|
),
|
|
array(
|
|
'db_field' => 'open_amount',
|
|
'name' => 'Offener Betrag',
|
|
'sortable' => 1
|
|
)
|
|
),
|
|
'search_fields' => array('number', 'customer'),
|
|
'db_id_field' => 'id',
|
|
'db_selectable_field' => 'name',
|
|
'edit_link' => 'index.php?admin_modul=admin_object_edit&object=Bill&object_id=',
|
|
'toolbar' => array(
|
|
'delete' => '1',
|
|
'new' => 'index.php?admin_modul=admin_object_edit&object=Bill',
|
|
'copy' => 0,
|
|
'select_all' => 1,
|
|
'edit' => 0,
|
|
'actions' => 0,
|
|
'filter' => 0,
|
|
'search' => 1
|
|
),
|
|
'edit_title' => 'Rechnung',
|
|
'edit_fields' => array (
|
|
array(
|
|
'name' => 'Stammdaten',
|
|
'type' => 'form_title'
|
|
),
|
|
array(
|
|
'db_field' => 'number',
|
|
'name' => 'Nummer',
|
|
'type' => 'text'
|
|
),
|
|
array(
|
|
'db_field' => 'bill_date',
|
|
'name' => 'Datum',
|
|
'type' => 'text'
|
|
),
|
|
array(
|
|
'db_field' => 'customer',
|
|
'name' => 'Kunde',
|
|
'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
|
|
),
|
|
);
|
|
|
|
}
|
|
|
|
?>
|