<style type="text/css">
* { font-family: arial; }
-td,body { background-color: white; border: orange; }
-.tr_nobr td { border-top: 3px solid orange; }
-table { background-color: orange; border: orange; }
-td textarea { width:100%; height:100%; }
a, a img { text-decoration:none; color: darkblue; border:none; }
li a, a:hover { text-decoration:underline; }
+
+td,body { background-color: white; font-size: 75%; }
+table { background-color: orange; border-collapse: collapse; }
+
+td { border: 2px solid darkorange; }
+th { border: 2px solid darkorange; }
+td textarea { width:100%; height:100%; }
+
.tr_even td { background-color: lemonchiffon; }
-.tr_nobr.tr_even td:first-child { border-left: 5px solid orange; }
-.tr_nobr.tr_odd td:first-child { border-left: 5px solid white; }
+/* table tr:nth-child(odd) td { background-color: lemonchiffon; } */
+
.item_status_stored td { font-weight:bold; }
.item_status_deleted td { text-decoration:line-through; }
.item_status_destroyed td { font-style:italic; }
);
$fields_search = array(
'item' => array('item_id','item_serial','model_name','barcode_name','model_descript','producer_name','vendor_name'),
- 'model' => array('model_id','model_name','barcode_name','model_descript','producer_name')
+ 'barcode' => array('barcode_id','barcode_name'),
+ 'model' => array('model_id','model_name','barcode_name','model_descript','producer_name'),
+ 'location' => array('location_id','location_name')
); //TODO Autodetect
$group_concat = array(
'model' => array('barcode_name'=>'model_id')
function columns_get_selectbox($columns, $class=false, $suffix_id='_id', $suffix_name='_name') {
$selectbox=array( //TODO: Hardcoded...
- 'model_countable' => array(0 => 'no', 1 => 'yes'),
+ 'model_countable' => array(1 => 'yes'),
'model_eshop_hide' => array(0 => 'no', 1 => 'yes'),
'vendor_id' => array('COMPULSORY' => 'select...')
);