Changeset 71553 in spip-zone for _plugins_/factures/trunk/base
- Timestamp:
- Apr 4, 2013, 9:32:56 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
_plugins_/factures/trunk/base/factures.php
r71538 r71553 25 25 26 26 $interfaces['table_des_tables']['factures'] = 'factures'; 27 $interfaces['table_des_tables']['lignes_factures'] = 'lignes_factures'; 27 28 28 29 return $interfaces; … … 74 75 ); 75 76 77 $tables['spip_lignes_factures'] = array( 78 'type' => 'ligne', 79 'principale' => "oui", 80 'table_objet_surnoms' => array('lignesfacture'), // table_objet('ligne') => 'lignes_factures' 81 'field'=> array( 82 "id_ligne" => "bigint(21) NOT NULL", 83 "id_facture" => "int(11) NOT NULL DEFAULT '0'", 84 "position" => "int(11) DEFAULT NULL", 85 "quantite" => "float DEFAULT NULL", 86 "unite" => "varchar(50) DEFAULT NULL", 87 "designation" => "text", 88 "prix_unitaire_ht" => "decimal(18,2) DEFAULT NULL", 89 "commentaire" => "mediumtext", 90 "maj" => "TIMESTAMP" 91 ), 92 'key' => array( 93 "PRIMARY KEY" => "id_ligne", 94 ), 95 'titre' => "'' AS titre, '' AS lang", 96 #'date' => "", 97 'champs_editables' => array(), 98 'champs_versionnes' => array(), 99 'rechercher_champs' => array(), 100 'tables_jointures' => array(), 101 102 103 ); 104 76 105 return $tables; 77 106 }
Note: See TracChangeset
for help on using the changeset viewer.