fmsystem-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Fmsystem-commits] [15022] property: item id at location


From: sigurdne
Subject: [Fmsystem-commits] [15022] property: item id at location
Date: Fri, 13 May 2016 11:43:40 +0000 (UTC)

Revision: 15022
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=15022
Author:   sigurdne
Date:     2016-05-13 11:43:40 +0000 (Fri, 13 May 2016)
Log Message:
-----------
property: item id at location

Modified Paths:
--------------
    trunk/property/inc/class.soadmin_location.inc.php

Modified: trunk/property/inc/class.soadmin_location.inc.php
===================================================================
--- trunk/property/inc/class.soadmin_location.inc.php   2016-05-13 11:42:37 UTC 
(rev 15021)
+++ trunk/property/inc/class.soadmin_location.inc.php   2016-05-13 11:43:40 UTC 
(rev 15022)
@@ -214,9 +214,21 @@
                        $receipt['id'] = $standard['id'];
 
                        $this->init_process();
+                       $default_attrib = array();
 
                        $j = 1;
                        $default_attrib['id'][] = $j;
+                       $default_attrib['column_name'][] = 'id';
+                       $default_attrib['type'][] = 'I';
+                       $default_attrib['precision'][] = 4;
+                       $default_attrib['nullable'][] = 'false';
+                       $default_attrib['input_text'][] = 'id';
+                       $default_attrib['statustext'][] = 'id';
+                       $default_attrib['attrib_sort'][] = '';
+                       $default_attrib['custom'][] = '';
+
+                       $j++;
+                       $default_attrib['id'][] = $j;
                        $default_attrib['column_name'][] = 'location_code';
                        $default_attrib['type'][] = 'V';
                        $default_attrib['precision'][] = 4 * $standard['id'];
@@ -339,6 +351,7 @@
 
 
                        $fd = array();
+                       $fd['id'] = array('type' => 'int', 'precision' => 4, 
'nullable' => true);
                        $fd['location_code'] = array('type' => 'varchar', 
'precision' => 25, 'nullable' => false);
 
                        for ($i = 1; $i < $standard['id'] + 1; $i++)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]