kenken999 commited on
Commit
b976d1e
1 Parent(s): f432d6c
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. .idea/inspectionProfiles/profiles_settings.xml +6 -0
  2. .idea/misc.xml +4 -0
  3. .idea/modules.xml +8 -0
  4. .idea/php.iml +15 -0
  5. .idea/vcs.xml +6 -0
  6. .idea/workspace.xml +49 -0
  7. php/appointments_add.php +108 -0
  8. php/appointments_edit.php +107 -0
  9. php/appointments_export.php +53 -0
  10. php/appointments_import.php +53 -0
  11. php/appointments_list.php +163 -0
  12. php/appointments_print.php +46 -0
  13. php/appointments_search.php +95 -0
  14. php/appointments_view.php +67 -0
  15. php/classes/charts.php +2 -0
  16. php/classes/crosstable_webreport.php +2 -0
  17. php/classes/db.php +1 -0
  18. php/classes/projectsettings.php +2 -0
  19. php/classes/security.php +1 -0
  20. php/connections/ConnectionManager_base.php +1 -0
  21. php/include/appointments_settings.php +2747 -0
  22. php/include/appointments_variables.php +13 -0
  23. php/include/appsettings.php +3 -2
  24. php/include/audit.php +8 -0
  25. php/include/commonfunctions.php +27 -0
  26. php/include/dal.php +2 -0
  27. php/include/dal/KnowledgeBase2_at_localhost_public_appointments.php +21 -0
  28. php/include/dal/KnowledgeBase2_at_localhost_public_items.php +6 -5
  29. php/include/dal/KnowledgeBase2_at_localhost_public_products.php +4 -2
  30. php/include/items_settings.php +314 -158
  31. php/include/menunodes_main.php +26 -0
  32. php/include/pages/_global_menu_KnowledgeBase.php +22 -4
  33. php/include/pages/appointments_add.php +282 -0
  34. php/include/pages/appointments_edit.php +293 -0
  35. php/include/pages/appointments_export.php +244 -0
  36. php/include/pages/appointments_import.php +183 -0
  37. php/include/pages/appointments_list.php +1200 -0
  38. php/include/pages/appointments_print.php +823 -0
  39. php/include/pages/appointments_search.php +292 -0
  40. php/include/pages/appointments_view.php +321 -0
  41. php/include/pages/items_add.php +37 -25
  42. php/include/pages/items_edit.php +37 -25
  43. php/include/pages/items_export.php +33 -23
  44. php/include/pages/items_import.php +26 -18
  45. php/include/pages/items_list.php +219 -160
  46. php/include/pages/items_print.php +194 -145
  47. php/include/pages/items_search.php +38 -25
  48. php/include/pages/items_view.php +37 -25
  49. php/include/pages/pages.json +1 -1
  50. php/include/pages/products_add.php +31 -7
.idea/inspectionProfiles/profiles_settings.xml ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ <component name="InspectionProjectProfileManager">
2
+ <settings>
3
+ <option name="USE_PROJECT_PROFILE" value="false" />
4
+ <version value="1.0" />
5
+ </settings>
6
+ </component>
.idea/misc.xml ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="ProjectRootManager" version="2" project-jdk-name="Python 3.12" project-jdk-type="Python SDK" />
4
+ </project>
.idea/modules.xml ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="ProjectModuleManager">
4
+ <modules>
5
+ <module fileurl="file://$PROJECT_DIR$/.idea/php.iml" filepath="$PROJECT_DIR$/.idea/php.iml" />
6
+ </modules>
7
+ </component>
8
+ </project>
.idea/php.iml ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <module type="PYTHON_MODULE" version="4">
3
+ <component name="NewModuleRootManager">
4
+ <content url="file://$MODULE_DIR$" />
5
+ <orderEntry type="inheritedJdk" />
6
+ <orderEntry type="sourceFolder" forTests="false" />
7
+ </component>
8
+ <component name="TemplatesService">
9
+ <option name="TEMPLATE_FOLDERS">
10
+ <list>
11
+ <option value="$MODULE_DIR$/php/templates" />
12
+ </list>
13
+ </option>
14
+ </component>
15
+ </module>
.idea/vcs.xml ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="VcsDirectoryMappings">
4
+ <mapping directory="" vcs="Git" />
5
+ </component>
6
+ </project>
.idea/workspace.xml ADDED
@@ -0,0 +1,49 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="ChangeListManager">
4
+ <list default="true" id="a633230f-2c76-4f36-847b-ef0c12374f6a" name="Changes" comment="" />
5
+ <option name="SHOW_DIALOG" value="false" />
6
+ <option name="HIGHLIGHT_CONFLICTS" value="true" />
7
+ <option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
8
+ <option name="LAST_RESOLUTION" value="IGNORE" />
9
+ </component>
10
+ <component name="Git.Settings">
11
+ <option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
12
+ </component>
13
+ <component name="ProjectColorInfo"><![CDATA[{
14
+ "associatedIndex": 6
15
+ }]]></component>
16
+ <component name="ProjectId" id="2i4f07ljfOw2SZTkDEeaTPmU2Cc" />
17
+ <component name="ProjectViewState">
18
+ <option name="hideEmptyMiddlePackages" value="true" />
19
+ <option name="showLibraryContents" value="true" />
20
+ </component>
21
+ <component name="PropertiesComponent"><![CDATA[{
22
+ "keyToString": {
23
+ "RunOnceActivity.ShowReadmeOnStart": "true",
24
+ "git-widget-placeholder": "main",
25
+ "nodejs_package_manager_path": "npm",
26
+ "vue.rearranger.settings.migration": "true"
27
+ }
28
+ }]]></component>
29
+ <component name="SharedIndexes">
30
+ <attachedChunks>
31
+ <set>
32
+ <option value="bundled-js-predefined-1d06a55b98c1-0b3e54e931b4-JavaScript-PY-241.17890.14" />
33
+ <option value="bundled-python-sdk-5b207ade9991-7e9c3bbb6e34-com.jetbrains.pycharm.pro.sharedIndexes.bundled-PY-241.17890.14" />
34
+ </set>
35
+ </attachedChunks>
36
+ </component>
37
+ <component name="SpellCheckerSettings" RuntimeDictionaries="0" Folders="0" CustomDictionaries="0" DefaultDictionary="application-level" UseSingleDictionary="true" transferred="true" />
38
+ <component name="TaskManager">
39
+ <task active="true" id="Default" summary="Default task">
40
+ <changelist id="a633230f-2c76-4f36-847b-ef0c12374f6a" name="Changes" comment="" />
41
+ <created>1718754548763</created>
42
+ <option name="number" value="Default" />
43
+ <option name="presentableId" value="Default" />
44
+ <updated>1718754548763</updated>
45
+ <workItem from="1718754552248" duration="107000" />
46
+ </task>
47
+ <servers />
48
+ </component>
49
+ </project>
php/appointments_add.php ADDED
@@ -0,0 +1,108 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ @ini_set("display_errors","1");
3
+
4
+ require_once("include/dbcommon.php");
5
+ require_once("classes/searchclause.php");
6
+ require_once("include/appointments_variables.php");
7
+ require_once('include/xtempl.php');
8
+ require_once('classes/addpage.php');
9
+ require_once('include/lookuplinks.php');
10
+
11
+ add_nocache_headers();
12
+
13
+ InitLookupLinks();
14
+
15
+ if( Security::hasLogin() ) {
16
+ if( !AddPage::processAddPageSecurity( $strTableName ) )
17
+ return;
18
+ }
19
+
20
+ AddPage::handleBrokenRequest();
21
+
22
+
23
+ $pageMode = AddPage::readAddModeFromRequest();
24
+
25
+ $xt = new Xtempl();
26
+
27
+ $id = postvalue_number("id");
28
+ $id = $id ? $id : 1;
29
+
30
+ //an array of AddPage constructor's params
31
+ $params = array();
32
+ $params["id"] = $id;
33
+ $params["xt"] = &$xt;
34
+ $params["mode"] = $pageMode;
35
+ $params["pageType"] = PAGE_ADD;
36
+ $params["tName"] = $strTableName;
37
+ $params["pageName"] = postvalue("page");
38
+ $params["action"] = postvalue("a");
39
+ $params["needSearchClauseObj"] = false;
40
+ $params["afterAdd_id"] = postvalue("afteradd");
41
+
42
+ $params["hostPageName"] = postvalue("hostPageName");
43
+ $params["listPage"] = postvalue("listPage");
44
+
45
+ $params["newRowId"] = postvalue("newRowId");
46
+
47
+ $params["masterTable"] = postvalue("mastertable");
48
+ if( $params["masterTable"] )
49
+ $params["masterKeysReq"] = RunnerPage::readMasterKeysFromRequest();
50
+
51
+
52
+
53
+ ;
54
+ $params["captchaName"] = "captcha_1209xre";
55
+ $params["captchaValue"] = postvalue("value_captcha_1209xre_" . $id);
56
+ $params["dashElementName"] = postvalue("dashelement");
57
+ $params["fromDashboard"] = postvalue("fromDashboard");
58
+ $params["dashTName"] = $params["fromDashboard"] ? $params["fromDashboard"] : postvalue("dashTName");
59
+ $params["dashPage"] = postvalue("dashPage");
60
+
61
+ $params["forSpreadsheetGrid"] = postvalue("spreadsheetGrid");
62
+
63
+ if ( $pageMode == ADD_POPUP ) {
64
+ $params["forListPageLookup"] = postvalue('forLookup');
65
+ }
66
+
67
+ if( $pageMode == ADD_DASHBOARD )
68
+ {
69
+ $params["dashElementName"] = postvalue("dashelement");
70
+ $params["dashTName"] = postvalue("table");
71
+ $params["dashPage"] = postvalue("dashPage");
72
+ }
73
+
74
+
75
+ if( $pageMode == ADD_INLINE )
76
+ {
77
+ // Inline add in a 'List page with search' lookup
78
+ $params["forListPageLookup"] = postvalue('forLookup');
79
+
80
+ $params["screenWidth"] = postvalue("screenWidth");
81
+ $params["screenHeight"] = postvalue("screenHeight");
82
+ $params["orientation"] = postvalue("orientation");
83
+
84
+ $params["masterPageType"] = postvalue("masterpagetype");
85
+ }
86
+
87
+
88
+ if( $pageMode == ADD_ONTHEFLY || ( $pageMode == ADD_INLINE || $pageMode == ADD_POPUP ) && postvalue('forLookup') )
89
+ {
90
+ //table where lookup is set
91
+ $params["lookupTable"] = postvalue("table");
92
+ //field with lookup is set
93
+ $params["lookupField"] = postvalue("field");
94
+ //the ptype od the page where lookup is set
95
+ $params["lookupPageType"] = postvalue("pageType");
96
+
97
+ if( postvalue('parentsExist') )
98
+ {
99
+ //the parent controls values data
100
+ $params["parentCtrlsData"] = my_json_decode( postvalue("parentCtrlsData") );
101
+ }
102
+ }
103
+
104
+ $pageObject = new AddPage($params);
105
+ $pageObject->init();
106
+
107
+ $pageObject->process();
108
+ ?>
php/appointments_edit.php ADDED
@@ -0,0 +1,107 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ @ini_set("display_errors","1");
4
+ @ini_set("display_startup_errors","1");
5
+
6
+ require_once("include/dbcommon.php");
7
+ require_once("classes/searchclause.php");
8
+ require_once("include/appointments_variables.php");
9
+ require_once('include/xtempl.php');
10
+ require_once('classes/editpage.php');
11
+
12
+ add_nocache_headers();
13
+
14
+ if( Security::hasLogin() ) {
15
+ if( !EditPage::processEditPageSecurity( $strTableName ) )
16
+ return;
17
+ }
18
+
19
+ EditPage::handleBrokenRequest();
20
+
21
+ // render all necessary layouts
22
+
23
+
24
+ // parse control parameters
25
+ $pageMode = EditPage::readEditModeFromRequest();
26
+
27
+ $xt = new Xtempl();
28
+
29
+ $id = postvalue_number("id");
30
+ $id = intval($id) == 0 ? 1 : $id;
31
+
32
+
33
+ // $keys could not be set properly if editid params were no passed
34
+ $keys = array();
35
+ $keys["id"] = postvalue("editid1");
36
+
37
+ //array of params for classes
38
+ $params = array();
39
+ $params["id"] = $id;
40
+ $params["xt"] = &$xt;
41
+ $params["keys"] = $keys;
42
+ $params["mode"] = $pageMode;
43
+ $params["pageType"] = PAGE_EDIT;
44
+ $params["pageName"] = postvalue("page");
45
+ $params["tName"] = $strTableName;
46
+ $params["action"] = postvalue("a");
47
+ $params["selectedFields"] = postvalue("fields");
48
+
49
+ ;
50
+ $params["captchaName"] = "captcha_1209xre";
51
+ $params["captchaValue"] = postvalue("value_captcha_1209xre_" . $id);
52
+ $params["selection"] = postvalue("selection");
53
+ $params["rowIds"] = my_json_decode( postvalue("rowIds") );
54
+
55
+ $params["masterTable"] = postvalue("mastertable");
56
+ if( $params["masterTable"] )
57
+ $params["masterKeysReq"] = RunnerPage::readMasterKeysFromRequest();
58
+
59
+ // locking parameters
60
+ $params["lockingAction"] = postvalue("action");
61
+ $params["lockingSid"] = postvalue("sid");
62
+ $params["lockingKeys"] = postvalue("keys");
63
+ $params["lockingStart"] = postvalue("startEdit");
64
+
65
+ if( $pageMode == EDIT_INLINE )
66
+ {
67
+ $params["screenWidth"] = postvalue("screenWidth");
68
+ $params["screenHeight"] = postvalue("screenHeight");
69
+ $params["orientation"] = postvalue("orientation");
70
+ }
71
+
72
+ if( $pageMode == EDIT_DASHBOARD )
73
+ {
74
+ $params["dashElementName"] = postvalue("dashelement");
75
+ $params["dashTName"] = postvalue("table");
76
+ $params["dashPage"] = postvalue("dashPage");
77
+
78
+ if( postvalue("mapRefresh") )
79
+ {
80
+ $params["mapRefresh"] = true;
81
+ $params["vpCoordinates"] = my_json_decode( postvalue("vpCoordinates") );
82
+ }
83
+ }
84
+
85
+ if(( $pageMode == EDIT_POPUP || $pageMode == EDIT_INLINE ) && postvalue("dashTName"))
86
+ {
87
+ $params["dashTName"] = postvalue("dashTName");
88
+ $params["dashElementName"] = postvalue("dashelement");
89
+ $params["dashPage"] = postvalue("dashPage");
90
+ }
91
+
92
+ $params["forSpreadsheetGrid"] = postvalue("spreadsheetGrid");
93
+ $params["hostPageName"] = postvalue("hostPageName");
94
+ $params["listPage"] = postvalue("listPage");
95
+
96
+ $pageObject = EditPage::EditPageFactory($params);
97
+
98
+ if( $pageObject->isLockingRequest() )
99
+ {
100
+ $pageObject->doLockingAction();
101
+ exit();
102
+ }
103
+
104
+ $pageObject->init();
105
+
106
+ $pageObject->process();
107
+ ?>
php/appointments_export.php ADDED
@@ -0,0 +1,53 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ @ini_set("display_errors","1");
3
+ @ini_set("display_startup_errors","1");
4
+ require_once("include/dbcommon.php");
5
+ header("Expires: Thu, 01 Jan 1970 00:00:01 GMT");
6
+
7
+ require_once("classes/searchclause.php");
8
+ require_once("classes/sql.php");
9
+
10
+ require_once("include/appointments_variables.php");
11
+
12
+ if( Security::hasLogin() ) {
13
+ if( !Security::processPageSecurity( $strtablename, 'P' ) )
14
+ return;
15
+ }
16
+
17
+
18
+ require_once("include/export_functions.php");
19
+ require_once("classes/exportpage.php");
20
+ require_once("include/xtempl.php");
21
+
22
+ $xt = new Xtempl();
23
+
24
+ //array of params for classes
25
+ $params = array();
26
+ $params["id"] = postvalue_number("id");
27
+ $params["xt"] = &$xt;
28
+ $params["tName"] = $strTableName;
29
+ $params["pageType"] = PAGE_EXPORT;
30
+ $params["pageName"] = postvalue("page");
31
+
32
+ $params["selectedFields"] = postvalue("exportFields");
33
+ $params["exportType"] = postvalue("type");
34
+
35
+ $params["allPagesMode"] = postvalue("records") == "all";
36
+ $params["currentPageMode"] = postvalue("records") == "page";
37
+ $params["selection"] = postvalue("selection");
38
+ $params["csvDelimiter"] = postvalue("delimiter");
39
+
40
+ if( postvalue("txtformatting") == "raw" )
41
+ $params["useRawValues"] = true;
42
+
43
+ $params["mode"] = ExportPage::readModeFromRequest();
44
+
45
+ $params["masterTable"] = postvalue("mastertable");
46
+ if( $params["masterTable"] )
47
+ $params["masterKeysReq"] = RunnerPage::readMasterKeysFromRequest();
48
+
49
+ $pageObject = new ExportPage( $params );
50
+ $pageObject->init();
51
+
52
+ $pageObject->process();
53
+ ?>
php/appointments_import.php ADDED
@@ -0,0 +1,53 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ @ini_set("display_errors","1");
3
+ @ini_set("display_startup_errors","1");
4
+ require_once("include/dbcommon.php");
5
+ header("Expires: Thu, 01 Jan 1970 00:00:01 GMT");
6
+
7
+ set_time_limit(600);
8
+
9
+ require_once("include/appointments_variables.php");
10
+ require_once("include/import_functions.php");
11
+ require_once('classes/importpage.php');
12
+
13
+ if( Security::hasLogin() ) {
14
+ if( !Security::processPageSecurity( $strtablename, 'I' ) )
15
+ return;
16
+ }
17
+
18
+
19
+ require_once('include/xtempl.php');
20
+ $xt = new Xtempl();
21
+
22
+ //an array of params for ImportPage constructor
23
+ $params = array();
24
+ $params["id"] = postvalue_number("id");
25
+ $params["xt"] = &$xt;
26
+ $params["tName"] = $strTableName;
27
+ $params["action"] = postvalue("a");
28
+ $params["pageType"] = PAGE_IMPORT;
29
+ $params["pageName"] = postvalue("page");
30
+ $params["needSearchClauseObj"] = false;
31
+ $params["strOriginalTableName"] = $strOriginalTableName;
32
+
33
+ if( $params["action"] == "importPreview" )
34
+ {
35
+ $params["importType"] = postvalue("importType");
36
+ $params["importText"] = postvalue("importText");
37
+ $params["useXHR"] = postvalue("useXHR");
38
+ }
39
+ elseif( $params["action"] == "importData" )
40
+ {
41
+ $params["importData"] = my_json_decode( postvalue("importData") );
42
+ }
43
+
44
+ $params["masterTable"] = postvalue("mastertable");
45
+ if( $params["masterTable"] )
46
+ $params["masterKeysReq"] = RunnerPage::readMasterKeysFromRequest();
47
+
48
+ $pageObject = new ImportPage($params);
49
+ $pageObject->init();
50
+
51
+ $pageObject->process();
52
+
53
+ ?>
php/appointments_list.php ADDED
@@ -0,0 +1,163 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ @ini_set("display_errors","1");
3
+ @ini_set("display_startup_errors","1");
4
+
5
+ $requestTable = "public.appointments";
6
+ $requestPage = "list";
7
+
8
+ require_once("include/dbcommon.php");
9
+ add_nocache_headers();
10
+
11
+ require_once('include/xtempl.php');
12
+
13
+ require_once("classes/searchcontrol.php");
14
+ require_once("classes/searchclause.php");
15
+ require_once("classes/panelsearchcontrol.php");
16
+ require_once("include/appointments_variables.php");
17
+ require_once('classes/listpage.php');
18
+ require_once('include/lookuplinks.php');
19
+
20
+ // Check whether the page was called as a part of Lookup wizard - List page with search.
21
+ // Verify the eligibility of such a call.
22
+
23
+ InitLookupLinks();
24
+ if( Security::hasLogin() ) {
25
+ if( !ListPage::processListPageSecurity( $strTableName ) )
26
+ return;
27
+ }
28
+
29
+ if( ListPage::processSaveParams( $strTableName ) )
30
+ return;
31
+
32
+ $options = array();
33
+ //array of params for classes
34
+
35
+ // Include necessary files in accordance with the page displaying mode
36
+ $mode = ListPage::readListModeFromRequest();
37
+ if( $mode == LIST_SIMPLE )
38
+ {
39
+ require_once('classes/listpage_simple.php');
40
+ require_once("classes/searchpanelsimple.php");
41
+ }
42
+ elseif( $mode == LIST_AJAX )
43
+ {
44
+ require_once('classes/listpage_simple.php');
45
+ require_once('classes/listpage_ajax.php');
46
+ require_once("classes/searchpanelsimple.php");
47
+ }
48
+ elseif( $mode == LIST_LOOKUP )
49
+ {
50
+ require_once('classes/listpage_embed.php');
51
+ require_once('classes/listpage_lookup.php');
52
+
53
+ $options["mainTable"] = postvalue("table");
54
+ $options["mainField"] = postvalue("field");
55
+ $options["mainPageType"] = postvalue("pageType");
56
+
57
+ $options["mainRecordData"] = my_json_decode( postvalue('data') );
58
+ $options["mainRecordMasterTable"] = postvalue('mainRecordMasterTable');
59
+
60
+ if( postvalue("parentsExist") )
61
+ $options["parentCtrlsData"] = my_json_decode( postvalue("parentCtrlsData") );
62
+ }
63
+ elseif( $mode == LIST_POPUPDETAILS )
64
+ {
65
+ require_once('classes/listpage_embed.php');
66
+ require_once('classes/listpage_dpinline.php');
67
+ require_once('classes/listpage_dppopup.php');
68
+ }
69
+ elseif( $mode == LIST_DETAILS )
70
+ {
71
+ require_once('classes/listpage_embed.php');
72
+ require_once('classes/listpage_dpinline.php');
73
+ require_once('classes/listpage_dplist.php');
74
+ }
75
+ elseif( $mode == LIST_DASHDETAILS )
76
+ {
77
+ require_once('classes/listpage_embed.php');
78
+ require_once('classes/listpage_dashboard.php');
79
+ require_once('classes/listpage_dpdash.php');
80
+ }
81
+ elseif( $mode == LIST_DASHBOARD )
82
+ {
83
+ require_once('classes/listpage_embed.php');
84
+ require_once('classes/listpage_dashboard.php');
85
+ }
86
+ elseif( $mode == MAP_DASHBOARD )
87
+ {
88
+ require_once('classes/listpage_embed.php');
89
+ require_once('classes/listpage_dashboard.php');
90
+ require_once('classes/map_dashboard.php');
91
+ }
92
+
93
+ $xt = new Xtempl( $mode != LIST_SIMPLE ); //#9607 1. Temporary fix
94
+
95
+ $options["pageName"] = postvalue("page");
96
+ $options["pageType"] = PAGE_LIST;
97
+ $options["id"] = postvalue_number("id") ? postvalue_number("id") : 1;
98
+ $options["flyId"] = (int)postvalue("recordId");
99
+ $options["mode"] = $mode;
100
+ $options["xt"] = &$xt;
101
+ $options["firstTime"] = postvalue("firstTime");
102
+ $options["sortBy"] = postvalue("sortby");
103
+ $options["requestGoto"] = postvalue_number("goto");
104
+
105
+
106
+ $options["masterPageType"] = postvalue("masterpagetype");
107
+ $options["masterPage"] = postvalue("masterpage");
108
+ $options["masterId"] = postvalue("masterid");
109
+
110
+ $options["masterTable"] = postvalue("mastertable");
111
+ if( $options["masterTable"] )
112
+ $options["masterKeysReq"] = RunnerPage::readMasterKeysFromRequest();
113
+
114
+
115
+ if( $mode == LIST_DASHBOARD && postvalue("nodata") && strlen($options["masterTable"]) )
116
+ $options["showNoData"] = true;
117
+
118
+ if( $mode != LIST_LOOKUP )
119
+ {
120
+ $options["dashElementName"] = postvalue("dashelement");
121
+ $options["dashTName"] = postvalue("table");
122
+ $options["dashPage"] = postvalue("dashPage");
123
+ }
124
+
125
+ if( postvalue("mapRefresh") )
126
+ {
127
+ $options["mapRefresh"] = true;
128
+ $options["vpCoordinates"] = my_json_decode( postvalue("vpCoordinates") );
129
+ }
130
+
131
+ if( postvalue("firstTime") )
132
+ $options["firstTime"] = true;
133
+
134
+ // Create $pageObject
135
+ $pageObject = ListPage::createListPage($strTableName, $options);
136
+
137
+ if( $pageObject->processSaveSearch() )
138
+ exit();
139
+
140
+ if( $pageObject->updateRowOrder() )
141
+ exit();
142
+
143
+ if ( $pageObject->processFieldFilter() )
144
+ exit();
145
+
146
+ if( $pageObject->processTotals() )
147
+ exit();
148
+
149
+ if( $mode != LIST_DETAILS && $mode != MAP_DASHBOARD && $mode != LIST_DASHBOARD )
150
+ {
151
+ //maps
152
+ }
153
+
154
+ unset($_SESSION["message_add"]);
155
+ unset($_SESSION["message_edit"]);
156
+
157
+ // prepare code for build page
158
+ $pageObject->prepareForBuildPage();
159
+
160
+ // show page depends of mode
161
+ $pageObject->showPage();
162
+
163
+ ?>
php/appointments_print.php ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ @ini_set("display_errors","1");
3
+ @ini_set("display_startup_errors","1");
4
+
5
+ require_once("include/dbcommon.php");
6
+ require_once("classes/searchclause.php");
7
+ require_once('include/xtempl.php');
8
+ require_once('classes/printpage.php');
9
+ require_once('classes/printpage_details.php');
10
+ require_once('classes/reportpage.php');
11
+ require_once('classes/reportprintpage.php');
12
+
13
+ add_nocache_headers();
14
+
15
+ require_once("include/appointments_variables.php");
16
+
17
+ if( Security::hasLogin() ) {
18
+ if( !Security::processPageSecurity( $strtablename, 'P' ) )
19
+ return;
20
+ }
21
+
22
+
23
+ $xt = new Xtempl();
24
+
25
+ //array of params for classes
26
+ $params = array();
27
+ $params["id"] = postvalue_number("id");
28
+ $params["xt"] = &$xt;
29
+ $params["pageType"] = PAGE_PRINT;
30
+ $params["pageName"] = postvalue("page");
31
+ $params["tName"] = $strTableName;
32
+ $params["selection"] = postvalue("selection"); //PrintPage::readSelectedRecordsFromRequest( "public.appointments" );
33
+ $params["allPagesMode"] = postvalue("all");
34
+ $params["detailTables"] = postvalue("details");
35
+ $params["splitByRecords"] = postvalue("records");
36
+ $params["mode"] = postvalue( "pdfjson" ) ? PRINT_PDFJSON : PRINT_SIMPLE;
37
+ $params["pdfBackgroundImage"] = postvalue("pdfBackgroundImage");
38
+
39
+ $params["masterTable"] = postvalue("mastertable");
40
+ if( $params["masterTable"] )
41
+ $params["masterKeysReq"] = RunnerPage::readMasterKeysFromRequest();
42
+
43
+ $pageObject = new PrintPage($params);
44
+ $pageObject->init();
45
+ $pageObject->process();
46
+ ?>
php/appointments_search.php ADDED
@@ -0,0 +1,95 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ @ini_set("display_errors","1");
3
+ @ini_set("display_startup_errors","1");
4
+
5
+ require_once("include/dbcommon.php");
6
+ add_nocache_headers();
7
+
8
+ require_once("classes/searchclause.php");
9
+ require_once("include/appointments_variables.php");
10
+ require_once("classes/searchcontrol.php");
11
+ require_once("classes/advancedsearchcontrol.php");
12
+ require_once("classes/panelsearchcontrol.php");
13
+
14
+
15
+ Security::processLogoutRequest();
16
+
17
+ if( !isLogged() )
18
+ {
19
+ Security::saveRedirectURL();
20
+ redirectToLogin();
21
+ }
22
+
23
+ require_once( "include/reportfunctions.php" );
24
+ $cname = postvalue("cname");
25
+ $rname = postvalue("rname");
26
+ if( $rname || $cname ) {
27
+ $rpt_array = wrGetEntityArray(
28
+ $rname ? $rname : $cname,
29
+ $rname ? WR_REPORT : WR_CHART
30
+ );
31
+ $accessGranted = @$rpt_array['status'] != "private" || @$rpt_array['owner'] != Security::getUserName();
32
+ } else {
33
+ $accessGranted = CheckTablePermissions( $strTableName, "S" );
34
+ }
35
+ if(!$accessGranted)
36
+ {
37
+ HeaderRedirect("menu");
38
+ }
39
+
40
+
41
+ require_once('include/xtempl.php');
42
+ require_once('classes/searchpage.php');
43
+ require_once('classes/searchpage_dash.php');
44
+
45
+ $xt = new Xtempl();
46
+ $pageMode = SearchPage::readSearchModeFromRequest();
47
+
48
+ if( $pageMode == SEARCH_LOAD_CONTROL )
49
+ $layoutVersion = postvalue("layoutVersion");
50
+
51
+
52
+ $params = array();
53
+ $params['xt'] = &$xt;
54
+ $params['id'] = postvalue_number("id");
55
+ $params['mode'] = $pageMode;
56
+ $params['tName'] = $strTableName;
57
+ $params["pageName"] = postvalue("page");
58
+ $params['pageType'] = PAGE_SEARCH;
59
+ $params['chartName'] = $cname;
60
+ $params['reportName'] = $rname;
61
+ $params['templatefile'] = $templatefile;
62
+ $params['shortTableName'] = 'appointments';
63
+ $params['layoutVersion'] = $layoutVersion;
64
+
65
+ $params['searchControllerId'] = postvalue('searchControllerId') ? postvalue('searchControllerId') : $id;
66
+ $params['ctrlField'] = postvalue('ctrlField');
67
+
68
+ $params['needSettings'] = postvalue('isNeedSettings');
69
+
70
+ if( $pageMode == SEARCH_DASHBOARD )
71
+ {
72
+ $params["dashTName"] = postvalue("table");
73
+ $params["dashElementName"] = postvalue("dashelement");
74
+ $params["dashPage"] = postvalue("dashPage");
75
+ }
76
+
77
+ // e.g. crosstable params
78
+ $params["extraPageParams"] = SearchPage::getExtraPageParams();
79
+
80
+ $params["masterTable"] = postvalue("mastertable");
81
+ if( $params["masterTable"] )
82
+ $params["masterKeysReq"] = RunnerPage::readMasterKeysFromRequest();
83
+
84
+
85
+ $pageObject = new SearchPage($params);
86
+
87
+ if( $pageMode == SEARCH_LOAD_CONTROL )
88
+ {
89
+ $pageObject->displaySearchControl();
90
+ return;
91
+ }
92
+
93
+ $pageObject->init();
94
+ $pageObject->process();
95
+ ?>
php/appointments_view.php ADDED
@@ -0,0 +1,67 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ @ini_set("display_errors","1");
3
+ @ini_set("display_startup_errors","1");
4
+
5
+ require_once("include/dbcommon.php");
6
+ require_once("include/appointments_variables.php");
7
+ require_once('include/xtempl.php');
8
+ require_once('classes/viewpage.php');
9
+ require_once("classes/searchclause.php");
10
+
11
+ add_nocache_headers();
12
+
13
+ if( Security::hasLogin() ) {
14
+ if( !ViewPage::processEditPageSecurity( $strTableName ) )
15
+ return;
16
+ }
17
+
18
+ $pageMode = ViewPage::readViewModeFromRequest();
19
+
20
+ $xt = new Xtempl();
21
+
22
+ // $keys could not be set properly if editid params were no passed
23
+ $keys = array();
24
+ $keys["id"] = postvalue("editid1");
25
+
26
+ //array of params for classes
27
+ $params = array();
28
+ $params["id"] = postvalue_number("id");
29
+ $params["xt"] = &$xt;
30
+ $params["keys"] = $keys;
31
+ $params["mode"] = $pageMode;
32
+ $params["pageType"] = PAGE_VIEW;
33
+ $params["pageName"] = postvalue("page");
34
+ $params["tName"] = $strTableName;
35
+
36
+ $params["pdfMode"] = postvalue("pdf") !== "";
37
+
38
+ $params["masterTable"] = postvalue("mastertable");
39
+ if( $params["masterTable"] )
40
+ $params["masterKeysReq"] = RunnerPage::readMasterKeysFromRequest();
41
+
42
+ if( $pageMode == VIEW_DASHBOARD )
43
+ {
44
+ $params["dashElementName"] = postvalue("dashelement");
45
+ $params["dashTName"] = postvalue("table");
46
+ $params["dashPage"] = postvalue("dashPage");
47
+ if( postvalue("mapRefresh") )
48
+ {
49
+ $params["mapRefresh"] = true;
50
+ $params["vpCoordinates"] = my_json_decode( postvalue("vpCoordinates") );
51
+ }
52
+ }
53
+ if( $pageMode == VIEW_POPUP )
54
+ {
55
+ $params["dashElementName"] = postvalue("dashelement");
56
+ $params["dashTName"] = postvalue("dashTName");
57
+ $params["dashPage"] = postvalue("dashPage");
58
+ }
59
+
60
+ $params["pdfBackgroundImage"] = postvalue("pdfBackgroundImage");
61
+
62
+ $pageObject = new ViewPage($params);
63
+ $pageObject->init();
64
+
65
+ $pageObject->process();
66
+
67
+ ?>
php/classes/charts.php CHANGED
@@ -400,6 +400,8 @@ class Chart
400
  return true;
401
  if("public.items" == $this->chrt_array['tables'][0])
402
  return true;
 
 
403
  return false;
404
  }
405
 
 
400
  return true;
401
  if("public.items" == $this->chrt_array['tables'][0])
402
  return true;
403
+ if("public.appointments" == $this->chrt_array['tables'][0])
404
+ return true;
405
  return false;
406
  }
407
 
php/classes/crosstable_webreport.php CHANGED
@@ -1403,6 +1403,8 @@ class CrossTableWebReport
1403
  $isDB = true;
1404
  if("public.items" == $this->xml_array['tables'][0])
1405
  $isDB = true;
 
 
1406
  return $isDB;
1407
  }
1408
 
 
1403
  $isDB = true;
1404
  if("public.items" == $this->xml_array['tables'][0])
1405
  $isDB = true;
1406
+ if("public.appointments" == $this->xml_array['tables'][0])
1407
+ $isDB = true;
1408
  return $isDB;
1409
  }
1410
 
php/classes/db.php CHANGED
@@ -354,6 +354,7 @@ class DB
354
  $dalTables[ $conn->connId ] = array();
355
  if( "KnowledgeBase2_at_localhost" == $conn->connId )
356
  {
 
357
  $dalTables[$conn->connId][] = array("name" => "diamondprice", "varname" => "KnowledgeBase2_at_localhost_public_diamondprice", "altvarname" => "diamondprice", "connId" => "KnowledgeBase2_at_localhost", "schema" => "public", "connName" => "KnowledgeBase2 at localhost");
358
  $dalTables[$conn->connId][] = array("name" => "faicons", "varname" => "KnowledgeBase2_at_localhost_public_faicons", "altvarname" => "faicons", "connId" => "KnowledgeBase2_at_localhost", "schema" => "public", "connName" => "KnowledgeBase2 at localhost");
359
  $dalTables[$conn->connId][] = array("name" => "fasis_chat_history", "varname" => "KnowledgeBase2_at_localhost_public_fasis_chat_history", "altvarname" => "fasis_chat_history", "connId" => "KnowledgeBase2_at_localhost", "schema" => "public", "connName" => "KnowledgeBase2 at localhost");
 
354
  $dalTables[ $conn->connId ] = array();
355
  if( "KnowledgeBase2_at_localhost" == $conn->connId )
356
  {
357
+ $dalTables[$conn->connId][] = array("name" => "appointments", "varname" => "KnowledgeBase2_at_localhost_public_appointments", "altvarname" => "appointments", "connId" => "KnowledgeBase2_at_localhost", "schema" => "public", "connName" => "KnowledgeBase2 at localhost");
358
  $dalTables[$conn->connId][] = array("name" => "diamondprice", "varname" => "KnowledgeBase2_at_localhost_public_diamondprice", "altvarname" => "diamondprice", "connId" => "KnowledgeBase2_at_localhost", "schema" => "public", "connName" => "KnowledgeBase2 at localhost");
359
  $dalTables[$conn->connId][] = array("name" => "faicons", "varname" => "KnowledgeBase2_at_localhost_public_faicons", "altvarname" => "faicons", "connId" => "KnowledgeBase2_at_localhost", "schema" => "public", "connName" => "KnowledgeBase2 at localhost");
360
  $dalTables[$conn->connId][] = array("name" => "fasis_chat_history", "varname" => "KnowledgeBase2_at_localhost_public_fasis_chat_history", "altvarname" => "fasis_chat_history", "connId" => "KnowledgeBase2_at_localhost", "schema" => "public", "connName" => "KnowledgeBase2 at localhost");
php/classes/projectsettings.php CHANGED
@@ -3600,6 +3600,8 @@ function fillProjectEntites()
3600
  $projectEntitiesReverse[ "products" ] = "public.products";
3601
  $projectEntities[ "public.items" ] = array( "url" => "items", "type" => 0 );
3602
  $projectEntitiesReverse[ "items" ] = "public.items";
 
 
3603
  }
3604
 
3605
  function findTable( $table ) {
 
3600
  $projectEntitiesReverse[ "products" ] = "public.products";
3601
  $projectEntities[ "public.items" ] = array( "url" => "items", "type" => 0 );
3602
  $projectEntitiesReverse[ "items" ] = "public.items";
3603
+ $projectEntities[ "public.appointments" ] = array( "url" => "appointments", "type" => 0 );
3604
+ $projectEntitiesReverse[ "appointments" ] = "public.appointments";
3605
  }
3606
 
3607
  function findTable( $table ) {
php/classes/security.php CHANGED
@@ -1917,6 +1917,7 @@ class Security
1917
  return true;
1918
  return true;
1919
  return true;
 
1920
  return false;
1921
  }
1922
 
 
1917
  return true;
1918
  return true;
1919
  return true;
1920
+ return true;
1921
  return false;
1922
  }
1923
 
php/connections/ConnectionManager_base.php CHANGED
@@ -254,6 +254,7 @@ class ConnectionManager_Base
254
  $connectionsIds["public.diamondprice"] = "KnowledgeBase2_at_localhost";
255
  $connectionsIds["public.products"] = "KnowledgeBase2_at_localhost";
256
  $connectionsIds["public.items"] = "KnowledgeBase2_at_localhost";
 
257
 
258
  $this->_tablesConnectionIds = &$connectionsIds;
259
  }
 
254
  $connectionsIds["public.diamondprice"] = "KnowledgeBase2_at_localhost";
255
  $connectionsIds["public.products"] = "KnowledgeBase2_at_localhost";
256
  $connectionsIds["public.items"] = "KnowledgeBase2_at_localhost";
257
+ $connectionsIds["public.appointments"] = "KnowledgeBase2_at_localhost";
258
 
259
  $this->_tablesConnectionIds = &$connectionsIds;
260
  }
php/include/appointments_settings.php ADDED
@@ -0,0 +1,2747 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ $tdataappointments = array();
3
+ $tdataappointments[".searchableFields"] = array();
4
+ $tdataappointments[".ShortName"] = "appointments";
5
+ $tdataappointments[".OwnerID"] = "";
6
+ $tdataappointments[".OriginalTable"] = "public.appointments";
7
+
8
+
9
+ $tdataappointments[".pagesByType"] = my_json_decode( "{\"add\":[\"add\"],\"edit\":[\"edit\"],\"export\":[\"export\"],\"import\":[\"import\"],\"list\":[\"list\"],\"print\":[\"print\"],\"search\":[\"search\"],\"view\":[\"view\"]}" );
10
+ $tdataappointments[".originalPagesByType"] = $tdataappointments[".pagesByType"];
11
+ $tdataappointments[".pages"] = types2pages( my_json_decode( "{\"add\":[\"add\"],\"edit\":[\"edit\"],\"export\":[\"export\"],\"import\":[\"import\"],\"list\":[\"list\"],\"print\":[\"print\"],\"search\":[\"search\"],\"view\":[\"view\"]}" ) );
12
+ $tdataappointments[".originalPages"] = $tdataappointments[".pages"];
13
+ $tdataappointments[".defaultPages"] = my_json_decode( "{\"add\":\"add\",\"edit\":\"edit\",\"export\":\"export\",\"import\":\"import\",\"list\":\"list\",\"print\":\"print\",\"search\":\"search\",\"view\":\"view\"}" );
14
+ $tdataappointments[".originalDefaultPages"] = $tdataappointments[".defaultPages"];
15
+
16
+ // field labels
17
+ $fieldLabelsappointments = array();
18
+ $fieldToolTipsappointments = array();
19
+ $pageTitlesappointments = array();
20
+ $placeHoldersappointments = array();
21
+
22
+ if(mlang_getcurrentlang()=="English")
23
+ {
24
+ $fieldLabelsappointments["English"] = array();
25
+ $fieldToolTipsappointments["English"] = array();
26
+ $placeHoldersappointments["English"] = array();
27
+ $pageTitlesappointments["English"] = array();
28
+ $fieldLabelsappointments["English"]["id"] = "Id";
29
+ $fieldToolTipsappointments["English"]["id"] = "";
30
+ $placeHoldersappointments["English"]["id"] = "";
31
+ $fieldLabelsappointments["English"]["date"] = "Date";
32
+ $fieldToolTipsappointments["English"]["date"] = "";
33
+ $placeHoldersappointments["English"]["date"] = "";
34
+ $fieldLabelsappointments["English"]["time"] = "Time";
35
+ $fieldToolTipsappointments["English"]["time"] = "";
36
+ $placeHoldersappointments["English"]["time"] = "";
37
+ $fieldLabelsappointments["English"]["customer_name"] = "Customer Name";
38
+ $fieldToolTipsappointments["English"]["customer_name"] = "";
39
+ $placeHoldersappointments["English"]["customer_name"] = "";
40
+ $fieldLabelsappointments["English"]["product_type"] = "Product Type";
41
+ $fieldToolTipsappointments["English"]["product_type"] = "";
42
+ $placeHoldersappointments["English"]["product_type"] = "";
43
+ $fieldLabelsappointments["English"]["product_brand"] = "Product Brand";
44
+ $fieldToolTipsappointments["English"]["product_brand"] = "";
45
+ $placeHoldersappointments["English"]["product_brand"] = "";
46
+ $fieldLabelsappointments["English"]["product_model"] = "Product Model";
47
+ $fieldToolTipsappointments["English"]["product_model"] = "";
48
+ $placeHoldersappointments["English"]["product_model"] = "";
49
+ $fieldLabelsappointments["English"]["product_serial_number"] = "Product Serial Number";
50
+ $fieldToolTipsappointments["English"]["product_serial_number"] = "";
51
+ $placeHoldersappointments["English"]["product_serial_number"] = "";
52
+ $fieldLabelsappointments["English"]["purchase_date"] = "Purchase Date";
53
+ $fieldToolTipsappointments["English"]["purchase_date"] = "";
54
+ $placeHoldersappointments["English"]["purchase_date"] = "";
55
+ $fieldLabelsappointments["English"]["purchase_price"] = "Purchase Price";
56
+ $fieldToolTipsappointments["English"]["purchase_price"] = "";
57
+ $placeHoldersappointments["English"]["purchase_price"] = "";
58
+ $fieldLabelsappointments["English"]["condition_rating"] = "Condition Rating";
59
+ $fieldToolTipsappointments["English"]["condition_rating"] = "";
60
+ $placeHoldersappointments["English"]["condition_rating"] = "";
61
+ $fieldLabelsappointments["English"]["metal_purity"] = "Metal Purity";
62
+ $fieldToolTipsappointments["English"]["metal_purity"] = "";
63
+ $placeHoldersappointments["English"]["metal_purity"] = "";
64
+ $fieldLabelsappointments["English"]["metal_weight"] = "Metal Weight";
65
+ $fieldToolTipsappointments["English"]["metal_weight"] = "";
66
+ $placeHoldersappointments["English"]["metal_weight"] = "";
67
+ $fieldLabelsappointments["English"]["gemstone_certification"] = "Gemstone Certification";
68
+ $fieldToolTipsappointments["English"]["gemstone_certification"] = "";
69
+ $placeHoldersappointments["English"]["gemstone_certification"] = "";
70
+ $fieldLabelsappointments["English"]["initial"] = "Initial";
71
+ $fieldToolTipsappointments["English"]["initial"] = "";
72
+ $placeHoldersappointments["English"]["initial"] = "";
73
+ if (count($fieldToolTipsappointments["English"]))
74
+ $tdataappointments[".isUseToolTips"] = true;
75
+ }
76
+
77
+
78
+ $tdataappointments[".NCSearch"] = true;
79
+
80
+
81
+
82
+ $tdataappointments[".shortTableName"] = "appointments";
83
+ $tdataappointments[".nSecOptions"] = 0;
84
+
85
+ $tdataappointments[".mainTableOwnerID"] = "";
86
+ $tdataappointments[".entityType"] = 0;
87
+ $tdataappointments[".connId"] = "KnowledgeBase2_at_localhost";
88
+
89
+
90
+ $tdataappointments[".strOriginalTableName"] = "public.appointments";
91
+
92
+
93
+
94
+
95
+
96
+ $tdataappointments[".showAddInPopup"] = false;
97
+
98
+ $tdataappointments[".showEditInPopup"] = false;
99
+
100
+ $tdataappointments[".showViewInPopup"] = false;
101
+
102
+ $tdataappointments[".listAjax"] = false;
103
+ // temporary
104
+ //$tdataappointments[".listAjax"] = false;
105
+
106
+ $tdataappointments[".audit"] = false;
107
+
108
+ $tdataappointments[".locking"] = false;
109
+
110
+
111
+ $pages = $tdataappointments[".defaultPages"];
112
+
113
+ if( $pages[PAGE_EDIT] ) {
114
+ $tdataappointments[".edit"] = true;
115
+ $tdataappointments[".afterEditAction"] = 1;
116
+ $tdataappointments[".closePopupAfterEdit"] = 1;
117
+ $tdataappointments[".afterEditActionDetTable"] = "";
118
+ }
119
+
120
+ if( $pages[PAGE_ADD] ) {
121
+ $tdataappointments[".add"] = true;
122
+ $tdataappointments[".afterAddAction"] = 1;
123
+ $tdataappointments[".closePopupAfterAdd"] = 1;
124
+ $tdataappointments[".afterAddActionDetTable"] = "";
125
+ }
126
+
127
+ if( $pages[PAGE_LIST] ) {
128
+ $tdataappointments[".list"] = true;
129
+ }
130
+
131
+
132
+
133
+ $tdataappointments[".strSortControlSettingsJSON"] = "";
134
+
135
+
136
+
137
+
138
+ if( $pages[PAGE_VIEW] ) {
139
+ $tdataappointments[".view"] = true;
140
+ }
141
+
142
+ if( $pages[PAGE_IMPORT] ) {
143
+ $tdataappointments[".import"] = true;
144
+ }
145
+
146
+ if( $pages[PAGE_EXPORT] ) {
147
+ $tdataappointments[".exportTo"] = true;
148
+ }
149
+
150
+ if( $pages[PAGE_PRINT] ) {
151
+ $tdataappointments[".printFriendly"] = true;
152
+ }
153
+
154
+
155
+
156
+ $tdataappointments[".showSimpleSearchOptions"] = true; // temp fix #13449
157
+
158
+ // Allow Show/Hide Fields in GRID
159
+ $tdataappointments[".allowShowHideFields"] = true; // temp fix #13449
160
+ //
161
+
162
+ // Allow Fields Reordering in GRID
163
+ $tdataappointments[".allowFieldsReordering"] = true; // temp fix #13449
164
+ //
165
+
166
+ $tdataappointments[".isUseAjaxSuggest"] = true;
167
+
168
+
169
+
170
+
171
+
172
+ $tdataappointments[".ajaxCodeSnippetAdded"] = false;
173
+
174
+ $tdataappointments[".buttonsAdded"] = false;
175
+
176
+ $tdataappointments[".addPageEvents"] = false;
177
+
178
+ // use timepicker for search panel
179
+ $tdataappointments[".isUseTimeForSearch"] = false;
180
+
181
+
182
+ $tdataappointments[".badgeColor"] = "D2691E";
183
+
184
+
185
+ $tdataappointments[".allSearchFields"] = array();
186
+ $tdataappointments[".filterFields"] = array();
187
+ $tdataappointments[".requiredSearchFields"] = array();
188
+
189
+ $tdataappointments[".googleLikeFields"] = array();
190
+ $tdataappointments[".googleLikeFields"][] = "id";
191
+ $tdataappointments[".googleLikeFields"][] = "date";
192
+ $tdataappointments[".googleLikeFields"][] = "time";
193
+ $tdataappointments[".googleLikeFields"][] = "customer_name";
194
+ $tdataappointments[".googleLikeFields"][] = "product_type";
195
+ $tdataappointments[".googleLikeFields"][] = "product_brand";
196
+ $tdataappointments[".googleLikeFields"][] = "product_model";
197
+ $tdataappointments[".googleLikeFields"][] = "product_serial_number";
198
+ $tdataappointments[".googleLikeFields"][] = "purchase_date";
199
+ $tdataappointments[".googleLikeFields"][] = "purchase_price";
200
+ $tdataappointments[".googleLikeFields"][] = "condition_rating";
201
+ $tdataappointments[".googleLikeFields"][] = "metal_purity";
202
+ $tdataappointments[".googleLikeFields"][] = "metal_weight";
203
+ $tdataappointments[".googleLikeFields"][] = "gemstone_certification";
204
+ $tdataappointments[".googleLikeFields"][] = "initial";
205
+
206
+
207
+
208
+ $tdataappointments[".tableType"] = "list";
209
+
210
+ $tdataappointments[".printerPageOrientation"] = 0;
211
+ $tdataappointments[".nPrinterPageScale"] = 100;
212
+
213
+ $tdataappointments[".nPrinterSplitRecords"] = 40;
214
+
215
+ $tdataappointments[".geocodingEnabled"] = false;
216
+
217
+
218
+
219
+
220
+
221
+
222
+
223
+
224
+
225
+
226
+ $tdataappointments[".pageSize"] = 20;
227
+
228
+ $tdataappointments[".warnLeavingPages"] = true;
229
+
230
+
231
+
232
+ $tstrOrderBy = "";
233
+ $tdataappointments[".strOrderBy"] = $tstrOrderBy;
234
+
235
+ $tdataappointments[".orderindexes"] = array();
236
+
237
+
238
+ $tdataappointments[".sqlHead"] = "SELECT id, \"date\", \"time\", customer_name, product_type, product_brand, product_model, product_serial_number, purchase_date, purchase_price, condition_rating, metal_purity, metal_weight, gemstone_certification, \"initial\"";
239
+ $tdataappointments[".sqlFrom"] = "FROM \"public\".appointments";
240
+ $tdataappointments[".sqlWhereExpr"] = "";
241
+ $tdataappointments[".sqlTail"] = "";
242
+
243
+
244
+
245
+
246
+
247
+
248
+
249
+
250
+
251
+
252
+ //fill array of records per page for list and report without group fields
253
+ $arrRPP = array();
254
+ $arrRPP[] = 10;
255
+ $arrRPP[] = 20;
256
+ $arrRPP[] = 30;
257
+ $arrRPP[] = 50;
258
+ $arrRPP[] = 100;
259
+ $arrRPP[] = 500;
260
+ $arrRPP[] = -1;
261
+ $tdataappointments[".arrRecsPerPage"] = $arrRPP;
262
+
263
+ //fill array of groups per page for report with group fields
264
+ $arrGPP = array();
265
+ $arrGPP[] = 1;
266
+ $arrGPP[] = 3;
267
+ $arrGPP[] = 5;
268
+ $arrGPP[] = 10;
269
+ $arrGPP[] = 50;
270
+ $arrGPP[] = 100;
271
+ $arrGPP[] = -1;
272
+ $tdataappointments[".arrGroupsPerPage"] = $arrGPP;
273
+
274
+ $tdataappointments[".highlightSearchResults"] = true;
275
+
276
+ $tableKeysappointments = array();
277
+ $tableKeysappointments[] = "id";
278
+ $tdataappointments[".Keys"] = $tableKeysappointments;
279
+
280
+
281
+ $tdataappointments[".hideMobileList"] = array();
282
+
283
+
284
+
285
+
286
+ // id
287
+ // Custom field settings
288
+ $fdata = array();
289
+ $fdata["Index"] = 1;
290
+ $fdata["strName"] = "id";
291
+ $fdata["GoodName"] = "id";
292
+ $fdata["ownerTable"] = "public.appointments";
293
+ $fdata["Label"] = GetFieldLabel("public_appointments","id");
294
+ $fdata["FieldType"] = 3;
295
+
296
+
297
+
298
+
299
+
300
+
301
+ $fdata["strField"] = "id";
302
+
303
+ $fdata["sourceSingle"] = "id";
304
+
305
+
306
+ $fdata["isSQLExpression"] = true;
307
+ $fdata["FullName"] = "id";
308
+
309
+
310
+
311
+ $fdata["UploadFolder"] = "files";
312
+
313
+ // Begin View Formats
314
+ $fdata["ViewFormats"] = array();
315
+
316
+ $vdata = array("ViewFormat" => "");
317
+
318
+
319
+
320
+
321
+
322
+
323
+
324
+
325
+
326
+
327
+
328
+
329
+
330
+
331
+
332
+ $vdata["NeedEncode"] = true;
333
+
334
+
335
+ $vdata["truncateText"] = true;
336
+ $vdata["NumberOfChars"] = 80;
337
+
338
+ $fdata["ViewFormats"]["view"] = $vdata;
339
+ // End View Formats
340
+
341
+ // Begin Edit Formats
342
+ $fdata["EditFormats"] = array();
343
+
344
+ $edata = array("EditFormat" => "Text field");
345
+
346
+
347
+ $edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
348
+ $edata["weekdays"] = "[]";
349
+
350
+
351
+
352
+
353
+
354
+
355
+
356
+ $edata["IsRequired"] = true;
357
+
358
+
359
+
360
+
361
+ $edata["acceptFileTypesHtml"] = "";
362
+
363
+ $edata["maxNumberOfFiles"] = 1;
364
+
365
+
366
+
367
+
368
+
369
+ $edata["HTML5InuptType"] = "text";
370
+
371
+ $edata["EditParams"] = "";
372
+
373
+ $edata["controlWidth"] = 200;
374
+
375
+ // Begin validation
376
+ $edata["validateAs"] = array();
377
+ $edata["validateAs"]["basicValidate"] = array();
378
+ $edata["validateAs"]["customMessages"] = array();
379
+ $edata["validateAs"]["basicValidate"][] = getJsValidatorName("Number");
380
+ $edata["validateAs"]["basicValidate"][] = "IsRequired";
381
+
382
+
383
+ // End validation
384
+
385
+
386
+
387
+
388
+
389
+
390
+ $fdata["EditFormats"]["edit"] = $edata;
391
+ // End Edit Formats
392
+
393
+
394
+ $fdata["isSeparate"] = false;
395
+
396
+
397
+
398
+
399
+ // the field's search options settings
400
+ $fdata["defaultSearchOption"] = "Contains";
401
+
402
+ // the default search options list
403
+ $fdata["searchOptionsList"] = array("Contains", "Equals", "Starts with", "More than", "Less than", "Between", "Empty", NOT_EMPTY);
404
+ // the end of search options settings
405
+
406
+
407
+ //Filters settings
408
+ $fdata["filterTotals"] = 0;
409
+ $fdata["filterMultiSelect"] = 0;
410
+ $fdata["filterFormat"] = "Values list";
411
+ $fdata["showCollapsed"] = false;
412
+
413
+ $fdata["sortValueType"] = 0;
414
+ $fdata["numberOfVisibleItems"] = 10;
415
+
416
+ $fdata["filterBy"] = 0;
417
+
418
+
419
+
420
+
421
+
422
+ //end of Filters settings
423
+
424
+
425
+ $tdataappointments["id"] = $fdata;
426
+ $tdataappointments[".searchableFields"][] = "id";
427
+ // date
428
+ // Custom field settings
429
+ $fdata = array();
430
+ $fdata["Index"] = 2;
431
+ $fdata["strName"] = "date";
432
+ $fdata["GoodName"] = "date";
433
+ $fdata["ownerTable"] = "public.appointments";
434
+ $fdata["Label"] = GetFieldLabel("public_appointments","date");
435
+ $fdata["FieldType"] = 7;
436
+
437
+
438
+
439
+
440
+
441
+
442
+ $fdata["strField"] = "date";
443
+
444
+ $fdata["sourceSingle"] = "date";
445
+
446
+
447
+ $fdata["isSQLExpression"] = true;
448
+ $fdata["FullName"] = "\"date\"";
449
+
450
+
451
+
452
+ $fdata["UploadFolder"] = "files";
453
+
454
+ // Begin View Formats
455
+ $fdata["ViewFormats"] = array();
456
+
457
+ $vdata = array("ViewFormat" => "Short Date");
458
+
459
+
460
+
461
+
462
+
463
+
464
+
465
+
466
+
467
+
468
+
469
+
470
+
471
+
472
+
473
+ $vdata["NeedEncode"] = true;
474
+
475
+
476
+ $vdata["truncateText"] = true;
477
+ $vdata["NumberOfChars"] = 80;
478
+
479
+ $fdata["ViewFormats"]["view"] = $vdata;
480
+ // End View Formats
481
+
482
+ // Begin Edit Formats
483
+ $fdata["EditFormats"] = array();
484
+
485
+ $edata = array("EditFormat" => "Date");
486
+
487
+
488
+ $edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
489
+ $edata["weekdays"] = "[]";
490
+
491
+
492
+
493
+
494
+
495
+
496
+
497
+
498
+
499
+
500
+
501
+ $edata["acceptFileTypesHtml"] = "";
502
+
503
+ $edata["maxNumberOfFiles"] = 1;
504
+
505
+
506
+
507
+ $edata["DateEditType"] = 13;
508
+ $edata["InitialYearFactor"] = 100;
509
+ $edata["LastYearFactor"] = 10;
510
+
511
+
512
+
513
+
514
+ $edata["controlWidth"] = 200;
515
+
516
+ // Begin validation
517
+ $edata["validateAs"] = array();
518
+ $edata["validateAs"]["basicValidate"] = array();
519
+ $edata["validateAs"]["customMessages"] = array();
520
+
521
+
522
+ // End validation
523
+
524
+
525
+
526
+
527
+
528
+
529
+ $fdata["EditFormats"]["edit"] = $edata;
530
+ // End Edit Formats
531
+
532
+
533
+ $fdata["isSeparate"] = false;
534
+
535
+
536
+
537
+
538
+ // the field's search options settings
539
+ $fdata["defaultSearchOption"] = "Equals";
540
+
541
+ // the default search options list
542
+ $fdata["searchOptionsList"] = array("Equals", "More than", "Less than", "Between", EMPTY_SEARCH, NOT_EMPTY );
543
+ // the end of search options settings
544
+
545
+
546
+ //Filters settings
547
+ $fdata["filterTotals"] = 0;
548
+ $fdata["filterMultiSelect"] = 0;
549
+ $fdata["filterFormat"] = "Values list";
550
+ $fdata["showCollapsed"] = false;
551
+
552
+ $fdata["sortValueType"] = 0;
553
+ $fdata["numberOfVisibleItems"] = 10;
554
+
555
+ $fdata["filterBy"] = 0;
556
+
557
+
558
+
559
+
560
+
561
+ //end of Filters settings
562
+
563
+
564
+ $tdataappointments["date"] = $fdata;
565
+ $tdataappointments[".searchableFields"][] = "date";
566
+ // time
567
+ // Custom field settings
568
+ $fdata = array();
569
+ $fdata["Index"] = 3;
570
+ $fdata["strName"] = "time";
571
+ $fdata["GoodName"] = "time";
572
+ $fdata["ownerTable"] = "public.appointments";
573
+ $fdata["Label"] = GetFieldLabel("public_appointments","time");
574
+ $fdata["FieldType"] = 134;
575
+
576
+
577
+
578
+
579
+
580
+
581
+ $fdata["strField"] = "time";
582
+
583
+ $fdata["sourceSingle"] = "time";
584
+
585
+
586
+ $fdata["isSQLExpression"] = true;
587
+ $fdata["FullName"] = "\"time\"";
588
+
589
+
590
+
591
+ $fdata["UploadFolder"] = "files";
592
+
593
+ // Begin View Formats
594
+ $fdata["ViewFormats"] = array();
595
+
596
+ $vdata = array("ViewFormat" => "Time");
597
+
598
+
599
+
600
+
601
+
602
+
603
+
604
+
605
+
606
+
607
+
608
+
609
+
610
+
611
+ $vdata["timeFormatData"] = array(
612
+ "showSeconds" => false,
613
+ "showDaysInTotals" => false,
614
+ "timeFormat" => 0
615
+ );
616
+ $vdata["timeFormatData"]["showSeconds"] = true;
617
+ $vdata["timeFormatData"]["showDaysInTotals"] = true;
618
+
619
+ $vdata["NeedEncode"] = true;
620
+
621
+
622
+ $vdata["truncateText"] = true;
623
+ $vdata["NumberOfChars"] = 80;
624
+
625
+ $fdata["ViewFormats"]["view"] = $vdata;
626
+ // End View Formats
627
+
628
+ // Begin Edit Formats
629
+ $fdata["EditFormats"] = array();
630
+
631
+ $edata = array("EditFormat" => "Time");
632
+
633
+
634
+ $edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
635
+ $edata["weekdays"] = "[]";
636
+
637
+
638
+
639
+
640
+
641
+
642
+
643
+
644
+
645
+
646
+
647
+ $edata["acceptFileTypesHtml"] = "";
648
+
649
+ $edata["maxNumberOfFiles"] = 1;
650
+
651
+
652
+
653
+
654
+
655
+
656
+ $edata["EditParams"] = "";
657
+
658
+ $edata["controlWidth"] = 200;
659
+
660
+ // Begin validation
661
+ $edata["validateAs"] = array();
662
+ $edata["validateAs"]["basicValidate"] = array();
663
+ $edata["validateAs"]["customMessages"] = array();
664
+
665
+
666
+ // End validation
667
+
668
+
669
+
670
+ $hours = 24;
671
+ $edata["FormatTimeAttrs"] = array("useTimePicker" => 0,
672
+ "hours" => $hours,
673
+ "minutes" => 1,
674
+ "showSeconds" => 0);
675
+
676
+
677
+
678
+ $fdata["EditFormats"]["edit"] = $edata;
679
+ // End Edit Formats
680
+
681
+
682
+ $fdata["isSeparate"] = false;
683
+
684
+
685
+
686
+
687
+ // the field's search options settings
688
+ $fdata["defaultSearchOption"] = "Equals";
689
+
690
+ // the default search options list
691
+ $fdata["searchOptionsList"] = array("Equals", "More than", "Less than", "Between", EMPTY_SEARCH, NOT_EMPTY );
692
+ // the end of search options settings
693
+
694
+
695
+ //Filters settings
696
+ $fdata["filterTotals"] = 0;
697
+ $fdata["filterMultiSelect"] = 0;
698
+ $fdata["filterFormat"] = "Values list";
699
+ $fdata["showCollapsed"] = false;
700
+
701
+ $fdata["sortValueType"] = 0;
702
+ $fdata["numberOfVisibleItems"] = 10;
703
+
704
+ $fdata["filterBy"] = 0;
705
+
706
+
707
+
708
+
709
+
710
+ //end of Filters settings
711
+
712
+
713
+ $tdataappointments["time"] = $fdata;
714
+ $tdataappointments[".searchableFields"][] = "time";
715
+ // customer_name
716
+ // Custom field settings
717
+ $fdata = array();
718
+ $fdata["Index"] = 4;
719
+ $fdata["strName"] = "customer_name";
720
+ $fdata["GoodName"] = "customer_name";
721
+ $fdata["ownerTable"] = "public.appointments";
722
+ $fdata["Label"] = GetFieldLabel("public_appointments","customer_name");
723
+ $fdata["FieldType"] = 200;
724
+
725
+
726
+
727
+
728
+
729
+
730
+ $fdata["strField"] = "customer_name";
731
+
732
+ $fdata["sourceSingle"] = "customer_name";
733
+
734
+
735
+ $fdata["isSQLExpression"] = true;
736
+ $fdata["FullName"] = "customer_name";
737
+
738
+
739
+
740
+ $fdata["UploadFolder"] = "files";
741
+
742
+ // Begin View Formats
743
+ $fdata["ViewFormats"] = array();
744
+
745
+ $vdata = array("ViewFormat" => "");
746
+
747
+
748
+
749
+
750
+
751
+
752
+
753
+
754
+
755
+
756
+
757
+
758
+
759
+
760
+
761
+ $vdata["NeedEncode"] = true;
762
+
763
+
764
+ $vdata["truncateText"] = true;
765
+ $vdata["NumberOfChars"] = 80;
766
+
767
+ $fdata["ViewFormats"]["view"] = $vdata;
768
+ // End View Formats
769
+
770
+ // Begin Edit Formats
771
+ $fdata["EditFormats"] = array();
772
+
773
+ $edata = array("EditFormat" => "Text field");
774
+
775
+
776
+ $edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
777
+ $edata["weekdays"] = "[]";
778
+
779
+
780
+
781
+
782
+
783
+
784
+
785
+
786
+
787
+
788
+
789
+ $edata["acceptFileTypesHtml"] = "";
790
+
791
+ $edata["maxNumberOfFiles"] = 1;
792
+
793
+
794
+
795
+
796
+
797
+ $edata["HTML5InuptType"] = "text";
798
+
799
+ $edata["EditParams"] = "";
800
+ $edata["EditParams"].= " maxlength=50";
801
+
802
+ $edata["controlWidth"] = 200;
803
+
804
+ // Begin validation
805
+ $edata["validateAs"] = array();
806
+ $edata["validateAs"]["basicValidate"] = array();
807
+ $edata["validateAs"]["customMessages"] = array();
808
+
809
+
810
+ // End validation
811
+
812
+
813
+
814
+
815
+
816
+
817
+ $fdata["EditFormats"]["edit"] = $edata;
818
+ // End Edit Formats
819
+
820
+
821
+ $fdata["isSeparate"] = false;
822
+
823
+
824
+
825
+
826
+ // the field's search options settings
827
+ $fdata["defaultSearchOption"] = "Contains";
828
+
829
+ // the default search options list
830
+ $fdata["searchOptionsList"] = array("Contains", "Equals", "Starts with", "More than", "Less than", "Between", "Empty", NOT_EMPTY);
831
+ // the end of search options settings
832
+
833
+
834
+ //Filters settings
835
+ $fdata["filterTotals"] = 0;
836
+ $fdata["filterMultiSelect"] = 0;
837
+ $fdata["filterFormat"] = "Values list";
838
+ $fdata["showCollapsed"] = false;
839
+
840
+ $fdata["sortValueType"] = 0;
841
+ $fdata["numberOfVisibleItems"] = 10;
842
+
843
+ $fdata["filterBy"] = 0;
844
+
845
+
846
+
847
+
848
+
849
+ //end of Filters settings
850
+
851
+
852
+ $tdataappointments["customer_name"] = $fdata;
853
+ $tdataappointments[".searchableFields"][] = "customer_name";
854
+ // product_type
855
+ // Custom field settings
856
+ $fdata = array();
857
+ $fdata["Index"] = 5;
858
+ $fdata["strName"] = "product_type";
859
+ $fdata["GoodName"] = "product_type";
860
+ $fdata["ownerTable"] = "public.appointments";
861
+ $fdata["Label"] = GetFieldLabel("public_appointments","product_type");
862
+ $fdata["FieldType"] = 200;
863
+
864
+
865
+
866
+
867
+
868
+
869
+ $fdata["strField"] = "product_type";
870
+
871
+ $fdata["sourceSingle"] = "product_type";
872
+
873
+
874
+ $fdata["isSQLExpression"] = true;
875
+ $fdata["FullName"] = "product_type";
876
+
877
+
878
+
879
+ $fdata["UploadFolder"] = "files";
880
+
881
+ // Begin View Formats
882
+ $fdata["ViewFormats"] = array();
883
+
884
+ $vdata = array("ViewFormat" => "");
885
+
886
+
887
+
888
+
889
+
890
+
891
+
892
+
893
+
894
+
895
+
896
+
897
+
898
+
899
+
900
+ $vdata["NeedEncode"] = true;
901
+
902
+
903
+ $vdata["truncateText"] = true;
904
+ $vdata["NumberOfChars"] = 80;
905
+
906
+ $fdata["ViewFormats"]["view"] = $vdata;
907
+ // End View Formats
908
+
909
+ // Begin Edit Formats
910
+ $fdata["EditFormats"] = array();
911
+
912
+ $edata = array("EditFormat" => "Text field");
913
+
914
+
915
+ $edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
916
+ $edata["weekdays"] = "[]";
917
+
918
+
919
+
920
+
921
+
922
+
923
+
924
+
925
+
926
+
927
+
928
+ $edata["acceptFileTypesHtml"] = "";
929
+
930
+ $edata["maxNumberOfFiles"] = 1;
931
+
932
+
933
+
934
+
935
+
936
+ $edata["HTML5InuptType"] = "text";
937
+
938
+ $edata["EditParams"] = "";
939
+ $edata["EditParams"].= " maxlength=50";
940
+
941
+ $edata["controlWidth"] = 200;
942
+
943
+ // Begin validation
944
+ $edata["validateAs"] = array();
945
+ $edata["validateAs"]["basicValidate"] = array();
946
+ $edata["validateAs"]["customMessages"] = array();
947
+
948
+
949
+ // End validation
950
+
951
+
952
+
953
+
954
+
955
+
956
+ $fdata["EditFormats"]["edit"] = $edata;
957
+ // End Edit Formats
958
+
959
+
960
+ $fdata["isSeparate"] = false;
961
+
962
+
963
+
964
+
965
+ // the field's search options settings
966
+ $fdata["defaultSearchOption"] = "Contains";
967
+
968
+ // the default search options list
969
+ $fdata["searchOptionsList"] = array("Contains", "Equals", "Starts with", "More than", "Less than", "Between", "Empty", NOT_EMPTY);
970
+ // the end of search options settings
971
+
972
+
973
+ //Filters settings
974
+ $fdata["filterTotals"] = 0;
975
+ $fdata["filterMultiSelect"] = 0;
976
+ $fdata["filterFormat"] = "Values list";
977
+ $fdata["showCollapsed"] = false;
978
+
979
+ $fdata["sortValueType"] = 0;
980
+ $fdata["numberOfVisibleItems"] = 10;
981
+
982
+ $fdata["filterBy"] = 0;
983
+
984
+
985
+
986
+
987
+
988
+ //end of Filters settings
989
+
990
+
991
+ $tdataappointments["product_type"] = $fdata;
992
+ $tdataappointments[".searchableFields"][] = "product_type";
993
+ // product_brand
994
+ // Custom field settings
995
+ $fdata = array();
996
+ $fdata["Index"] = 6;
997
+ $fdata["strName"] = "product_brand";
998
+ $fdata["GoodName"] = "product_brand";
999
+ $fdata["ownerTable"] = "public.appointments";
1000
+ $fdata["Label"] = GetFieldLabel("public_appointments","product_brand");
1001
+ $fdata["FieldType"] = 200;
1002
+
1003
+
1004
+
1005
+
1006
+
1007
+
1008
+ $fdata["strField"] = "product_brand";
1009
+
1010
+ $fdata["sourceSingle"] = "product_brand";
1011
+
1012
+
1013
+ $fdata["isSQLExpression"] = true;
1014
+ $fdata["FullName"] = "product_brand";
1015
+
1016
+
1017
+
1018
+ $fdata["UploadFolder"] = "files";
1019
+
1020
+ // Begin View Formats
1021
+ $fdata["ViewFormats"] = array();
1022
+
1023
+ $vdata = array("ViewFormat" => "");
1024
+
1025
+
1026
+
1027
+
1028
+
1029
+
1030
+
1031
+
1032
+
1033
+
1034
+
1035
+
1036
+
1037
+
1038
+
1039
+ $vdata["NeedEncode"] = true;
1040
+
1041
+
1042
+ $vdata["truncateText"] = true;
1043
+ $vdata["NumberOfChars"] = 80;
1044
+
1045
+ $fdata["ViewFormats"]["view"] = $vdata;
1046
+ // End View Formats
1047
+
1048
+ // Begin Edit Formats
1049
+ $fdata["EditFormats"] = array();
1050
+
1051
+ $edata = array("EditFormat" => "Text field");
1052
+
1053
+
1054
+ $edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
1055
+ $edata["weekdays"] = "[]";
1056
+
1057
+
1058
+
1059
+
1060
+
1061
+
1062
+
1063
+
1064
+
1065
+
1066
+
1067
+ $edata["acceptFileTypesHtml"] = "";
1068
+
1069
+ $edata["maxNumberOfFiles"] = 1;
1070
+
1071
+
1072
+
1073
+
1074
+
1075
+ $edata["HTML5InuptType"] = "text";
1076
+
1077
+ $edata["EditParams"] = "";
1078
+ $edata["EditParams"].= " maxlength=50";
1079
+
1080
+ $edata["controlWidth"] = 200;
1081
+
1082
+ // Begin validation
1083
+ $edata["validateAs"] = array();
1084
+ $edata["validateAs"]["basicValidate"] = array();
1085
+ $edata["validateAs"]["customMessages"] = array();
1086
+
1087
+
1088
+ // End validation
1089
+
1090
+
1091
+
1092
+
1093
+
1094
+
1095
+ $fdata["EditFormats"]["edit"] = $edata;
1096
+ // End Edit Formats
1097
+
1098
+
1099
+ $fdata["isSeparate"] = false;
1100
+
1101
+
1102
+
1103
+
1104
+ // the field's search options settings
1105
+ $fdata["defaultSearchOption"] = "Contains";
1106
+
1107
+ // the default search options list
1108
+ $fdata["searchOptionsList"] = array("Contains", "Equals", "Starts with", "More than", "Less than", "Between", "Empty", NOT_EMPTY);
1109
+ // the end of search options settings
1110
+
1111
+
1112
+ //Filters settings
1113
+ $fdata["filterTotals"] = 0;
1114
+ $fdata["filterMultiSelect"] = 0;
1115
+ $fdata["filterFormat"] = "Values list";
1116
+ $fdata["showCollapsed"] = false;
1117
+
1118
+ $fdata["sortValueType"] = 0;
1119
+ $fdata["numberOfVisibleItems"] = 10;
1120
+
1121
+ $fdata["filterBy"] = 0;
1122
+
1123
+
1124
+
1125
+
1126
+
1127
+ //end of Filters settings
1128
+
1129
+
1130
+ $tdataappointments["product_brand"] = $fdata;
1131
+ $tdataappointments[".searchableFields"][] = "product_brand";
1132
+ // product_model
1133
+ // Custom field settings
1134
+ $fdata = array();
1135
+ $fdata["Index"] = 7;
1136
+ $fdata["strName"] = "product_model";
1137
+ $fdata["GoodName"] = "product_model";
1138
+ $fdata["ownerTable"] = "public.appointments";
1139
+ $fdata["Label"] = GetFieldLabel("public_appointments","product_model");
1140
+ $fdata["FieldType"] = 200;
1141
+
1142
+
1143
+
1144
+
1145
+
1146
+
1147
+ $fdata["strField"] = "product_model";
1148
+
1149
+ $fdata["sourceSingle"] = "product_model";
1150
+
1151
+
1152
+ $fdata["isSQLExpression"] = true;
1153
+ $fdata["FullName"] = "product_model";
1154
+
1155
+
1156
+
1157
+ $fdata["UploadFolder"] = "files";
1158
+
1159
+ // Begin View Formats
1160
+ $fdata["ViewFormats"] = array();
1161
+
1162
+ $vdata = array("ViewFormat" => "");
1163
+
1164
+
1165
+
1166
+
1167
+
1168
+
1169
+
1170
+
1171
+
1172
+
1173
+
1174
+
1175
+
1176
+
1177
+
1178
+ $vdata["NeedEncode"] = true;
1179
+
1180
+
1181
+ $vdata["truncateText"] = true;
1182
+ $vdata["NumberOfChars"] = 80;
1183
+
1184
+ $fdata["ViewFormats"]["view"] = $vdata;
1185
+ // End View Formats
1186
+
1187
+ // Begin Edit Formats
1188
+ $fdata["EditFormats"] = array();
1189
+
1190
+ $edata = array("EditFormat" => "Text field");
1191
+
1192
+
1193
+ $edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
1194
+ $edata["weekdays"] = "[]";
1195
+
1196
+
1197
+
1198
+
1199
+
1200
+
1201
+
1202
+
1203
+
1204
+
1205
+
1206
+ $edata["acceptFileTypesHtml"] = "";
1207
+
1208
+ $edata["maxNumberOfFiles"] = 1;
1209
+
1210
+
1211
+
1212
+
1213
+
1214
+ $edata["HTML5InuptType"] = "text";
1215
+
1216
+ $edata["EditParams"] = "";
1217
+ $edata["EditParams"].= " maxlength=50";
1218
+
1219
+ $edata["controlWidth"] = 200;
1220
+
1221
+ // Begin validation
1222
+ $edata["validateAs"] = array();
1223
+ $edata["validateAs"]["basicValidate"] = array();
1224
+ $edata["validateAs"]["customMessages"] = array();
1225
+
1226
+
1227
+ // End validation
1228
+
1229
+
1230
+
1231
+
1232
+
1233
+
1234
+ $fdata["EditFormats"]["edit"] = $edata;
1235
+ // End Edit Formats
1236
+
1237
+
1238
+ $fdata["isSeparate"] = false;
1239
+
1240
+
1241
+
1242
+
1243
+ // the field's search options settings
1244
+ $fdata["defaultSearchOption"] = "Contains";
1245
+
1246
+ // the default search options list
1247
+ $fdata["searchOptionsList"] = array("Contains", "Equals", "Starts with", "More than", "Less than", "Between", "Empty", NOT_EMPTY);
1248
+ // the end of search options settings
1249
+
1250
+
1251
+ //Filters settings
1252
+ $fdata["filterTotals"] = 0;
1253
+ $fdata["filterMultiSelect"] = 0;
1254
+ $fdata["filterFormat"] = "Values list";
1255
+ $fdata["showCollapsed"] = false;
1256
+
1257
+ $fdata["sortValueType"] = 0;
1258
+ $fdata["numberOfVisibleItems"] = 10;
1259
+
1260
+ $fdata["filterBy"] = 0;
1261
+
1262
+
1263
+
1264
+
1265
+
1266
+ //end of Filters settings
1267
+
1268
+
1269
+ $tdataappointments["product_model"] = $fdata;
1270
+ $tdataappointments[".searchableFields"][] = "product_model";
1271
+ // product_serial_number
1272
+ // Custom field settings
1273
+ $fdata = array();
1274
+ $fdata["Index"] = 8;
1275
+ $fdata["strName"] = "product_serial_number";
1276
+ $fdata["GoodName"] = "product_serial_number";
1277
+ $fdata["ownerTable"] = "public.appointments";
1278
+ $fdata["Label"] = GetFieldLabel("public_appointments","product_serial_number");
1279
+ $fdata["FieldType"] = 200;
1280
+
1281
+
1282
+
1283
+
1284
+
1285
+
1286
+ $fdata["strField"] = "product_serial_number";
1287
+
1288
+ $fdata["sourceSingle"] = "product_serial_number";
1289
+
1290
+
1291
+ $fdata["isSQLExpression"] = true;
1292
+ $fdata["FullName"] = "product_serial_number";
1293
+
1294
+
1295
+
1296
+ $fdata["UploadFolder"] = "files";
1297
+
1298
+ // Begin View Formats
1299
+ $fdata["ViewFormats"] = array();
1300
+
1301
+ $vdata = array("ViewFormat" => "");
1302
+
1303
+
1304
+
1305
+
1306
+
1307
+
1308
+
1309
+
1310
+
1311
+
1312
+
1313
+
1314
+
1315
+
1316
+
1317
+ $vdata["NeedEncode"] = true;
1318
+
1319
+
1320
+ $vdata["truncateText"] = true;
1321
+ $vdata["NumberOfChars"] = 80;
1322
+
1323
+ $fdata["ViewFormats"]["view"] = $vdata;
1324
+ // End View Formats
1325
+
1326
+ // Begin Edit Formats
1327
+ $fdata["EditFormats"] = array();
1328
+
1329
+ $edata = array("EditFormat" => "Text field");
1330
+
1331
+
1332
+ $edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
1333
+ $edata["weekdays"] = "[]";
1334
+
1335
+
1336
+
1337
+
1338
+
1339
+
1340
+
1341
+
1342
+
1343
+
1344
+
1345
+ $edata["acceptFileTypesHtml"] = "";
1346
+
1347
+ $edata["maxNumberOfFiles"] = 1;
1348
+
1349
+
1350
+
1351
+
1352
+
1353
+ $edata["HTML5InuptType"] = "text";
1354
+
1355
+ $edata["EditParams"] = "";
1356
+ $edata["EditParams"].= " maxlength=50";
1357
+
1358
+ $edata["controlWidth"] = 200;
1359
+
1360
+ // Begin validation
1361
+ $edata["validateAs"] = array();
1362
+ $edata["validateAs"]["basicValidate"] = array();
1363
+ $edata["validateAs"]["customMessages"] = array();
1364
+
1365
+
1366
+ // End validation
1367
+
1368
+
1369
+
1370
+
1371
+
1372
+
1373
+ $fdata["EditFormats"]["edit"] = $edata;
1374
+ // End Edit Formats
1375
+
1376
+
1377
+ $fdata["isSeparate"] = false;
1378
+
1379
+
1380
+
1381
+
1382
+ // the field's search options settings
1383
+ $fdata["defaultSearchOption"] = "Contains";
1384
+
1385
+ // the default search options list
1386
+ $fdata["searchOptionsList"] = array("Contains", "Equals", "Starts with", "More than", "Less than", "Between", "Empty", NOT_EMPTY);
1387
+ // the end of search options settings
1388
+
1389
+
1390
+ //Filters settings
1391
+ $fdata["filterTotals"] = 0;
1392
+ $fdata["filterMultiSelect"] = 0;
1393
+ $fdata["filterFormat"] = "Values list";
1394
+ $fdata["showCollapsed"] = false;
1395
+
1396
+ $fdata["sortValueType"] = 0;
1397
+ $fdata["numberOfVisibleItems"] = 10;
1398
+
1399
+ $fdata["filterBy"] = 0;
1400
+
1401
+
1402
+
1403
+
1404
+
1405
+ //end of Filters settings
1406
+
1407
+
1408
+ $tdataappointments["product_serial_number"] = $fdata;
1409
+ $tdataappointments[".searchableFields"][] = "product_serial_number";
1410
+ // purchase_date
1411
+ // Custom field settings
1412
+ $fdata = array();
1413
+ $fdata["Index"] = 9;
1414
+ $fdata["strName"] = "purchase_date";
1415
+ $fdata["GoodName"] = "purchase_date";
1416
+ $fdata["ownerTable"] = "public.appointments";
1417
+ $fdata["Label"] = GetFieldLabel("public_appointments","purchase_date");
1418
+ $fdata["FieldType"] = 7;
1419
+
1420
+
1421
+
1422
+
1423
+
1424
+
1425
+ $fdata["strField"] = "purchase_date";
1426
+
1427
+ $fdata["sourceSingle"] = "purchase_date";
1428
+
1429
+
1430
+ $fdata["isSQLExpression"] = true;
1431
+ $fdata["FullName"] = "purchase_date";
1432
+
1433
+
1434
+
1435
+ $fdata["UploadFolder"] = "files";
1436
+
1437
+ // Begin View Formats
1438
+ $fdata["ViewFormats"] = array();
1439
+
1440
+ $vdata = array("ViewFormat" => "Short Date");
1441
+
1442
+
1443
+
1444
+
1445
+
1446
+
1447
+
1448
+
1449
+
1450
+
1451
+
1452
+
1453
+
1454
+
1455
+
1456
+ $vdata["NeedEncode"] = true;
1457
+
1458
+
1459
+ $vdata["truncateText"] = true;
1460
+ $vdata["NumberOfChars"] = 80;
1461
+
1462
+ $fdata["ViewFormats"]["view"] = $vdata;
1463
+ // End View Formats
1464
+
1465
+ // Begin Edit Formats
1466
+ $fdata["EditFormats"] = array();
1467
+
1468
+ $edata = array("EditFormat" => "Date");
1469
+
1470
+
1471
+ $edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
1472
+ $edata["weekdays"] = "[]";
1473
+
1474
+
1475
+
1476
+
1477
+
1478
+
1479
+
1480
+
1481
+
1482
+
1483
+
1484
+ $edata["acceptFileTypesHtml"] = "";
1485
+
1486
+ $edata["maxNumberOfFiles"] = 1;
1487
+
1488
+
1489
+
1490
+ $edata["DateEditType"] = 13;
1491
+ $edata["InitialYearFactor"] = 100;
1492
+ $edata["LastYearFactor"] = 10;
1493
+
1494
+
1495
+
1496
+
1497
+ $edata["controlWidth"] = 200;
1498
+
1499
+ // Begin validation
1500
+ $edata["validateAs"] = array();
1501
+ $edata["validateAs"]["basicValidate"] = array();
1502
+ $edata["validateAs"]["customMessages"] = array();
1503
+
1504
+
1505
+ // End validation
1506
+
1507
+
1508
+
1509
+
1510
+
1511
+
1512
+ $fdata["EditFormats"]["edit"] = $edata;
1513
+ // End Edit Formats
1514
+
1515
+
1516
+ $fdata["isSeparate"] = false;
1517
+
1518
+
1519
+
1520
+
1521
+ // the field's search options settings
1522
+ $fdata["defaultSearchOption"] = "Equals";
1523
+
1524
+ // the default search options list
1525
+ $fdata["searchOptionsList"] = array("Equals", "More than", "Less than", "Between", EMPTY_SEARCH, NOT_EMPTY );
1526
+ // the end of search options settings
1527
+
1528
+
1529
+ //Filters settings
1530
+ $fdata["filterTotals"] = 0;
1531
+ $fdata["filterMultiSelect"] = 0;
1532
+ $fdata["filterFormat"] = "Values list";
1533
+ $fdata["showCollapsed"] = false;
1534
+
1535
+ $fdata["sortValueType"] = 0;
1536
+ $fdata["numberOfVisibleItems"] = 10;
1537
+
1538
+ $fdata["filterBy"] = 0;
1539
+
1540
+
1541
+
1542
+
1543
+
1544
+ //end of Filters settings
1545
+
1546
+
1547
+ $tdataappointments["purchase_date"] = $fdata;
1548
+ $tdataappointments[".searchableFields"][] = "purchase_date";
1549
+ // purchase_price
1550
+ // Custom field settings
1551
+ $fdata = array();
1552
+ $fdata["Index"] = 10;
1553
+ $fdata["strName"] = "purchase_price";
1554
+ $fdata["GoodName"] = "purchase_price";
1555
+ $fdata["ownerTable"] = "public.appointments";
1556
+ $fdata["Label"] = GetFieldLabel("public_appointments","purchase_price");
1557
+ $fdata["FieldType"] = 14;
1558
+
1559
+
1560
+
1561
+
1562
+
1563
+
1564
+ $fdata["strField"] = "purchase_price";
1565
+
1566
+ $fdata["sourceSingle"] = "purchase_price";
1567
+
1568
+
1569
+ $fdata["isSQLExpression"] = true;
1570
+ $fdata["FullName"] = "purchase_price";
1571
+
1572
+
1573
+
1574
+ $fdata["UploadFolder"] = "files";
1575
+
1576
+ // Begin View Formats
1577
+ $fdata["ViewFormats"] = array();
1578
+
1579
+ $vdata = array("ViewFormat" => "Number");
1580
+
1581
+
1582
+
1583
+
1584
+
1585
+
1586
+
1587
+
1588
+ $vdata["DecimalDigits"] = 2;
1589
+
1590
+
1591
+
1592
+
1593
+
1594
+
1595
+
1596
+ $vdata["NeedEncode"] = true;
1597
+
1598
+
1599
+ $vdata["truncateText"] = true;
1600
+ $vdata["NumberOfChars"] = 80;
1601
+
1602
+ $fdata["ViewFormats"]["view"] = $vdata;
1603
+ // End View Formats
1604
+
1605
+ // Begin Edit Formats
1606
+ $fdata["EditFormats"] = array();
1607
+
1608
+ $edata = array("EditFormat" => "Text field");
1609
+
1610
+
1611
+ $edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
1612
+ $edata["weekdays"] = "[]";
1613
+
1614
+
1615
+
1616
+
1617
+
1618
+
1619
+
1620
+
1621
+
1622
+
1623
+
1624
+ $edata["acceptFileTypesHtml"] = "";
1625
+
1626
+ $edata["maxNumberOfFiles"] = 1;
1627
+
1628
+
1629
+
1630
+
1631
+
1632
+ $edata["HTML5InuptType"] = "text";
1633
+
1634
+ $edata["EditParams"] = "";
1635
+
1636
+ $edata["controlWidth"] = 200;
1637
+
1638
+ // Begin validation
1639
+ $edata["validateAs"] = array();
1640
+ $edata["validateAs"]["basicValidate"] = array();
1641
+ $edata["validateAs"]["customMessages"] = array();
1642
+ $edata["validateAs"]["basicValidate"][] = getJsValidatorName("Number");
1643
+
1644
+
1645
+ // End validation
1646
+
1647
+
1648
+
1649
+
1650
+
1651
+
1652
+ $fdata["EditFormats"]["edit"] = $edata;
1653
+ // End Edit Formats
1654
+
1655
+
1656
+ $fdata["isSeparate"] = false;
1657
+
1658
+
1659
+
1660
+
1661
+ // the field's search options settings
1662
+ $fdata["defaultSearchOption"] = "Contains";
1663
+
1664
+ // the default search options list
1665
+ $fdata["searchOptionsList"] = array("Contains", "Equals", "Starts with", "More than", "Less than", "Between", "Empty", NOT_EMPTY);
1666
+ // the end of search options settings
1667
+
1668
+
1669
+ //Filters settings
1670
+ $fdata["filterTotals"] = 0;
1671
+ $fdata["filterMultiSelect"] = 0;
1672
+ $fdata["filterFormat"] = "Values list";
1673
+ $fdata["showCollapsed"] = false;
1674
+
1675
+ $fdata["sortValueType"] = 0;
1676
+ $fdata["numberOfVisibleItems"] = 10;
1677
+
1678
+ $fdata["filterBy"] = 0;
1679
+
1680
+
1681
+
1682
+
1683
+
1684
+ //end of Filters settings
1685
+
1686
+
1687
+ $tdataappointments["purchase_price"] = $fdata;
1688
+ $tdataappointments[".searchableFields"][] = "purchase_price";
1689
+ // condition_rating
1690
+ // Custom field settings
1691
+ $fdata = array();
1692
+ $fdata["Index"] = 11;
1693
+ $fdata["strName"] = "condition_rating";
1694
+ $fdata["GoodName"] = "condition_rating";
1695
+ $fdata["ownerTable"] = "public.appointments";
1696
+ $fdata["Label"] = GetFieldLabel("public_appointments","condition_rating");
1697
+ $fdata["FieldType"] = 3;
1698
+
1699
+
1700
+
1701
+
1702
+
1703
+
1704
+ $fdata["strField"] = "condition_rating";
1705
+
1706
+ $fdata["sourceSingle"] = "condition_rating";
1707
+
1708
+
1709
+ $fdata["isSQLExpression"] = true;
1710
+ $fdata["FullName"] = "condition_rating";
1711
+
1712
+
1713
+
1714
+ $fdata["UploadFolder"] = "files";
1715
+
1716
+ // Begin View Formats
1717
+ $fdata["ViewFormats"] = array();
1718
+
1719
+ $vdata = array("ViewFormat" => "");
1720
+
1721
+
1722
+
1723
+
1724
+
1725
+
1726
+
1727
+
1728
+
1729
+
1730
+
1731
+
1732
+
1733
+
1734
+
1735
+ $vdata["NeedEncode"] = true;
1736
+
1737
+
1738
+ $vdata["truncateText"] = true;
1739
+ $vdata["NumberOfChars"] = 80;
1740
+
1741
+ $fdata["ViewFormats"]["view"] = $vdata;
1742
+ // End View Formats
1743
+
1744
+ // Begin Edit Formats
1745
+ $fdata["EditFormats"] = array();
1746
+
1747
+ $edata = array("EditFormat" => "Text field");
1748
+
1749
+
1750
+ $edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
1751
+ $edata["weekdays"] = "[]";
1752
+
1753
+
1754
+
1755
+
1756
+
1757
+
1758
+
1759
+
1760
+
1761
+
1762
+
1763
+ $edata["acceptFileTypesHtml"] = "";
1764
+
1765
+ $edata["maxNumberOfFiles"] = 1;
1766
+
1767
+
1768
+
1769
+
1770
+
1771
+ $edata["HTML5InuptType"] = "text";
1772
+
1773
+ $edata["EditParams"] = "";
1774
+
1775
+ $edata["controlWidth"] = 200;
1776
+
1777
+ // Begin validation
1778
+ $edata["validateAs"] = array();
1779
+ $edata["validateAs"]["basicValidate"] = array();
1780
+ $edata["validateAs"]["customMessages"] = array();
1781
+ $edata["validateAs"]["basicValidate"][] = getJsValidatorName("Number");
1782
+
1783
+
1784
+ // End validation
1785
+
1786
+
1787
+
1788
+
1789
+
1790
+
1791
+ $fdata["EditFormats"]["edit"] = $edata;
1792
+ // End Edit Formats
1793
+
1794
+
1795
+ $fdata["isSeparate"] = false;
1796
+
1797
+
1798
+
1799
+
1800
+ // the field's search options settings
1801
+ $fdata["defaultSearchOption"] = "Contains";
1802
+
1803
+ // the default search options list
1804
+ $fdata["searchOptionsList"] = array("Contains", "Equals", "Starts with", "More than", "Less than", "Between", "Empty", NOT_EMPTY);
1805
+ // the end of search options settings
1806
+
1807
+
1808
+ //Filters settings
1809
+ $fdata["filterTotals"] = 0;
1810
+ $fdata["filterMultiSelect"] = 0;
1811
+ $fdata["filterFormat"] = "Values list";
1812
+ $fdata["showCollapsed"] = false;
1813
+
1814
+ $fdata["sortValueType"] = 0;
1815
+ $fdata["numberOfVisibleItems"] = 10;
1816
+
1817
+ $fdata["filterBy"] = 0;
1818
+
1819
+
1820
+
1821
+
1822
+
1823
+ //end of Filters settings
1824
+
1825
+
1826
+ $tdataappointments["condition_rating"] = $fdata;
1827
+ $tdataappointments[".searchableFields"][] = "condition_rating";
1828
+ // metal_purity
1829
+ // Custom field settings
1830
+ $fdata = array();
1831
+ $fdata["Index"] = 12;
1832
+ $fdata["strName"] = "metal_purity";
1833
+ $fdata["GoodName"] = "metal_purity";
1834
+ $fdata["ownerTable"] = "public.appointments";
1835
+ $fdata["Label"] = GetFieldLabel("public_appointments","metal_purity");
1836
+ $fdata["FieldType"] = 200;
1837
+
1838
+
1839
+
1840
+
1841
+
1842
+
1843
+ $fdata["strField"] = "metal_purity";
1844
+
1845
+ $fdata["sourceSingle"] = "metal_purity";
1846
+
1847
+
1848
+ $fdata["isSQLExpression"] = true;
1849
+ $fdata["FullName"] = "metal_purity";
1850
+
1851
+
1852
+
1853
+ $fdata["UploadFolder"] = "files";
1854
+
1855
+ // Begin View Formats
1856
+ $fdata["ViewFormats"] = array();
1857
+
1858
+ $vdata = array("ViewFormat" => "");
1859
+
1860
+
1861
+
1862
+
1863
+
1864
+
1865
+
1866
+
1867
+
1868
+
1869
+
1870
+
1871
+
1872
+
1873
+
1874
+ $vdata["NeedEncode"] = true;
1875
+
1876
+
1877
+ $vdata["truncateText"] = true;
1878
+ $vdata["NumberOfChars"] = 80;
1879
+
1880
+ $fdata["ViewFormats"]["view"] = $vdata;
1881
+ // End View Formats
1882
+
1883
+ // Begin Edit Formats
1884
+ $fdata["EditFormats"] = array();
1885
+
1886
+ $edata = array("EditFormat" => "Text field");
1887
+
1888
+
1889
+ $edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
1890
+ $edata["weekdays"] = "[]";
1891
+
1892
+
1893
+
1894
+
1895
+
1896
+
1897
+
1898
+
1899
+
1900
+
1901
+
1902
+ $edata["acceptFileTypesHtml"] = "";
1903
+
1904
+ $edata["maxNumberOfFiles"] = 1;
1905
+
1906
+
1907
+
1908
+
1909
+
1910
+ $edata["HTML5InuptType"] = "text";
1911
+
1912
+ $edata["EditParams"] = "";
1913
+ $edata["EditParams"].= " maxlength=20";
1914
+
1915
+ $edata["controlWidth"] = 200;
1916
+
1917
+ // Begin validation
1918
+ $edata["validateAs"] = array();
1919
+ $edata["validateAs"]["basicValidate"] = array();
1920
+ $edata["validateAs"]["customMessages"] = array();
1921
+
1922
+
1923
+ // End validation
1924
+
1925
+
1926
+
1927
+
1928
+
1929
+
1930
+ $fdata["EditFormats"]["edit"] = $edata;
1931
+ // End Edit Formats
1932
+
1933
+
1934
+ $fdata["isSeparate"] = false;
1935
+
1936
+
1937
+
1938
+
1939
+ // the field's search options settings
1940
+ $fdata["defaultSearchOption"] = "Contains";
1941
+
1942
+ // the default search options list
1943
+ $fdata["searchOptionsList"] = array("Contains", "Equals", "Starts with", "More than", "Less than", "Between", "Empty", NOT_EMPTY);
1944
+ // the end of search options settings
1945
+
1946
+
1947
+ //Filters settings
1948
+ $fdata["filterTotals"] = 0;
1949
+ $fdata["filterMultiSelect"] = 0;
1950
+ $fdata["filterFormat"] = "Values list";
1951
+ $fdata["showCollapsed"] = false;
1952
+
1953
+ $fdata["sortValueType"] = 0;
1954
+ $fdata["numberOfVisibleItems"] = 10;
1955
+
1956
+ $fdata["filterBy"] = 0;
1957
+
1958
+
1959
+
1960
+
1961
+
1962
+ //end of Filters settings
1963
+
1964
+
1965
+ $tdataappointments["metal_purity"] = $fdata;
1966
+ $tdataappointments[".searchableFields"][] = "metal_purity";
1967
+ // metal_weight
1968
+ // Custom field settings
1969
+ $fdata = array();
1970
+ $fdata["Index"] = 13;
1971
+ $fdata["strName"] = "metal_weight";
1972
+ $fdata["GoodName"] = "metal_weight";
1973
+ $fdata["ownerTable"] = "public.appointments";
1974
+ $fdata["Label"] = GetFieldLabel("public_appointments","metal_weight");
1975
+ $fdata["FieldType"] = 14;
1976
+
1977
+
1978
+
1979
+
1980
+
1981
+
1982
+ $fdata["strField"] = "metal_weight";
1983
+
1984
+ $fdata["sourceSingle"] = "metal_weight";
1985
+
1986
+
1987
+ $fdata["isSQLExpression"] = true;
1988
+ $fdata["FullName"] = "metal_weight";
1989
+
1990
+
1991
+
1992
+ $fdata["UploadFolder"] = "files";
1993
+
1994
+ // Begin View Formats
1995
+ $fdata["ViewFormats"] = array();
1996
+
1997
+ $vdata = array("ViewFormat" => "Number");
1998
+
1999
+
2000
+
2001
+
2002
+
2003
+
2004
+
2005
+
2006
+ $vdata["DecimalDigits"] = 2;
2007
+
2008
+
2009
+
2010
+
2011
+
2012
+
2013
+
2014
+ $vdata["NeedEncode"] = true;
2015
+
2016
+
2017
+ $vdata["truncateText"] = true;
2018
+ $vdata["NumberOfChars"] = 80;
2019
+
2020
+ $fdata["ViewFormats"]["view"] = $vdata;
2021
+ // End View Formats
2022
+
2023
+ // Begin Edit Formats
2024
+ $fdata["EditFormats"] = array();
2025
+
2026
+ $edata = array("EditFormat" => "Text field");
2027
+
2028
+
2029
+ $edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
2030
+ $edata["weekdays"] = "[]";
2031
+
2032
+
2033
+
2034
+
2035
+
2036
+
2037
+
2038
+
2039
+
2040
+
2041
+
2042
+ $edata["acceptFileTypesHtml"] = "";
2043
+
2044
+ $edata["maxNumberOfFiles"] = 1;
2045
+
2046
+
2047
+
2048
+
2049
+
2050
+ $edata["HTML5InuptType"] = "text";
2051
+
2052
+ $edata["EditParams"] = "";
2053
+
2054
+ $edata["controlWidth"] = 200;
2055
+
2056
+ // Begin validation
2057
+ $edata["validateAs"] = array();
2058
+ $edata["validateAs"]["basicValidate"] = array();
2059
+ $edata["validateAs"]["customMessages"] = array();
2060
+ $edata["validateAs"]["basicValidate"][] = getJsValidatorName("Number");
2061
+
2062
+
2063
+ // End validation
2064
+
2065
+
2066
+
2067
+
2068
+
2069
+
2070
+ $fdata["EditFormats"]["edit"] = $edata;
2071
+ // End Edit Formats
2072
+
2073
+
2074
+ $fdata["isSeparate"] = false;
2075
+
2076
+
2077
+
2078
+
2079
+ // the field's search options settings
2080
+ $fdata["defaultSearchOption"] = "Contains";
2081
+
2082
+ // the default search options list
2083
+ $fdata["searchOptionsList"] = array("Contains", "Equals", "Starts with", "More than", "Less than", "Between", "Empty", NOT_EMPTY);
2084
+ // the end of search options settings
2085
+
2086
+
2087
+ //Filters settings
2088
+ $fdata["filterTotals"] = 0;
2089
+ $fdata["filterMultiSelect"] = 0;
2090
+ $fdata["filterFormat"] = "Values list";
2091
+ $fdata["showCollapsed"] = false;
2092
+
2093
+ $fdata["sortValueType"] = 0;
2094
+ $fdata["numberOfVisibleItems"] = 10;
2095
+
2096
+ $fdata["filterBy"] = 0;
2097
+
2098
+
2099
+
2100
+
2101
+
2102
+ //end of Filters settings
2103
+
2104
+
2105
+ $tdataappointments["metal_weight"] = $fdata;
2106
+ $tdataappointments[".searchableFields"][] = "metal_weight";
2107
+ // gemstone_certification
2108
+ // Custom field settings
2109
+ $fdata = array();
2110
+ $fdata["Index"] = 14;
2111
+ $fdata["strName"] = "gemstone_certification";
2112
+ $fdata["GoodName"] = "gemstone_certification";
2113
+ $fdata["ownerTable"] = "public.appointments";
2114
+ $fdata["Label"] = GetFieldLabel("public_appointments","gemstone_certification");
2115
+ $fdata["FieldType"] = 200;
2116
+
2117
+
2118
+
2119
+
2120
+
2121
+
2122
+ $fdata["strField"] = "gemstone_certification";
2123
+
2124
+ $fdata["sourceSingle"] = "gemstone_certification";
2125
+
2126
+
2127
+ $fdata["isSQLExpression"] = true;
2128
+ $fdata["FullName"] = "gemstone_certification";
2129
+
2130
+
2131
+
2132
+ $fdata["UploadFolder"] = "files";
2133
+
2134
+ // Begin View Formats
2135
+ $fdata["ViewFormats"] = array();
2136
+
2137
+ $vdata = array("ViewFormat" => "");
2138
+
2139
+
2140
+
2141
+
2142
+
2143
+
2144
+
2145
+
2146
+
2147
+
2148
+
2149
+
2150
+
2151
+
2152
+
2153
+ $vdata["NeedEncode"] = true;
2154
+
2155
+
2156
+ $vdata["truncateText"] = true;
2157
+ $vdata["NumberOfChars"] = 80;
2158
+
2159
+ $fdata["ViewFormats"]["view"] = $vdata;
2160
+ // End View Formats
2161
+
2162
+ // Begin Edit Formats
2163
+ $fdata["EditFormats"] = array();
2164
+
2165
+ $edata = array("EditFormat" => "Text field");
2166
+
2167
+
2168
+ $edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
2169
+ $edata["weekdays"] = "[]";
2170
+
2171
+
2172
+
2173
+
2174
+
2175
+
2176
+
2177
+
2178
+
2179
+
2180
+
2181
+ $edata["acceptFileTypesHtml"] = "";
2182
+
2183
+ $edata["maxNumberOfFiles"] = 1;
2184
+
2185
+
2186
+
2187
+
2188
+
2189
+ $edata["HTML5InuptType"] = "text";
2190
+
2191
+ $edata["EditParams"] = "";
2192
+ $edata["EditParams"].= " maxlength=50";
2193
+
2194
+ $edata["controlWidth"] = 200;
2195
+
2196
+ // Begin validation
2197
+ $edata["validateAs"] = array();
2198
+ $edata["validateAs"]["basicValidate"] = array();
2199
+ $edata["validateAs"]["customMessages"] = array();
2200
+
2201
+
2202
+ // End validation
2203
+
2204
+
2205
+
2206
+
2207
+
2208
+
2209
+ $fdata["EditFormats"]["edit"] = $edata;
2210
+ // End Edit Formats
2211
+
2212
+
2213
+ $fdata["isSeparate"] = false;
2214
+
2215
+
2216
+
2217
+
2218
+ // the field's search options settings
2219
+ $fdata["defaultSearchOption"] = "Contains";
2220
+
2221
+ // the default search options list
2222
+ $fdata["searchOptionsList"] = array("Contains", "Equals", "Starts with", "More than", "Less than", "Between", "Empty", NOT_EMPTY);
2223
+ // the end of search options settings
2224
+
2225
+
2226
+ //Filters settings
2227
+ $fdata["filterTotals"] = 0;
2228
+ $fdata["filterMultiSelect"] = 0;
2229
+ $fdata["filterFormat"] = "Values list";
2230
+ $fdata["showCollapsed"] = false;
2231
+
2232
+ $fdata["sortValueType"] = 0;
2233
+ $fdata["numberOfVisibleItems"] = 10;
2234
+
2235
+ $fdata["filterBy"] = 0;
2236
+
2237
+
2238
+
2239
+
2240
+
2241
+ //end of Filters settings
2242
+
2243
+
2244
+ $tdataappointments["gemstone_certification"] = $fdata;
2245
+ $tdataappointments[".searchableFields"][] = "gemstone_certification";
2246
+ // initial
2247
+ // Custom field settings
2248
+ $fdata = array();
2249
+ $fdata["Index"] = 15;
2250
+ $fdata["strName"] = "initial";
2251
+ $fdata["GoodName"] = "initial";
2252
+ $fdata["ownerTable"] = "public.appointments";
2253
+ $fdata["Label"] = GetFieldLabel("public_appointments","initial");
2254
+ $fdata["FieldType"] = 200;
2255
+
2256
+
2257
+
2258
+
2259
+
2260
+
2261
+ $fdata["strField"] = "initial";
2262
+
2263
+ $fdata["sourceSingle"] = "initial";
2264
+
2265
+
2266
+ $fdata["isSQLExpression"] = true;
2267
+ $fdata["FullName"] = "\"initial\"";
2268
+
2269
+
2270
+
2271
+ $fdata["UploadFolder"] = "files";
2272
+
2273
+ // Begin View Formats
2274
+ $fdata["ViewFormats"] = array();
2275
+
2276
+ $vdata = array("ViewFormat" => "");
2277
+
2278
+
2279
+
2280
+
2281
+
2282
+
2283
+
2284
+
2285
+
2286
+
2287
+
2288
+
2289
+
2290
+
2291
+
2292
+ $vdata["NeedEncode"] = true;
2293
+
2294
+
2295
+ $vdata["truncateText"] = true;
2296
+ $vdata["NumberOfChars"] = 80;
2297
+
2298
+ $fdata["ViewFormats"]["view"] = $vdata;
2299
+ // End View Formats
2300
+
2301
+ // Begin Edit Formats
2302
+ $fdata["EditFormats"] = array();
2303
+
2304
+ $edata = array("EditFormat" => "Text field");
2305
+
2306
+
2307
+ $edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
2308
+ $edata["weekdays"] = "[]";
2309
+
2310
+
2311
+
2312
+
2313
+
2314
+
2315
+
2316
+
2317
+
2318
+
2319
+
2320
+ $edata["acceptFileTypesHtml"] = "";
2321
+
2322
+ $edata["maxNumberOfFiles"] = 1;
2323
+
2324
+
2325
+
2326
+
2327
+
2328
+ $edata["HTML5InuptType"] = "text";
2329
+
2330
+ $edata["EditParams"] = "";
2331
+ $edata["EditParams"].= " maxlength=1";
2332
+
2333
+ $edata["controlWidth"] = 200;
2334
+
2335
+ // Begin validation
2336
+ $edata["validateAs"] = array();
2337
+ $edata["validateAs"]["basicValidate"] = array();
2338
+ $edata["validateAs"]["customMessages"] = array();
2339
+
2340
+
2341
+ // End validation
2342
+
2343
+
2344
+
2345
+
2346
+
2347
+
2348
+ $fdata["EditFormats"]["edit"] = $edata;
2349
+ // End Edit Formats
2350
+
2351
+
2352
+ $fdata["isSeparate"] = false;
2353
+
2354
+
2355
+
2356
+
2357
+ // the field's search options settings
2358
+ $fdata["defaultSearchOption"] = "Contains";
2359
+
2360
+ // the default search options list
2361
+ $fdata["searchOptionsList"] = array("Contains", "Equals", "Starts with", "More than", "Less than", "Between", "Empty", NOT_EMPTY);
2362
+ // the end of search options settings
2363
+
2364
+
2365
+ //Filters settings
2366
+ $fdata["filterTotals"] = 0;
2367
+ $fdata["filterMultiSelect"] = 0;
2368
+ $fdata["filterFormat"] = "Values list";
2369
+ $fdata["showCollapsed"] = false;
2370
+
2371
+ $fdata["sortValueType"] = 0;
2372
+ $fdata["numberOfVisibleItems"] = 10;
2373
+
2374
+ $fdata["filterBy"] = 0;
2375
+
2376
+
2377
+
2378
+
2379
+
2380
+ //end of Filters settings
2381
+
2382
+
2383
+ $tdataappointments["initial"] = $fdata;
2384
+ $tdataappointments[".searchableFields"][] = "initial";
2385
+
2386
+
2387
+ $tables_data["public.appointments"]=&$tdataappointments;
2388
+ $field_labels["public_appointments"] = &$fieldLabelsappointments;
2389
+ $fieldToolTips["public_appointments"] = &$fieldToolTipsappointments;
2390
+ $placeHolders["public_appointments"] = &$placeHoldersappointments;
2391
+ $page_titles["public_appointments"] = &$pageTitlesappointments;
2392
+
2393
+
2394
+ changeTextControlsToDate( "public.appointments" );
2395
+
2396
+ // -----------------start prepare master-details data arrays ------------------------------//
2397
+ // tables which are detail tables for current table (master)
2398
+
2399
+ //if !@TABLE.bReportCrossTab
2400
+
2401
+ $detailsTablesData["public.appointments"] = array();
2402
+ //endif
2403
+
2404
+ // tables which are master tables for current table (detail)
2405
+ $masterTablesData["public.appointments"] = array();
2406
+
2407
+
2408
+
2409
+ // -----------------end prepare master-details data arrays ------------------------------//
2410
+
2411
+
2412
+
2413
+ require_once(getabspath("classes/sql.php"));
2414
+
2415
+
2416
+
2417
+
2418
+
2419
+
2420
+
2421
+
2422
+
2423
+
2424
+
2425
+ function createSqlQuery_appointments()
2426
+ {
2427
+ $proto0=array();
2428
+ $proto0["m_strHead"] = "SELECT";
2429
+ $proto0["m_strFieldList"] = "id, \"date\", \"time\", customer_name, product_type, product_brand, product_model, product_serial_number, purchase_date, purchase_price, condition_rating, metal_purity, metal_weight, gemstone_certification, \"initial\"";
2430
+ $proto0["m_strFrom"] = "FROM \"public\".appointments";
2431
+ $proto0["m_strWhere"] = "";
2432
+ $proto0["m_strOrderBy"] = "";
2433
+
2434
+ ;
2435
+ $proto0["cipherer"] = null;
2436
+ $proto2=array();
2437
+ $proto2["m_sql"] = "";
2438
+ $proto2["m_uniontype"] = "SQLL_UNKNOWN";
2439
+ $obj = new SQLNonParsed(array(
2440
+ "m_sql" => ""
2441
+ ));
2442
+
2443
+ $proto2["m_column"]=$obj;
2444
+ $proto2["m_contained"] = array();
2445
+ $proto2["m_strCase"] = "";
2446
+ $proto2["m_havingmode"] = false;
2447
+ $proto2["m_inBrackets"] = false;
2448
+ $proto2["m_useAlias"] = false;
2449
+ $obj = new SQLLogicalExpr($proto2);
2450
+
2451
+ $proto0["m_where"] = $obj;
2452
+ $proto4=array();
2453
+ $proto4["m_sql"] = "";
2454
+ $proto4["m_uniontype"] = "SQLL_UNKNOWN";
2455
+ $obj = new SQLNonParsed(array(
2456
+ "m_sql" => ""
2457
+ ));
2458
+
2459
+ $proto4["m_column"]=$obj;
2460
+ $proto4["m_contained"] = array();
2461
+ $proto4["m_strCase"] = "";
2462
+ $proto4["m_havingmode"] = false;
2463
+ $proto4["m_inBrackets"] = false;
2464
+ $proto4["m_useAlias"] = false;
2465
+ $obj = new SQLLogicalExpr($proto4);
2466
+
2467
+ $proto0["m_having"] = $obj;
2468
+ $proto0["m_fieldlist"] = array();
2469
+ $proto6=array();
2470
+ $obj = new SQLField(array(
2471
+ "m_strName" => "id",
2472
+ "m_strTable" => "public.appointments",
2473
+ "m_srcTableName" => "public.appointments"
2474
+ ));
2475
+
2476
+ $proto6["m_sql"] = "id";
2477
+ $proto6["m_srcTableName"] = "public.appointments";
2478
+ $proto6["m_expr"]=$obj;
2479
+ $proto6["m_alias"] = "";
2480
+ $obj = new SQLFieldListItem($proto6);
2481
+
2482
+ $proto0["m_fieldlist"][]=$obj;
2483
+ $proto8=array();
2484
+ $obj = new SQLField(array(
2485
+ "m_strName" => "date",
2486
+ "m_strTable" => "public.appointments",
2487
+ "m_srcTableName" => "public.appointments"
2488
+ ));
2489
+
2490
+ $proto8["m_sql"] = "\"date\"";
2491
+ $proto8["m_srcTableName"] = "public.appointments";
2492
+ $proto8["m_expr"]=$obj;
2493
+ $proto8["m_alias"] = "";
2494
+ $obj = new SQLFieldListItem($proto8);
2495
+
2496
+ $proto0["m_fieldlist"][]=$obj;
2497
+ $proto10=array();
2498
+ $obj = new SQLField(array(
2499
+ "m_strName" => "time",
2500
+ "m_strTable" => "public.appointments",
2501
+ "m_srcTableName" => "public.appointments"
2502
+ ));
2503
+
2504
+ $proto10["m_sql"] = "\"time\"";
2505
+ $proto10["m_srcTableName"] = "public.appointments";
2506
+ $proto10["m_expr"]=$obj;
2507
+ $proto10["m_alias"] = "";
2508
+ $obj = new SQLFieldListItem($proto10);
2509
+
2510
+ $proto0["m_fieldlist"][]=$obj;
2511
+ $proto12=array();
2512
+ $obj = new SQLField(array(
2513
+ "m_strName" => "customer_name",
2514
+ "m_strTable" => "public.appointments",
2515
+ "m_srcTableName" => "public.appointments"
2516
+ ));
2517
+
2518
+ $proto12["m_sql"] = "customer_name";
2519
+ $proto12["m_srcTableName"] = "public.appointments";
2520
+ $proto12["m_expr"]=$obj;
2521
+ $proto12["m_alias"] = "";
2522
+ $obj = new SQLFieldListItem($proto12);
2523
+
2524
+ $proto0["m_fieldlist"][]=$obj;
2525
+ $proto14=array();
2526
+ $obj = new SQLField(array(
2527
+ "m_strName" => "product_type",
2528
+ "m_strTable" => "public.appointments",
2529
+ "m_srcTableName" => "public.appointments"
2530
+ ));
2531
+
2532
+ $proto14["m_sql"] = "product_type";
2533
+ $proto14["m_srcTableName"] = "public.appointments";
2534
+ $proto14["m_expr"]=$obj;
2535
+ $proto14["m_alias"] = "";
2536
+ $obj = new SQLFieldListItem($proto14);
2537
+
2538
+ $proto0["m_fieldlist"][]=$obj;
2539
+ $proto16=array();
2540
+ $obj = new SQLField(array(
2541
+ "m_strName" => "product_brand",
2542
+ "m_strTable" => "public.appointments",
2543
+ "m_srcTableName" => "public.appointments"
2544
+ ));
2545
+
2546
+ $proto16["m_sql"] = "product_brand";
2547
+ $proto16["m_srcTableName"] = "public.appointments";
2548
+ $proto16["m_expr"]=$obj;
2549
+ $proto16["m_alias"] = "";
2550
+ $obj = new SQLFieldListItem($proto16);
2551
+
2552
+ $proto0["m_fieldlist"][]=$obj;
2553
+ $proto18=array();
2554
+ $obj = new SQLField(array(
2555
+ "m_strName" => "product_model",
2556
+ "m_strTable" => "public.appointments",
2557
+ "m_srcTableName" => "public.appointments"
2558
+ ));
2559
+
2560
+ $proto18["m_sql"] = "product_model";
2561
+ $proto18["m_srcTableName"] = "public.appointments";
2562
+ $proto18["m_expr"]=$obj;
2563
+ $proto18["m_alias"] = "";
2564
+ $obj = new SQLFieldListItem($proto18);
2565
+
2566
+ $proto0["m_fieldlist"][]=$obj;
2567
+ $proto20=array();
2568
+ $obj = new SQLField(array(
2569
+ "m_strName" => "product_serial_number",
2570
+ "m_strTable" => "public.appointments",
2571
+ "m_srcTableName" => "public.appointments"
2572
+ ));
2573
+
2574
+ $proto20["m_sql"] = "product_serial_number";
2575
+ $proto20["m_srcTableName"] = "public.appointments";
2576
+ $proto20["m_expr"]=$obj;
2577
+ $proto20["m_alias"] = "";
2578
+ $obj = new SQLFieldListItem($proto20);
2579
+
2580
+ $proto0["m_fieldlist"][]=$obj;
2581
+ $proto22=array();
2582
+ $obj = new SQLField(array(
2583
+ "m_strName" => "purchase_date",
2584
+ "m_strTable" => "public.appointments",
2585
+ "m_srcTableName" => "public.appointments"
2586
+ ));
2587
+
2588
+ $proto22["m_sql"] = "purchase_date";
2589
+ $proto22["m_srcTableName"] = "public.appointments";
2590
+ $proto22["m_expr"]=$obj;
2591
+ $proto22["m_alias"] = "";
2592
+ $obj = new SQLFieldListItem($proto22);
2593
+
2594
+ $proto0["m_fieldlist"][]=$obj;
2595
+ $proto24=array();
2596
+ $obj = new SQLField(array(
2597
+ "m_strName" => "purchase_price",
2598
+ "m_strTable" => "public.appointments",
2599
+ "m_srcTableName" => "public.appointments"
2600
+ ));
2601
+
2602
+ $proto24["m_sql"] = "purchase_price";
2603
+ $proto24["m_srcTableName"] = "public.appointments";
2604
+ $proto24["m_expr"]=$obj;
2605
+ $proto24["m_alias"] = "";
2606
+ $obj = new SQLFieldListItem($proto24);
2607
+
2608
+ $proto0["m_fieldlist"][]=$obj;
2609
+ $proto26=array();
2610
+ $obj = new SQLField(array(
2611
+ "m_strName" => "condition_rating",
2612
+ "m_strTable" => "public.appointments",
2613
+ "m_srcTableName" => "public.appointments"
2614
+ ));
2615
+
2616
+ $proto26["m_sql"] = "condition_rating";
2617
+ $proto26["m_srcTableName"] = "public.appointments";
2618
+ $proto26["m_expr"]=$obj;
2619
+ $proto26["m_alias"] = "";
2620
+ $obj = new SQLFieldListItem($proto26);
2621
+
2622
+ $proto0["m_fieldlist"][]=$obj;
2623
+ $proto28=array();
2624
+ $obj = new SQLField(array(
2625
+ "m_strName" => "metal_purity",
2626
+ "m_strTable" => "public.appointments",
2627
+ "m_srcTableName" => "public.appointments"
2628
+ ));
2629
+
2630
+ $proto28["m_sql"] = "metal_purity";
2631
+ $proto28["m_srcTableName"] = "public.appointments";
2632
+ $proto28["m_expr"]=$obj;
2633
+ $proto28["m_alias"] = "";
2634
+ $obj = new SQLFieldListItem($proto28);
2635
+
2636
+ $proto0["m_fieldlist"][]=$obj;
2637
+ $proto30=array();
2638
+ $obj = new SQLField(array(
2639
+ "m_strName" => "metal_weight",
2640
+ "m_strTable" => "public.appointments",
2641
+ "m_srcTableName" => "public.appointments"
2642
+ ));
2643
+
2644
+ $proto30["m_sql"] = "metal_weight";
2645
+ $proto30["m_srcTableName"] = "public.appointments";
2646
+ $proto30["m_expr"]=$obj;
2647
+ $proto30["m_alias"] = "";
2648
+ $obj = new SQLFieldListItem($proto30);
2649
+
2650
+ $proto0["m_fieldlist"][]=$obj;
2651
+ $proto32=array();
2652
+ $obj = new SQLField(array(
2653
+ "m_strName" => "gemstone_certification",
2654
+ "m_strTable" => "public.appointments",
2655
+ "m_srcTableName" => "public.appointments"
2656
+ ));
2657
+
2658
+ $proto32["m_sql"] = "gemstone_certification";
2659
+ $proto32["m_srcTableName"] = "public.appointments";
2660
+ $proto32["m_expr"]=$obj;
2661
+ $proto32["m_alias"] = "";
2662
+ $obj = new SQLFieldListItem($proto32);
2663
+
2664
+ $proto0["m_fieldlist"][]=$obj;
2665
+ $proto34=array();
2666
+ $obj = new SQLField(array(
2667
+ "m_strName" => "initial",
2668
+ "m_strTable" => "public.appointments",
2669
+ "m_srcTableName" => "public.appointments"
2670
+ ));
2671
+
2672
+ $proto34["m_sql"] = "\"initial\"";
2673
+ $proto34["m_srcTableName"] = "public.appointments";
2674
+ $proto34["m_expr"]=$obj;
2675
+ $proto34["m_alias"] = "";
2676
+ $obj = new SQLFieldListItem($proto34);
2677
+
2678
+ $proto0["m_fieldlist"][]=$obj;
2679
+ $proto0["m_fromlist"] = array();
2680
+ $proto36=array();
2681
+ $proto36["m_link"] = "SQLL_MAIN";
2682
+ $proto37=array();
2683
+ $proto37["m_strName"] = "public.appointments";
2684
+ $proto37["m_srcTableName"] = "public.appointments";
2685
+ $proto37["m_columns"] = array();
2686
+ $proto37["m_columns"][] = "id";
2687
+ $proto37["m_columns"][] = "date";
2688
+ $proto37["m_columns"][] = "time";
2689
+ $proto37["m_columns"][] = "customer_name";
2690
+ $proto37["m_columns"][] = "product_type";
2691
+ $proto37["m_columns"][] = "product_brand";
2692
+ $proto37["m_columns"][] = "product_model";
2693
+ $proto37["m_columns"][] = "product_serial_number";
2694
+ $proto37["m_columns"][] = "purchase_date";
2695
+ $proto37["m_columns"][] = "purchase_price";
2696
+ $proto37["m_columns"][] = "condition_rating";
2697
+ $proto37["m_columns"][] = "metal_purity";
2698
+ $proto37["m_columns"][] = "metal_weight";
2699
+ $proto37["m_columns"][] = "gemstone_certification";
2700
+ $proto37["m_columns"][] = "initial";
2701
+ $obj = new SQLTable($proto37);
2702
+
2703
+ $proto36["m_table"] = $obj;
2704
+ $proto36["m_sql"] = "\"public\".appointments";
2705
+ $proto36["m_alias"] = "";
2706
+ $proto36["m_srcTableName"] = "public.appointments";
2707
+ $proto38=array();
2708
+ $proto38["m_sql"] = "";
2709
+ $proto38["m_uniontype"] = "SQLL_UNKNOWN";
2710
+ $obj = new SQLNonParsed(array(
2711
+ "m_sql" => ""
2712
+ ));
2713
+
2714
+ $proto38["m_column"]=$obj;
2715
+ $proto38["m_contained"] = array();
2716
+ $proto38["m_strCase"] = "";
2717
+ $proto38["m_havingmode"] = false;
2718
+ $proto38["m_inBrackets"] = false;
2719
+ $proto38["m_useAlias"] = false;
2720
+ $obj = new SQLLogicalExpr($proto38);
2721
+
2722
+ $proto36["m_joinon"] = $obj;
2723
+ $obj = new SQLFromListItem($proto36);
2724
+
2725
+ $proto0["m_fromlist"][]=$obj;
2726
+ $proto0["m_groupby"] = array();
2727
+ $proto0["m_orderby"] = array();
2728
+ $proto0["m_srcTableName"]="public.appointments";
2729
+ $obj = new SQLQuery($proto0);
2730
+
2731
+ return $obj;
2732
+ }
2733
+ $queryData_appointments = createSqlQuery_appointments();
2734
+
2735
+
2736
+
2737
+ ;
2738
+
2739
+
2740
+
2741
+ $tdataappointments[".sqlquery"] = $queryData_appointments;
2742
+
2743
+
2744
+
2745
+ $tdataappointments[".hasEvents"] = false;
2746
+
2747
+ ?>
php/include/appointments_variables.php ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ $strTableName="public.appointments";
3
+ $_SESSION["OwnerID"] = $_SESSION["_".$strTableName."_OwnerID"];
4
+
5
+ $strOriginalTableName="public.appointments";
6
+
7
+ $gstrOrderBy="";
8
+ if(strlen($gstrOrderBy) && strtolower(substr($gstrOrderBy,0,8))!="order by")
9
+ $gstrOrderBy="order by ".$gstrOrderBy;
10
+
11
+ $reportCaseSensitiveGroupFields = false;
12
+
13
+ ?>
php/include/appsettings.php CHANGED
@@ -756,9 +756,9 @@ $suggestAllContent = true;
756
  $strLastSQL = "";
757
  $showCustomMarkerOnPrint = false;
758
 
759
- $projectBuildKey = "378_1718754288";
760
  $wizardBuildKey = "41974";
761
- $projectBuildNumber = "378";
762
 
763
  $mlang_messages = array();
764
  $mlang_charsets = array();
@@ -795,6 +795,7 @@ $tableCaptions["English"]["public_fasis_chat_history"] = "Fasis Chat History";
795
  $tableCaptions["English"]["public_diamondprice"] = "Diamondprice";
796
  $tableCaptions["English"]["public_products"] = "Products";
797
  $tableCaptions["English"]["public_items"] = "Items";
 
798
 
799
 
800
  $globalEvents = new class_GlobalEvents;
 
756
  $strLastSQL = "";
757
  $showCustomMarkerOnPrint = false;
758
 
759
+ $projectBuildKey = "380_1718962099";
760
  $wizardBuildKey = "41974";
761
+ $projectBuildNumber = "380";
762
 
763
  $mlang_messages = array();
764
  $mlang_charsets = array();
 
795
  $tableCaptions["English"]["public_diamondprice"] = "Diamondprice";
796
  $tableCaptions["English"]["public_products"] = "Products";
797
  $tableCaptions["English"]["public_items"] = "Items";
798
+ $tableCaptions["English"]["public_appointments"] = "Appointments";
799
 
800
 
801
  $globalEvents = new class_GlobalEvents;
php/include/audit.php CHANGED
@@ -400,6 +400,10 @@ class AuditTrailTable
400
  {
401
  return false;
402
  }
 
 
 
 
403
  }
404
 
405
  protected function insert($datetime, $ip, $user, $table, $action, $description)
@@ -752,6 +756,10 @@ class AuditTrailFile
752
  {
753
  return false;
754
  }
 
 
 
 
755
  }
756
 
757
  protected function getMaxLengthSubstr( $value )
 
400
  {
401
  return false;
402
  }
403
+ if($table=="public.appointments")
404
+ {
405
+ return false;
406
+ }
407
  }
408
 
409
  protected function insert($datetime, $ip, $user, $table, $action, $description)
 
756
  {
757
  return false;
758
  }
759
+ if($table=="public.appointments")
760
+ {
761
+ return false;
762
+ }
763
  }
764
 
765
  protected function getMaxLengthSubstr( $value )
php/include/commonfunctions.php CHANGED
@@ -225,6 +225,8 @@ function checkTableName($shortTName )
225
  return true;
226
  if ("items" == $shortTName )
227
  return true;
 
 
228
  return false;
229
  }
230
 
@@ -374,6 +376,15 @@ function GetTablesList($pdfMode = false)
374
  if( $tableAvailable ) {
375
  $arr[]="public.items";
376
  }
 
 
 
 
 
 
 
 
 
377
  return $arr;
378
  }
379
 
@@ -394,6 +405,7 @@ function GetTablesListWithoutSecurity()
394
  $arr[]="public.diamondprice";
395
  $arr[]="public.products";
396
  $arr[]="public.items";
 
397
  return $arr;
398
  }
399
 
@@ -1177,6 +1189,21 @@ function GetUserPermissionsStatic( $table )
1177
  $extraPerm = 'M';
1178
  return "ADESPI".$extraPerm;
1179
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1180
  // default permissions
1181
  return "ADESPI".$extraPerm;
1182
  }
 
225
  return true;
226
  if ("items" == $shortTName )
227
  return true;
228
+ if ("appointments" == $shortTName )
229
+ return true;
230
  return false;
231
  }
232
 
 
376
  if( $tableAvailable ) {
377
  $arr[]="public.items";
378
  }
379
+ $tableAvailable = true;
380
+ if( $checkPermissions ) {
381
+ $strPerm = GetUserPermissions("public.appointments");
382
+ $tableAvailable = ( strpos($strPerm, "P") !== false
383
+ || $pdfMode && strpos($strPerm, "S") !== false );
384
+ }
385
+ if( $tableAvailable ) {
386
+ $arr[]="public.appointments";
387
+ }
388
  return $arr;
389
  }
390
 
 
405
  $arr[]="public.diamondprice";
406
  $arr[]="public.products";
407
  $arr[]="public.items";
408
+ $arr[]="public.appointments";
409
  return $arr;
410
  }
411
 
 
1189
  $extraPerm = 'M';
1190
  return "ADESPI".$extraPerm;
1191
  }
1192
+ // default permissions
1193
+ return "ADESPI".$extraPerm;
1194
+ }
1195
+ if( $table=="public.appointments" )
1196
+ {
1197
+ if( $sUserGroup=="<Guest>" )
1198
+ {
1199
+ $extraPerm = 'M';
1200
+ return "S".$extraPerm;
1201
+ }
1202
+ if( $sUserGroup=="admin" )
1203
+ {
1204
+ $extraPerm = 'M';
1205
+ return "ADESPI".$extraPerm;
1206
+ }
1207
  // default permissions
1208
  return "ADESPI".$extraPerm;
1209
  }
php/include/dal.php CHANGED
@@ -47,6 +47,7 @@ function DBLookup($sql)
47
  */
48
  class tDAL
49
  {
 
50
  var $tblKnowledgeBase2_at_localhost_public_diamondprice;
51
  var $tblKnowledgeBase2_at_localhost_public_faicons;
52
  var $tblKnowledgeBase2_at_localhost_public_fasis_chat_history;
@@ -66,6 +67,7 @@ class tDAL
66
  {
67
  if($this->lstTables)
68
  return;
 
69
  $this->lstTables[] = array("name" => "diamondprice", "varname" => "KnowledgeBase2_at_localhost_public_diamondprice", "altvarname" => "diamondprice", "connId" => "KnowledgeBase2_at_localhost", "schema" => "public", "connName" => "KnowledgeBase2 at localhost");
70
  $this->lstTables[] = array("name" => "faicons", "varname" => "KnowledgeBase2_at_localhost_public_faicons", "altvarname" => "faicons", "connId" => "KnowledgeBase2_at_localhost", "schema" => "public", "connName" => "KnowledgeBase2 at localhost");
71
  $this->lstTables[] = array("name" => "fasis_chat_history", "varname" => "KnowledgeBase2_at_localhost_public_fasis_chat_history", "altvarname" => "fasis_chat_history", "connId" => "KnowledgeBase2_at_localhost", "schema" => "public", "connName" => "KnowledgeBase2 at localhost");
 
47
  */
48
  class tDAL
49
  {
50
+ var $tblKnowledgeBase2_at_localhost_public_appointments;
51
  var $tblKnowledgeBase2_at_localhost_public_diamondprice;
52
  var $tblKnowledgeBase2_at_localhost_public_faicons;
53
  var $tblKnowledgeBase2_at_localhost_public_fasis_chat_history;
 
67
  {
68
  if($this->lstTables)
69
  return;
70
+ $this->lstTables[] = array("name" => "appointments", "varname" => "KnowledgeBase2_at_localhost_public_appointments", "altvarname" => "appointments", "connId" => "KnowledgeBase2_at_localhost", "schema" => "public", "connName" => "KnowledgeBase2 at localhost");
71
  $this->lstTables[] = array("name" => "diamondprice", "varname" => "KnowledgeBase2_at_localhost_public_diamondprice", "altvarname" => "diamondprice", "connId" => "KnowledgeBase2_at_localhost", "schema" => "public", "connName" => "KnowledgeBase2 at localhost");
72
  $this->lstTables[] = array("name" => "faicons", "varname" => "KnowledgeBase2_at_localhost_public_faicons", "altvarname" => "faicons", "connId" => "KnowledgeBase2_at_localhost", "schema" => "public", "connName" => "KnowledgeBase2 at localhost");
73
  $this->lstTables[] = array("name" => "fasis_chat_history", "varname" => "KnowledgeBase2_at_localhost_public_fasis_chat_history", "altvarname" => "fasis_chat_history", "connId" => "KnowledgeBase2_at_localhost", "schema" => "public", "connName" => "KnowledgeBase2 at localhost");
php/include/dal/KnowledgeBase2_at_localhost_public_appointments.php ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ $dalTableappointments = array();
3
+ $dalTableappointments["id"] = array("type"=>3,"varname"=>"id", "name" => "id", "autoInc" => "0");
4
+ $dalTableappointments["date"] = array("type"=>7,"varname"=>"date", "name" => "date", "autoInc" => "0");
5
+ $dalTableappointments["time"] = array("type"=>134,"varname"=>"time", "name" => "time", "autoInc" => "0");
6
+ $dalTableappointments["customer_name"] = array("type"=>200,"varname"=>"customer_name", "name" => "customer_name", "autoInc" => "0");
7
+ $dalTableappointments["product_type"] = array("type"=>200,"varname"=>"product_type", "name" => "product_type", "autoInc" => "0");
8
+ $dalTableappointments["product_brand"] = array("type"=>200,"varname"=>"product_brand", "name" => "product_brand", "autoInc" => "0");
9
+ $dalTableappointments["product_model"] = array("type"=>200,"varname"=>"product_model", "name" => "product_model", "autoInc" => "0");
10
+ $dalTableappointments["product_serial_number"] = array("type"=>200,"varname"=>"product_serial_number", "name" => "product_serial_number", "autoInc" => "0");
11
+ $dalTableappointments["purchase_date"] = array("type"=>7,"varname"=>"purchase_date", "name" => "purchase_date", "autoInc" => "0");
12
+ $dalTableappointments["purchase_price"] = array("type"=>14,"varname"=>"purchase_price", "name" => "purchase_price", "autoInc" => "0");
13
+ $dalTableappointments["condition_rating"] = array("type"=>3,"varname"=>"condition_rating", "name" => "condition_rating", "autoInc" => "0");
14
+ $dalTableappointments["metal_purity"] = array("type"=>200,"varname"=>"metal_purity", "name" => "metal_purity", "autoInc" => "0");
15
+ $dalTableappointments["metal_weight"] = array("type"=>14,"varname"=>"metal_weight", "name" => "metal_weight", "autoInc" => "0");
16
+ $dalTableappointments["gemstone_certification"] = array("type"=>200,"varname"=>"gemstone_certification", "name" => "gemstone_certification", "autoInc" => "0");
17
+ $dalTableappointments["initial"] = array("type"=>200,"varname"=>"initial", "name" => "initial", "autoInc" => "0");
18
+ $dalTableappointments["id"]["key"]=true;
19
+
20
+ $dal_info["KnowledgeBase2_at_localhost_public_appointments"] = &$dalTableappointments;
21
+ ?>
php/include/dal/KnowledgeBase2_at_localhost_public_items.php CHANGED
@@ -4,13 +4,14 @@ $dalTableitems["id"] = array("type"=>3,"varname"=>"id", "name" => "id", "autoInc
4
  $dalTableitems["brand_name"] = array("type"=>200,"varname"=>"brand_name", "name" => "brand_name", "autoInc" => "0");
5
  $dalTableitems["model_name"] = array("type"=>200,"varname"=>"model_name", "name" => "model_name", "autoInc" => "0");
6
  $dalTableitems["product_number"] = array("type"=>200,"varname"=>"product_number", "name" => "product_number", "autoInc" => "0");
 
7
  $dalTableitems["purchase_date"] = array("type"=>7,"varname"=>"purchase_date", "name" => "purchase_date", "autoInc" => "0");
8
- $dalTableitems["purchase_price"] = array("type"=>14,"varname"=>"purchase_price", "name" => "purchase_price", "autoInc" => "0");
9
- $dalTableitems["condition"] = array("type"=>3,"varname"=>"condition", "name" => "condition", "autoInc" => "0");
10
- $dalTableitems["precious_metal_type"] = array("type"=>200,"varname"=>"precious_metal_type", "name" => "precious_metal_type", "autoInc" => "0");
11
- $dalTableitems["precious_metal_weight"] = array("type"=>14,"varname"=>"precious_metal_weight", "name" => "precious_metal_weight", "autoInc" => "0");
12
- $dalTableitems["diamond_certification"] = array("type"=>200,"varname"=>"diamond_certification", "name" => "diamond_certification", "autoInc" => "0");
13
  $dalTableitems["accessories"] = array("type"=>201,"varname"=>"accessories", "name" => "accessories", "autoInc" => "0");
 
 
 
 
14
  $dalTableitems["initial"] = array("type"=>11,"varname"=>"initial", "name" => "initial", "autoInc" => "0");
15
  $dalTableitems["id"]["key"]=true;
16
 
 
4
  $dalTableitems["brand_name"] = array("type"=>200,"varname"=>"brand_name", "name" => "brand_name", "autoInc" => "0");
5
  $dalTableitems["model_name"] = array("type"=>200,"varname"=>"model_name", "name" => "model_name", "autoInc" => "0");
6
  $dalTableitems["product_number"] = array("type"=>200,"varname"=>"product_number", "name" => "product_number", "autoInc" => "0");
7
+ $dalTableitems["purchase_store"] = array("type"=>200,"varname"=>"purchase_store", "name" => "purchase_store", "autoInc" => "0");
8
  $dalTableitems["purchase_date"] = array("type"=>7,"varname"=>"purchase_date", "name" => "purchase_date", "autoInc" => "0");
9
+ $dalTableitems["purchase_price"] = array("type"=>3,"varname"=>"purchase_price", "name" => "purchase_price", "autoInc" => "0");
 
 
 
 
10
  $dalTableitems["accessories"] = array("type"=>201,"varname"=>"accessories", "name" => "accessories", "autoInc" => "0");
11
+ $dalTableitems["condition"] = array("type"=>3,"varname"=>"condition", "name" => "condition", "autoInc" => "0");
12
+ $dalTableitems["metal_type"] = array("type"=>200,"varname"=>"metal_type", "name" => "metal_type", "autoInc" => "0");
13
+ $dalTableitems["metal_weight"] = array("type"=>14,"varname"=>"metal_weight", "name" => "metal_weight", "autoInc" => "0");
14
+ $dalTableitems["diamond_certification"] = array("type"=>128,"varname"=>"diamond_certification", "name" => "diamond_certification", "autoInc" => "0");
15
  $dalTableitems["initial"] = array("type"=>11,"varname"=>"initial", "name" => "initial", "autoInc" => "0");
16
  $dalTableitems["id"]["key"]=true;
17
 
php/include/dal/KnowledgeBase2_at_localhost_public_products.php CHANGED
@@ -1,8 +1,8 @@
1
  <?php
2
  $dalTableproducts = array();
3
- $dalTableproducts["id"] = array("type"=>3,"varname"=>"id", "name" => "id", "autoInc" => "0");
4
  $dalTableproducts["brand_name"] = array("type"=>200,"varname"=>"brand_name", "name" => "brand_name", "autoInc" => "0");
5
- $dalTableproducts["model_name"] = array("type"=>200,"varname"=>"model_name", "name" => "model_name", "autoInc" => "0");
6
  $dalTableproducts["product_number"] = array("type"=>200,"varname"=>"product_number", "name" => "product_number", "autoInc" => "0");
7
  $dalTableproducts["purchase_store"] = array("type"=>200,"varname"=>"purchase_store", "name" => "purchase_store", "autoInc" => "0");
8
  $dalTableproducts["purchase_date"] = array("type"=>7,"varname"=>"purchase_date", "name" => "purchase_date", "autoInc" => "0");
@@ -13,6 +13,8 @@ $dalTableproducts["metal_purity"] = array("type"=>14,"varname"=>"metal_purity",
13
  $dalTableproducts["metal_weight"] = array("type"=>14,"varname"=>"metal_weight", "name" => "metal_weight", "autoInc" => "0");
14
  $dalTableproducts["diamond_certification"] = array("type"=>201,"varname"=>"diamond_certification", "name" => "diamond_certification", "autoInc" => "0");
15
  $dalTableproducts["initial_existence"] = array("type"=>11,"varname"=>"initial_existence", "name" => "initial_existence", "autoInc" => "0");
 
 
16
  $dalTableproducts["id"]["key"]=true;
17
 
18
  $dal_info["KnowledgeBase2_at_localhost_public_products"] = &$dalTableproducts;
 
1
  <?php
2
  $dalTableproducts = array();
3
+ $dalTableproducts["id"] = array("type"=>3,"varname"=>"id", "name" => "id", "autoInc" => "1");
4
  $dalTableproducts["brand_name"] = array("type"=>200,"varname"=>"brand_name", "name" => "brand_name", "autoInc" => "0");
5
+ $dalTableproducts["model_name"] = array("type"=>201,"varname"=>"model_name", "name" => "model_name", "autoInc" => "0");
6
  $dalTableproducts["product_number"] = array("type"=>200,"varname"=>"product_number", "name" => "product_number", "autoInc" => "0");
7
  $dalTableproducts["purchase_store"] = array("type"=>200,"varname"=>"purchase_store", "name" => "purchase_store", "autoInc" => "0");
8
  $dalTableproducts["purchase_date"] = array("type"=>7,"varname"=>"purchase_date", "name" => "purchase_date", "autoInc" => "0");
 
13
  $dalTableproducts["metal_weight"] = array("type"=>14,"varname"=>"metal_weight", "name" => "metal_weight", "autoInc" => "0");
14
  $dalTableproducts["diamond_certification"] = array("type"=>201,"varname"=>"diamond_certification", "name" => "diamond_certification", "autoInc" => "0");
15
  $dalTableproducts["initial_existence"] = array("type"=>11,"varname"=>"initial_existence", "name" => "initial_existence", "autoInc" => "0");
16
+ $dalTableproducts["vector"] = array("type"=>201,"varname"=>"vector", "name" => "vector", "autoInc" => "0");
17
+ $dalTableproducts["vector_text"] = array("type"=>201,"varname"=>"vector_text", "name" => "vector_text", "autoInc" => "0");
18
  $dalTableproducts["id"]["key"]=true;
19
 
20
  $dal_info["KnowledgeBase2_at_localhost_public_products"] = &$dalTableproducts;
php/include/items_settings.php CHANGED
@@ -46,12 +46,6 @@ if(mlang_getcurrentlang()=="English")
46
  $fieldLabelsitems["English"]["condition"] = "Condition";
47
  $fieldToolTipsitems["English"]["condition"] = "";
48
  $placeHoldersitems["English"]["condition"] = "";
49
- $fieldLabelsitems["English"]["precious_metal_type"] = "Precious Metal Type";
50
- $fieldToolTipsitems["English"]["precious_metal_type"] = "";
51
- $placeHoldersitems["English"]["precious_metal_type"] = "";
52
- $fieldLabelsitems["English"]["precious_metal_weight"] = "Precious Metal Weight";
53
- $fieldToolTipsitems["English"]["precious_metal_weight"] = "";
54
- $placeHoldersitems["English"]["precious_metal_weight"] = "";
55
  $fieldLabelsitems["English"]["diamond_certification"] = "Diamond Certification";
56
  $fieldToolTipsitems["English"]["diamond_certification"] = "";
57
  $placeHoldersitems["English"]["diamond_certification"] = "";
@@ -61,6 +55,15 @@ if(mlang_getcurrentlang()=="English")
61
  $fieldLabelsitems["English"]["initial"] = "Initial";
62
  $fieldToolTipsitems["English"]["initial"] = "";
63
  $placeHoldersitems["English"]["initial"] = "";
 
 
 
 
 
 
 
 
 
64
  if (count($fieldToolTipsitems["English"]))
65
  $tdataitems[".isUseToolTips"] = true;
66
  }
@@ -182,13 +185,13 @@ $tdataitems[".googleLikeFields"][] = "id";
182
  $tdataitems[".googleLikeFields"][] = "brand_name";
183
  $tdataitems[".googleLikeFields"][] = "model_name";
184
  $tdataitems[".googleLikeFields"][] = "product_number";
 
185
  $tdataitems[".googleLikeFields"][] = "purchase_date";
186
  $tdataitems[".googleLikeFields"][] = "purchase_price";
187
- $tdataitems[".googleLikeFields"][] = "condition";
188
- $tdataitems[".googleLikeFields"][] = "precious_metal_type";
189
- $tdataitems[".googleLikeFields"][] = "precious_metal_weight";
190
- $tdataitems[".googleLikeFields"][] = "diamond_certification";
191
  $tdataitems[".googleLikeFields"][] = "accessories";
 
 
 
192
  $tdataitems[".googleLikeFields"][] = "initial";
193
 
194
 
@@ -223,7 +226,7 @@ $tdataitems[".strOrderBy"] = $tstrOrderBy;
223
  $tdataitems[".orderindexes"] = array();
224
 
225
 
226
- $tdataitems[".sqlHead"] = "SELECT id, brand_name, model_name, product_number, purchase_date, purchase_price, \"condition\", precious_metal_type, precious_metal_weight, diamond_certification, accessories, \"initial\"";
227
  $tdataitems[".sqlFrom"] = "FROM \"public\".items";
228
  $tdataitems[".sqlWhereExpr"] = "";
229
  $tdataitems[".sqlTail"] = "";
@@ -829,10 +832,149 @@ $tdataitems[".hideMobileList"] = array();
829
 
830
  $tdataitems["product_number"] = $fdata;
831
  $tdataitems[".searchableFields"][] = "product_number";
832
- // purchase_date
833
  // Custom field settings
834
  $fdata = array();
835
  $fdata["Index"] = 5;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
836
  $fdata["strName"] = "purchase_date";
837
  $fdata["GoodName"] = "purchase_date";
838
  $fdata["ownerTable"] = "public.items";
@@ -971,12 +1113,12 @@ $tdataitems[".hideMobileList"] = array();
971
  // purchase_price
972
  // Custom field settings
973
  $fdata = array();
974
- $fdata["Index"] = 6;
975
  $fdata["strName"] = "purchase_price";
976
  $fdata["GoodName"] = "purchase_price";
977
  $fdata["ownerTable"] = "public.items";
978
  $fdata["Label"] = GetFieldLabel("public_items","purchase_price");
979
- $fdata["FieldType"] = 14;
980
 
981
 
982
 
@@ -1108,28 +1250,28 @@ $tdataitems[".hideMobileList"] = array();
1108
 
1109
  $tdataitems["purchase_price"] = $fdata;
1110
  $tdataitems[".searchableFields"][] = "purchase_price";
1111
- // condition
1112
  // Custom field settings
1113
  $fdata = array();
1114
- $fdata["Index"] = 7;
1115
- $fdata["strName"] = "condition";
1116
- $fdata["GoodName"] = "condition";
1117
  $fdata["ownerTable"] = "public.items";
1118
- $fdata["Label"] = GetFieldLabel("public_items","condition");
1119
- $fdata["FieldType"] = 3;
1120
 
1121
 
1122
 
1123
 
1124
 
1125
 
1126
- $fdata["strField"] = "condition";
1127
 
1128
- $fdata["sourceSingle"] = "condition";
1129
 
1130
 
1131
  $fdata["isSQLExpression"] = true;
1132
- $fdata["FullName"] = "\"condition\"";
1133
 
1134
 
1135
 
@@ -1166,7 +1308,7 @@ $tdataitems[".hideMobileList"] = array();
1166
  // Begin Edit Formats
1167
  $fdata["EditFormats"] = array();
1168
 
1169
- $edata = array("EditFormat" => "Text field");
1170
 
1171
 
1172
  $edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
@@ -1184,28 +1326,30 @@ $tdataitems[".hideMobileList"] = array();
1184
 
1185
  $edata["acceptFileTypesHtml"] = "";
1186
 
1187
- $edata["maxNumberOfFiles"] = 1;
1188
 
1189
 
1190
 
1191
 
1192
-
1193
- $edata["HTML5InuptType"] = "text";
1194
 
1195
- $edata["EditParams"] = "";
1196
-
1197
  $edata["controlWidth"] = 200;
1198
 
1199
  // Begin validation
1200
  $edata["validateAs"] = array();
1201
  $edata["validateAs"]["basicValidate"] = array();
1202
  $edata["validateAs"]["customMessages"] = array();
1203
- $edata["validateAs"]["basicValidate"][] = getJsValidatorName("Number");
1204
-
1205
 
1206
  // End validation
1207
 
1208
-
 
 
 
1209
 
1210
 
1211
 
@@ -1245,30 +1389,30 @@ $tdataitems[".hideMobileList"] = array();
1245
  //end of Filters settings
1246
 
1247
 
1248
- $tdataitems["condition"] = $fdata;
1249
- $tdataitems[".searchableFields"][] = "condition";
1250
- // precious_metal_type
1251
  // Custom field settings
1252
  $fdata = array();
1253
- $fdata["Index"] = 8;
1254
- $fdata["strName"] = "precious_metal_type";
1255
- $fdata["GoodName"] = "precious_metal_type";
1256
  $fdata["ownerTable"] = "public.items";
1257
- $fdata["Label"] = GetFieldLabel("public_items","precious_metal_type");
1258
- $fdata["FieldType"] = 200;
1259
 
1260
 
1261
 
1262
 
1263
 
1264
 
1265
- $fdata["strField"] = "precious_metal_type";
1266
 
1267
- $fdata["sourceSingle"] = "precious_metal_type";
1268
 
1269
 
1270
  $fdata["isSQLExpression"] = true;
1271
- $fdata["FullName"] = "precious_metal_type";
1272
 
1273
 
1274
 
@@ -1332,15 +1476,15 @@ $tdataitems[".hideMobileList"] = array();
1332
  $edata["HTML5InuptType"] = "text";
1333
 
1334
  $edata["EditParams"] = "";
1335
- $edata["EditParams"].= " maxlength=255";
1336
-
1337
  $edata["controlWidth"] = 200;
1338
 
1339
  // Begin validation
1340
  $edata["validateAs"] = array();
1341
  $edata["validateAs"]["basicValidate"] = array();
1342
  $edata["validateAs"]["customMessages"] = array();
1343
-
 
1344
 
1345
  // End validation
1346
 
@@ -1384,30 +1528,30 @@ $tdataitems[".hideMobileList"] = array();
1384
  //end of Filters settings
1385
 
1386
 
1387
- $tdataitems["precious_metal_type"] = $fdata;
1388
- $tdataitems[".searchableFields"][] = "precious_metal_type";
1389
- // precious_metal_weight
1390
  // Custom field settings
1391
  $fdata = array();
1392
- $fdata["Index"] = 9;
1393
- $fdata["strName"] = "precious_metal_weight";
1394
- $fdata["GoodName"] = "precious_metal_weight";
1395
  $fdata["ownerTable"] = "public.items";
1396
- $fdata["Label"] = GetFieldLabel("public_items","precious_metal_weight");
1397
- $fdata["FieldType"] = 14;
1398
 
1399
 
1400
 
1401
 
1402
 
1403
 
1404
- $fdata["strField"] = "precious_metal_weight";
1405
 
1406
- $fdata["sourceSingle"] = "precious_metal_weight";
1407
 
1408
 
1409
  $fdata["isSQLExpression"] = true;
1410
- $fdata["FullName"] = "precious_metal_weight";
1411
 
1412
 
1413
 
@@ -1416,7 +1560,7 @@ $tdataitems[".hideMobileList"] = array();
1416
  // Begin View Formats
1417
  $fdata["ViewFormats"] = array();
1418
 
1419
- $vdata = array("ViewFormat" => "Number");
1420
 
1421
 
1422
 
@@ -1425,8 +1569,7 @@ $tdataitems[".hideMobileList"] = array();
1425
 
1426
 
1427
 
1428
- $vdata["DecimalDigits"] = 2;
1429
-
1430
 
1431
 
1432
 
@@ -1472,15 +1615,15 @@ $tdataitems[".hideMobileList"] = array();
1472
  $edata["HTML5InuptType"] = "text";
1473
 
1474
  $edata["EditParams"] = "";
1475
-
 
1476
  $edata["controlWidth"] = 200;
1477
 
1478
  // Begin validation
1479
  $edata["validateAs"] = array();
1480
  $edata["validateAs"]["basicValidate"] = array();
1481
  $edata["validateAs"]["customMessages"] = array();
1482
- $edata["validateAs"]["basicValidate"][] = getJsValidatorName("Number");
1483
-
1484
 
1485
  // End validation
1486
 
@@ -1524,30 +1667,30 @@ $tdataitems[".hideMobileList"] = array();
1524
  //end of Filters settings
1525
 
1526
 
1527
- $tdataitems["precious_metal_weight"] = $fdata;
1528
- $tdataitems[".searchableFields"][] = "precious_metal_weight";
1529
- // diamond_certification
1530
  // Custom field settings
1531
  $fdata = array();
1532
- $fdata["Index"] = 10;
1533
- $fdata["strName"] = "diamond_certification";
1534
- $fdata["GoodName"] = "diamond_certification";
1535
  $fdata["ownerTable"] = "public.items";
1536
- $fdata["Label"] = GetFieldLabel("public_items","diamond_certification");
1537
- $fdata["FieldType"] = 200;
1538
 
1539
 
1540
 
1541
 
1542
 
1543
 
1544
- $fdata["strField"] = "diamond_certification";
1545
 
1546
- $fdata["sourceSingle"] = "diamond_certification";
1547
 
1548
 
1549
  $fdata["isSQLExpression"] = true;
1550
- $fdata["FullName"] = "diamond_certification";
1551
 
1552
 
1553
 
@@ -1556,7 +1699,7 @@ $tdataitems[".hideMobileList"] = array();
1556
  // Begin View Formats
1557
  $fdata["ViewFormats"] = array();
1558
 
1559
- $vdata = array("ViewFormat" => "");
1560
 
1561
 
1562
 
@@ -1565,7 +1708,8 @@ $tdataitems[".hideMobileList"] = array();
1565
 
1566
 
1567
 
1568
-
 
1569
 
1570
 
1571
 
@@ -1611,15 +1755,15 @@ $tdataitems[".hideMobileList"] = array();
1611
  $edata["HTML5InuptType"] = "text";
1612
 
1613
  $edata["EditParams"] = "";
1614
- $edata["EditParams"].= " maxlength=255";
1615
-
1616
  $edata["controlWidth"] = 200;
1617
 
1618
  // Begin validation
1619
  $edata["validateAs"] = array();
1620
  $edata["validateAs"]["basicValidate"] = array();
1621
  $edata["validateAs"]["customMessages"] = array();
1622
-
 
1623
 
1624
  // End validation
1625
 
@@ -1663,30 +1807,30 @@ $tdataitems[".hideMobileList"] = array();
1663
  //end of Filters settings
1664
 
1665
 
1666
- $tdataitems["diamond_certification"] = $fdata;
1667
- $tdataitems[".searchableFields"][] = "diamond_certification";
1668
- // accessories
1669
  // Custom field settings
1670
  $fdata = array();
1671
- $fdata["Index"] = 11;
1672
- $fdata["strName"] = "accessories";
1673
- $fdata["GoodName"] = "accessories";
1674
  $fdata["ownerTable"] = "public.items";
1675
- $fdata["Label"] = GetFieldLabel("public_items","accessories");
1676
- $fdata["FieldType"] = 201;
1677
 
1678
 
1679
 
1680
 
1681
 
1682
 
1683
- $fdata["strField"] = "accessories";
1684
 
1685
- $fdata["sourceSingle"] = "accessories";
1686
 
1687
 
1688
  $fdata["isSQLExpression"] = true;
1689
- $fdata["FullName"] = "accessories";
1690
 
1691
 
1692
 
@@ -1723,7 +1867,7 @@ $tdataitems[".hideMobileList"] = array();
1723
  // Begin Edit Formats
1724
  $fdata["EditFormats"] = array();
1725
 
1726
- $edata = array("EditFormat" => "Text area");
1727
 
1728
 
1729
  $edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
@@ -1741,16 +1885,17 @@ $tdataitems[".hideMobileList"] = array();
1741
 
1742
  $edata["acceptFileTypesHtml"] = "";
1743
 
1744
- $edata["maxNumberOfFiles"] = 0;
1745
 
1746
 
1747
 
1748
 
1749
- $edata["nRows"] = 100;
1750
- $edata["nCols"] = 200;
1751
-
1752
-
1753
 
 
 
 
 
 
1754
  $edata["controlWidth"] = 200;
1755
 
1756
  // Begin validation
@@ -1761,10 +1906,7 @@ $tdataitems[".hideMobileList"] = array();
1761
 
1762
  // End validation
1763
 
1764
- $edata["CreateThumbnail"] = true;
1765
- $edata["StrThumbnail"] = "th";
1766
- $edata["ThumbnailSize"] = 600;
1767
-
1768
 
1769
 
1770
 
@@ -1804,12 +1946,11 @@ $tdataitems[".hideMobileList"] = array();
1804
  //end of Filters settings
1805
 
1806
 
1807
- $tdataitems["accessories"] = $fdata;
1808
- $tdataitems[".searchableFields"][] = "accessories";
1809
- // initial
1810
  // Custom field settings
1811
  $fdata = array();
1812
- $fdata["Index"] = 12;
1813
  $fdata["strName"] = "initial";
1814
  $fdata["GoodName"] = "initial";
1815
  $fdata["ownerTable"] = "public.items";
@@ -1983,7 +2124,7 @@ function createSqlQuery_items()
1983
  {
1984
  $proto0=array();
1985
  $proto0["m_strHead"] = "SELECT";
1986
- $proto0["m_strFieldList"] = "id, brand_name, model_name, product_number, purchase_date, purchase_price, \"condition\", precious_metal_type, precious_metal_weight, diamond_certification, accessories, \"initial\"";
1987
  $proto0["m_strFrom"] = "FROM \"public\".items";
1988
  $proto0["m_strWhere"] = "";
1989
  $proto0["m_strOrderBy"] = "";
@@ -2081,12 +2222,12 @@ $obj = new SQLFieldListItem($proto12);
2081
  $proto0["m_fieldlist"][]=$obj;
2082
  $proto14=array();
2083
  $obj = new SQLField(array(
2084
- "m_strName" => "purchase_date",
2085
  "m_strTable" => "public.items",
2086
  "m_srcTableName" => "public.items"
2087
  ));
2088
 
2089
- $proto14["m_sql"] = "purchase_date";
2090
  $proto14["m_srcTableName"] = "public.items";
2091
  $proto14["m_expr"]=$obj;
2092
  $proto14["m_alias"] = "";
@@ -2095,12 +2236,12 @@ $obj = new SQLFieldListItem($proto14);
2095
  $proto0["m_fieldlist"][]=$obj;
2096
  $proto16=array();
2097
  $obj = new SQLField(array(
2098
- "m_strName" => "purchase_price",
2099
  "m_strTable" => "public.items",
2100
  "m_srcTableName" => "public.items"
2101
  ));
2102
 
2103
- $proto16["m_sql"] = "purchase_price";
2104
  $proto16["m_srcTableName"] = "public.items";
2105
  $proto16["m_expr"]=$obj;
2106
  $proto16["m_alias"] = "";
@@ -2109,12 +2250,12 @@ $obj = new SQLFieldListItem($proto16);
2109
  $proto0["m_fieldlist"][]=$obj;
2110
  $proto18=array();
2111
  $obj = new SQLField(array(
2112
- "m_strName" => "condition",
2113
  "m_strTable" => "public.items",
2114
  "m_srcTableName" => "public.items"
2115
  ));
2116
 
2117
- $proto18["m_sql"] = "\"condition\"";
2118
  $proto18["m_srcTableName"] = "public.items";
2119
  $proto18["m_expr"]=$obj;
2120
  $proto18["m_alias"] = "";
@@ -2123,12 +2264,12 @@ $obj = new SQLFieldListItem($proto18);
2123
  $proto0["m_fieldlist"][]=$obj;
2124
  $proto20=array();
2125
  $obj = new SQLField(array(
2126
- "m_strName" => "precious_metal_type",
2127
  "m_strTable" => "public.items",
2128
  "m_srcTableName" => "public.items"
2129
  ));
2130
 
2131
- $proto20["m_sql"] = "precious_metal_type";
2132
  $proto20["m_srcTableName"] = "public.items";
2133
  $proto20["m_expr"]=$obj;
2134
  $proto20["m_alias"] = "";
@@ -2137,12 +2278,12 @@ $obj = new SQLFieldListItem($proto20);
2137
  $proto0["m_fieldlist"][]=$obj;
2138
  $proto22=array();
2139
  $obj = new SQLField(array(
2140
- "m_strName" => "precious_metal_weight",
2141
  "m_strTable" => "public.items",
2142
  "m_srcTableName" => "public.items"
2143
  ));
2144
 
2145
- $proto22["m_sql"] = "precious_metal_weight";
2146
  $proto22["m_srcTableName"] = "public.items";
2147
  $proto22["m_expr"]=$obj;
2148
  $proto22["m_alias"] = "";
@@ -2151,12 +2292,12 @@ $obj = new SQLFieldListItem($proto22);
2151
  $proto0["m_fieldlist"][]=$obj;
2152
  $proto24=array();
2153
  $obj = new SQLField(array(
2154
- "m_strName" => "diamond_certification",
2155
  "m_strTable" => "public.items",
2156
  "m_srcTableName" => "public.items"
2157
  ));
2158
 
2159
- $proto24["m_sql"] = "diamond_certification";
2160
  $proto24["m_srcTableName"] = "public.items";
2161
  $proto24["m_expr"]=$obj;
2162
  $proto24["m_alias"] = "";
@@ -2165,12 +2306,12 @@ $obj = new SQLFieldListItem($proto24);
2165
  $proto0["m_fieldlist"][]=$obj;
2166
  $proto26=array();
2167
  $obj = new SQLField(array(
2168
- "m_strName" => "accessories",
2169
  "m_strTable" => "public.items",
2170
  "m_srcTableName" => "public.items"
2171
  ));
2172
 
2173
- $proto26["m_sql"] = "accessories";
2174
  $proto26["m_srcTableName"] = "public.items";
2175
  $proto26["m_expr"]=$obj;
2176
  $proto26["m_alias"] = "";
@@ -2179,60 +2320,75 @@ $obj = new SQLFieldListItem($proto26);
2179
  $proto0["m_fieldlist"][]=$obj;
2180
  $proto28=array();
2181
  $obj = new SQLField(array(
2182
- "m_strName" => "initial",
2183
  "m_strTable" => "public.items",
2184
  "m_srcTableName" => "public.items"
2185
  ));
2186
 
2187
- $proto28["m_sql"] = "\"initial\"";
2188
  $proto28["m_srcTableName"] = "public.items";
2189
  $proto28["m_expr"]=$obj;
2190
  $proto28["m_alias"] = "";
2191
  $obj = new SQLFieldListItem($proto28);
2192
 
2193
  $proto0["m_fieldlist"][]=$obj;
2194
- $proto0["m_fromlist"] = array();
2195
- $proto30=array();
2196
- $proto30["m_link"] = "SQLL_MAIN";
2197
- $proto31=array();
2198
- $proto31["m_strName"] = "public.items";
2199
- $proto31["m_srcTableName"] = "public.items";
2200
- $proto31["m_columns"] = array();
2201
- $proto31["m_columns"][] = "id";
2202
- $proto31["m_columns"][] = "brand_name";
2203
- $proto31["m_columns"][] = "model_name";
2204
- $proto31["m_columns"][] = "product_number";
2205
- $proto31["m_columns"][] = "purchase_date";
2206
- $proto31["m_columns"][] = "purchase_price";
2207
- $proto31["m_columns"][] = "condition";
2208
- $proto31["m_columns"][] = "precious_metal_type";
2209
- $proto31["m_columns"][] = "precious_metal_weight";
2210
- $proto31["m_columns"][] = "diamond_certification";
2211
- $proto31["m_columns"][] = "accessories";
2212
- $proto31["m_columns"][] = "initial";
2213
- $obj = new SQLTable($proto31);
2214
-
2215
- $proto30["m_table"] = $obj;
2216
- $proto30["m_sql"] = "\"public\".items";
2217
- $proto30["m_alias"] = "";
2218
  $proto30["m_srcTableName"] = "public.items";
2219
- $proto32=array();
2220
- $proto32["m_sql"] = "";
2221
- $proto32["m_uniontype"] = "SQLL_UNKNOWN";
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2222
  $obj = new SQLNonParsed(array(
2223
  "m_sql" => ""
2224
  ));
2225
 
2226
- $proto32["m_column"]=$obj;
2227
- $proto32["m_contained"] = array();
2228
- $proto32["m_strCase"] = "";
2229
- $proto32["m_havingmode"] = false;
2230
- $proto32["m_inBrackets"] = false;
2231
- $proto32["m_useAlias"] = false;
2232
- $obj = new SQLLogicalExpr($proto32);
2233
 
2234
- $proto30["m_joinon"] = $obj;
2235
- $obj = new SQLFromListItem($proto30);
2236
 
2237
  $proto0["m_fromlist"][]=$obj;
2238
  $proto0["m_groupby"] = array();
@@ -2248,7 +2404,7 @@ $queryData_items = createSqlQuery_items();
2248
 
2249
  ;
2250
 
2251
-
2252
 
2253
  $tdataitems[".sqlquery"] = $queryData_items;
2254
 
 
46
  $fieldLabelsitems["English"]["condition"] = "Condition";
47
  $fieldToolTipsitems["English"]["condition"] = "";
48
  $placeHoldersitems["English"]["condition"] = "";
 
 
 
 
 
 
49
  $fieldLabelsitems["English"]["diamond_certification"] = "Diamond Certification";
50
  $fieldToolTipsitems["English"]["diamond_certification"] = "";
51
  $placeHoldersitems["English"]["diamond_certification"] = "";
 
55
  $fieldLabelsitems["English"]["initial"] = "Initial";
56
  $fieldToolTipsitems["English"]["initial"] = "";
57
  $placeHoldersitems["English"]["initial"] = "";
58
+ $fieldLabelsitems["English"]["purchase_store"] = "Purchase Store";
59
+ $fieldToolTipsitems["English"]["purchase_store"] = "";
60
+ $placeHoldersitems["English"]["purchase_store"] = "";
61
+ $fieldLabelsitems["English"]["metal_type"] = "Metal Type";
62
+ $fieldToolTipsitems["English"]["metal_type"] = "";
63
+ $placeHoldersitems["English"]["metal_type"] = "";
64
+ $fieldLabelsitems["English"]["metal_weight"] = "Metal Weight";
65
+ $fieldToolTipsitems["English"]["metal_weight"] = "";
66
+ $placeHoldersitems["English"]["metal_weight"] = "";
67
  if (count($fieldToolTipsitems["English"]))
68
  $tdataitems[".isUseToolTips"] = true;
69
  }
 
185
  $tdataitems[".googleLikeFields"][] = "brand_name";
186
  $tdataitems[".googleLikeFields"][] = "model_name";
187
  $tdataitems[".googleLikeFields"][] = "product_number";
188
+ $tdataitems[".googleLikeFields"][] = "purchase_store";
189
  $tdataitems[".googleLikeFields"][] = "purchase_date";
190
  $tdataitems[".googleLikeFields"][] = "purchase_price";
 
 
 
 
191
  $tdataitems[".googleLikeFields"][] = "accessories";
192
+ $tdataitems[".googleLikeFields"][] = "condition";
193
+ $tdataitems[".googleLikeFields"][] = "metal_type";
194
+ $tdataitems[".googleLikeFields"][] = "metal_weight";
195
  $tdataitems[".googleLikeFields"][] = "initial";
196
 
197
 
 
226
  $tdataitems[".orderindexes"] = array();
227
 
228
 
229
+ $tdataitems[".sqlHead"] = "SELECT id, brand_name, model_name, product_number, purchase_store, purchase_date, purchase_price, accessories, \"condition\", metal_type, metal_weight, diamond_certification, \"initial\"";
230
  $tdataitems[".sqlFrom"] = "FROM \"public\".items";
231
  $tdataitems[".sqlWhereExpr"] = "";
232
  $tdataitems[".sqlTail"] = "";
 
832
 
833
  $tdataitems["product_number"] = $fdata;
834
  $tdataitems[".searchableFields"][] = "product_number";
835
+ // purchase_store
836
  // Custom field settings
837
  $fdata = array();
838
  $fdata["Index"] = 5;
839
+ $fdata["strName"] = "purchase_store";
840
+ $fdata["GoodName"] = "purchase_store";
841
+ $fdata["ownerTable"] = "public.items";
842
+ $fdata["Label"] = GetFieldLabel("public_items","purchase_store");
843
+ $fdata["FieldType"] = 200;
844
+
845
+
846
+
847
+
848
+
849
+
850
+ $fdata["strField"] = "purchase_store";
851
+
852
+ $fdata["sourceSingle"] = "purchase_store";
853
+
854
+
855
+ $fdata["isSQLExpression"] = true;
856
+ $fdata["FullName"] = "purchase_store";
857
+
858
+
859
+
860
+ $fdata["UploadFolder"] = "files";
861
+
862
+ // Begin View Formats
863
+ $fdata["ViewFormats"] = array();
864
+
865
+ $vdata = array("ViewFormat" => "");
866
+
867
+
868
+
869
+
870
+
871
+
872
+
873
+
874
+
875
+
876
+
877
+
878
+
879
+
880
+
881
+ $vdata["NeedEncode"] = true;
882
+
883
+
884
+ $vdata["truncateText"] = true;
885
+ $vdata["NumberOfChars"] = 80;
886
+
887
+ $fdata["ViewFormats"]["view"] = $vdata;
888
+ // End View Formats
889
+
890
+ // Begin Edit Formats
891
+ $fdata["EditFormats"] = array();
892
+
893
+ $edata = array("EditFormat" => "Text field");
894
+
895
+
896
+ $edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
897
+ $edata["weekdays"] = "[]";
898
+
899
+
900
+
901
+
902
+
903
+
904
+
905
+
906
+
907
+
908
+
909
+ $edata["acceptFileTypesHtml"] = "";
910
+
911
+ $edata["maxNumberOfFiles"] = 1;
912
+
913
+
914
+
915
+
916
+
917
+ $edata["HTML5InuptType"] = "text";
918
+
919
+ $edata["EditParams"] = "";
920
+ $edata["EditParams"].= " maxlength=255";
921
+
922
+ $edata["controlWidth"] = 200;
923
+
924
+ // Begin validation
925
+ $edata["validateAs"] = array();
926
+ $edata["validateAs"]["basicValidate"] = array();
927
+ $edata["validateAs"]["customMessages"] = array();
928
+
929
+
930
+ // End validation
931
+
932
+
933
+
934
+
935
+
936
+
937
+ $fdata["EditFormats"]["edit"] = $edata;
938
+ // End Edit Formats
939
+
940
+
941
+ $fdata["isSeparate"] = false;
942
+
943
+
944
+
945
+
946
+ // the field's search options settings
947
+ $fdata["defaultSearchOption"] = "Contains";
948
+
949
+ // the default search options list
950
+ $fdata["searchOptionsList"] = array("Contains", "Equals", "Starts with", "More than", "Less than", "Between", "Empty", NOT_EMPTY);
951
+ // the end of search options settings
952
+
953
+
954
+ //Filters settings
955
+ $fdata["filterTotals"] = 0;
956
+ $fdata["filterMultiSelect"] = 0;
957
+ $fdata["filterFormat"] = "Values list";
958
+ $fdata["showCollapsed"] = false;
959
+
960
+ $fdata["sortValueType"] = 0;
961
+ $fdata["numberOfVisibleItems"] = 10;
962
+
963
+ $fdata["filterBy"] = 0;
964
+
965
+
966
+
967
+
968
+
969
+ //end of Filters settings
970
+
971
+
972
+ $tdataitems["purchase_store"] = $fdata;
973
+ $tdataitems[".searchableFields"][] = "purchase_store";
974
+ // purchase_date
975
+ // Custom field settings
976
+ $fdata = array();
977
+ $fdata["Index"] = 6;
978
  $fdata["strName"] = "purchase_date";
979
  $fdata["GoodName"] = "purchase_date";
980
  $fdata["ownerTable"] = "public.items";
 
1113
  // purchase_price
1114
  // Custom field settings
1115
  $fdata = array();
1116
+ $fdata["Index"] = 7;
1117
  $fdata["strName"] = "purchase_price";
1118
  $fdata["GoodName"] = "purchase_price";
1119
  $fdata["ownerTable"] = "public.items";
1120
  $fdata["Label"] = GetFieldLabel("public_items","purchase_price");
1121
+ $fdata["FieldType"] = 3;
1122
 
1123
 
1124
 
 
1250
 
1251
  $tdataitems["purchase_price"] = $fdata;
1252
  $tdataitems[".searchableFields"][] = "purchase_price";
1253
+ // accessories
1254
  // Custom field settings
1255
  $fdata = array();
1256
+ $fdata["Index"] = 8;
1257
+ $fdata["strName"] = "accessories";
1258
+ $fdata["GoodName"] = "accessories";
1259
  $fdata["ownerTable"] = "public.items";
1260
+ $fdata["Label"] = GetFieldLabel("public_items","accessories");
1261
+ $fdata["FieldType"] = 201;
1262
 
1263
 
1264
 
1265
 
1266
 
1267
 
1268
+ $fdata["strField"] = "accessories";
1269
 
1270
+ $fdata["sourceSingle"] = "accessories";
1271
 
1272
 
1273
  $fdata["isSQLExpression"] = true;
1274
+ $fdata["FullName"] = "accessories";
1275
 
1276
 
1277
 
 
1308
  // Begin Edit Formats
1309
  $fdata["EditFormats"] = array();
1310
 
1311
+ $edata = array("EditFormat" => "Text area");
1312
 
1313
 
1314
  $edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
 
1326
 
1327
  $edata["acceptFileTypesHtml"] = "";
1328
 
1329
+ $edata["maxNumberOfFiles"] = 0;
1330
 
1331
 
1332
 
1333
 
1334
+ $edata["nRows"] = 100;
1335
+ $edata["nCols"] = 200;
1336
 
1337
+
1338
+
1339
  $edata["controlWidth"] = 200;
1340
 
1341
  // Begin validation
1342
  $edata["validateAs"] = array();
1343
  $edata["validateAs"]["basicValidate"] = array();
1344
  $edata["validateAs"]["customMessages"] = array();
1345
+
 
1346
 
1347
  // End validation
1348
 
1349
+ $edata["CreateThumbnail"] = true;
1350
+ $edata["StrThumbnail"] = "th";
1351
+ $edata["ThumbnailSize"] = 600;
1352
+
1353
 
1354
 
1355
 
 
1389
  //end of Filters settings
1390
 
1391
 
1392
+ $tdataitems["accessories"] = $fdata;
1393
+ $tdataitems[".searchableFields"][] = "accessories";
1394
+ // condition
1395
  // Custom field settings
1396
  $fdata = array();
1397
+ $fdata["Index"] = 9;
1398
+ $fdata["strName"] = "condition";
1399
+ $fdata["GoodName"] = "condition";
1400
  $fdata["ownerTable"] = "public.items";
1401
+ $fdata["Label"] = GetFieldLabel("public_items","condition");
1402
+ $fdata["FieldType"] = 3;
1403
 
1404
 
1405
 
1406
 
1407
 
1408
 
1409
+ $fdata["strField"] = "condition";
1410
 
1411
+ $fdata["sourceSingle"] = "condition";
1412
 
1413
 
1414
  $fdata["isSQLExpression"] = true;
1415
+ $fdata["FullName"] = "\"condition\"";
1416
 
1417
 
1418
 
 
1476
  $edata["HTML5InuptType"] = "text";
1477
 
1478
  $edata["EditParams"] = "";
1479
+
 
1480
  $edata["controlWidth"] = 200;
1481
 
1482
  // Begin validation
1483
  $edata["validateAs"] = array();
1484
  $edata["validateAs"]["basicValidate"] = array();
1485
  $edata["validateAs"]["customMessages"] = array();
1486
+ $edata["validateAs"]["basicValidate"][] = getJsValidatorName("Number");
1487
+
1488
 
1489
  // End validation
1490
 
 
1528
  //end of Filters settings
1529
 
1530
 
1531
+ $tdataitems["condition"] = $fdata;
1532
+ $tdataitems[".searchableFields"][] = "condition";
1533
+ // metal_type
1534
  // Custom field settings
1535
  $fdata = array();
1536
+ $fdata["Index"] = 10;
1537
+ $fdata["strName"] = "metal_type";
1538
+ $fdata["GoodName"] = "metal_type";
1539
  $fdata["ownerTable"] = "public.items";
1540
+ $fdata["Label"] = GetFieldLabel("public_items","metal_type");
1541
+ $fdata["FieldType"] = 200;
1542
 
1543
 
1544
 
1545
 
1546
 
1547
 
1548
+ $fdata["strField"] = "metal_type";
1549
 
1550
+ $fdata["sourceSingle"] = "metal_type";
1551
 
1552
 
1553
  $fdata["isSQLExpression"] = true;
1554
+ $fdata["FullName"] = "metal_type";
1555
 
1556
 
1557
 
 
1560
  // Begin View Formats
1561
  $fdata["ViewFormats"] = array();
1562
 
1563
+ $vdata = array("ViewFormat" => "");
1564
 
1565
 
1566
 
 
1569
 
1570
 
1571
 
1572
+
 
1573
 
1574
 
1575
 
 
1615
  $edata["HTML5InuptType"] = "text";
1616
 
1617
  $edata["EditParams"] = "";
1618
+ $edata["EditParams"].= " maxlength=255";
1619
+
1620
  $edata["controlWidth"] = 200;
1621
 
1622
  // Begin validation
1623
  $edata["validateAs"] = array();
1624
  $edata["validateAs"]["basicValidate"] = array();
1625
  $edata["validateAs"]["customMessages"] = array();
1626
+
 
1627
 
1628
  // End validation
1629
 
 
1667
  //end of Filters settings
1668
 
1669
 
1670
+ $tdataitems["metal_type"] = $fdata;
1671
+ $tdataitems[".searchableFields"][] = "metal_type";
1672
+ // metal_weight
1673
  // Custom field settings
1674
  $fdata = array();
1675
+ $fdata["Index"] = 11;
1676
+ $fdata["strName"] = "metal_weight";
1677
+ $fdata["GoodName"] = "metal_weight";
1678
  $fdata["ownerTable"] = "public.items";
1679
+ $fdata["Label"] = GetFieldLabel("public_items","metal_weight");
1680
+ $fdata["FieldType"] = 14;
1681
 
1682
 
1683
 
1684
 
1685
 
1686
 
1687
+ $fdata["strField"] = "metal_weight";
1688
 
1689
+ $fdata["sourceSingle"] = "metal_weight";
1690
 
1691
 
1692
  $fdata["isSQLExpression"] = true;
1693
+ $fdata["FullName"] = "metal_weight";
1694
 
1695
 
1696
 
 
1699
  // Begin View Formats
1700
  $fdata["ViewFormats"] = array();
1701
 
1702
+ $vdata = array("ViewFormat" => "Number");
1703
 
1704
 
1705
 
 
1708
 
1709
 
1710
 
1711
+ $vdata["DecimalDigits"] = 2;
1712
+
1713
 
1714
 
1715
 
 
1755
  $edata["HTML5InuptType"] = "text";
1756
 
1757
  $edata["EditParams"] = "";
1758
+
 
1759
  $edata["controlWidth"] = 200;
1760
 
1761
  // Begin validation
1762
  $edata["validateAs"] = array();
1763
  $edata["validateAs"]["basicValidate"] = array();
1764
  $edata["validateAs"]["customMessages"] = array();
1765
+ $edata["validateAs"]["basicValidate"][] = getJsValidatorName("Number");
1766
+
1767
 
1768
  // End validation
1769
 
 
1807
  //end of Filters settings
1808
 
1809
 
1810
+ $tdataitems["metal_weight"] = $fdata;
1811
+ $tdataitems[".searchableFields"][] = "metal_weight";
1812
+ // diamond_certification
1813
  // Custom field settings
1814
  $fdata = array();
1815
+ $fdata["Index"] = 12;
1816
+ $fdata["strName"] = "diamond_certification";
1817
+ $fdata["GoodName"] = "diamond_certification";
1818
  $fdata["ownerTable"] = "public.items";
1819
+ $fdata["Label"] = GetFieldLabel("public_items","diamond_certification");
1820
+ $fdata["FieldType"] = 128;
1821
 
1822
 
1823
 
1824
 
1825
 
1826
 
1827
+ $fdata["strField"] = "diamond_certification";
1828
 
1829
+ $fdata["sourceSingle"] = "diamond_certification";
1830
 
1831
 
1832
  $fdata["isSQLExpression"] = true;
1833
+ $fdata["FullName"] = "diamond_certification";
1834
 
1835
 
1836
 
 
1867
  // Begin Edit Formats
1868
  $fdata["EditFormats"] = array();
1869
 
1870
+ $edata = array("EditFormat" => "Text field");
1871
 
1872
 
1873
  $edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
 
1885
 
1886
  $edata["acceptFileTypesHtml"] = "";
1887
 
1888
+ $edata["maxNumberOfFiles"] = 1;
1889
 
1890
 
1891
 
1892
 
 
 
 
 
1893
 
1894
+ $edata["HTML5InuptType"] = "text";
1895
+
1896
+ $edata["EditParams"] = "";
1897
+ $edata["EditParams"].= " maxlength=255";
1898
+
1899
  $edata["controlWidth"] = 200;
1900
 
1901
  // Begin validation
 
1906
 
1907
  // End validation
1908
 
1909
+
 
 
 
1910
 
1911
 
1912
 
 
1946
  //end of Filters settings
1947
 
1948
 
1949
+ $tdataitems["diamond_certification"] = $fdata;
1950
+ // initial
 
1951
  // Custom field settings
1952
  $fdata = array();
1953
+ $fdata["Index"] = 13;
1954
  $fdata["strName"] = "initial";
1955
  $fdata["GoodName"] = "initial";
1956
  $fdata["ownerTable"] = "public.items";
 
2124
  {
2125
  $proto0=array();
2126
  $proto0["m_strHead"] = "SELECT";
2127
+ $proto0["m_strFieldList"] = "id, brand_name, model_name, product_number, purchase_store, purchase_date, purchase_price, accessories, \"condition\", metal_type, metal_weight, diamond_certification, \"initial\"";
2128
  $proto0["m_strFrom"] = "FROM \"public\".items";
2129
  $proto0["m_strWhere"] = "";
2130
  $proto0["m_strOrderBy"] = "";
 
2222
  $proto0["m_fieldlist"][]=$obj;
2223
  $proto14=array();
2224
  $obj = new SQLField(array(
2225
+ "m_strName" => "purchase_store",
2226
  "m_strTable" => "public.items",
2227
  "m_srcTableName" => "public.items"
2228
  ));
2229
 
2230
+ $proto14["m_sql"] = "purchase_store";
2231
  $proto14["m_srcTableName"] = "public.items";
2232
  $proto14["m_expr"]=$obj;
2233
  $proto14["m_alias"] = "";
 
2236
  $proto0["m_fieldlist"][]=$obj;
2237
  $proto16=array();
2238
  $obj = new SQLField(array(
2239
+ "m_strName" => "purchase_date",
2240
  "m_strTable" => "public.items",
2241
  "m_srcTableName" => "public.items"
2242
  ));
2243
 
2244
+ $proto16["m_sql"] = "purchase_date";
2245
  $proto16["m_srcTableName"] = "public.items";
2246
  $proto16["m_expr"]=$obj;
2247
  $proto16["m_alias"] = "";
 
2250
  $proto0["m_fieldlist"][]=$obj;
2251
  $proto18=array();
2252
  $obj = new SQLField(array(
2253
+ "m_strName" => "purchase_price",
2254
  "m_strTable" => "public.items",
2255
  "m_srcTableName" => "public.items"
2256
  ));
2257
 
2258
+ $proto18["m_sql"] = "purchase_price";
2259
  $proto18["m_srcTableName"] = "public.items";
2260
  $proto18["m_expr"]=$obj;
2261
  $proto18["m_alias"] = "";
 
2264
  $proto0["m_fieldlist"][]=$obj;
2265
  $proto20=array();
2266
  $obj = new SQLField(array(
2267
+ "m_strName" => "accessories",
2268
  "m_strTable" => "public.items",
2269
  "m_srcTableName" => "public.items"
2270
  ));
2271
 
2272
+ $proto20["m_sql"] = "accessories";
2273
  $proto20["m_srcTableName"] = "public.items";
2274
  $proto20["m_expr"]=$obj;
2275
  $proto20["m_alias"] = "";
 
2278
  $proto0["m_fieldlist"][]=$obj;
2279
  $proto22=array();
2280
  $obj = new SQLField(array(
2281
+ "m_strName" => "condition",
2282
  "m_strTable" => "public.items",
2283
  "m_srcTableName" => "public.items"
2284
  ));
2285
 
2286
+ $proto22["m_sql"] = "\"condition\"";
2287
  $proto22["m_srcTableName"] = "public.items";
2288
  $proto22["m_expr"]=$obj;
2289
  $proto22["m_alias"] = "";
 
2292
  $proto0["m_fieldlist"][]=$obj;
2293
  $proto24=array();
2294
  $obj = new SQLField(array(
2295
+ "m_strName" => "metal_type",
2296
  "m_strTable" => "public.items",
2297
  "m_srcTableName" => "public.items"
2298
  ));
2299
 
2300
+ $proto24["m_sql"] = "metal_type";
2301
  $proto24["m_srcTableName"] = "public.items";
2302
  $proto24["m_expr"]=$obj;
2303
  $proto24["m_alias"] = "";
 
2306
  $proto0["m_fieldlist"][]=$obj;
2307
  $proto26=array();
2308
  $obj = new SQLField(array(
2309
+ "m_strName" => "metal_weight",
2310
  "m_strTable" => "public.items",
2311
  "m_srcTableName" => "public.items"
2312
  ));
2313
 
2314
+ $proto26["m_sql"] = "metal_weight";
2315
  $proto26["m_srcTableName"] = "public.items";
2316
  $proto26["m_expr"]=$obj;
2317
  $proto26["m_alias"] = "";
 
2320
  $proto0["m_fieldlist"][]=$obj;
2321
  $proto28=array();
2322
  $obj = new SQLField(array(
2323
+ "m_strName" => "diamond_certification",
2324
  "m_strTable" => "public.items",
2325
  "m_srcTableName" => "public.items"
2326
  ));
2327
 
2328
+ $proto28["m_sql"] = "diamond_certification";
2329
  $proto28["m_srcTableName"] = "public.items";
2330
  $proto28["m_expr"]=$obj;
2331
  $proto28["m_alias"] = "";
2332
  $obj = new SQLFieldListItem($proto28);
2333
 
2334
  $proto0["m_fieldlist"][]=$obj;
2335
+ $proto30=array();
2336
+ $obj = new SQLField(array(
2337
+ "m_strName" => "initial",
2338
+ "m_strTable" => "public.items",
2339
+ "m_srcTableName" => "public.items"
2340
+ ));
2341
+
2342
+ $proto30["m_sql"] = "\"initial\"";
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2343
  $proto30["m_srcTableName"] = "public.items";
2344
+ $proto30["m_expr"]=$obj;
2345
+ $proto30["m_alias"] = "";
2346
+ $obj = new SQLFieldListItem($proto30);
2347
+
2348
+ $proto0["m_fieldlist"][]=$obj;
2349
+ $proto0["m_fromlist"] = array();
2350
+ $proto32=array();
2351
+ $proto32["m_link"] = "SQLL_MAIN";
2352
+ $proto33=array();
2353
+ $proto33["m_strName"] = "public.items";
2354
+ $proto33["m_srcTableName"] = "public.items";
2355
+ $proto33["m_columns"] = array();
2356
+ $proto33["m_columns"][] = "id";
2357
+ $proto33["m_columns"][] = "brand_name";
2358
+ $proto33["m_columns"][] = "model_name";
2359
+ $proto33["m_columns"][] = "product_number";
2360
+ $proto33["m_columns"][] = "purchase_store";
2361
+ $proto33["m_columns"][] = "purchase_date";
2362
+ $proto33["m_columns"][] = "purchase_price";
2363
+ $proto33["m_columns"][] = "accessories";
2364
+ $proto33["m_columns"][] = "condition";
2365
+ $proto33["m_columns"][] = "metal_type";
2366
+ $proto33["m_columns"][] = "metal_weight";
2367
+ $proto33["m_columns"][] = "diamond_certification";
2368
+ $proto33["m_columns"][] = "initial";
2369
+ $obj = new SQLTable($proto33);
2370
+
2371
+ $proto32["m_table"] = $obj;
2372
+ $proto32["m_sql"] = "\"public\".items";
2373
+ $proto32["m_alias"] = "";
2374
+ $proto32["m_srcTableName"] = "public.items";
2375
+ $proto34=array();
2376
+ $proto34["m_sql"] = "";
2377
+ $proto34["m_uniontype"] = "SQLL_UNKNOWN";
2378
  $obj = new SQLNonParsed(array(
2379
  "m_sql" => ""
2380
  ));
2381
 
2382
+ $proto34["m_column"]=$obj;
2383
+ $proto34["m_contained"] = array();
2384
+ $proto34["m_strCase"] = "";
2385
+ $proto34["m_havingmode"] = false;
2386
+ $proto34["m_inBrackets"] = false;
2387
+ $proto34["m_useAlias"] = false;
2388
+ $obj = new SQLLogicalExpr($proto34);
2389
 
2390
+ $proto32["m_joinon"] = $obj;
2391
+ $obj = new SQLFromListItem($proto32);
2392
 
2393
  $proto0["m_fromlist"][]=$obj;
2394
  $proto0["m_groupby"] = array();
 
2404
 
2405
  ;
2406
 
2407
+
2408
 
2409
  $tdataitems[".sqlquery"] = $queryData_items;
2410
 
php/include/menunodes_main.php CHANGED
@@ -288,6 +288,32 @@
288
 
289
 
290
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
291
  $menuNodes[] = $menuNode;
292
  $menuNodesCache[ "main" ] = $menuNodes;
293
  ?>
 
288
 
289
 
290
 
291
+ $menuNodes[] = $menuNode;
292
+ $menuNode = array();
293
+ $menuNode["id"] = "12";
294
+ $menuNode["name"] = "";
295
+ $menuNode["href"] = "mypage.htm";
296
+ $menuNode["type"] = "Leaf";
297
+ $menuNode["table"] = "public.appointments";
298
+ $menuNode["style"] = "";
299
+ $menuNode["params"] = "";
300
+ $menuNode["parent"] = "0";
301
+ $menuNode["nameType"] = "Text";
302
+ $menuNode["linkType"] = "Internal";
303
+ $menuNode["pageType"] = strtolower("List");//
304
+ $menuNode["pageId"] = "";
305
+ $menuNode["openType"] = "None";
306
+
307
+ $menuNode["icon"] = "";
308
+ $menuNode["iconType"] = "0";
309
+ $menuNode["iconShow"] = "1";
310
+
311
+ $menuNode["color"] = "";
312
+
313
+ $menuNode["title"] = "Appointments";
314
+
315
+
316
+
317
  $menuNodes[] = $menuNode;
318
  $menuNodesCache[ "main" ] = $menuNodes;
319
  ?>
php/include/pages/_global_menu_KnowledgeBase.php CHANGED
@@ -70,6 +70,12 @@
70
  'linkType' => 0,
71
  'items' => null,
72
  'table' => 'public.items',
 
 
 
 
 
 
73
  'page' => 'list' ) ) ),
74
  'fields' => array( 'gridFields' => array( ),
75
  'searchRequiredFields' => array( ),
@@ -90,7 +96,8 @@
90
  'welcome_item7',
91
  'welcome_item8',
92
  'welcome_item9',
93
- 'welcome_item10' ) ),
 
94
  'formXtTags' => array( 'above-grid' => array( 'breadcrumb' ) ),
95
  'itemForms' => array( 'logo' => 'supertop',
96
  'menu' => 'supertop',
@@ -107,7 +114,8 @@
107
  'welcome_item7' => 'grid',
108
  'welcome_item8' => 'grid',
109
  'welcome_item9' => 'grid',
110
- 'welcome_item10' => 'grid' ),
 
111
  'itemLocations' => array( ),
112
  'itemVisiblity' => array( 'menu' => 3,
113
  'loginform_login' => 3,
@@ -125,7 +133,8 @@
125
  'welcome_item7',
126
  'welcome_item8',
127
  'welcome_item9',
128
- 'welcome_item10' ),
 
129
  'loginform_login' => array( 'loginform_login' ),
130
  'username_button' => array( 'username_button' ),
131
  'logout_link' => array( 'logout_link' ),
@@ -193,7 +202,8 @@ array( 'cell' => 'c2' ) ),
193
  'welcome_item7',
194
  'welcome_item8',
195
  'welcome_item9',
196
- 'welcome_item10' ),
 
197
  '_t' => 'Map',
198
  '_i' => array( ),
199
  '_s' => 0 ) ),
@@ -311,6 +321,14 @@ array( 'cell' => 'c2' ) ),
311
  'linkText' => array( 'table' => 'public.items',
312
  'type' => 6 ),
313
  'background' => '#BC8F8F',
 
 
 
 
 
 
 
 
314
  'linkType' => 0 ) ),
315
  'dbProps' => array( ),
316
  'version' => 14,
 
70
  'linkType' => 0,
71
  'items' => null,
72
  'table' => 'public.items',
73
+ 'page' => 'list' ),
74
+ 'welcome_item11' => array( 'menutItem' => true,
75
+ 'group' => false,
76
+ 'linkType' => 0,
77
+ 'items' => null,
78
+ 'table' => 'public.appointments',
79
  'page' => 'list' ) ) ),
80
  'fields' => array( 'gridFields' => array( ),
81
  'searchRequiredFields' => array( ),
 
96
  'welcome_item7',
97
  'welcome_item8',
98
  'welcome_item9',
99
+ 'welcome_item10',
100
+ 'welcome_item11' ) ),
101
  'formXtTags' => array( 'above-grid' => array( 'breadcrumb' ) ),
102
  'itemForms' => array( 'logo' => 'supertop',
103
  'menu' => 'supertop',
 
114
  'welcome_item7' => 'grid',
115
  'welcome_item8' => 'grid',
116
  'welcome_item9' => 'grid',
117
+ 'welcome_item10' => 'grid',
118
+ 'welcome_item11' => 'grid' ),
119
  'itemLocations' => array( ),
120
  'itemVisiblity' => array( 'menu' => 3,
121
  'loginform_login' => 3,
 
133
  'welcome_item7',
134
  'welcome_item8',
135
  'welcome_item9',
136
+ 'welcome_item10',
137
+ 'welcome_item11' ),
138
  'loginform_login' => array( 'loginform_login' ),
139
  'username_button' => array( 'username_button' ),
140
  'logout_link' => array( 'logout_link' ),
 
202
  'welcome_item7',
203
  'welcome_item8',
204
  'welcome_item9',
205
+ 'welcome_item10',
206
+ 'welcome_item11' ),
207
  '_t' => 'Map',
208
  '_i' => array( ),
209
  '_s' => 0 ) ),
 
321
  'linkText' => array( 'table' => 'public.items',
322
  'type' => 6 ),
323
  'background' => '#BC8F8F',
324
+ 'linkType' => 0 ),
325
+ 'welcome_item11' => array( 'type' => 'welcome_item',
326
+ 'linkUrl' => '',
327
+ 'linkTable' => 'public.appointments',
328
+ 'linkPage' => 'list',
329
+ 'linkText' => array( 'table' => 'public.appointments',
330
+ 'type' => 6 ),
331
+ 'background' => '#D2691E',
332
  'linkType' => 0 ) ),
333
  'dbProps' => array( ),
334
  'version' => 14,
php/include/pages/appointments_add.php ADDED
@@ -0,0 +1,282 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ $optionsArray = array( 'captcha' => array( 'captcha' => false ),
3
+ 'fields' => array( 'gridFields' => array( 'id',
4
+ 'date',
5
+ 'time',
6
+ 'customer_name',
7
+ 'product_type',
8
+ 'product_brand',
9
+ 'product_model',
10
+ 'product_serial_number',
11
+ 'purchase_date',
12
+ 'purchase_price',
13
+ 'condition_rating',
14
+ 'metal_purity',
15
+ 'metal_weight',
16
+ 'gemstone_certification',
17
+ 'initial' ),
18
+ 'searchRequiredFields' => array( ),
19
+ 'searchPanelFields' => array( ),
20
+ 'fieldItems' => array( 'id' => array( 'integrated_edit_field' ),
21
+ 'date' => array( 'integrated_edit_field1' ),
22
+ 'time' => array( 'integrated_edit_field2' ),
23
+ 'customer_name' => array( 'integrated_edit_field3' ),
24
+ 'product_type' => array( 'integrated_edit_field4' ),
25
+ 'product_brand' => array( 'integrated_edit_field5' ),
26
+ 'product_model' => array( 'integrated_edit_field6' ),
27
+ 'product_serial_number' => array( 'integrated_edit_field7' ),
28
+ 'purchase_date' => array( 'integrated_edit_field8' ),
29
+ 'purchase_price' => array( 'integrated_edit_field9' ),
30
+ 'condition_rating' => array( 'integrated_edit_field10' ),
31
+ 'metal_purity' => array( 'integrated_edit_field11' ),
32
+ 'metal_weight' => array( 'integrated_edit_field12' ),
33
+ 'gemstone_certification' => array( 'integrated_edit_field13' ),
34
+ 'initial' => array( 'integrated_edit_field14' ) ) ),
35
+ 'pageLinks' => array( 'edit' => false,
36
+ 'add' => false,
37
+ 'view' => false,
38
+ 'print' => false ),
39
+ 'layoutHelper' => array( 'formItems' => array( 'formItems' => array( 'above-grid' => array( 'add_message' ),
40
+ 'below-grid' => array( 'add_save',
41
+ 'add_reset',
42
+ 'add_back_list',
43
+ 'add_cancel' ),
44
+ 'top' => array( 'add_header' ),
45
+ 'grid' => array( 'integrated_edit_field',
46
+ 'integrated_edit_field1',
47
+ 'integrated_edit_field2',
48
+ 'integrated_edit_field3',
49
+ 'integrated_edit_field4',
50
+ 'integrated_edit_field5',
51
+ 'integrated_edit_field6',
52
+ 'integrated_edit_field7',
53
+ 'integrated_edit_field8',
54
+ 'integrated_edit_field9',
55
+ 'integrated_edit_field10',
56
+ 'integrated_edit_field11',
57
+ 'integrated_edit_field12',
58
+ 'integrated_edit_field13',
59
+ 'integrated_edit_field14' ) ),
60
+ 'formXtTags' => array( 'above-grid' => array( 'message_block' ) ),
61
+ 'itemForms' => array( 'add_message' => 'above-grid',
62
+ 'add_save' => 'below-grid',
63
+ 'add_reset' => 'below-grid',
64
+ 'add_back_list' => 'below-grid',
65
+ 'add_cancel' => 'below-grid',
66
+ 'add_header' => 'top',
67
+ 'integrated_edit_field' => 'grid',
68
+ 'integrated_edit_field1' => 'grid',
69
+ 'integrated_edit_field2' => 'grid',
70
+ 'integrated_edit_field3' => 'grid',
71
+ 'integrated_edit_field4' => 'grid',
72
+ 'integrated_edit_field5' => 'grid',
73
+ 'integrated_edit_field6' => 'grid',
74
+ 'integrated_edit_field7' => 'grid',
75
+ 'integrated_edit_field8' => 'grid',
76
+ 'integrated_edit_field9' => 'grid',
77
+ 'integrated_edit_field10' => 'grid',
78
+ 'integrated_edit_field11' => 'grid',
79
+ 'integrated_edit_field12' => 'grid',
80
+ 'integrated_edit_field13' => 'grid',
81
+ 'integrated_edit_field14' => 'grid' ),
82
+ 'itemLocations' => array( 'integrated_edit_field' => array( 'location' => 'grid',
83
+ 'cellId' => 'c3' ),
84
+ 'integrated_edit_field1' => array( 'location' => 'grid',
85
+ 'cellId' => 'c3' ),
86
+ 'integrated_edit_field2' => array( 'location' => 'grid',
87
+ 'cellId' => 'c3' ),
88
+ 'integrated_edit_field3' => array( 'location' => 'grid',
89
+ 'cellId' => 'c3' ),
90
+ 'integrated_edit_field4' => array( 'location' => 'grid',
91
+ 'cellId' => 'c3' ),
92
+ 'integrated_edit_field5' => array( 'location' => 'grid',
93
+ 'cellId' => 'c3' ),
94
+ 'integrated_edit_field6' => array( 'location' => 'grid',
95
+ 'cellId' => 'c3' ),
96
+ 'integrated_edit_field7' => array( 'location' => 'grid',
97
+ 'cellId' => 'c3' ),
98
+ 'integrated_edit_field8' => array( 'location' => 'grid',
99
+ 'cellId' => 'c3' ),
100
+ 'integrated_edit_field9' => array( 'location' => 'grid',
101
+ 'cellId' => 'c3' ),
102
+ 'integrated_edit_field10' => array( 'location' => 'grid',
103
+ 'cellId' => 'c3' ),
104
+ 'integrated_edit_field11' => array( 'location' => 'grid',
105
+ 'cellId' => 'c3' ),
106
+ 'integrated_edit_field12' => array( 'location' => 'grid',
107
+ 'cellId' => 'c3' ),
108
+ 'integrated_edit_field13' => array( 'location' => 'grid',
109
+ 'cellId' => 'c3' ),
110
+ 'integrated_edit_field14' => array( 'location' => 'grid',
111
+ 'cellId' => 'c3' ) ),
112
+ 'itemVisiblity' => array( ) ),
113
+ 'itemsByType' => array( 'add_header' => array( 'add_header' ),
114
+ 'add_back_list' => array( 'add_back_list' ),
115
+ 'add_cancel' => array( 'add_cancel' ),
116
+ 'add_message' => array( 'add_message' ),
117
+ 'add_save' => array( 'add_save' ),
118
+ 'add_reset' => array( 'add_reset' ),
119
+ 'integrated_edit_field' => array( 'integrated_edit_field',
120
+ 'integrated_edit_field1',
121
+ 'integrated_edit_field2',
122
+ 'integrated_edit_field3',
123
+ 'integrated_edit_field4',
124
+ 'integrated_edit_field5',
125
+ 'integrated_edit_field6',
126
+ 'integrated_edit_field7',
127
+ 'integrated_edit_field8',
128
+ 'integrated_edit_field9',
129
+ 'integrated_edit_field10',
130
+ 'integrated_edit_field11',
131
+ 'integrated_edit_field12',
132
+ 'integrated_edit_field13',
133
+ 'integrated_edit_field14' ) ),
134
+ 'cellMaps' => array( 'grid' => array( 'cells' => array( 'c3' => array( 'cols' => array( 0 ),
135
+ 'rows' => array( 0 ),
136
+ 'tags' => array( ),
137
+ 'items' => array( 'integrated_edit_field',
138
+ 'integrated_edit_field1',
139
+ 'integrated_edit_field2',
140
+ 'integrated_edit_field3',
141
+ 'integrated_edit_field4',
142
+ 'integrated_edit_field5',
143
+ 'integrated_edit_field6',
144
+ 'integrated_edit_field7',
145
+ 'integrated_edit_field8',
146
+ 'integrated_edit_field9',
147
+ 'integrated_edit_field10',
148
+ 'integrated_edit_field11',
149
+ 'integrated_edit_field12',
150
+ 'integrated_edit_field13',
151
+ 'integrated_edit_field14' ),
152
+ 'fixedAtServer' => true,
153
+ 'fixedAtClient' => false ) ),
154
+ 'width' => 1,
155
+ 'height' => 1 ) ) ),
156
+ 'loginForm' => array( 'loginForm' => 3 ),
157
+ 'page' => array( 'verticalBar' => false,
158
+ 'labeledButtons' => array( 'update_records' => array( ),
159
+ 'print_pages' => array( ),
160
+ 'register_activate_message' => array( ),
161
+ 'details_found' => array( ) ),
162
+ 'hasCustomButtons' => false,
163
+ 'customButtons' => array( ),
164
+ 'hasNotifications' => false,
165
+ 'menus' => array( ),
166
+ 'calcTotalsFor' => 1 ),
167
+ 'misc' => array( 'type' => 'add',
168
+ 'breadcrumb' => false ),
169
+ 'events' => array( 'maps' => array( ),
170
+ 'mapsData' => array( ),
171
+ 'buttons' => array( ) ) );
172
+ $pageArray = array( 'id' => 'add',
173
+ 'type' => 'add',
174
+ 'layoutId' => 'nomenu',
175
+ 'disabled' => 0,
176
+ 'default' => 0,
177
+ 'forms' => array( 'above-grid' => array( 'modelId' => 'add-above-grid',
178
+ 'grid' => array( array( 'cells' => array( array( 'cell' => 'c1' ) ),
179
+ 'section' => '' ) ),
180
+ 'cells' => array( 'c1' => array( 'model' => 'c1',
181
+ 'items' => array( 'add_message' ) ) ),
182
+ 'deferredItems' => array( ),
183
+ 'recsPerRow' => 1 ),
184
+ 'below-grid' => array( 'modelId' => 'add-below-grid',
185
+ 'grid' => array( array( 'cells' => array( array( 'cell' => 'c1' ) ),
186
+ 'section' => '' ) ),
187
+ 'cells' => array( 'c1' => array( 'model' => 'c1',
188
+ 'items' => array( 'add_save',
189
+ 'add_reset',
190
+ 'add_back_list',
191
+ 'add_cancel' ) ) ),
192
+ 'deferredItems' => array( ),
193
+ 'recsPerRow' => 1 ),
194
+ 'top' => array( 'modelId' => 'add-header',
195
+ 'grid' => array( array( 'cells' => array( array( 'cell' => 'c1' ) ),
196
+ 'section' => '' ) ),
197
+ 'cells' => array( 'c1' => array( 'model' => 'c1',
198
+ 'items' => array( 'add_header' ) ) ),
199
+ 'deferredItems' => array( ),
200
+ 'recsPerRow' => 1 ),
201
+ 'grid' => array( 'modelId' => 'simple-edit',
202
+ 'grid' => array( array( 'cells' => array( array( 'cell' => 'c3' ) ),
203
+ 'section' => '' ) ),
204
+ 'cells' => array( 'c3' => array( 'model' => 'c3',
205
+ 'items' => array( 'integrated_edit_field',
206
+ 'integrated_edit_field1',
207
+ 'integrated_edit_field2',
208
+ 'integrated_edit_field3',
209
+ 'integrated_edit_field4',
210
+ 'integrated_edit_field5',
211
+ 'integrated_edit_field6',
212
+ 'integrated_edit_field7',
213
+ 'integrated_edit_field8',
214
+ 'integrated_edit_field9',
215
+ 'integrated_edit_field10',
216
+ 'integrated_edit_field11',
217
+ 'integrated_edit_field12',
218
+ 'integrated_edit_field13',
219
+ 'integrated_edit_field14' ) ) ),
220
+ 'deferredItems' => array( ),
221
+ 'columnCount' => 1,
222
+ 'inlineLabels' => false,
223
+ 'separateLabels' => false ) ),
224
+ 'items' => array( 'add_header' => array( 'type' => 'add_header' ),
225
+ 'add_back_list' => array( 'type' => 'add_back_list' ),
226
+ 'add_cancel' => array( 'type' => 'add_cancel' ),
227
+ 'add_message' => array( 'type' => 'add_message' ),
228
+ 'add_save' => array( 'type' => 'add_save' ),
229
+ 'add_reset' => array( 'type' => 'add_reset' ),
230
+ 'integrated_edit_field' => array( 'field' => 'id',
231
+ 'type' => 'integrated_edit_field',
232
+ 'orientation' => 0 ),
233
+ 'integrated_edit_field1' => array( 'field' => 'date',
234
+ 'type' => 'integrated_edit_field',
235
+ 'orientation' => 0 ),
236
+ 'integrated_edit_field2' => array( 'field' => 'time',
237
+ 'type' => 'integrated_edit_field',
238
+ 'orientation' => 0 ),
239
+ 'integrated_edit_field3' => array( 'field' => 'customer_name',
240
+ 'type' => 'integrated_edit_field',
241
+ 'orientation' => 0 ),
242
+ 'integrated_edit_field4' => array( 'field' => 'product_type',
243
+ 'type' => 'integrated_edit_field',
244
+ 'orientation' => 0 ),
245
+ 'integrated_edit_field5' => array( 'field' => 'product_brand',
246
+ 'type' => 'integrated_edit_field',
247
+ 'orientation' => 0 ),
248
+ 'integrated_edit_field6' => array( 'field' => 'product_model',
249
+ 'type' => 'integrated_edit_field',
250
+ 'orientation' => 0 ),
251
+ 'integrated_edit_field7' => array( 'field' => 'product_serial_number',
252
+ 'type' => 'integrated_edit_field',
253
+ 'orientation' => 0 ),
254
+ 'integrated_edit_field8' => array( 'field' => 'purchase_date',
255
+ 'type' => 'integrated_edit_field',
256
+ 'orientation' => 0 ),
257
+ 'integrated_edit_field9' => array( 'field' => 'purchase_price',
258
+ 'type' => 'integrated_edit_field',
259
+ 'orientation' => 0 ),
260
+ 'integrated_edit_field10' => array( 'field' => 'condition_rating',
261
+ 'type' => 'integrated_edit_field',
262
+ 'orientation' => 0 ),
263
+ 'integrated_edit_field11' => array( 'field' => 'metal_purity',
264
+ 'type' => 'integrated_edit_field',
265
+ 'orientation' => 0 ),
266
+ 'integrated_edit_field12' => array( 'field' => 'metal_weight',
267
+ 'type' => 'integrated_edit_field',
268
+ 'orientation' => 0 ),
269
+ 'integrated_edit_field13' => array( 'field' => 'gemstone_certification',
270
+ 'type' => 'integrated_edit_field',
271
+ 'orientation' => 0 ),
272
+ 'integrated_edit_field14' => array( 'field' => 'initial',
273
+ 'type' => 'integrated_edit_field',
274
+ 'orientation' => 0 ) ),
275
+ 'dbProps' => array( ),
276
+ 'version' => 14,
277
+ 'imageItem' => array( 'type' => 'page_image' ),
278
+ 'imageBgColor' => '#f2f2f2',
279
+ 'controlsBgColor' => 'white',
280
+ 'imagePosition' => 'right',
281
+ 'listTotals' => 1 );
282
+ ?>
php/include/pages/appointments_edit.php ADDED
@@ -0,0 +1,293 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ $optionsArray = array( 'captcha' => array( 'captcha' => false ),
3
+ 'fields' => array( 'gridFields' => array( 'id',
4
+ 'date',
5
+ 'time',
6
+ 'customer_name',
7
+ 'product_type',
8
+ 'product_brand',
9
+ 'product_model',
10
+ 'product_serial_number',
11
+ 'purchase_date',
12
+ 'purchase_price',
13
+ 'condition_rating',
14
+ 'metal_purity',
15
+ 'metal_weight',
16
+ 'gemstone_certification',
17
+ 'initial' ),
18
+ 'searchRequiredFields' => array( ),
19
+ 'searchPanelFields' => array( ),
20
+ 'updateOnEditFields' => array( ),
21
+ 'fieldItems' => array( 'id' => array( 'integrated_edit_field' ),
22
+ 'date' => array( 'integrated_edit_field1' ),
23
+ 'time' => array( 'integrated_edit_field2' ),
24
+ 'customer_name' => array( 'integrated_edit_field3' ),
25
+ 'product_type' => array( 'integrated_edit_field4' ),
26
+ 'product_brand' => array( 'integrated_edit_field5' ),
27
+ 'product_model' => array( 'integrated_edit_field6' ),
28
+ 'product_serial_number' => array( 'integrated_edit_field7' ),
29
+ 'purchase_date' => array( 'integrated_edit_field8' ),
30
+ 'purchase_price' => array( 'integrated_edit_field9' ),
31
+ 'condition_rating' => array( 'integrated_edit_field10' ),
32
+ 'metal_purity' => array( 'integrated_edit_field11' ),
33
+ 'metal_weight' => array( 'integrated_edit_field12' ),
34
+ 'gemstone_certification' => array( 'integrated_edit_field13' ),
35
+ 'initial' => array( 'integrated_edit_field14' ) ) ),
36
+ 'pageLinks' => array( 'edit' => false,
37
+ 'add' => false,
38
+ 'view' => true,
39
+ 'print' => false ),
40
+ 'layoutHelper' => array( 'formItems' => array( 'formItems' => array( 'above-grid' => array( 'edit_message' ),
41
+ 'below-grid' => array( 'edit_save',
42
+ 'edit_back_list',
43
+ 'edit_close',
44
+ 'hamburger' ),
45
+ 'top' => array( 'edit_header' ),
46
+ 'grid' => array( 'integrated_edit_field',
47
+ 'integrated_edit_field1',
48
+ 'integrated_edit_field2',
49
+ 'integrated_edit_field3',
50
+ 'integrated_edit_field4',
51
+ 'integrated_edit_field5',
52
+ 'integrated_edit_field6',
53
+ 'integrated_edit_field7',
54
+ 'integrated_edit_field8',
55
+ 'integrated_edit_field9',
56
+ 'integrated_edit_field10',
57
+ 'integrated_edit_field11',
58
+ 'integrated_edit_field12',
59
+ 'integrated_edit_field13',
60
+ 'integrated_edit_field14' ) ),
61
+ 'formXtTags' => array( 'above-grid' => array( 'message_block' ) ),
62
+ 'itemForms' => array( 'edit_message' => 'above-grid',
63
+ 'edit_save' => 'below-grid',
64
+ 'edit_back_list' => 'below-grid',
65
+ 'edit_close' => 'below-grid',
66
+ 'hamburger' => 'below-grid',
67
+ 'edit_header' => 'top',
68
+ 'integrated_edit_field' => 'grid',
69
+ 'integrated_edit_field1' => 'grid',
70
+ 'integrated_edit_field2' => 'grid',
71
+ 'integrated_edit_field3' => 'grid',
72
+ 'integrated_edit_field4' => 'grid',
73
+ 'integrated_edit_field5' => 'grid',
74
+ 'integrated_edit_field6' => 'grid',
75
+ 'integrated_edit_field7' => 'grid',
76
+ 'integrated_edit_field8' => 'grid',
77
+ 'integrated_edit_field9' => 'grid',
78
+ 'integrated_edit_field10' => 'grid',
79
+ 'integrated_edit_field11' => 'grid',
80
+ 'integrated_edit_field12' => 'grid',
81
+ 'integrated_edit_field13' => 'grid',
82
+ 'integrated_edit_field14' => 'grid' ),
83
+ 'itemLocations' => array( 'integrated_edit_field' => array( 'location' => 'grid',
84
+ 'cellId' => 'c3' ),
85
+ 'integrated_edit_field1' => array( 'location' => 'grid',
86
+ 'cellId' => 'c3' ),
87
+ 'integrated_edit_field2' => array( 'location' => 'grid',
88
+ 'cellId' => 'c3' ),
89
+ 'integrated_edit_field3' => array( 'location' => 'grid',
90
+ 'cellId' => 'c3' ),
91
+ 'integrated_edit_field4' => array( 'location' => 'grid',
92
+ 'cellId' => 'c3' ),
93
+ 'integrated_edit_field5' => array( 'location' => 'grid',
94
+ 'cellId' => 'c3' ),
95
+ 'integrated_edit_field6' => array( 'location' => 'grid',
96
+ 'cellId' => 'c3' ),
97
+ 'integrated_edit_field7' => array( 'location' => 'grid',
98
+ 'cellId' => 'c3' ),
99
+ 'integrated_edit_field8' => array( 'location' => 'grid',
100
+ 'cellId' => 'c3' ),
101
+ 'integrated_edit_field9' => array( 'location' => 'grid',
102
+ 'cellId' => 'c3' ),
103
+ 'integrated_edit_field10' => array( 'location' => 'grid',
104
+ 'cellId' => 'c3' ),
105
+ 'integrated_edit_field11' => array( 'location' => 'grid',
106
+ 'cellId' => 'c3' ),
107
+ 'integrated_edit_field12' => array( 'location' => 'grid',
108
+ 'cellId' => 'c3' ),
109
+ 'integrated_edit_field13' => array( 'location' => 'grid',
110
+ 'cellId' => 'c3' ),
111
+ 'integrated_edit_field14' => array( 'location' => 'grid',
112
+ 'cellId' => 'c3' ) ),
113
+ 'itemVisiblity' => array( ) ),
114
+ 'itemsByType' => array( 'edit_header' => array( 'edit_header' ),
115
+ 'hamburger' => array( 'hamburger' ),
116
+ 'edit_reset' => array( 'edit_reset' ),
117
+ 'edit_message' => array( 'edit_message' ),
118
+ 'edit_save' => array( 'edit_save' ),
119
+ 'edit_back_list' => array( 'edit_back_list' ),
120
+ 'edit_close' => array( 'edit_close' ),
121
+ 'edit_view' => array( 'edit_view' ),
122
+ 'integrated_edit_field' => array( 'integrated_edit_field',
123
+ 'integrated_edit_field1',
124
+ 'integrated_edit_field2',
125
+ 'integrated_edit_field3',
126
+ 'integrated_edit_field4',
127
+ 'integrated_edit_field5',
128
+ 'integrated_edit_field6',
129
+ 'integrated_edit_field7',
130
+ 'integrated_edit_field8',
131
+ 'integrated_edit_field9',
132
+ 'integrated_edit_field10',
133
+ 'integrated_edit_field11',
134
+ 'integrated_edit_field12',
135
+ 'integrated_edit_field13',
136
+ 'integrated_edit_field14' ) ),
137
+ 'cellMaps' => array( 'grid' => array( 'cells' => array( 'c3' => array( 'cols' => array( 0 ),
138
+ 'rows' => array( 0 ),
139
+ 'tags' => array( ),
140
+ 'items' => array( 'integrated_edit_field',
141
+ 'integrated_edit_field1',
142
+ 'integrated_edit_field2',
143
+ 'integrated_edit_field3',
144
+ 'integrated_edit_field4',
145
+ 'integrated_edit_field5',
146
+ 'integrated_edit_field6',
147
+ 'integrated_edit_field7',
148
+ 'integrated_edit_field8',
149
+ 'integrated_edit_field9',
150
+ 'integrated_edit_field10',
151
+ 'integrated_edit_field11',
152
+ 'integrated_edit_field12',
153
+ 'integrated_edit_field13',
154
+ 'integrated_edit_field14' ),
155
+ 'fixedAtServer' => true,
156
+ 'fixedAtClient' => false ) ),
157
+ 'width' => 1,
158
+ 'height' => 1 ) ) ),
159
+ 'loginForm' => array( 'loginForm' => 3 ),
160
+ 'page' => array( 'verticalBar' => false,
161
+ 'labeledButtons' => array( 'update_records' => array( ),
162
+ 'print_pages' => array( ),
163
+ 'register_activate_message' => array( ),
164
+ 'details_found' => array( ) ),
165
+ 'hasCustomButtons' => false,
166
+ 'customButtons' => array( ),
167
+ 'hasNotifications' => false,
168
+ 'menus' => array( ),
169
+ 'calcTotalsFor' => 1 ),
170
+ 'misc' => array( 'type' => 'edit',
171
+ 'breadcrumb' => false,
172
+ 'nextPrev' => false ),
173
+ 'events' => array( 'maps' => array( ),
174
+ 'mapsData' => array( ),
175
+ 'buttons' => array( ) ),
176
+ 'edit' => array( 'updateSelected' => false ) );
177
+ $pageArray = array( 'id' => 'edit',
178
+ 'type' => 'edit',
179
+ 'layoutId' => 'nomenu',
180
+ 'disabled' => 0,
181
+ 'default' => 0,
182
+ 'forms' => array( 'above-grid' => array( 'modelId' => 'edit-above-grid',
183
+ 'grid' => array( array( 'cells' => array( array( 'cell' => 'c1' ) ),
184
+ 'section' => '' ) ),
185
+ 'cells' => array( 'c1' => array( 'model' => 'c1',
186
+ 'items' => array( 'edit_message' ) ) ),
187
+ 'deferredItems' => array( ),
188
+ 'recsPerRow' => 1 ),
189
+ 'below-grid' => array( 'modelId' => 'edit-below-grid',
190
+ 'grid' => array( array( 'cells' => array( array( 'cell' => 'c1' ),
191
+ array( 'cell' => 'c2' ) ),
192
+ 'section' => '' ) ),
193
+ 'cells' => array( 'c1' => array( 'model' => 'c1',
194
+ 'items' => array( 'edit_save',
195
+ 'edit_back_list',
196
+ 'edit_close' ) ),
197
+ 'c2' => array( 'model' => 'c2',
198
+ 'items' => array( 'hamburger' ) ) ),
199
+ 'deferredItems' => array( ),
200
+ 'recsPerRow' => 1 ),
201
+ 'top' => array( 'modelId' => 'edit-header',
202
+ 'grid' => array( array( 'cells' => array( array( 'cell' => 'c1' ) ),
203
+ 'section' => '' ) ),
204
+ 'cells' => array( 'c1' => array( 'model' => 'c1',
205
+ 'items' => array( 'edit_header' ) ) ),
206
+ 'deferredItems' => array( ),
207
+ 'recsPerRow' => 1 ),
208
+ 'grid' => array( 'modelId' => 'simple-edit',
209
+ 'grid' => array( array( 'cells' => array( array( 'cell' => 'c3' ) ),
210
+ 'section' => '' ) ),
211
+ 'cells' => array( 'c3' => array( 'model' => 'c3',
212
+ 'items' => array( 'integrated_edit_field',
213
+ 'integrated_edit_field1',
214
+ 'integrated_edit_field2',
215
+ 'integrated_edit_field3',
216
+ 'integrated_edit_field4',
217
+ 'integrated_edit_field5',
218
+ 'integrated_edit_field6',
219
+ 'integrated_edit_field7',
220
+ 'integrated_edit_field8',
221
+ 'integrated_edit_field9',
222
+ 'integrated_edit_field10',
223
+ 'integrated_edit_field11',
224
+ 'integrated_edit_field12',
225
+ 'integrated_edit_field13',
226
+ 'integrated_edit_field14' ) ) ),
227
+ 'deferredItems' => array( ),
228
+ 'columnCount' => 1,
229
+ 'inlineLabels' => false,
230
+ 'separateLabels' => false ) ),
231
+ 'items' => array( 'edit_header' => array( 'type' => 'edit_header' ),
232
+ 'hamburger' => array( 'type' => 'hamburger',
233
+ 'items' => array( 'edit_reset',
234
+ 'edit_view' ) ),
235
+ 'edit_reset' => array( 'type' => 'edit_reset' ),
236
+ 'edit_message' => array( 'type' => 'edit_message' ),
237
+ 'edit_save' => array( 'type' => 'edit_save' ),
238
+ 'edit_back_list' => array( 'type' => 'edit_back_list' ),
239
+ 'edit_close' => array( 'type' => 'edit_close' ),
240
+ 'edit_view' => array( 'type' => 'edit_view' ),
241
+ 'integrated_edit_field' => array( 'field' => 'id',
242
+ 'type' => 'integrated_edit_field',
243
+ 'orientation' => 0 ),
244
+ 'integrated_edit_field1' => array( 'field' => 'date',
245
+ 'type' => 'integrated_edit_field',
246
+ 'orientation' => 0 ),
247
+ 'integrated_edit_field2' => array( 'field' => 'time',
248
+ 'type' => 'integrated_edit_field',
249
+ 'orientation' => 0 ),
250
+ 'integrated_edit_field3' => array( 'field' => 'customer_name',
251
+ 'type' => 'integrated_edit_field',
252
+ 'orientation' => 0 ),
253
+ 'integrated_edit_field4' => array( 'field' => 'product_type',
254
+ 'type' => 'integrated_edit_field',
255
+ 'orientation' => 0 ),
256
+ 'integrated_edit_field5' => array( 'field' => 'product_brand',
257
+ 'type' => 'integrated_edit_field',
258
+ 'orientation' => 0 ),
259
+ 'integrated_edit_field6' => array( 'field' => 'product_model',
260
+ 'type' => 'integrated_edit_field',
261
+ 'orientation' => 0 ),
262
+ 'integrated_edit_field7' => array( 'field' => 'product_serial_number',
263
+ 'type' => 'integrated_edit_field',
264
+ 'orientation' => 0 ),
265
+ 'integrated_edit_field8' => array( 'field' => 'purchase_date',
266
+ 'type' => 'integrated_edit_field',
267
+ 'orientation' => 0 ),
268
+ 'integrated_edit_field9' => array( 'field' => 'purchase_price',
269
+ 'type' => 'integrated_edit_field',
270
+ 'orientation' => 0 ),
271
+ 'integrated_edit_field10' => array( 'field' => 'condition_rating',
272
+ 'type' => 'integrated_edit_field',
273
+ 'orientation' => 0 ),
274
+ 'integrated_edit_field11' => array( 'field' => 'metal_purity',
275
+ 'type' => 'integrated_edit_field',
276
+ 'orientation' => 0 ),
277
+ 'integrated_edit_field12' => array( 'field' => 'metal_weight',
278
+ 'type' => 'integrated_edit_field',
279
+ 'orientation' => 0 ),
280
+ 'integrated_edit_field13' => array( 'field' => 'gemstone_certification',
281
+ 'type' => 'integrated_edit_field',
282
+ 'orientation' => 0 ),
283
+ 'integrated_edit_field14' => array( 'field' => 'initial',
284
+ 'type' => 'integrated_edit_field',
285
+ 'orientation' => 0 ) ),
286
+ 'dbProps' => array( ),
287
+ 'version' => 14,
288
+ 'imageItem' => array( 'type' => 'page_image' ),
289
+ 'imageBgColor' => '#f2f2f2',
290
+ 'controlsBgColor' => 'white',
291
+ 'imagePosition' => 'right',
292
+ 'listTotals' => 1 );
293
+ ?>
php/include/pages/appointments_export.php ADDED
@@ -0,0 +1,244 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ $optionsArray = array( 'totals' => array( 'id' => array( 'totalsType' => '' ),
3
+ 'date' => array( 'totalsType' => '' ),
4
+ 'time' => array( 'totalsType' => '' ),
5
+ 'customer_name' => array( 'totalsType' => '' ),
6
+ 'product_type' => array( 'totalsType' => '' ),
7
+ 'product_brand' => array( 'totalsType' => '' ),
8
+ 'product_model' => array( 'totalsType' => '' ),
9
+ 'product_serial_number' => array( 'totalsType' => '' ),
10
+ 'purchase_date' => array( 'totalsType' => '' ),
11
+ 'purchase_price' => array( 'totalsType' => '' ),
12
+ 'condition_rating' => array( 'totalsType' => '' ),
13
+ 'metal_purity' => array( 'totalsType' => '' ),
14
+ 'metal_weight' => array( 'totalsType' => '' ),
15
+ 'gemstone_certification' => array( 'totalsType' => '' ),
16
+ 'initial' => array( 'totalsType' => '' ) ),
17
+ 'fields' => array( 'gridFields' => array( 'id',
18
+ 'date',
19
+ 'time',
20
+ 'customer_name',
21
+ 'product_type',
22
+ 'product_brand',
23
+ 'product_model',
24
+ 'product_serial_number',
25
+ 'purchase_date',
26
+ 'purchase_price',
27
+ 'condition_rating',
28
+ 'metal_purity',
29
+ 'metal_weight',
30
+ 'gemstone_certification',
31
+ 'initial' ),
32
+ 'exportFields' => array( 'id',
33
+ 'date',
34
+ 'time',
35
+ 'customer_name',
36
+ 'product_type',
37
+ 'product_brand',
38
+ 'product_model',
39
+ 'product_serial_number',
40
+ 'purchase_date',
41
+ 'purchase_price',
42
+ 'condition_rating',
43
+ 'metal_purity',
44
+ 'metal_weight',
45
+ 'gemstone_certification',
46
+ 'initial' ),
47
+ 'searchRequiredFields' => array( ),
48
+ 'searchPanelFields' => array( ),
49
+ 'fieldItems' => array( 'id' => array( 'export_field' ),
50
+ 'date' => array( 'export_field1' ),
51
+ 'time' => array( 'export_field2' ),
52
+ 'customer_name' => array( 'export_field3' ),
53
+ 'product_type' => array( 'export_field4' ),
54
+ 'product_brand' => array( 'export_field5' ),
55
+ 'product_model' => array( 'export_field6' ),
56
+ 'product_serial_number' => array( 'export_field7' ),
57
+ 'purchase_date' => array( 'export_field8' ),
58
+ 'purchase_price' => array( 'export_field9' ),
59
+ 'condition_rating' => array( 'export_field10' ),
60
+ 'metal_purity' => array( 'export_field11' ),
61
+ 'metal_weight' => array( 'export_field12' ),
62
+ 'gemstone_certification' => array( 'export_field13' ),
63
+ 'initial' => array( 'export_field14' ) ) ),
64
+ 'pageLinks' => array( 'edit' => false,
65
+ 'add' => false,
66
+ 'view' => false,
67
+ 'print' => false ),
68
+ 'layoutHelper' => array( 'formItems' => array( 'formItems' => array( 'supertop' => array( ),
69
+ 'top' => array( 'export_header' ),
70
+ 'grid' => array( 'export_field',
71
+ 'export_field1',
72
+ 'export_field2',
73
+ 'export_field3',
74
+ 'export_field4',
75
+ 'export_field5',
76
+ 'export_field6',
77
+ 'export_field7',
78
+ 'export_field8',
79
+ 'export_field9',
80
+ 'export_field10',
81
+ 'export_field11',
82
+ 'export_field12',
83
+ 'export_field13',
84
+ 'export_field14' ),
85
+ 'footer' => array( 'export_export',
86
+ 'export_cancel' ) ),
87
+ 'formXtTags' => array( 'supertop' => array( ) ),
88
+ 'itemForms' => array( 'export_header' => 'top',
89
+ 'export_field' => 'grid',
90
+ 'export_field1' => 'grid',
91
+ 'export_field2' => 'grid',
92
+ 'export_field3' => 'grid',
93
+ 'export_field4' => 'grid',
94
+ 'export_field5' => 'grid',
95
+ 'export_field6' => 'grid',
96
+ 'export_field7' => 'grid',
97
+ 'export_field8' => 'grid',
98
+ 'export_field9' => 'grid',
99
+ 'export_field10' => 'grid',
100
+ 'export_field11' => 'grid',
101
+ 'export_field12' => 'grid',
102
+ 'export_field13' => 'grid',
103
+ 'export_field14' => 'grid',
104
+ 'export_export' => 'footer',
105
+ 'export_cancel' => 'footer' ),
106
+ 'itemLocations' => array( ),
107
+ 'itemVisiblity' => array( ) ),
108
+ 'itemsByType' => array( 'export_header' => array( 'export_header' ),
109
+ 'export_export' => array( 'export_export' ),
110
+ 'export_cancel' => array( 'export_cancel' ),
111
+ 'export_field' => array( 'export_field',
112
+ 'export_field1',
113
+ 'export_field2',
114
+ 'export_field3',
115
+ 'export_field4',
116
+ 'export_field5',
117
+ 'export_field6',
118
+ 'export_field7',
119
+ 'export_field8',
120
+ 'export_field9',
121
+ 'export_field10',
122
+ 'export_field11',
123
+ 'export_field12',
124
+ 'export_field13',
125
+ 'export_field14' ) ),
126
+ 'cellMaps' => array( ) ),
127
+ 'loginForm' => array( 'loginForm' => 3 ),
128
+ 'page' => array( 'verticalBar' => false,
129
+ 'labeledButtons' => array( 'update_records' => array( ),
130
+ 'print_pages' => array( ),
131
+ 'register_activate_message' => array( ),
132
+ 'details_found' => array( ) ),
133
+ 'hasCustomButtons' => false,
134
+ 'customButtons' => array( ),
135
+ 'hasNotifications' => false,
136
+ 'menus' => array( ),
137
+ 'calcTotalsFor' => 1 ),
138
+ 'events' => array( 'maps' => array( ),
139
+ 'mapsData' => array( ),
140
+ 'buttons' => array( ) ),
141
+ 'export' => array( 'format' => 2,
142
+ 'selectFields' => false,
143
+ 'delimiter' => ',',
144
+ 'selectDelimiter' => false,
145
+ 'exportFileTypes' => array( 'excel' => true,
146
+ 'word' => true,
147
+ 'csv' => true,
148
+ 'xml' => false ) ) );
149
+ $pageArray = array( 'id' => 'export',
150
+ 'type' => 'export',
151
+ 'layoutId' => 'first',
152
+ 'disabled' => 0,
153
+ 'default' => 0,
154
+ 'forms' => array( 'supertop' => array( 'modelId' => 'panel-top',
155
+ 'grid' => array( array( 'cells' => array( array( 'cell' => 'c1' ) ),
156
+ 'section' => '' ) ),
157
+ 'cells' => array( 'c1' => array( 'model' => 'c1',
158
+ 'items' => array( ) ) ),
159
+ 'deferredItems' => array( ),
160
+ 'recsPerRow' => 1 ),
161
+ 'top' => array( 'modelId' => 'export-header',
162
+ 'grid' => array( array( 'cells' => array( array( 'cell' => 'c1' ) ),
163
+ 'section' => '' ) ),
164
+ 'cells' => array( 'c1' => array( 'model' => 'c1',
165
+ 'items' => array( 'export_header' ) ) ),
166
+ 'deferredItems' => array( ),
167
+ 'recsPerRow' => 1 ),
168
+ 'grid' => array( 'modelId' => 'export-grid',
169
+ 'grid' => array( array( 'cells' => array( array( 'cell' => 'c1' ) ),
170
+ 'section' => '' ) ),
171
+ 'cells' => array( 'c1' => array( 'model' => 'c1',
172
+ 'items' => array( 'export_field',
173
+ 'export_field1',
174
+ 'export_field2',
175
+ 'export_field3',
176
+ 'export_field4',
177
+ 'export_field5',
178
+ 'export_field6',
179
+ 'export_field7',
180
+ 'export_field8',
181
+ 'export_field9',
182
+ 'export_field10',
183
+ 'export_field11',
184
+ 'export_field12',
185
+ 'export_field13',
186
+ 'export_field14' ) ) ),
187
+ 'deferredItems' => array( ),
188
+ 'recsPerRow' => 1 ),
189
+ 'footer' => array( 'modelId' => 'export-footer',
190
+ 'grid' => array( array( 'cells' => array( array( 'cell' => 'c1' ),
191
+ array( 'cell' => 'c2' ) ),
192
+ 'section' => '' ) ),
193
+ 'cells' => array( 'c1' => array( 'model' => 'c1',
194
+ 'items' => array( ) ),
195
+ 'c2' => array( 'model' => 'c2',
196
+ 'items' => array( 'export_export',
197
+ 'export_cancel' ) ) ),
198
+ 'deferredItems' => array( ),
199
+ 'recsPerRow' => 1 ) ),
200
+ 'items' => array( 'export_header' => array( 'type' => 'export_header' ),
201
+ 'export_export' => array( 'type' => 'export_export' ),
202
+ 'export_cancel' => array( 'type' => 'export_cancel' ),
203
+ 'export_field' => array( 'field' => 'id',
204
+ 'type' => 'export_field' ),
205
+ 'export_field1' => array( 'field' => 'date',
206
+ 'type' => 'export_field' ),
207
+ 'export_field2' => array( 'field' => 'time',
208
+ 'type' => 'export_field' ),
209
+ 'export_field3' => array( 'field' => 'customer_name',
210
+ 'type' => 'export_field' ),
211
+ 'export_field4' => array( 'field' => 'product_type',
212
+ 'type' => 'export_field' ),
213
+ 'export_field5' => array( 'field' => 'product_brand',
214
+ 'type' => 'export_field' ),
215
+ 'export_field6' => array( 'field' => 'product_model',
216
+ 'type' => 'export_field' ),
217
+ 'export_field7' => array( 'field' => 'product_serial_number',
218
+ 'type' => 'export_field' ),
219
+ 'export_field8' => array( 'field' => 'purchase_date',
220
+ 'type' => 'export_field' ),
221
+ 'export_field9' => array( 'field' => 'purchase_price',
222
+ 'type' => 'export_field' ),
223
+ 'export_field10' => array( 'field' => 'condition_rating',
224
+ 'type' => 'export_field' ),
225
+ 'export_field11' => array( 'field' => 'metal_purity',
226
+ 'type' => 'export_field' ),
227
+ 'export_field12' => array( 'field' => 'metal_weight',
228
+ 'type' => 'export_field' ),
229
+ 'export_field13' => array( 'field' => 'gemstone_certification',
230
+ 'type' => 'export_field' ),
231
+ 'export_field14' => array( 'field' => 'initial',
232
+ 'type' => 'export_field' ) ),
233
+ 'dbProps' => array( ),
234
+ 'version' => 14,
235
+ 'imageItem' => array( 'type' => 'page_image' ),
236
+ 'imageBgColor' => '#f2f2f2',
237
+ 'controlsBgColor' => 'white',
238
+ 'imagePosition' => 'right',
239
+ 'listTotals' => 1,
240
+ 'exportFormat' => 2,
241
+ 'exportDelimiter' => ',',
242
+ 'exportSelectDelimiter' => false,
243
+ 'exportSelectFields' => false );
244
+ ?>
php/include/pages/appointments_import.php ADDED
@@ -0,0 +1,183 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ $optionsArray = array( 'fields' => array( 'gridFields' => array( 'id',
3
+ 'date',
4
+ 'time',
5
+ 'customer_name',
6
+ 'product_type',
7
+ 'product_brand',
8
+ 'product_model',
9
+ 'product_serial_number',
10
+ 'purchase_date',
11
+ 'purchase_price',
12
+ 'condition_rating',
13
+ 'metal_purity',
14
+ 'metal_weight',
15
+ 'gemstone_certification',
16
+ 'initial' ),
17
+ 'searchRequiredFields' => array( ),
18
+ 'searchPanelFields' => array( ),
19
+ 'fieldItems' => array( 'id' => array( 'import_field' ),
20
+ 'date' => array( 'import_field1' ),
21
+ 'time' => array( 'import_field2' ),
22
+ 'customer_name' => array( 'import_field3' ),
23
+ 'product_type' => array( 'import_field4' ),
24
+ 'product_brand' => array( 'import_field5' ),
25
+ 'product_model' => array( 'import_field6' ),
26
+ 'product_serial_number' => array( 'import_field7' ),
27
+ 'purchase_date' => array( 'import_field8' ),
28
+ 'purchase_price' => array( 'import_field9' ),
29
+ 'condition_rating' => array( 'import_field10' ),
30
+ 'metal_purity' => array( 'import_field11' ),
31
+ 'metal_weight' => array( 'import_field12' ),
32
+ 'gemstone_certification' => array( 'import_field13' ),
33
+ 'initial' => array( 'import_field14' ) ) ),
34
+ 'pageLinks' => array( 'edit' => false,
35
+ 'add' => false,
36
+ 'view' => false,
37
+ 'print' => false ),
38
+ 'layoutHelper' => array( 'formItems' => array( 'formItems' => array( 'supertop' => array( ),
39
+ 'top' => array( 'import_header' ),
40
+ 'grid' => array( 'import_field',
41
+ 'import_field1',
42
+ 'import_field2',
43
+ 'import_field3',
44
+ 'import_field4',
45
+ 'import_field5',
46
+ 'import_field6',
47
+ 'import_field7',
48
+ 'import_field8',
49
+ 'import_field9',
50
+ 'import_field10',
51
+ 'import_field11',
52
+ 'import_field12',
53
+ 'import_field13',
54
+ 'import_field14' ) ),
55
+ 'formXtTags' => array( 'supertop' => array( ) ),
56
+ 'itemForms' => array( 'import_header' => 'top',
57
+ 'import_field' => 'grid',
58
+ 'import_field1' => 'grid',
59
+ 'import_field2' => 'grid',
60
+ 'import_field3' => 'grid',
61
+ 'import_field4' => 'grid',
62
+ 'import_field5' => 'grid',
63
+ 'import_field6' => 'grid',
64
+ 'import_field7' => 'grid',
65
+ 'import_field8' => 'grid',
66
+ 'import_field9' => 'grid',
67
+ 'import_field10' => 'grid',
68
+ 'import_field11' => 'grid',
69
+ 'import_field12' => 'grid',
70
+ 'import_field13' => 'grid',
71
+ 'import_field14' => 'grid' ),
72
+ 'itemLocations' => array( ),
73
+ 'itemVisiblity' => array( ) ),
74
+ 'itemsByType' => array( 'import_header' => array( 'import_header' ),
75
+ 'import_field' => array( 'import_field',
76
+ 'import_field1',
77
+ 'import_field2',
78
+ 'import_field3',
79
+ 'import_field4',
80
+ 'import_field5',
81
+ 'import_field6',
82
+ 'import_field7',
83
+ 'import_field8',
84
+ 'import_field9',
85
+ 'import_field10',
86
+ 'import_field11',
87
+ 'import_field12',
88
+ 'import_field13',
89
+ 'import_field14' ) ),
90
+ 'cellMaps' => array( ) ),
91
+ 'loginForm' => array( 'loginForm' => 3 ),
92
+ 'page' => array( 'verticalBar' => false,
93
+ 'labeledButtons' => array( 'update_records' => array( ),
94
+ 'print_pages' => array( ),
95
+ 'register_activate_message' => array( ),
96
+ 'details_found' => array( ) ),
97
+ 'hasCustomButtons' => false,
98
+ 'customButtons' => array( ),
99
+ 'hasNotifications' => false,
100
+ 'menus' => array( ),
101
+ 'calcTotalsFor' => 1 ),
102
+ 'events' => array( 'maps' => array( ),
103
+ 'mapsData' => array( ),
104
+ 'buttons' => array( ) ) );
105
+ $pageArray = array( 'id' => 'import',
106
+ 'type' => 'import',
107
+ 'layoutId' => 'first',
108
+ 'disabled' => 0,
109
+ 'default' => 0,
110
+ 'forms' => array( 'supertop' => array( 'modelId' => 'panel-top',
111
+ 'grid' => array( array( 'cells' => array( array( 'cell' => 'c1' ) ),
112
+ 'section' => '' ) ),
113
+ 'cells' => array( 'c1' => array( 'model' => 'c1',
114
+ 'items' => array( ) ) ),
115
+ 'deferredItems' => array( ),
116
+ 'recsPerRow' => 1 ),
117
+ 'top' => array( 'modelId' => 'import-header',
118
+ 'grid' => array( array( 'cells' => array( array( 'cell' => 'c1' ) ),
119
+ 'section' => '' ) ),
120
+ 'cells' => array( 'c1' => array( 'model' => 'c1',
121
+ 'items' => array( 'import_header' ) ) ),
122
+ 'deferredItems' => array( ),
123
+ 'recsPerRow' => 1 ),
124
+ 'grid' => array( 'modelId' => 'import-grid',
125
+ 'grid' => array( array( 'cells' => array( array( 'cell' => 'c1' ) ),
126
+ 'section' => '' ) ),
127
+ 'cells' => array( 'c1' => array( 'model' => 'c1',
128
+ 'items' => array( 'import_field',
129
+ 'import_field1',
130
+ 'import_field2',
131
+ 'import_field3',
132
+ 'import_field4',
133
+ 'import_field5',
134
+ 'import_field6',
135
+ 'import_field7',
136
+ 'import_field8',
137
+ 'import_field9',
138
+ 'import_field10',
139
+ 'import_field11',
140
+ 'import_field12',
141
+ 'import_field13',
142
+ 'import_field14' ) ) ),
143
+ 'deferredItems' => array( ),
144
+ 'recsPerRow' => 1 ) ),
145
+ 'items' => array( 'import_header' => array( 'type' => 'import_header' ),
146
+ 'import_field' => array( 'field' => 'id',
147
+ 'type' => 'import_field' ),
148
+ 'import_field1' => array( 'field' => 'date',
149
+ 'type' => 'import_field' ),
150
+ 'import_field2' => array( 'field' => 'time',
151
+ 'type' => 'import_field' ),
152
+ 'import_field3' => array( 'field' => 'customer_name',
153
+ 'type' => 'import_field' ),
154
+ 'import_field4' => array( 'field' => 'product_type',
155
+ 'type' => 'import_field' ),
156
+ 'import_field5' => array( 'field' => 'product_brand',
157
+ 'type' => 'import_field' ),
158
+ 'import_field6' => array( 'field' => 'product_model',
159
+ 'type' => 'import_field' ),
160
+ 'import_field7' => array( 'field' => 'product_serial_number',
161
+ 'type' => 'import_field' ),
162
+ 'import_field8' => array( 'field' => 'purchase_date',
163
+ 'type' => 'import_field' ),
164
+ 'import_field9' => array( 'field' => 'purchase_price',
165
+ 'type' => 'import_field' ),
166
+ 'import_field10' => array( 'field' => 'condition_rating',
167
+ 'type' => 'import_field' ),
168
+ 'import_field11' => array( 'field' => 'metal_purity',
169
+ 'type' => 'import_field' ),
170
+ 'import_field12' => array( 'field' => 'metal_weight',
171
+ 'type' => 'import_field' ),
172
+ 'import_field13' => array( 'field' => 'gemstone_certification',
173
+ 'type' => 'import_field' ),
174
+ 'import_field14' => array( 'field' => 'initial',
175
+ 'type' => 'import_field' ) ),
176
+ 'dbProps' => array( ),
177
+ 'version' => 14,
178
+ 'imageItem' => array( 'type' => 'page_image' ),
179
+ 'imageBgColor' => '#f2f2f2',
180
+ 'controlsBgColor' => 'white',
181
+ 'imagePosition' => 'right',
182
+ 'listTotals' => 1 );
183
+ ?>
php/include/pages/appointments_list.php ADDED
@@ -0,0 +1,1200 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ $optionsArray = array( 'list' => array( 'inlineAdd' => false,
3
+ 'detailsAdd' => false,
4
+ 'inlineEdit' => false,
5
+ 'addToBottom' => false,
6
+ 'delete' => true,
7
+ 'updateSelected' => false,
8
+ 'clickSort' => true,
9
+ 'sortDropdown' => false,
10
+ 'showHideFields' => false,
11
+ 'reorderFields' => false,
12
+ 'fieldFilter' => false,
13
+ 'hideNumberOfRecords' => false ),
14
+ 'listSearch' => array( 'alwaysOnPanelFields' => array( ),
15
+ 'searchPanel' => true,
16
+ 'fixedSearchPanel' => false,
17
+ 'simpleSearchOptions' => false,
18
+ 'searchSaving' => false ),
19
+ 'totals' => array( 'id' => array( 'totalsType' => '' ),
20
+ 'date' => array( 'totalsType' => '' ),
21
+ 'time' => array( 'totalsType' => '' ),
22
+ 'customer_name' => array( 'totalsType' => '' ),
23
+ 'product_type' => array( 'totalsType' => '' ),
24
+ 'product_brand' => array( 'totalsType' => '' ),
25
+ 'product_model' => array( 'totalsType' => '' ),
26
+ 'product_serial_number' => array( 'totalsType' => '' ),
27
+ 'purchase_date' => array( 'totalsType' => '' ),
28
+ 'purchase_price' => array( 'totalsType' => '' ),
29
+ 'condition_rating' => array( 'totalsType' => '' ),
30
+ 'metal_purity' => array( 'totalsType' => '' ),
31
+ 'metal_weight' => array( 'totalsType' => '' ),
32
+ 'gemstone_certification' => array( 'totalsType' => '' ),
33
+ 'initial' => array( 'totalsType' => '' ) ),
34
+ 'fields' => array( 'gridFields' => array( 'id',
35
+ 'date',
36
+ 'time',
37
+ 'customer_name',
38
+ 'product_type',
39
+ 'product_brand',
40
+ 'product_model',
41
+ 'product_serial_number',
42
+ 'purchase_date',
43
+ 'purchase_price',
44
+ 'condition_rating',
45
+ 'metal_purity',
46
+ 'metal_weight',
47
+ 'gemstone_certification',
48
+ 'initial' ),
49
+ 'searchRequiredFields' => array( ),
50
+ 'searchPanelFields' => array( 'condition_rating',
51
+ 'time',
52
+ 'purchase_price',
53
+ 'purchase_date',
54
+ 'product_type',
55
+ 'product_serial_number',
56
+ 'product_model',
57
+ 'product_brand',
58
+ 'metal_weight',
59
+ 'metal_purity',
60
+ 'initial',
61
+ 'id',
62
+ 'gemstone_certification',
63
+ 'date',
64
+ 'customer_name' ),
65
+ 'filterFields' => array( ),
66
+ 'inlineAddFields' => array( 'id',
67
+ 'date',
68
+ 'time',
69
+ 'customer_name',
70
+ 'product_type',
71
+ 'product_brand',
72
+ 'product_model',
73
+ 'product_serial_number',
74
+ 'purchase_date',
75
+ 'purchase_price',
76
+ 'condition_rating',
77
+ 'metal_purity',
78
+ 'metal_weight',
79
+ 'gemstone_certification',
80
+ 'initial' ),
81
+ 'inlineEditFields' => array( 'id',
82
+ 'date',
83
+ 'time',
84
+ 'customer_name',
85
+ 'product_type',
86
+ 'product_brand',
87
+ 'product_model',
88
+ 'product_serial_number',
89
+ 'purchase_date',
90
+ 'purchase_price',
91
+ 'condition_rating',
92
+ 'metal_purity',
93
+ 'metal_weight',
94
+ 'gemstone_certification',
95
+ 'initial' ),
96
+ 'fieldItems' => array( 'id' => array( 'simple_grid_field',
97
+ 'simple_grid_field15' ),
98
+ 'date' => array( 'simple_grid_field1',
99
+ 'simple_grid_field16' ),
100
+ 'time' => array( 'simple_grid_field2',
101
+ 'simple_grid_field17' ),
102
+ 'customer_name' => array( 'simple_grid_field3',
103
+ 'simple_grid_field18' ),
104
+ 'product_type' => array( 'simple_grid_field4',
105
+ 'simple_grid_field19' ),
106
+ 'product_brand' => array( 'simple_grid_field5',
107
+ 'simple_grid_field20' ),
108
+ 'product_model' => array( 'simple_grid_field6',
109
+ 'simple_grid_field21' ),
110
+ 'product_serial_number' => array( 'simple_grid_field7',
111
+ 'simple_grid_field22' ),
112
+ 'purchase_date' => array( 'simple_grid_field8',
113
+ 'simple_grid_field23' ),
114
+ 'purchase_price' => array( 'simple_grid_field9',
115
+ 'simple_grid_field24' ),
116
+ 'condition_rating' => array( 'simple_grid_field10',
117
+ 'simple_grid_field25' ),
118
+ 'metal_purity' => array( 'simple_grid_field11',
119
+ 'simple_grid_field26' ),
120
+ 'metal_weight' => array( 'simple_grid_field12',
121
+ 'simple_grid_field27' ),
122
+ 'gemstone_certification' => array( 'simple_grid_field13',
123
+ 'simple_grid_field28' ),
124
+ 'initial' => array( 'simple_grid_field14',
125
+ 'simple_grid_field29' ) ),
126
+ 'hideEmptyFields' => array( ),
127
+ 'fieldFilterFields' => array( ) ),
128
+ 'pageLinks' => array( 'edit' => true,
129
+ 'add' => true,
130
+ 'view' => true,
131
+ 'print' => true ),
132
+ 'layoutHelper' => array( 'formItems' => array( 'formItems' => array( 'above-grid' => array( 'add',
133
+ 'delete',
134
+ 'details_found',
135
+ 'page_size',
136
+ 'print_panel' ),
137
+ 'below-grid' => array( 'pagination' ),
138
+ 'supertop' => array( 'logo',
139
+ 'menu',
140
+ 'simple_search',
141
+ 'list_options',
142
+ 'loginform_login',
143
+ 'username_button' ),
144
+ 'left' => array( 'search_panel' ),
145
+ 'top' => array( 'breadcrumb' ),
146
+ 'grid' => array( 'simple_grid_field15',
147
+ 'simple_grid_field',
148
+ 'simple_grid_field16',
149
+ 'simple_grid_field1',
150
+ 'simple_grid_field17',
151
+ 'simple_grid_field2',
152
+ 'simple_grid_field18',
153
+ 'simple_grid_field3',
154
+ 'simple_grid_field19',
155
+ 'simple_grid_field4',
156
+ 'simple_grid_field20',
157
+ 'simple_grid_field5',
158
+ 'simple_grid_field21',
159
+ 'simple_grid_field6',
160
+ 'simple_grid_field22',
161
+ 'simple_grid_field7',
162
+ 'simple_grid_field23',
163
+ 'simple_grid_field8',
164
+ 'simple_grid_field24',
165
+ 'simple_grid_field9',
166
+ 'simple_grid_field25',
167
+ 'simple_grid_field10',
168
+ 'simple_grid_field26',
169
+ 'simple_grid_field11',
170
+ 'simple_grid_field27',
171
+ 'simple_grid_field12',
172
+ 'simple_grid_field28',
173
+ 'simple_grid_field13',
174
+ 'simple_grid_field29',
175
+ 'simple_grid_field14',
176
+ 'grid_checkbox_head',
177
+ 'grid_checkbox',
178
+ 'grid_edit',
179
+ 'grid_view' ) ),
180
+ 'formXtTags' => array( 'above-grid' => array( 'add_link',
181
+ 'deleteselected_link',
182
+ 'details_found',
183
+ 'recsPerPage',
184
+ 'print_friendly' ),
185
+ 'below-grid' => array( 'pagination' ),
186
+ 'top' => array( 'breadcrumb' ) ),
187
+ 'itemForms' => array( 'add' => 'above-grid',
188
+ 'delete' => 'above-grid',
189
+ 'details_found' => 'above-grid',
190
+ 'page_size' => 'above-grid',
191
+ 'print_panel' => 'above-grid',
192
+ 'pagination' => 'below-grid',
193
+ 'logo' => 'supertop',
194
+ 'menu' => 'supertop',
195
+ 'simple_search' => 'supertop',
196
+ 'list_options' => 'supertop',
197
+ 'loginform_login' => 'supertop',
198
+ 'username_button' => 'supertop',
199
+ 'search_panel' => 'left',
200
+ 'breadcrumb' => 'top',
201
+ 'simple_grid_field15' => 'grid',
202
+ 'simple_grid_field' => 'grid',
203
+ 'simple_grid_field16' => 'grid',
204
+ 'simple_grid_field1' => 'grid',
205
+ 'simple_grid_field17' => 'grid',
206
+ 'simple_grid_field2' => 'grid',
207
+ 'simple_grid_field18' => 'grid',
208
+ 'simple_grid_field3' => 'grid',
209
+ 'simple_grid_field19' => 'grid',
210
+ 'simple_grid_field4' => 'grid',
211
+ 'simple_grid_field20' => 'grid',
212
+ 'simple_grid_field5' => 'grid',
213
+ 'simple_grid_field21' => 'grid',
214
+ 'simple_grid_field6' => 'grid',
215
+ 'simple_grid_field22' => 'grid',
216
+ 'simple_grid_field7' => 'grid',
217
+ 'simple_grid_field23' => 'grid',
218
+ 'simple_grid_field8' => 'grid',
219
+ 'simple_grid_field24' => 'grid',
220
+ 'simple_grid_field9' => 'grid',
221
+ 'simple_grid_field25' => 'grid',
222
+ 'simple_grid_field10' => 'grid',
223
+ 'simple_grid_field26' => 'grid',
224
+ 'simple_grid_field11' => 'grid',
225
+ 'simple_grid_field27' => 'grid',
226
+ 'simple_grid_field12' => 'grid',
227
+ 'simple_grid_field28' => 'grid',
228
+ 'simple_grid_field13' => 'grid',
229
+ 'simple_grid_field29' => 'grid',
230
+ 'simple_grid_field14' => 'grid',
231
+ 'grid_checkbox_head' => 'grid',
232
+ 'grid_checkbox' => 'grid',
233
+ 'grid_edit' => 'grid',
234
+ 'grid_view' => 'grid' ),
235
+ 'itemLocations' => array( 'simple_grid_field15' => array( 'location' => 'grid',
236
+ 'cellId' => 'headcell_field' ),
237
+ 'simple_grid_field' => array( 'location' => 'grid',
238
+ 'cellId' => 'cell_field' ),
239
+ 'simple_grid_field16' => array( 'location' => 'grid',
240
+ 'cellId' => 'headcell_field1' ),
241
+ 'simple_grid_field1' => array( 'location' => 'grid',
242
+ 'cellId' => 'cell_field1' ),
243
+ 'simple_grid_field17' => array( 'location' => 'grid',
244
+ 'cellId' => 'headcell_field2' ),
245
+ 'simple_grid_field2' => array( 'location' => 'grid',
246
+ 'cellId' => 'cell_field2' ),
247
+ 'simple_grid_field18' => array( 'location' => 'grid',
248
+ 'cellId' => 'headcell_field3' ),
249
+ 'simple_grid_field3' => array( 'location' => 'grid',
250
+ 'cellId' => 'cell_field3' ),
251
+ 'simple_grid_field19' => array( 'location' => 'grid',
252
+ 'cellId' => 'headcell_field4' ),
253
+ 'simple_grid_field4' => array( 'location' => 'grid',
254
+ 'cellId' => 'cell_field4' ),
255
+ 'simple_grid_field20' => array( 'location' => 'grid',
256
+ 'cellId' => 'headcell_field5' ),
257
+ 'simple_grid_field5' => array( 'location' => 'grid',
258
+ 'cellId' => 'cell_field5' ),
259
+ 'simple_grid_field21' => array( 'location' => 'grid',
260
+ 'cellId' => 'headcell_field6' ),
261
+ 'simple_grid_field6' => array( 'location' => 'grid',
262
+ 'cellId' => 'cell_field6' ),
263
+ 'simple_grid_field22' => array( 'location' => 'grid',
264
+ 'cellId' => 'headcell_field7' ),
265
+ 'simple_grid_field7' => array( 'location' => 'grid',
266
+ 'cellId' => 'cell_field7' ),
267
+ 'simple_grid_field23' => array( 'location' => 'grid',
268
+ 'cellId' => 'headcell_field8' ),
269
+ 'simple_grid_field8' => array( 'location' => 'grid',
270
+ 'cellId' => 'cell_field8' ),
271
+ 'simple_grid_field24' => array( 'location' => 'grid',
272
+ 'cellId' => 'headcell_field9' ),
273
+ 'simple_grid_field9' => array( 'location' => 'grid',
274
+ 'cellId' => 'cell_field9' ),
275
+ 'simple_grid_field25' => array( 'location' => 'grid',
276
+ 'cellId' => 'headcell_field10' ),
277
+ 'simple_grid_field10' => array( 'location' => 'grid',
278
+ 'cellId' => 'cell_field10' ),
279
+ 'simple_grid_field26' => array( 'location' => 'grid',
280
+ 'cellId' => 'headcell_field11' ),
281
+ 'simple_grid_field11' => array( 'location' => 'grid',
282
+ 'cellId' => 'cell_field11' ),
283
+ 'simple_grid_field27' => array( 'location' => 'grid',
284
+ 'cellId' => 'headcell_field12' ),
285
+ 'simple_grid_field12' => array( 'location' => 'grid',
286
+ 'cellId' => 'cell_field12' ),
287
+ 'simple_grid_field28' => array( 'location' => 'grid',
288
+ 'cellId' => 'headcell_field13' ),
289
+ 'simple_grid_field13' => array( 'location' => 'grid',
290
+ 'cellId' => 'cell_field13' ),
291
+ 'simple_grid_field29' => array( 'location' => 'grid',
292
+ 'cellId' => 'headcell_field14' ),
293
+ 'simple_grid_field14' => array( 'location' => 'grid',
294
+ 'cellId' => 'cell_field14' ),
295
+ 'grid_checkbox_head' => array( 'location' => 'grid',
296
+ 'cellId' => 'headcell_checkbox' ),
297
+ 'grid_checkbox' => array( 'location' => 'grid',
298
+ 'cellId' => 'cell_checkbox' ),
299
+ 'grid_edit' => array( 'location' => 'grid',
300
+ 'cellId' => 'cell_icons' ),
301
+ 'grid_view' => array( 'location' => 'grid',
302
+ 'cellId' => 'cell_icons' ) ),
303
+ 'itemVisiblity' => array( 'menu' => 3,
304
+ 'simple_search' => 3,
305
+ 'search_panel' => 5,
306
+ 'list_options' => 3,
307
+ 'username_button' => 3,
308
+ 'loginform_login' => 3,
309
+ 'print_panel' => 5 ) ),
310
+ 'itemsByType' => array( 'page_size' => array( 'page_size' ),
311
+ 'breadcrumb' => array( 'breadcrumb' ),
312
+ 'logo' => array( 'logo' ),
313
+ 'menu' => array( 'menu' ),
314
+ 'simple_search' => array( 'simple_search' ),
315
+ 'pagination' => array( 'pagination' ),
316
+ 'details_found' => array( 'details_found' ),
317
+ 'search_panel' => array( 'search_panel' ),
318
+ 'list_options' => array( 'list_options' ),
319
+ 'show_search_panel' => array( 'show_search_panel' ),
320
+ 'hide_search_panel' => array( 'hide_search_panel' ),
321
+ 'search_panel_field' => array( 'search_panel_field',
322
+ 'search_panel_field1',
323
+ 'search_panel_field2',
324
+ 'search_panel_field3',
325
+ 'search_panel_field4',
326
+ 'search_panel_field5',
327
+ 'search_panel_field6',
328
+ 'search_panel_field7',
329
+ 'search_panel_field8',
330
+ 'search_panel_field9',
331
+ 'search_panel_field10',
332
+ 'search_panel_field11',
333
+ 'search_panel_field12',
334
+ 'search_panel_field13',
335
+ 'search_panel_field14' ),
336
+ 'username_button' => array( 'username_button' ),
337
+ 'loginform_login' => array( 'loginform_login' ),
338
+ 'userinfo_link' => array( 'userinfo_link' ),
339
+ 'logout_link' => array( 'logout_link' ),
340
+ 'add' => array( 'add' ),
341
+ 'print_panel' => array( 'print_panel' ),
342
+ 'print_scope' => array( 'print_scope' ),
343
+ 'print_button' => array( 'print_button' ),
344
+ 'print_records' => array( 'print_records' ),
345
+ 'export' => array( 'export' ),
346
+ '-' => array( '-',
347
+ '-1',
348
+ '-2',
349
+ '-3' ),
350
+ 'export_selected' => array( 'export_selected' ),
351
+ 'import' => array( 'import' ),
352
+ 'delete' => array( 'delete' ),
353
+ 'delete_selected' => array( 'delete_selected' ),
354
+ 'advsearch_link' => array( 'advsearch_link' ),
355
+ 'grid_field' => array( 'simple_grid_field',
356
+ 'simple_grid_field1',
357
+ 'simple_grid_field2',
358
+ 'simple_grid_field3',
359
+ 'simple_grid_field4',
360
+ 'simple_grid_field5',
361
+ 'simple_grid_field6',
362
+ 'simple_grid_field7',
363
+ 'simple_grid_field8',
364
+ 'simple_grid_field9',
365
+ 'simple_grid_field10',
366
+ 'simple_grid_field11',
367
+ 'simple_grid_field12',
368
+ 'simple_grid_field13',
369
+ 'simple_grid_field14' ),
370
+ 'grid_field_label' => array( 'simple_grid_field15',
371
+ 'simple_grid_field16',
372
+ 'simple_grid_field17',
373
+ 'simple_grid_field18',
374
+ 'simple_grid_field19',
375
+ 'simple_grid_field20',
376
+ 'simple_grid_field21',
377
+ 'simple_grid_field22',
378
+ 'simple_grid_field23',
379
+ 'simple_grid_field24',
380
+ 'simple_grid_field25',
381
+ 'simple_grid_field26',
382
+ 'simple_grid_field27',
383
+ 'simple_grid_field28',
384
+ 'simple_grid_field29' ),
385
+ 'grid_checkbox' => array( 'grid_checkbox' ),
386
+ 'grid_checkbox_head' => array( 'grid_checkbox_head' ),
387
+ 'grid_edit' => array( 'grid_edit' ),
388
+ 'grid_view' => array( 'grid_view' ) ),
389
+ 'cellMaps' => array( 'grid' => array( 'cells' => array( 'headcell_icons' => array( 'cols' => array( 0 ),
390
+ 'rows' => array( 0 ),
391
+ 'tags' => array( ),
392
+ 'items' => array( ),
393
+ 'fixedAtServer' => false,
394
+ 'fixedAtClient' => false ),
395
+ 'headcell_checkbox' => array( 'cols' => array( 1 ),
396
+ 'rows' => array( 0 ),
397
+ 'tags' => array( 'checkbox_column' ),
398
+ 'items' => array( 'grid_checkbox_head' ),
399
+ 'fixedAtServer' => false,
400
+ 'fixedAtClient' => false ),
401
+ 'headcell_field' => array( 'cols' => array( 2 ),
402
+ 'rows' => array( 0 ),
403
+ 'tags' => array( 'id_fieldheadercolumn' ),
404
+ 'items' => array( 'simple_grid_field15' ),
405
+ 'fixedAtServer' => false,
406
+ 'fixedAtClient' => false ),
407
+ 'headcell_field1' => array( 'cols' => array( 3 ),
408
+ 'rows' => array( 0 ),
409
+ 'tags' => array( 'date_fieldheadercolumn' ),
410
+ 'items' => array( 'simple_grid_field16' ),
411
+ 'fixedAtServer' => false,
412
+ 'fixedAtClient' => false ),
413
+ 'headcell_field2' => array( 'cols' => array( 4 ),
414
+ 'rows' => array( 0 ),
415
+ 'tags' => array( 'time_fieldheadercolumn' ),
416
+ 'items' => array( 'simple_grid_field17' ),
417
+ 'fixedAtServer' => false,
418
+ 'fixedAtClient' => false ),
419
+ 'headcell_field3' => array( 'cols' => array( 5 ),
420
+ 'rows' => array( 0 ),
421
+ 'tags' => array( 'customer_name_fieldheadercolumn' ),
422
+ 'items' => array( 'simple_grid_field18' ),
423
+ 'fixedAtServer' => false,
424
+ 'fixedAtClient' => false ),
425
+ 'headcell_field4' => array( 'cols' => array( 6 ),
426
+ 'rows' => array( 0 ),
427
+ 'tags' => array( 'product_type_fieldheadercolumn' ),
428
+ 'items' => array( 'simple_grid_field19' ),
429
+ 'fixedAtServer' => false,
430
+ 'fixedAtClient' => false ),
431
+ 'headcell_field5' => array( 'cols' => array( 7 ),
432
+ 'rows' => array( 0 ),
433
+ 'tags' => array( 'product_brand_fieldheadercolumn' ),
434
+ 'items' => array( 'simple_grid_field20' ),
435
+ 'fixedAtServer' => false,
436
+ 'fixedAtClient' => false ),
437
+ 'headcell_field6' => array( 'cols' => array( 8 ),
438
+ 'rows' => array( 0 ),
439
+ 'tags' => array( 'product_model_fieldheadercolumn' ),
440
+ 'items' => array( 'simple_grid_field21' ),
441
+ 'fixedAtServer' => false,
442
+ 'fixedAtClient' => false ),
443
+ 'headcell_field7' => array( 'cols' => array( 9 ),
444
+ 'rows' => array( 0 ),
445
+ 'tags' => array( 'product_serial_number_fieldheadercolumn' ),
446
+ 'items' => array( 'simple_grid_field22' ),
447
+ 'fixedAtServer' => false,
448
+ 'fixedAtClient' => false ),
449
+ 'headcell_field8' => array( 'cols' => array( 10 ),
450
+ 'rows' => array( 0 ),
451
+ 'tags' => array( 'purchase_date_fieldheadercolumn' ),
452
+ 'items' => array( 'simple_grid_field23' ),
453
+ 'fixedAtServer' => false,
454
+ 'fixedAtClient' => false ),
455
+ 'headcell_field9' => array( 'cols' => array( 11 ),
456
+ 'rows' => array( 0 ),
457
+ 'tags' => array( 'purchase_price_fieldheadercolumn' ),
458
+ 'items' => array( 'simple_grid_field24' ),
459
+ 'fixedAtServer' => false,
460
+ 'fixedAtClient' => false ),
461
+ 'headcell_field10' => array( 'cols' => array( 12 ),
462
+ 'rows' => array( 0 ),
463
+ 'tags' => array( 'condition_rating_fieldheadercolumn' ),
464
+ 'items' => array( 'simple_grid_field25' ),
465
+ 'fixedAtServer' => false,
466
+ 'fixedAtClient' => false ),
467
+ 'headcell_field11' => array( 'cols' => array( 13 ),
468
+ 'rows' => array( 0 ),
469
+ 'tags' => array( 'metal_purity_fieldheadercolumn' ),
470
+ 'items' => array( 'simple_grid_field26' ),
471
+ 'fixedAtServer' => false,
472
+ 'fixedAtClient' => false ),
473
+ 'headcell_field12' => array( 'cols' => array( 14 ),
474
+ 'rows' => array( 0 ),
475
+ 'tags' => array( 'metal_weight_fieldheadercolumn' ),
476
+ 'items' => array( 'simple_grid_field27' ),
477
+ 'fixedAtServer' => false,
478
+ 'fixedAtClient' => false ),
479
+ 'headcell_field13' => array( 'cols' => array( 15 ),
480
+ 'rows' => array( 0 ),
481
+ 'tags' => array( 'gemstone_certification_fieldheadercolumn' ),
482
+ 'items' => array( 'simple_grid_field28' ),
483
+ 'fixedAtServer' => false,
484
+ 'fixedAtClient' => false ),
485
+ 'headcell_field14' => array( 'cols' => array( 16 ),
486
+ 'rows' => array( 0 ),
487
+ 'tags' => array( 'initial_fieldheadercolumn' ),
488
+ 'items' => array( 'simple_grid_field29' ),
489
+ 'fixedAtServer' => false,
490
+ 'fixedAtClient' => false ),
491
+ 'cell_icons' => array( 'cols' => array( 0 ),
492
+ 'rows' => array( 1 ),
493
+ 'tags' => array( 'edit_column',
494
+ 'view_column' ),
495
+ 'items' => array( 'grid_edit',
496
+ 'grid_view' ),
497
+ 'fixedAtServer' => false,
498
+ 'fixedAtClient' => false ),
499
+ 'cell_checkbox' => array( 'cols' => array( 1 ),
500
+ 'rows' => array( 1 ),
501
+ 'tags' => array( 'checkbox_column' ),
502
+ 'items' => array( 'grid_checkbox' ),
503
+ 'fixedAtServer' => false,
504
+ 'fixedAtClient' => false ),
505
+ 'cell_field' => array( 'cols' => array( 2 ),
506
+ 'rows' => array( 1 ),
507
+ 'tags' => array( 'id_fieldcolumn' ),
508
+ 'items' => array( 'simple_grid_field' ),
509
+ 'fixedAtServer' => false,
510
+ 'fixedAtClient' => false ),
511
+ 'cell_field1' => array( 'cols' => array( 3 ),
512
+ 'rows' => array( 1 ),
513
+ 'tags' => array( 'date_fieldcolumn' ),
514
+ 'items' => array( 'simple_grid_field1' ),
515
+ 'fixedAtServer' => false,
516
+ 'fixedAtClient' => false ),
517
+ 'cell_field2' => array( 'cols' => array( 4 ),
518
+ 'rows' => array( 1 ),
519
+ 'tags' => array( 'time_fieldcolumn' ),
520
+ 'items' => array( 'simple_grid_field2' ),
521
+ 'fixedAtServer' => false,
522
+ 'fixedAtClient' => false ),
523
+ 'cell_field3' => array( 'cols' => array( 5 ),
524
+ 'rows' => array( 1 ),
525
+ 'tags' => array( 'customer_name_fieldcolumn' ),
526
+ 'items' => array( 'simple_grid_field3' ),
527
+ 'fixedAtServer' => false,
528
+ 'fixedAtClient' => false ),
529
+ 'cell_field4' => array( 'cols' => array( 6 ),
530
+ 'rows' => array( 1 ),
531
+ 'tags' => array( 'product_type_fieldcolumn' ),
532
+ 'items' => array( 'simple_grid_field4' ),
533
+ 'fixedAtServer' => false,
534
+ 'fixedAtClient' => false ),
535
+ 'cell_field5' => array( 'cols' => array( 7 ),
536
+ 'rows' => array( 1 ),
537
+ 'tags' => array( 'product_brand_fieldcolumn' ),
538
+ 'items' => array( 'simple_grid_field5' ),
539
+ 'fixedAtServer' => false,
540
+ 'fixedAtClient' => false ),
541
+ 'cell_field6' => array( 'cols' => array( 8 ),
542
+ 'rows' => array( 1 ),
543
+ 'tags' => array( 'product_model_fieldcolumn' ),
544
+ 'items' => array( 'simple_grid_field6' ),
545
+ 'fixedAtServer' => false,
546
+ 'fixedAtClient' => false ),
547
+ 'cell_field7' => array( 'cols' => array( 9 ),
548
+ 'rows' => array( 1 ),
549
+ 'tags' => array( 'product_serial_number_fieldcolumn' ),
550
+ 'items' => array( 'simple_grid_field7' ),
551
+ 'fixedAtServer' => false,
552
+ 'fixedAtClient' => false ),
553
+ 'cell_field8' => array( 'cols' => array( 10 ),
554
+ 'rows' => array( 1 ),
555
+ 'tags' => array( 'purchase_date_fieldcolumn' ),
556
+ 'items' => array( 'simple_grid_field8' ),
557
+ 'fixedAtServer' => false,
558
+ 'fixedAtClient' => false ),
559
+ 'cell_field9' => array( 'cols' => array( 11 ),
560
+ 'rows' => array( 1 ),
561
+ 'tags' => array( 'purchase_price_fieldcolumn' ),
562
+ 'items' => array( 'simple_grid_field9' ),
563
+ 'fixedAtServer' => false,
564
+ 'fixedAtClient' => false ),
565
+ 'cell_field10' => array( 'cols' => array( 12 ),
566
+ 'rows' => array( 1 ),
567
+ 'tags' => array( 'condition_rating_fieldcolumn' ),
568
+ 'items' => array( 'simple_grid_field10' ),
569
+ 'fixedAtServer' => false,
570
+ 'fixedAtClient' => false ),
571
+ 'cell_field11' => array( 'cols' => array( 13 ),
572
+ 'rows' => array( 1 ),
573
+ 'tags' => array( 'metal_purity_fieldcolumn' ),
574
+ 'items' => array( 'simple_grid_field11' ),
575
+ 'fixedAtServer' => false,
576
+ 'fixedAtClient' => false ),
577
+ 'cell_field12' => array( 'cols' => array( 14 ),
578
+ 'rows' => array( 1 ),
579
+ 'tags' => array( 'metal_weight_fieldcolumn' ),
580
+ 'items' => array( 'simple_grid_field12' ),
581
+ 'fixedAtServer' => false,
582
+ 'fixedAtClient' => false ),
583
+ 'cell_field13' => array( 'cols' => array( 15 ),
584
+ 'rows' => array( 1 ),
585
+ 'tags' => array( 'gemstone_certification_fieldcolumn' ),
586
+ 'items' => array( 'simple_grid_field13' ),
587
+ 'fixedAtServer' => false,
588
+ 'fixedAtClient' => false ),
589
+ 'cell_field14' => array( 'cols' => array( 16 ),
590
+ 'rows' => array( 1 ),
591
+ 'tags' => array( 'initial_fieldcolumn' ),
592
+ 'items' => array( 'simple_grid_field14' ),
593
+ 'fixedAtServer' => false,
594
+ 'fixedAtClient' => false ),
595
+ 'footcell_icons' => array( 'cols' => array( 0 ),
596
+ 'rows' => array( 2 ),
597
+ 'tags' => array( ),
598
+ 'items' => array( ),
599
+ 'fixedAtServer' => false,
600
+ 'fixedAtClient' => false ),
601
+ 'footcell_checkbox' => array( 'cols' => array( 1 ),
602
+ 'rows' => array( 2 ),
603
+ 'tags' => array( ),
604
+ 'items' => array( ),
605
+ 'fixedAtServer' => false,
606
+ 'fixedAtClient' => false ),
607
+ 'footcell_field' => array( 'cols' => array( 2 ),
608
+ 'rows' => array( 2 ),
609
+ 'tags' => array( ),
610
+ 'items' => array( ),
611
+ 'fixedAtServer' => false,
612
+ 'fixedAtClient' => false ),
613
+ 'footcell_field1' => array( 'cols' => array( 3 ),
614
+ 'rows' => array( 2 ),
615
+ 'tags' => array( ),
616
+ 'items' => array( ),
617
+ 'fixedAtServer' => false,
618
+ 'fixedAtClient' => false ),
619
+ 'footcell_field2' => array( 'cols' => array( 4 ),
620
+ 'rows' => array( 2 ),
621
+ 'tags' => array( ),
622
+ 'items' => array( ),
623
+ 'fixedAtServer' => false,
624
+ 'fixedAtClient' => false ),
625
+ 'footcell_field3' => array( 'cols' => array( 5 ),
626
+ 'rows' => array( 2 ),
627
+ 'tags' => array( ),
628
+ 'items' => array( ),
629
+ 'fixedAtServer' => false,
630
+ 'fixedAtClient' => false ),
631
+ 'footcell_field4' => array( 'cols' => array( 6 ),
632
+ 'rows' => array( 2 ),
633
+ 'tags' => array( ),
634
+ 'items' => array( ),
635
+ 'fixedAtServer' => false,
636
+ 'fixedAtClient' => false ),
637
+ 'footcell_field5' => array( 'cols' => array( 7 ),
638
+ 'rows' => array( 2 ),
639
+ 'tags' => array( ),
640
+ 'items' => array( ),
641
+ 'fixedAtServer' => false,
642
+ 'fixedAtClient' => false ),
643
+ 'footcell_field6' => array( 'cols' => array( 8 ),
644
+ 'rows' => array( 2 ),
645
+ 'tags' => array( ),
646
+ 'items' => array( ),
647
+ 'fixedAtServer' => false,
648
+ 'fixedAtClient' => false ),
649
+ 'footcell_field7' => array( 'cols' => array( 9 ),
650
+ 'rows' => array( 2 ),
651
+ 'tags' => array( ),
652
+ 'items' => array( ),
653
+ 'fixedAtServer' => false,
654
+ 'fixedAtClient' => false ),
655
+ 'footcell_field8' => array( 'cols' => array( 10 ),
656
+ 'rows' => array( 2 ),
657
+ 'tags' => array( ),
658
+ 'items' => array( ),
659
+ 'fixedAtServer' => false,
660
+ 'fixedAtClient' => false ),
661
+ 'footcell_field9' => array( 'cols' => array( 11 ),
662
+ 'rows' => array( 2 ),
663
+ 'tags' => array( ),
664
+ 'items' => array( ),
665
+ 'fixedAtServer' => false,
666
+ 'fixedAtClient' => false ),
667
+ 'footcell_field10' => array( 'cols' => array( 12 ),
668
+ 'rows' => array( 2 ),
669
+ 'tags' => array( ),
670
+ 'items' => array( ),
671
+ 'fixedAtServer' => false,
672
+ 'fixedAtClient' => false ),
673
+ 'footcell_field11' => array( 'cols' => array( 13 ),
674
+ 'rows' => array( 2 ),
675
+ 'tags' => array( ),
676
+ 'items' => array( ),
677
+ 'fixedAtServer' => false,
678
+ 'fixedAtClient' => false ),
679
+ 'footcell_field12' => array( 'cols' => array( 14 ),
680
+ 'rows' => array( 2 ),
681
+ 'tags' => array( ),
682
+ 'items' => array( ),
683
+ 'fixedAtServer' => false,
684
+ 'fixedAtClient' => false ),
685
+ 'footcell_field13' => array( 'cols' => array( 15 ),
686
+ 'rows' => array( 2 ),
687
+ 'tags' => array( ),
688
+ 'items' => array( ),
689
+ 'fixedAtServer' => false,
690
+ 'fixedAtClient' => false ),
691
+ 'footcell_field14' => array( 'cols' => array( 16 ),
692
+ 'rows' => array( 2 ),
693
+ 'tags' => array( ),
694
+ 'items' => array( ),
695
+ 'fixedAtServer' => false,
696
+ 'fixedAtClient' => false ) ),
697
+ 'width' => 17,
698
+ 'height' => 3 ) ) ),
699
+ 'loginForm' => array( 'loginForm' => 0 ),
700
+ 'page' => array( 'verticalBar' => false,
701
+ 'labeledButtons' => array( 'update_records' => array( ),
702
+ 'print_pages' => array( ),
703
+ 'register_activate_message' => array( ),
704
+ 'details_found' => array( 'details_found' => array( 'tag' => 'DISPLAYING',
705
+ 'type' => 2 ) ) ),
706
+ 'gridType' => 0,
707
+ 'recsPerRow' => 1,
708
+ 'hasCustomButtons' => false,
709
+ 'customButtons' => array( ),
710
+ 'hasNotifications' => false,
711
+ 'menus' => array( array( 'id' => 'main',
712
+ 'horizontal' => true ) ),
713
+ 'calcTotalsFor' => 1 ),
714
+ 'misc' => array( 'type' => 'list',
715
+ 'breadcrumb' => true ),
716
+ 'events' => array( 'maps' => array( ),
717
+ 'mapsData' => array( ),
718
+ 'buttons' => array( ) ),
719
+ 'dataGrid' => array( 'groupFields' => array( ) ) );
720
+ $pageArray = array( 'id' => 'list',
721
+ 'type' => 'list',
722
+ 'layoutId' => 'topbar',
723
+ 'disabled' => 0,
724
+ 'default' => 0,
725
+ 'forms' => array( 'above-grid' => array( 'modelId' => 'list-above-grid',
726
+ 'grid' => array( array( 'cells' => array( array( 'cell' => 'c1' ),
727
+ array( 'cell' => 'c2' ) ),
728
+ 'section' => '' ) ),
729
+ 'cells' => array( 'c1' => array( 'model' => 'c1',
730
+ 'items' => array( 'add',
731
+ 'delete' ) ),
732
+ 'c2' => array( 'model' => 'c2',
733
+ 'items' => array( 'details_found',
734
+ 'page_size',
735
+ 'print_panel' ) ) ),
736
+ 'deferredItems' => array( ),
737
+ 'recsPerRow' => 1 ),
738
+ 'below-grid' => array( 'modelId' => 'list-below-grid',
739
+ 'grid' => array( array( 'cells' => array( array( 'cell' => 'c1' ) ),
740
+ 'section' => '' ) ),
741
+ 'cells' => array( 'c1' => array( 'model' => 'c1',
742
+ 'items' => array( 'pagination' ) ) ),
743
+ 'deferredItems' => array( ),
744
+ 'recsPerRow' => 1 ),
745
+ 'supertop' => array( 'modelId' => 'topbar-menu',
746
+ 'grid' => array( array( 'cells' => array( array( 'cell' => 'c1' ),
747
+ array( 'cell' => 'c2' ) ),
748
+ 'section' => '' ) ),
749
+ 'cells' => array( 'c1' => array( 'model' => 'c1',
750
+ 'items' => array( 'logo',
751
+ 'menu' ) ),
752
+ 'c2' => array( 'model' => 'c2',
753
+ 'items' => array( 'simple_search',
754
+ 'list_options',
755
+ 'loginform_login',
756
+ 'username_button' ) ) ),
757
+ 'deferredItems' => array( ),
758
+ 'recsPerRow' => 1 ),
759
+ 'left' => array( 'modelId' => 'list-vbar',
760
+ 'grid' => array( array( 'cells' => array( array( 'cell' => 'c1' ) ),
761
+ 'section' => '' ) ),
762
+ 'cells' => array( 'c1' => array( 'model' => 'c1',
763
+ 'items' => array( 'search_panel' ) ) ),
764
+ 'deferredItems' => array( ),
765
+ 'recsPerRow' => 1 ),
766
+ 'top' => array( 'modelId' => 'list-top',
767
+ 'grid' => array( array( 'cells' => array( array( 'cell' => 'c1' ) ),
768
+ 'section' => '' ) ),
769
+ 'cells' => array( 'c1' => array( 'model' => 'c1',
770
+ 'items' => array( 'breadcrumb' ) ) ),
771
+ 'deferredItems' => array( ),
772
+ 'recsPerRow' => 1 ),
773
+ 'grid' => array( 'modelId' => 'horizontal-grid',
774
+ 'grid' => array( array( 'section' => 'head',
775
+ 'cells' => array( array( 'cell' => 'headcell_icons' ),
776
+ array( 'cell' => 'headcell_checkbox' ),
777
+ array( 'cell' => 'headcell_field' ),
778
+ array( 'cell' => 'headcell_field1' ),
779
+ array( 'cell' => 'headcell_field2' ),
780
+ array( 'cell' => 'headcell_field3' ),
781
+ array( 'cell' => 'headcell_field4' ),
782
+ array( 'cell' => 'headcell_field5' ),
783
+ array( 'cell' => 'headcell_field6' ),
784
+ array( 'cell' => 'headcell_field7' ),
785
+ array( 'cell' => 'headcell_field8' ),
786
+ array( 'cell' => 'headcell_field9' ),
787
+ array( 'cell' => 'headcell_field10' ),
788
+ array( 'cell' => 'headcell_field11' ),
789
+ array( 'cell' => 'headcell_field12' ),
790
+ array( 'cell' => 'headcell_field13' ),
791
+ array( 'cell' => 'headcell_field14' ) ) ),
792
+ array( 'section' => 'body',
793
+ 'cells' => array( array( 'cell' => 'cell_icons' ),
794
+ array( 'cell' => 'cell_checkbox' ),
795
+ array( 'cell' => 'cell_field' ),
796
+ array( 'cell' => 'cell_field1' ),
797
+ array( 'cell' => 'cell_field2' ),
798
+ array( 'cell' => 'cell_field3' ),
799
+ array( 'cell' => 'cell_field4' ),
800
+ array( 'cell' => 'cell_field5' ),
801
+ array( 'cell' => 'cell_field6' ),
802
+ array( 'cell' => 'cell_field7' ),
803
+ array( 'cell' => 'cell_field8' ),
804
+ array( 'cell' => 'cell_field9' ),
805
+ array( 'cell' => 'cell_field10' ),
806
+ array( 'cell' => 'cell_field11' ),
807
+ array( 'cell' => 'cell_field12' ),
808
+ array( 'cell' => 'cell_field13' ),
809
+ array( 'cell' => 'cell_field14' ) ) ),
810
+ array( 'section' => 'foot',
811
+ 'cells' => array( array( 'cell' => 'footcell_icons' ),
812
+ array( 'cell' => 'footcell_checkbox' ),
813
+ array( 'cell' => 'footcell_field' ),
814
+ array( 'cell' => 'footcell_field1' ),
815
+ array( 'cell' => 'footcell_field2' ),
816
+ array( 'cell' => 'footcell_field3' ),
817
+ array( 'cell' => 'footcell_field4' ),
818
+ array( 'cell' => 'footcell_field5' ),
819
+ array( 'cell' => 'footcell_field6' ),
820
+ array( 'cell' => 'footcell_field7' ),
821
+ array( 'cell' => 'footcell_field8' ),
822
+ array( 'cell' => 'footcell_field9' ),
823
+ array( 'cell' => 'footcell_field10' ),
824
+ array( 'cell' => 'footcell_field11' ),
825
+ array( 'cell' => 'footcell_field12' ),
826
+ array( 'cell' => 'footcell_field13' ),
827
+ array( 'cell' => 'footcell_field14' ) ) ) ),
828
+ 'cells' => array( 'headcell_field' => array( 'model' => 'headcell_field',
829
+ 'items' => array( 'simple_grid_field15' ),
830
+ 'field' => 'id',
831
+ 'columnName' => 'field' ),
832
+ 'cell_field' => array( 'model' => 'cell_field',
833
+ 'items' => array( 'simple_grid_field' ),
834
+ 'field' => 'id',
835
+ 'columnName' => 'field' ),
836
+ 'footcell_field' => array( 'model' => 'footcell_field',
837
+ 'items' => array( ) ),
838
+ 'headcell_field1' => array( 'model' => 'headcell_field',
839
+ 'items' => array( 'simple_grid_field16' ),
840
+ 'field' => 'date',
841
+ 'columnName' => 'field' ),
842
+ 'cell_field1' => array( 'model' => 'cell_field',
843
+ 'items' => array( 'simple_grid_field1' ),
844
+ 'field' => 'date',
845
+ 'columnName' => 'field' ),
846
+ 'footcell_field1' => array( 'model' => 'footcell_field',
847
+ 'items' => array( ) ),
848
+ 'headcell_field2' => array( 'model' => 'headcell_field',
849
+ 'items' => array( 'simple_grid_field17' ),
850
+ 'field' => 'time',
851
+ 'columnName' => 'field' ),
852
+ 'cell_field2' => array( 'model' => 'cell_field',
853
+ 'items' => array( 'simple_grid_field2' ),
854
+ 'field' => 'time',
855
+ 'columnName' => 'field' ),
856
+ 'footcell_field2' => array( 'model' => 'footcell_field',
857
+ 'items' => array( ) ),
858
+ 'headcell_field3' => array( 'model' => 'headcell_field',
859
+ 'items' => array( 'simple_grid_field18' ),
860
+ 'field' => 'customer_name',
861
+ 'columnName' => 'field' ),
862
+ 'cell_field3' => array( 'model' => 'cell_field',
863
+ 'items' => array( 'simple_grid_field3' ),
864
+ 'field' => 'customer_name',
865
+ 'columnName' => 'field' ),
866
+ 'footcell_field3' => array( 'model' => 'footcell_field',
867
+ 'items' => array( ) ),
868
+ 'headcell_field4' => array( 'model' => 'headcell_field',
869
+ 'items' => array( 'simple_grid_field19' ),
870
+ 'field' => 'product_type',
871
+ 'columnName' => 'field' ),
872
+ 'cell_field4' => array( 'model' => 'cell_field',
873
+ 'items' => array( 'simple_grid_field4' ),
874
+ 'field' => 'product_type',
875
+ 'columnName' => 'field' ),
876
+ 'footcell_field4' => array( 'model' => 'footcell_field',
877
+ 'items' => array( ) ),
878
+ 'headcell_field5' => array( 'model' => 'headcell_field',
879
+ 'items' => array( 'simple_grid_field20' ),
880
+ 'field' => 'product_brand',
881
+ 'columnName' => 'field' ),
882
+ 'cell_field5' => array( 'model' => 'cell_field',
883
+ 'items' => array( 'simple_grid_field5' ),
884
+ 'field' => 'product_brand',
885
+ 'columnName' => 'field' ),
886
+ 'footcell_field5' => array( 'model' => 'footcell_field',
887
+ 'items' => array( ) ),
888
+ 'headcell_field6' => array( 'model' => 'headcell_field',
889
+ 'items' => array( 'simple_grid_field21' ),
890
+ 'field' => 'product_model',
891
+ 'columnName' => 'field' ),
892
+ 'cell_field6' => array( 'model' => 'cell_field',
893
+ 'items' => array( 'simple_grid_field6' ),
894
+ 'field' => 'product_model',
895
+ 'columnName' => 'field' ),
896
+ 'footcell_field6' => array( 'model' => 'footcell_field',
897
+ 'items' => array( ) ),
898
+ 'headcell_field7' => array( 'model' => 'headcell_field',
899
+ 'items' => array( 'simple_grid_field22' ),
900
+ 'field' => 'product_serial_number',
901
+ 'columnName' => 'field' ),
902
+ 'cell_field7' => array( 'model' => 'cell_field',
903
+ 'items' => array( 'simple_grid_field7' ),
904
+ 'field' => 'product_serial_number',
905
+ 'columnName' => 'field' ),
906
+ 'footcell_field7' => array( 'model' => 'footcell_field',
907
+ 'items' => array( ) ),
908
+ 'headcell_field8' => array( 'model' => 'headcell_field',
909
+ 'items' => array( 'simple_grid_field23' ),
910
+ 'field' => 'purchase_date',
911
+ 'columnName' => 'field' ),
912
+ 'cell_field8' => array( 'model' => 'cell_field',
913
+ 'items' => array( 'simple_grid_field8' ),
914
+ 'field' => 'purchase_date',
915
+ 'columnName' => 'field' ),
916
+ 'footcell_field8' => array( 'model' => 'footcell_field',
917
+ 'items' => array( ) ),
918
+ 'headcell_field9' => array( 'model' => 'headcell_field',
919
+ 'items' => array( 'simple_grid_field24' ),
920
+ 'field' => 'purchase_price',
921
+ 'columnName' => 'field' ),
922
+ 'cell_field9' => array( 'model' => 'cell_field',
923
+ 'items' => array( 'simple_grid_field9' ),
924
+ 'field' => 'purchase_price',
925
+ 'columnName' => 'field' ),
926
+ 'footcell_field9' => array( 'model' => 'footcell_field',
927
+ 'items' => array( ) ),
928
+ 'headcell_field10' => array( 'model' => 'headcell_field',
929
+ 'items' => array( 'simple_grid_field25' ),
930
+ 'field' => 'condition_rating',
931
+ 'columnName' => 'field' ),
932
+ 'cell_field10' => array( 'model' => 'cell_field',
933
+ 'items' => array( 'simple_grid_field10' ),
934
+ 'field' => 'condition_rating',
935
+ 'columnName' => 'field' ),
936
+ 'footcell_field10' => array( 'model' => 'footcell_field',
937
+ 'items' => array( ) ),
938
+ 'headcell_field11' => array( 'model' => 'headcell_field',
939
+ 'items' => array( 'simple_grid_field26' ),
940
+ 'field' => 'metal_purity',
941
+ 'columnName' => 'field' ),
942
+ 'cell_field11' => array( 'model' => 'cell_field',
943
+ 'items' => array( 'simple_grid_field11' ),
944
+ 'field' => 'metal_purity',
945
+ 'columnName' => 'field' ),
946
+ 'footcell_field11' => array( 'model' => 'footcell_field',
947
+ 'items' => array( ) ),
948
+ 'headcell_field12' => array( 'model' => 'headcell_field',
949
+ 'items' => array( 'simple_grid_field27' ),
950
+ 'field' => 'metal_weight',
951
+ 'columnName' => 'field' ),
952
+ 'cell_field12' => array( 'model' => 'cell_field',
953
+ 'items' => array( 'simple_grid_field12' ),
954
+ 'field' => 'metal_weight',
955
+ 'columnName' => 'field' ),
956
+ 'footcell_field12' => array( 'model' => 'footcell_field',
957
+ 'items' => array( ) ),
958
+ 'headcell_field13' => array( 'model' => 'headcell_field',
959
+ 'items' => array( 'simple_grid_field28' ),
960
+ 'field' => 'gemstone_certification',
961
+ 'columnName' => 'field' ),
962
+ 'cell_field13' => array( 'model' => 'cell_field',
963
+ 'items' => array( 'simple_grid_field13' ),
964
+ 'field' => 'gemstone_certification',
965
+ 'columnName' => 'field' ),
966
+ 'footcell_field13' => array( 'model' => 'footcell_field',
967
+ 'items' => array( ) ),
968
+ 'headcell_field14' => array( 'model' => 'headcell_field',
969
+ 'items' => array( 'simple_grid_field29' ),
970
+ 'field' => 'initial',
971
+ 'columnName' => 'field' ),
972
+ 'cell_field14' => array( 'model' => 'cell_field',
973
+ 'items' => array( 'simple_grid_field14' ),
974
+ 'field' => 'initial',
975
+ 'columnName' => 'field' ),
976
+ 'footcell_field14' => array( 'model' => 'footcell_field',
977
+ 'items' => array( ) ),
978
+ 'headcell_checkbox' => array( 'model' => 'headcell_checkbox',
979
+ 'items' => array( 'grid_checkbox_head' ) ),
980
+ 'cell_checkbox' => array( 'model' => 'cell_checkbox',
981
+ 'items' => array( 'grid_checkbox' ) ),
982
+ 'footcell_checkbox' => array( 'model' => 'footcell_checkbox',
983
+ 'items' => array( ) ),
984
+ 'headcell_icons' => array( 'model' => 'headcell_icons',
985
+ 'items' => array( ) ),
986
+ 'cell_icons' => array( 'model' => 'cell_icons',
987
+ 'items' => array( 'grid_edit',
988
+ 'grid_view' ) ),
989
+ 'footcell_icons' => array( 'model' => 'footcell_icons',
990
+ 'items' => array( ) ) ),
991
+ 'deferredItems' => array( ),
992
+ 'recsPerRow' => 1 ) ),
993
+ 'items' => array( 'page_size' => array( 'type' => 'page_size' ),
994
+ 'breadcrumb' => array( 'type' => 'breadcrumb' ),
995
+ 'logo' => array( 'type' => 'logo' ),
996
+ 'menu' => array( 'type' => 'menu' ),
997
+ 'simple_search' => array( 'type' => 'simple_search' ),
998
+ 'pagination' => array( 'type' => 'pagination' ),
999
+ 'details_found' => array( 'type' => 'details_found' ),
1000
+ 'search_panel' => array( 'type' => 'search_panel',
1001
+ 'items' => array( 'search_panel_field',
1002
+ 'search_panel_field14',
1003
+ 'search_panel_field13',
1004
+ 'search_panel_field12',
1005
+ 'search_panel_field11',
1006
+ 'search_panel_field10',
1007
+ 'search_panel_field9',
1008
+ 'search_panel_field8',
1009
+ 'search_panel_field7',
1010
+ 'search_panel_field6',
1011
+ 'search_panel_field5',
1012
+ 'search_panel_field4',
1013
+ 'search_panel_field3',
1014
+ 'search_panel_field2',
1015
+ 'search_panel_field1' ) ),
1016
+ 'list_options' => array( 'type' => 'list_options',
1017
+ 'items' => array( 'export_selected',
1018
+ 'delete_selected',
1019
+ '-3',
1020
+ 'advsearch_link',
1021
+ 'show_search_panel',
1022
+ 'hide_search_panel',
1023
+ '-1',
1024
+ 'export',
1025
+ '-2',
1026
+ 'import' ) ),
1027
+ 'show_search_panel' => array( 'type' => 'show_search_panel' ),
1028
+ 'hide_search_panel' => array( 'type' => 'hide_search_panel' ),
1029
+ 'search_panel_field' => array( 'field' => 'condition_rating',
1030
+ 'type' => 'search_panel_field',
1031
+ 'required' => false ),
1032
+ 'search_panel_field1' => array( 'field' => 'customer_name',
1033
+ 'type' => 'search_panel_field',
1034
+ 'required' => false ),
1035
+ 'search_panel_field2' => array( 'field' => 'date',
1036
+ 'type' => 'search_panel_field',
1037
+ 'required' => false ),
1038
+ 'search_panel_field3' => array( 'field' => 'gemstone_certification',
1039
+ 'type' => 'search_panel_field',
1040
+ 'required' => false ),
1041
+ 'search_panel_field4' => array( 'field' => 'id',
1042
+ 'type' => 'search_panel_field',
1043
+ 'required' => false ),
1044
+ 'search_panel_field5' => array( 'field' => 'initial',
1045
+ 'type' => 'search_panel_field',
1046
+ 'required' => false ),
1047
+ 'search_panel_field6' => array( 'field' => 'metal_purity',
1048
+ 'type' => 'search_panel_field',
1049
+ 'required' => false ),
1050
+ 'search_panel_field7' => array( 'field' => 'metal_weight',
1051
+ 'type' => 'search_panel_field',
1052
+ 'required' => false ),
1053
+ 'search_panel_field8' => array( 'field' => 'product_brand',
1054
+ 'type' => 'search_panel_field',
1055
+ 'required' => false ),
1056
+ 'search_panel_field9' => array( 'field' => 'product_model',
1057
+ 'type' => 'search_panel_field',
1058
+ 'required' => false ),
1059
+ 'search_panel_field10' => array( 'field' => 'product_serial_number',
1060
+ 'type' => 'search_panel_field',
1061
+ 'required' => false ),
1062
+ 'search_panel_field11' => array( 'field' => 'product_type',
1063
+ 'type' => 'search_panel_field',
1064
+ 'required' => false ),
1065
+ 'search_panel_field12' => array( 'field' => 'purchase_date',
1066
+ 'type' => 'search_panel_field',
1067
+ 'required' => false ),
1068
+ 'search_panel_field13' => array( 'field' => 'purchase_price',
1069
+ 'type' => 'search_panel_field',
1070
+ 'required' => false ),
1071
+ 'search_panel_field14' => array( 'field' => 'time',
1072
+ 'type' => 'search_panel_field',
1073
+ 'required' => false ),
1074
+ 'username_button' => array( 'type' => 'username_button',
1075
+ 'items' => array( 'userinfo_link',
1076
+ 'logout_link' ) ),
1077
+ 'loginform_login' => array( 'type' => 'loginform_login',
1078
+ 'popup' => false ),
1079
+ 'userinfo_link' => array( 'type' => 'userinfo_link' ),
1080
+ 'logout_link' => array( 'type' => 'logout_link' ),
1081
+ 'add' => array( 'type' => 'add' ),
1082
+ 'print_panel' => array( 'type' => 'print_panel',
1083
+ 'items' => array( 'print_scope',
1084
+ 'print_records',
1085
+ 'print_button' ) ),
1086
+ 'print_scope' => array( 'type' => 'print_scope' ),
1087
+ 'print_button' => array( 'type' => 'print_button' ),
1088
+ 'print_records' => array( 'type' => 'print_records' ),
1089
+ 'export' => array( 'type' => 'export' ),
1090
+ '-' => array( 'type' => '-' ),
1091
+ 'export_selected' => array( 'type' => 'export_selected' ),
1092
+ '-1' => array( 'type' => '-' ),
1093
+ 'import' => array( 'type' => 'import' ),
1094
+ '-2' => array( 'type' => '-' ),
1095
+ 'delete' => array( 'type' => 'delete' ),
1096
+ 'delete_selected' => array( 'type' => 'delete_selected' ),
1097
+ 'advsearch_link' => array( 'type' => 'advsearch_link' ),
1098
+ '-3' => array( 'type' => '-' ),
1099
+ 'simple_grid_field' => array( 'field' => 'id',
1100
+ 'type' => 'grid_field',
1101
+ 'inlineAdd' => true,
1102
+ 'inlineEdit' => true ),
1103
+ 'simple_grid_field15' => array( 'type' => 'grid_field_label',
1104
+ 'field' => 'id' ),
1105
+ 'simple_grid_field1' => array( 'field' => 'date',
1106
+ 'type' => 'grid_field',
1107
+ 'inlineAdd' => true,
1108
+ 'inlineEdit' => true ),
1109
+ 'simple_grid_field16' => array( 'type' => 'grid_field_label',
1110
+ 'field' => 'date' ),
1111
+ 'simple_grid_field2' => array( 'field' => 'time',
1112
+ 'type' => 'grid_field',
1113
+ 'inlineAdd' => true,
1114
+ 'inlineEdit' => true ),
1115
+ 'simple_grid_field17' => array( 'type' => 'grid_field_label',
1116
+ 'field' => 'time' ),
1117
+ 'simple_grid_field3' => array( 'field' => 'customer_name',
1118
+ 'type' => 'grid_field',
1119
+ 'inlineAdd' => true,
1120
+ 'inlineEdit' => true ),
1121
+ 'simple_grid_field18' => array( 'type' => 'grid_field_label',
1122
+ 'field' => 'customer_name' ),
1123
+ 'simple_grid_field4' => array( 'field' => 'product_type',
1124
+ 'type' => 'grid_field',
1125
+ 'inlineAdd' => true,
1126
+ 'inlineEdit' => true ),
1127
+ 'simple_grid_field19' => array( 'type' => 'grid_field_label',
1128
+ 'field' => 'product_type' ),
1129
+ 'simple_grid_field5' => array( 'field' => 'product_brand',
1130
+ 'type' => 'grid_field',
1131
+ 'inlineAdd' => true,
1132
+ 'inlineEdit' => true ),
1133
+ 'simple_grid_field20' => array( 'type' => 'grid_field_label',
1134
+ 'field' => 'product_brand' ),
1135
+ 'simple_grid_field6' => array( 'field' => 'product_model',
1136
+ 'type' => 'grid_field',
1137
+ 'inlineAdd' => true,
1138
+ 'inlineEdit' => true ),
1139
+ 'simple_grid_field21' => array( 'type' => 'grid_field_label',
1140
+ 'field' => 'product_model' ),
1141
+ 'simple_grid_field7' => array( 'field' => 'product_serial_number',
1142
+ 'type' => 'grid_field',
1143
+ 'inlineAdd' => true,
1144
+ 'inlineEdit' => true ),
1145
+ 'simple_grid_field22' => array( 'type' => 'grid_field_label',
1146
+ 'field' => 'product_serial_number' ),
1147
+ 'simple_grid_field8' => array( 'field' => 'purchase_date',
1148
+ 'type' => 'grid_field',
1149
+ 'inlineAdd' => true,
1150
+ 'inlineEdit' => true ),
1151
+ 'simple_grid_field23' => array( 'type' => 'grid_field_label',
1152
+ 'field' => 'purchase_date' ),
1153
+ 'simple_grid_field9' => array( 'field' => 'purchase_price',
1154
+ 'type' => 'grid_field',
1155
+ 'inlineAdd' => true,
1156
+ 'inlineEdit' => true ),
1157
+ 'simple_grid_field24' => array( 'type' => 'grid_field_label',
1158
+ 'field' => 'purchase_price' ),
1159
+ 'simple_grid_field10' => array( 'field' => 'condition_rating',
1160
+ 'type' => 'grid_field',
1161
+ 'inlineAdd' => true,
1162
+ 'inlineEdit' => true ),
1163
+ 'simple_grid_field25' => array( 'type' => 'grid_field_label',
1164
+ 'field' => 'condition_rating' ),
1165
+ 'simple_grid_field11' => array( 'field' => 'metal_purity',
1166
+ 'type' => 'grid_field',
1167
+ 'inlineAdd' => true,
1168
+ 'inlineEdit' => true ),
1169
+ 'simple_grid_field26' => array( 'type' => 'grid_field_label',
1170
+ 'field' => 'metal_purity' ),
1171
+ 'simple_grid_field12' => array( 'field' => 'metal_weight',
1172
+ 'type' => 'grid_field',
1173
+ 'inlineAdd' => true,
1174
+ 'inlineEdit' => true ),
1175
+ 'simple_grid_field27' => array( 'type' => 'grid_field_label',
1176
+ 'field' => 'metal_weight' ),
1177
+ 'simple_grid_field13' => array( 'field' => 'gemstone_certification',
1178
+ 'type' => 'grid_field',
1179
+ 'inlineAdd' => true,
1180
+ 'inlineEdit' => true ),
1181
+ 'simple_grid_field28' => array( 'type' => 'grid_field_label',
1182
+ 'field' => 'gemstone_certification' ),
1183
+ 'simple_grid_field14' => array( 'field' => 'initial',
1184
+ 'type' => 'grid_field',
1185
+ 'inlineAdd' => true,
1186
+ 'inlineEdit' => true ),
1187
+ 'simple_grid_field29' => array( 'type' => 'grid_field_label',
1188
+ 'field' => 'initial' ),
1189
+ 'grid_checkbox' => array( 'type' => 'grid_checkbox' ),
1190
+ 'grid_checkbox_head' => array( 'type' => 'grid_checkbox_head' ),
1191
+ 'grid_edit' => array( 'type' => 'grid_edit' ),
1192
+ 'grid_view' => array( 'type' => 'grid_view' ) ),
1193
+ 'dbProps' => array( ),
1194
+ 'version' => 14,
1195
+ 'imageItem' => array( 'type' => 'page_image' ),
1196
+ 'imageBgColor' => '#f2f2f2',
1197
+ 'controlsBgColor' => 'white',
1198
+ 'imagePosition' => 'right',
1199
+ 'listTotals' => 1 );
1200
+ ?>
php/include/pages/appointments_print.php ADDED
@@ -0,0 +1,823 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ $optionsArray = array( 'pdf' => array( 'pdfView' => false ),
3
+ 'totals' => array( 'id' => array( 'totalsType' => '' ),
4
+ 'date' => array( 'totalsType' => '' ),
5
+ 'time' => array( 'totalsType' => '' ),
6
+ 'customer_name' => array( 'totalsType' => '' ),
7
+ 'product_type' => array( 'totalsType' => '' ),
8
+ 'product_brand' => array( 'totalsType' => '' ),
9
+ 'product_model' => array( 'totalsType' => '' ),
10
+ 'product_serial_number' => array( 'totalsType' => '' ),
11
+ 'purchase_date' => array( 'totalsType' => '' ),
12
+ 'purchase_price' => array( 'totalsType' => '' ),
13
+ 'condition_rating' => array( 'totalsType' => '' ),
14
+ 'metal_purity' => array( 'totalsType' => '' ),
15
+ 'metal_weight' => array( 'totalsType' => '' ),
16
+ 'gemstone_certification' => array( 'totalsType' => '' ),
17
+ 'initial' => array( 'totalsType' => '' ) ),
18
+ 'fields' => array( 'gridFields' => array( 'id',
19
+ 'date',
20
+ 'time',
21
+ 'customer_name',
22
+ 'product_type',
23
+ 'product_brand',
24
+ 'product_model',
25
+ 'product_serial_number',
26
+ 'purchase_date',
27
+ 'purchase_price',
28
+ 'condition_rating',
29
+ 'metal_purity',
30
+ 'metal_weight',
31
+ 'gemstone_certification',
32
+ 'initial' ),
33
+ 'searchRequiredFields' => array( ),
34
+ 'searchPanelFields' => array( ),
35
+ 'fieldItems' => array( 'id' => array( 'simple_grid_field',
36
+ 'simple_grid_field15' ),
37
+ 'date' => array( 'simple_grid_field1',
38
+ 'simple_grid_field16' ),
39
+ 'time' => array( 'simple_grid_field2',
40
+ 'simple_grid_field17' ),
41
+ 'customer_name' => array( 'simple_grid_field3',
42
+ 'simple_grid_field18' ),
43
+ 'product_type' => array( 'simple_grid_field4',
44
+ 'simple_grid_field19' ),
45
+ 'product_brand' => array( 'simple_grid_field5',
46
+ 'simple_grid_field20' ),
47
+ 'product_model' => array( 'simple_grid_field6',
48
+ 'simple_grid_field21' ),
49
+ 'product_serial_number' => array( 'simple_grid_field7',
50
+ 'simple_grid_field22' ),
51
+ 'purchase_date' => array( 'simple_grid_field8',
52
+ 'simple_grid_field23' ),
53
+ 'purchase_price' => array( 'simple_grid_field9',
54
+ 'simple_grid_field24' ),
55
+ 'condition_rating' => array( 'simple_grid_field10',
56
+ 'simple_grid_field25' ),
57
+ 'metal_purity' => array( 'simple_grid_field11',
58
+ 'simple_grid_field26' ),
59
+ 'metal_weight' => array( 'simple_grid_field12',
60
+ 'simple_grid_field27' ),
61
+ 'gemstone_certification' => array( 'simple_grid_field13',
62
+ 'simple_grid_field28' ),
63
+ 'initial' => array( 'simple_grid_field14',
64
+ 'simple_grid_field29' ) ),
65
+ 'hideEmptyFields' => array( ) ),
66
+ 'pageLinks' => array( 'edit' => false,
67
+ 'add' => false,
68
+ 'view' => false,
69
+ 'print' => false ),
70
+ 'layoutHelper' => array( 'formItems' => array( 'formItems' => array( 'above-grid' => array( 'print_pages' ),
71
+ 'below-grid' => array( ),
72
+ 'top' => array( 'print_header',
73
+ 'print_subheader' ),
74
+ 'grid' => array( 'simple_grid_field15',
75
+ 'simple_grid_field',
76
+ 'simple_grid_field16',
77
+ 'simple_grid_field1',
78
+ 'simple_grid_field17',
79
+ 'simple_grid_field2',
80
+ 'simple_grid_field18',
81
+ 'simple_grid_field3',
82
+ 'simple_grid_field19',
83
+ 'simple_grid_field4',
84
+ 'simple_grid_field20',
85
+ 'simple_grid_field5',
86
+ 'simple_grid_field21',
87
+ 'simple_grid_field6',
88
+ 'simple_grid_field22',
89
+ 'simple_grid_field7',
90
+ 'simple_grid_field23',
91
+ 'simple_grid_field8',
92
+ 'simple_grid_field24',
93
+ 'simple_grid_field9',
94
+ 'simple_grid_field25',
95
+ 'simple_grid_field10',
96
+ 'simple_grid_field26',
97
+ 'simple_grid_field11',
98
+ 'simple_grid_field27',
99
+ 'simple_grid_field12',
100
+ 'simple_grid_field28',
101
+ 'simple_grid_field13',
102
+ 'simple_grid_field29',
103
+ 'simple_grid_field14' ) ),
104
+ 'formXtTags' => array( 'above-grid' => array( 'print_pages' ),
105
+ 'below-grid' => array( ) ),
106
+ 'itemForms' => array( 'print_pages' => 'above-grid',
107
+ 'print_header' => 'top',
108
+ 'print_subheader' => 'top',
109
+ 'simple_grid_field15' => 'grid',
110
+ 'simple_grid_field' => 'grid',
111
+ 'simple_grid_field16' => 'grid',
112
+ 'simple_grid_field1' => 'grid',
113
+ 'simple_grid_field17' => 'grid',
114
+ 'simple_grid_field2' => 'grid',
115
+ 'simple_grid_field18' => 'grid',
116
+ 'simple_grid_field3' => 'grid',
117
+ 'simple_grid_field19' => 'grid',
118
+ 'simple_grid_field4' => 'grid',
119
+ 'simple_grid_field20' => 'grid',
120
+ 'simple_grid_field5' => 'grid',
121
+ 'simple_grid_field21' => 'grid',
122
+ 'simple_grid_field6' => 'grid',
123
+ 'simple_grid_field22' => 'grid',
124
+ 'simple_grid_field7' => 'grid',
125
+ 'simple_grid_field23' => 'grid',
126
+ 'simple_grid_field8' => 'grid',
127
+ 'simple_grid_field24' => 'grid',
128
+ 'simple_grid_field9' => 'grid',
129
+ 'simple_grid_field25' => 'grid',
130
+ 'simple_grid_field10' => 'grid',
131
+ 'simple_grid_field26' => 'grid',
132
+ 'simple_grid_field11' => 'grid',
133
+ 'simple_grid_field27' => 'grid',
134
+ 'simple_grid_field12' => 'grid',
135
+ 'simple_grid_field28' => 'grid',
136
+ 'simple_grid_field13' => 'grid',
137
+ 'simple_grid_field29' => 'grid',
138
+ 'simple_grid_field14' => 'grid' ),
139
+ 'itemLocations' => array( 'simple_grid_field15' => array( 'location' => 'grid',
140
+ 'cellId' => 'headcell_field' ),
141
+ 'simple_grid_field' => array( 'location' => 'grid',
142
+ 'cellId' => 'cell_field' ),
143
+ 'simple_grid_field16' => array( 'location' => 'grid',
144
+ 'cellId' => 'headcell_field1' ),
145
+ 'simple_grid_field1' => array( 'location' => 'grid',
146
+ 'cellId' => 'cell_field1' ),
147
+ 'simple_grid_field17' => array( 'location' => 'grid',
148
+ 'cellId' => 'headcell_field2' ),
149
+ 'simple_grid_field2' => array( 'location' => 'grid',
150
+ 'cellId' => 'cell_field2' ),
151
+ 'simple_grid_field18' => array( 'location' => 'grid',
152
+ 'cellId' => 'headcell_field3' ),
153
+ 'simple_grid_field3' => array( 'location' => 'grid',
154
+ 'cellId' => 'cell_field3' ),
155
+ 'simple_grid_field19' => array( 'location' => 'grid',
156
+ 'cellId' => 'headcell_field4' ),
157
+ 'simple_grid_field4' => array( 'location' => 'grid',
158
+ 'cellId' => 'cell_field4' ),
159
+ 'simple_grid_field20' => array( 'location' => 'grid',
160
+ 'cellId' => 'headcell_field5' ),
161
+ 'simple_grid_field5' => array( 'location' => 'grid',
162
+ 'cellId' => 'cell_field5' ),
163
+ 'simple_grid_field21' => array( 'location' => 'grid',
164
+ 'cellId' => 'headcell_field6' ),
165
+ 'simple_grid_field6' => array( 'location' => 'grid',
166
+ 'cellId' => 'cell_field6' ),
167
+ 'simple_grid_field22' => array( 'location' => 'grid',
168
+ 'cellId' => 'headcell_field7' ),
169
+ 'simple_grid_field7' => array( 'location' => 'grid',
170
+ 'cellId' => 'cell_field7' ),
171
+ 'simple_grid_field23' => array( 'location' => 'grid',
172
+ 'cellId' => 'headcell_field8' ),
173
+ 'simple_grid_field8' => array( 'location' => 'grid',
174
+ 'cellId' => 'cell_field8' ),
175
+ 'simple_grid_field24' => array( 'location' => 'grid',
176
+ 'cellId' => 'headcell_field9' ),
177
+ 'simple_grid_field9' => array( 'location' => 'grid',
178
+ 'cellId' => 'cell_field9' ),
179
+ 'simple_grid_field25' => array( 'location' => 'grid',
180
+ 'cellId' => 'headcell_field10' ),
181
+ 'simple_grid_field10' => array( 'location' => 'grid',
182
+ 'cellId' => 'cell_field10' ),
183
+ 'simple_grid_field26' => array( 'location' => 'grid',
184
+ 'cellId' => 'headcell_field11' ),
185
+ 'simple_grid_field11' => array( 'location' => 'grid',
186
+ 'cellId' => 'cell_field11' ),
187
+ 'simple_grid_field27' => array( 'location' => 'grid',
188
+ 'cellId' => 'headcell_field12' ),
189
+ 'simple_grid_field12' => array( 'location' => 'grid',
190
+ 'cellId' => 'cell_field12' ),
191
+ 'simple_grid_field28' => array( 'location' => 'grid',
192
+ 'cellId' => 'headcell_field13' ),
193
+ 'simple_grid_field13' => array( 'location' => 'grid',
194
+ 'cellId' => 'cell_field13' ),
195
+ 'simple_grid_field29' => array( 'location' => 'grid',
196
+ 'cellId' => 'headcell_field14' ),
197
+ 'simple_grid_field14' => array( 'location' => 'grid',
198
+ 'cellId' => 'cell_field14' ) ),
199
+ 'itemVisiblity' => array( ) ),
200
+ 'itemsByType' => array( 'print_header' => array( 'print_header' ),
201
+ 'print_subheader' => array( 'print_subheader' ),
202
+ 'print_pages' => array( 'print_pages' ),
203
+ 'grid_field' => array( 'simple_grid_field',
204
+ 'simple_grid_field1',
205
+ 'simple_grid_field2',
206
+ 'simple_grid_field3',
207
+ 'simple_grid_field4',
208
+ 'simple_grid_field5',
209
+ 'simple_grid_field6',
210
+ 'simple_grid_field7',
211
+ 'simple_grid_field8',
212
+ 'simple_grid_field9',
213
+ 'simple_grid_field10',
214
+ 'simple_grid_field11',
215
+ 'simple_grid_field12',
216
+ 'simple_grid_field13',
217
+ 'simple_grid_field14' ),
218
+ 'grid_field_label' => array( 'simple_grid_field15',
219
+ 'simple_grid_field16',
220
+ 'simple_grid_field17',
221
+ 'simple_grid_field18',
222
+ 'simple_grid_field19',
223
+ 'simple_grid_field20',
224
+ 'simple_grid_field21',
225
+ 'simple_grid_field22',
226
+ 'simple_grid_field23',
227
+ 'simple_grid_field24',
228
+ 'simple_grid_field25',
229
+ 'simple_grid_field26',
230
+ 'simple_grid_field27',
231
+ 'simple_grid_field28',
232
+ 'simple_grid_field29' ) ),
233
+ 'cellMaps' => array( 'grid' => array( 'cells' => array( 'headcell_field' => array( 'cols' => array( 0 ),
234
+ 'rows' => array( 0 ),
235
+ 'tags' => array( 'id_fieldheadercolumn' ),
236
+ 'items' => array( 'simple_grid_field15' ),
237
+ 'fixedAtServer' => false,
238
+ 'fixedAtClient' => false ),
239
+ 'headcell_field1' => array( 'cols' => array( 1 ),
240
+ 'rows' => array( 0 ),
241
+ 'tags' => array( 'date_fieldheadercolumn' ),
242
+ 'items' => array( 'simple_grid_field16' ),
243
+ 'fixedAtServer' => false,
244
+ 'fixedAtClient' => false ),
245
+ 'headcell_field2' => array( 'cols' => array( 2 ),
246
+ 'rows' => array( 0 ),
247
+ 'tags' => array( 'time_fieldheadercolumn' ),
248
+ 'items' => array( 'simple_grid_field17' ),
249
+ 'fixedAtServer' => false,
250
+ 'fixedAtClient' => false ),
251
+ 'headcell_field3' => array( 'cols' => array( 3 ),
252
+ 'rows' => array( 0 ),
253
+ 'tags' => array( 'customer_name_fieldheadercolumn' ),
254
+ 'items' => array( 'simple_grid_field18' ),
255
+ 'fixedAtServer' => false,
256
+ 'fixedAtClient' => false ),
257
+ 'headcell_field4' => array( 'cols' => array( 4 ),
258
+ 'rows' => array( 0 ),
259
+ 'tags' => array( 'product_type_fieldheadercolumn' ),
260
+ 'items' => array( 'simple_grid_field19' ),
261
+ 'fixedAtServer' => false,
262
+ 'fixedAtClient' => false ),
263
+ 'headcell_field5' => array( 'cols' => array( 5 ),
264
+ 'rows' => array( 0 ),
265
+ 'tags' => array( 'product_brand_fieldheadercolumn' ),
266
+ 'items' => array( 'simple_grid_field20' ),
267
+ 'fixedAtServer' => false,
268
+ 'fixedAtClient' => false ),
269
+ 'headcell_field6' => array( 'cols' => array( 6 ),
270
+ 'rows' => array( 0 ),
271
+ 'tags' => array( 'product_model_fieldheadercolumn' ),
272
+ 'items' => array( 'simple_grid_field21' ),
273
+ 'fixedAtServer' => false,
274
+ 'fixedAtClient' => false ),
275
+ 'headcell_field7' => array( 'cols' => array( 7 ),
276
+ 'rows' => array( 0 ),
277
+ 'tags' => array( 'product_serial_number_fieldheadercolumn' ),
278
+ 'items' => array( 'simple_grid_field22' ),
279
+ 'fixedAtServer' => false,
280
+ 'fixedAtClient' => false ),
281
+ 'headcell_field8' => array( 'cols' => array( 8 ),
282
+ 'rows' => array( 0 ),
283
+ 'tags' => array( 'purchase_date_fieldheadercolumn' ),
284
+ 'items' => array( 'simple_grid_field23' ),
285
+ 'fixedAtServer' => false,
286
+ 'fixedAtClient' => false ),
287
+ 'headcell_field9' => array( 'cols' => array( 9 ),
288
+ 'rows' => array( 0 ),
289
+ 'tags' => array( 'purchase_price_fieldheadercolumn' ),
290
+ 'items' => array( 'simple_grid_field24' ),
291
+ 'fixedAtServer' => false,
292
+ 'fixedAtClient' => false ),
293
+ 'headcell_field10' => array( 'cols' => array( 10 ),
294
+ 'rows' => array( 0 ),
295
+ 'tags' => array( 'condition_rating_fieldheadercolumn' ),
296
+ 'items' => array( 'simple_grid_field25' ),
297
+ 'fixedAtServer' => false,
298
+ 'fixedAtClient' => false ),
299
+ 'headcell_field11' => array( 'cols' => array( 11 ),
300
+ 'rows' => array( 0 ),
301
+ 'tags' => array( 'metal_purity_fieldheadercolumn' ),
302
+ 'items' => array( 'simple_grid_field26' ),
303
+ 'fixedAtServer' => false,
304
+ 'fixedAtClient' => false ),
305
+ 'headcell_field12' => array( 'cols' => array( 12 ),
306
+ 'rows' => array( 0 ),
307
+ 'tags' => array( 'metal_weight_fieldheadercolumn' ),
308
+ 'items' => array( 'simple_grid_field27' ),
309
+ 'fixedAtServer' => false,
310
+ 'fixedAtClient' => false ),
311
+ 'headcell_field13' => array( 'cols' => array( 13 ),
312
+ 'rows' => array( 0 ),
313
+ 'tags' => array( 'gemstone_certification_fieldheadercolumn' ),
314
+ 'items' => array( 'simple_grid_field28' ),
315
+ 'fixedAtServer' => false,
316
+ 'fixedAtClient' => false ),
317
+ 'headcell_field14' => array( 'cols' => array( 14 ),
318
+ 'rows' => array( 0 ),
319
+ 'tags' => array( 'initial_fieldheadercolumn' ),
320
+ 'items' => array( 'simple_grid_field29' ),
321
+ 'fixedAtServer' => false,
322
+ 'fixedAtClient' => false ),
323
+ 'cell_field' => array( 'cols' => array( 0 ),
324
+ 'rows' => array( 1 ),
325
+ 'tags' => array( 'id_fieldcolumn' ),
326
+ 'items' => array( 'simple_grid_field' ),
327
+ 'fixedAtServer' => false,
328
+ 'fixedAtClient' => false ),
329
+ 'cell_field1' => array( 'cols' => array( 1 ),
330
+ 'rows' => array( 1 ),
331
+ 'tags' => array( 'date_fieldcolumn' ),
332
+ 'items' => array( 'simple_grid_field1' ),
333
+ 'fixedAtServer' => false,
334
+ 'fixedAtClient' => false ),
335
+ 'cell_field2' => array( 'cols' => array( 2 ),
336
+ 'rows' => array( 1 ),
337
+ 'tags' => array( 'time_fieldcolumn' ),
338
+ 'items' => array( 'simple_grid_field2' ),
339
+ 'fixedAtServer' => false,
340
+ 'fixedAtClient' => false ),
341
+ 'cell_field3' => array( 'cols' => array( 3 ),
342
+ 'rows' => array( 1 ),
343
+ 'tags' => array( 'customer_name_fieldcolumn' ),
344
+ 'items' => array( 'simple_grid_field3' ),
345
+ 'fixedAtServer' => false,
346
+ 'fixedAtClient' => false ),
347
+ 'cell_field4' => array( 'cols' => array( 4 ),
348
+ 'rows' => array( 1 ),
349
+ 'tags' => array( 'product_type_fieldcolumn' ),
350
+ 'items' => array( 'simple_grid_field4' ),
351
+ 'fixedAtServer' => false,
352
+ 'fixedAtClient' => false ),
353
+ 'cell_field5' => array( 'cols' => array( 5 ),
354
+ 'rows' => array( 1 ),
355
+ 'tags' => array( 'product_brand_fieldcolumn' ),
356
+ 'items' => array( 'simple_grid_field5' ),
357
+ 'fixedAtServer' => false,
358
+ 'fixedAtClient' => false ),
359
+ 'cell_field6' => array( 'cols' => array( 6 ),
360
+ 'rows' => array( 1 ),
361
+ 'tags' => array( 'product_model_fieldcolumn' ),
362
+ 'items' => array( 'simple_grid_field6' ),
363
+ 'fixedAtServer' => false,
364
+ 'fixedAtClient' => false ),
365
+ 'cell_field7' => array( 'cols' => array( 7 ),
366
+ 'rows' => array( 1 ),
367
+ 'tags' => array( 'product_serial_number_fieldcolumn' ),
368
+ 'items' => array( 'simple_grid_field7' ),
369
+ 'fixedAtServer' => false,
370
+ 'fixedAtClient' => false ),
371
+ 'cell_field8' => array( 'cols' => array( 8 ),
372
+ 'rows' => array( 1 ),
373
+ 'tags' => array( 'purchase_date_fieldcolumn' ),
374
+ 'items' => array( 'simple_grid_field8' ),
375
+ 'fixedAtServer' => false,
376
+ 'fixedAtClient' => false ),
377
+ 'cell_field9' => array( 'cols' => array( 9 ),
378
+ 'rows' => array( 1 ),
379
+ 'tags' => array( 'purchase_price_fieldcolumn' ),
380
+ 'items' => array( 'simple_grid_field9' ),
381
+ 'fixedAtServer' => false,
382
+ 'fixedAtClient' => false ),
383
+ 'cell_field10' => array( 'cols' => array( 10 ),
384
+ 'rows' => array( 1 ),
385
+ 'tags' => array( 'condition_rating_fieldcolumn' ),
386
+ 'items' => array( 'simple_grid_field10' ),
387
+ 'fixedAtServer' => false,
388
+ 'fixedAtClient' => false ),
389
+ 'cell_field11' => array( 'cols' => array( 11 ),
390
+ 'rows' => array( 1 ),
391
+ 'tags' => array( 'metal_purity_fieldcolumn' ),
392
+ 'items' => array( 'simple_grid_field11' ),
393
+ 'fixedAtServer' => false,
394
+ 'fixedAtClient' => false ),
395
+ 'cell_field12' => array( 'cols' => array( 12 ),
396
+ 'rows' => array( 1 ),
397
+ 'tags' => array( 'metal_weight_fieldcolumn' ),
398
+ 'items' => array( 'simple_grid_field12' ),
399
+ 'fixedAtServer' => false,
400
+ 'fixedAtClient' => false ),
401
+ 'cell_field13' => array( 'cols' => array( 13 ),
402
+ 'rows' => array( 1 ),
403
+ 'tags' => array( 'gemstone_certification_fieldcolumn' ),
404
+ 'items' => array( 'simple_grid_field13' ),
405
+ 'fixedAtServer' => false,
406
+ 'fixedAtClient' => false ),
407
+ 'cell_field14' => array( 'cols' => array( 14 ),
408
+ 'rows' => array( 1 ),
409
+ 'tags' => array( 'initial_fieldcolumn' ),
410
+ 'items' => array( 'simple_grid_field14' ),
411
+ 'fixedAtServer' => false,
412
+ 'fixedAtClient' => false ),
413
+ 'footcell_field' => array( 'cols' => array( 0 ),
414
+ 'rows' => array( 2 ),
415
+ 'tags' => array( ),
416
+ 'items' => array( ),
417
+ 'fixedAtServer' => false,
418
+ 'fixedAtClient' => false ),
419
+ 'footcell_field1' => array( 'cols' => array( 1 ),
420
+ 'rows' => array( 2 ),
421
+ 'tags' => array( ),
422
+ 'items' => array( ),
423
+ 'fixedAtServer' => false,
424
+ 'fixedAtClient' => false ),
425
+ 'footcell_field2' => array( 'cols' => array( 2 ),
426
+ 'rows' => array( 2 ),
427
+ 'tags' => array( ),
428
+ 'items' => array( ),
429
+ 'fixedAtServer' => false,
430
+ 'fixedAtClient' => false ),
431
+ 'footcell_field3' => array( 'cols' => array( 3 ),
432
+ 'rows' => array( 2 ),
433
+ 'tags' => array( ),
434
+ 'items' => array( ),
435
+ 'fixedAtServer' => false,
436
+ 'fixedAtClient' => false ),
437
+ 'footcell_field4' => array( 'cols' => array( 4 ),
438
+ 'rows' => array( 2 ),
439
+ 'tags' => array( ),
440
+ 'items' => array( ),
441
+ 'fixedAtServer' => false,
442
+ 'fixedAtClient' => false ),
443
+ 'footcell_field5' => array( 'cols' => array( 5 ),
444
+ 'rows' => array( 2 ),
445
+ 'tags' => array( ),
446
+ 'items' => array( ),
447
+ 'fixedAtServer' => false,
448
+ 'fixedAtClient' => false ),
449
+ 'footcell_field6' => array( 'cols' => array( 6 ),
450
+ 'rows' => array( 2 ),
451
+ 'tags' => array( ),
452
+ 'items' => array( ),
453
+ 'fixedAtServer' => false,
454
+ 'fixedAtClient' => false ),
455
+ 'footcell_field7' => array( 'cols' => array( 7 ),
456
+ 'rows' => array( 2 ),
457
+ 'tags' => array( ),
458
+ 'items' => array( ),
459
+ 'fixedAtServer' => false,
460
+ 'fixedAtClient' => false ),
461
+ 'footcell_field8' => array( 'cols' => array( 8 ),
462
+ 'rows' => array( 2 ),
463
+ 'tags' => array( ),
464
+ 'items' => array( ),
465
+ 'fixedAtServer' => false,
466
+ 'fixedAtClient' => false ),
467
+ 'footcell_field9' => array( 'cols' => array( 9 ),
468
+ 'rows' => array( 2 ),
469
+ 'tags' => array( ),
470
+ 'items' => array( ),
471
+ 'fixedAtServer' => false,
472
+ 'fixedAtClient' => false ),
473
+ 'footcell_field10' => array( 'cols' => array( 10 ),
474
+ 'rows' => array( 2 ),
475
+ 'tags' => array( ),
476
+ 'items' => array( ),
477
+ 'fixedAtServer' => false,
478
+ 'fixedAtClient' => false ),
479
+ 'footcell_field11' => array( 'cols' => array( 11 ),
480
+ 'rows' => array( 2 ),
481
+ 'tags' => array( ),
482
+ 'items' => array( ),
483
+ 'fixedAtServer' => false,
484
+ 'fixedAtClient' => false ),
485
+ 'footcell_field12' => array( 'cols' => array( 12 ),
486
+ 'rows' => array( 2 ),
487
+ 'tags' => array( ),
488
+ 'items' => array( ),
489
+ 'fixedAtServer' => false,
490
+ 'fixedAtClient' => false ),
491
+ 'footcell_field13' => array( 'cols' => array( 13 ),
492
+ 'rows' => array( 2 ),
493
+ 'tags' => array( ),
494
+ 'items' => array( ),
495
+ 'fixedAtServer' => false,
496
+ 'fixedAtClient' => false ),
497
+ 'footcell_field14' => array( 'cols' => array( 14 ),
498
+ 'rows' => array( 2 ),
499
+ 'tags' => array( ),
500
+ 'items' => array( ),
501
+ 'fixedAtServer' => false,
502
+ 'fixedAtClient' => false ) ),
503
+ 'width' => 15,
504
+ 'height' => 3 ) ) ),
505
+ 'loginForm' => array( 'loginForm' => 3 ),
506
+ 'page' => array( 'verticalBar' => false,
507
+ 'labeledButtons' => array( 'update_records' => array( ),
508
+ 'print_pages' => array( 'print_pages' => array( 'tag' => 'PRINT_PAGES',
509
+ 'type' => 2 ) ),
510
+ 'register_activate_message' => array( ),
511
+ 'details_found' => array( ) ),
512
+ 'gridType' => 0,
513
+ 'recsPerRow' => 1,
514
+ 'hasCustomButtons' => false,
515
+ 'customButtons' => array( ),
516
+ 'hasNotifications' => false,
517
+ 'menus' => array( ),
518
+ 'calcTotalsFor' => 1 ),
519
+ 'misc' => array( 'type' => 'print',
520
+ 'breadcrumb' => false ),
521
+ 'events' => array( 'maps' => array( ),
522
+ 'mapsData' => array( ),
523
+ 'buttons' => array( ) ),
524
+ 'dataGrid' => array( 'groupFields' => array( ) ) );
525
+ $pageArray = array( 'id' => 'print',
526
+ 'type' => 'print',
527
+ 'layoutId' => 'basic',
528
+ 'disabled' => 0,
529
+ 'default' => 0,
530
+ 'forms' => array( 'above-grid' => array( 'modelId' => 'print-above-grid',
531
+ 'grid' => array( array( 'cells' => array( array( 'cell' => 'c1' ) ),
532
+ 'section' => '' ) ),
533
+ 'cells' => array( 'c1' => array( 'model' => 'c1',
534
+ 'items' => array( 'print_pages' ) ) ),
535
+ 'deferredItems' => array( ),
536
+ 'recsPerRow' => 1 ),
537
+ 'below-grid' => array( 'modelId' => 'print-below-grid',
538
+ 'grid' => array( array( 'cells' => array( array( 'cell' => 'c1' ) ),
539
+ 'section' => '' ) ),
540
+ 'cells' => array( 'c1' => array( 'model' => 'c1',
541
+ 'items' => array( ) ) ),
542
+ 'deferredItems' => array( ),
543
+ 'recsPerRow' => 1 ),
544
+ 'top' => array( 'modelId' => 'print-header',
545
+ 'grid' => array( array( 'cells' => array( array( 'cell' => 'c2' ) ),
546
+ 'section' => '' ) ),
547
+ 'cells' => array( 'c2' => array( 'model' => 'c2',
548
+ 'items' => array( 'print_header',
549
+ 'print_subheader' ) ) ),
550
+ 'deferredItems' => array( ),
551
+ 'recsPerRow' => 1 ),
552
+ 'grid' => array( 'modelId' => 'horizontal-grid',
553
+ 'grid' => array( array( 'section' => 'head',
554
+ 'cells' => array( array( 'cell' => 'headcell_field' ),
555
+ array( 'cell' => 'headcell_field1' ),
556
+ array( 'cell' => 'headcell_field2' ),
557
+ array( 'cell' => 'headcell_field3' ),
558
+ array( 'cell' => 'headcell_field4' ),
559
+ array( 'cell' => 'headcell_field5' ),
560
+ array( 'cell' => 'headcell_field6' ),
561
+ array( 'cell' => 'headcell_field7' ),
562
+ array( 'cell' => 'headcell_field8' ),
563
+ array( 'cell' => 'headcell_field9' ),
564
+ array( 'cell' => 'headcell_field10' ),
565
+ array( 'cell' => 'headcell_field11' ),
566
+ array( 'cell' => 'headcell_field12' ),
567
+ array( 'cell' => 'headcell_field13' ),
568
+ array( 'cell' => 'headcell_field14' ) ) ),
569
+ array( 'section' => 'body',
570
+ 'cells' => array( array( 'cell' => 'cell_field' ),
571
+ array( 'cell' => 'cell_field1' ),
572
+ array( 'cell' => 'cell_field2' ),
573
+ array( 'cell' => 'cell_field3' ),
574
+ array( 'cell' => 'cell_field4' ),
575
+ array( 'cell' => 'cell_field5' ),
576
+ array( 'cell' => 'cell_field6' ),
577
+ array( 'cell' => 'cell_field7' ),
578
+ array( 'cell' => 'cell_field8' ),
579
+ array( 'cell' => 'cell_field9' ),
580
+ array( 'cell' => 'cell_field10' ),
581
+ array( 'cell' => 'cell_field11' ),
582
+ array( 'cell' => 'cell_field12' ),
583
+ array( 'cell' => 'cell_field13' ),
584
+ array( 'cell' => 'cell_field14' ) ) ),
585
+ array( 'section' => 'foot',
586
+ 'cells' => array( array( 'cell' => 'footcell_field' ),
587
+ array( 'cell' => 'footcell_field1' ),
588
+ array( 'cell' => 'footcell_field2' ),
589
+ array( 'cell' => 'footcell_field3' ),
590
+ array( 'cell' => 'footcell_field4' ),
591
+ array( 'cell' => 'footcell_field5' ),
592
+ array( 'cell' => 'footcell_field6' ),
593
+ array( 'cell' => 'footcell_field7' ),
594
+ array( 'cell' => 'footcell_field8' ),
595
+ array( 'cell' => 'footcell_field9' ),
596
+ array( 'cell' => 'footcell_field10' ),
597
+ array( 'cell' => 'footcell_field11' ),
598
+ array( 'cell' => 'footcell_field12' ),
599
+ array( 'cell' => 'footcell_field13' ),
600
+ array( 'cell' => 'footcell_field14' ) ) ) ),
601
+ 'cells' => array( 'headcell_field' => array( 'model' => 'headcell_field',
602
+ 'items' => array( 'simple_grid_field15' ),
603
+ 'field' => 'id',
604
+ 'columnName' => 'field' ),
605
+ 'cell_field' => array( 'model' => 'cell_field',
606
+ 'items' => array( 'simple_grid_field' ),
607
+ 'field' => 'id',
608
+ 'columnName' => 'field' ),
609
+ 'footcell_field' => array( 'model' => 'footcell_field',
610
+ 'items' => array( ) ),
611
+ 'headcell_field1' => array( 'model' => 'headcell_field',
612
+ 'items' => array( 'simple_grid_field16' ),
613
+ 'field' => 'date',
614
+ 'columnName' => 'field' ),
615
+ 'cell_field1' => array( 'model' => 'cell_field',
616
+ 'items' => array( 'simple_grid_field1' ),
617
+ 'field' => 'date',
618
+ 'columnName' => 'field' ),
619
+ 'footcell_field1' => array( 'model' => 'footcell_field',
620
+ 'items' => array( ) ),
621
+ 'headcell_field2' => array( 'model' => 'headcell_field',
622
+ 'items' => array( 'simple_grid_field17' ),
623
+ 'field' => 'time',
624
+ 'columnName' => 'field' ),
625
+ 'cell_field2' => array( 'model' => 'cell_field',
626
+ 'items' => array( 'simple_grid_field2' ),
627
+ 'field' => 'time',
628
+ 'columnName' => 'field' ),
629
+ 'footcell_field2' => array( 'model' => 'footcell_field',
630
+ 'items' => array( ) ),
631
+ 'headcell_field3' => array( 'model' => 'headcell_field',
632
+ 'items' => array( 'simple_grid_field18' ),
633
+ 'field' => 'customer_name',
634
+ 'columnName' => 'field' ),
635
+ 'cell_field3' => array( 'model' => 'cell_field',
636
+ 'items' => array( 'simple_grid_field3' ),
637
+ 'field' => 'customer_name',
638
+ 'columnName' => 'field' ),
639
+ 'footcell_field3' => array( 'model' => 'footcell_field',
640
+ 'items' => array( ) ),
641
+ 'headcell_field4' => array( 'model' => 'headcell_field',
642
+ 'items' => array( 'simple_grid_field19' ),
643
+ 'field' => 'product_type',
644
+ 'columnName' => 'field' ),
645
+ 'cell_field4' => array( 'model' => 'cell_field',
646
+ 'items' => array( 'simple_grid_field4' ),
647
+ 'field' => 'product_type',
648
+ 'columnName' => 'field' ),
649
+ 'footcell_field4' => array( 'model' => 'footcell_field',
650
+ 'items' => array( ) ),
651
+ 'headcell_field5' => array( 'model' => 'headcell_field',
652
+ 'items' => array( 'simple_grid_field20' ),
653
+ 'field' => 'product_brand',
654
+ 'columnName' => 'field' ),
655
+ 'cell_field5' => array( 'model' => 'cell_field',
656
+ 'items' => array( 'simple_grid_field5' ),
657
+ 'field' => 'product_brand',
658
+ 'columnName' => 'field' ),
659
+ 'footcell_field5' => array( 'model' => 'footcell_field',
660
+ 'items' => array( ) ),
661
+ 'headcell_field6' => array( 'model' => 'headcell_field',
662
+ 'items' => array( 'simple_grid_field21' ),
663
+ 'field' => 'product_model',
664
+ 'columnName' => 'field' ),
665
+ 'cell_field6' => array( 'model' => 'cell_field',
666
+ 'items' => array( 'simple_grid_field6' ),
667
+ 'field' => 'product_model',
668
+ 'columnName' => 'field' ),
669
+ 'footcell_field6' => array( 'model' => 'footcell_field',
670
+ 'items' => array( ) ),
671
+ 'headcell_field7' => array( 'model' => 'headcell_field',
672
+ 'items' => array( 'simple_grid_field22' ),
673
+ 'field' => 'product_serial_number',
674
+ 'columnName' => 'field' ),
675
+ 'cell_field7' => array( 'model' => 'cell_field',
676
+ 'items' => array( 'simple_grid_field7' ),
677
+ 'field' => 'product_serial_number',
678
+ 'columnName' => 'field' ),
679
+ 'footcell_field7' => array( 'model' => 'footcell_field',
680
+ 'items' => array( ) ),
681
+ 'headcell_field8' => array( 'model' => 'headcell_field',
682
+ 'items' => array( 'simple_grid_field23' ),
683
+ 'field' => 'purchase_date',
684
+ 'columnName' => 'field' ),
685
+ 'cell_field8' => array( 'model' => 'cell_field',
686
+ 'items' => array( 'simple_grid_field8' ),
687
+ 'field' => 'purchase_date',
688
+ 'columnName' => 'field' ),
689
+ 'footcell_field8' => array( 'model' => 'footcell_field',
690
+ 'items' => array( ) ),
691
+ 'headcell_field9' => array( 'model' => 'headcell_field',
692
+ 'items' => array( 'simple_grid_field24' ),
693
+ 'field' => 'purchase_price',
694
+ 'columnName' => 'field' ),
695
+ 'cell_field9' => array( 'model' => 'cell_field',
696
+ 'items' => array( 'simple_grid_field9' ),
697
+ 'field' => 'purchase_price',
698
+ 'columnName' => 'field' ),
699
+ 'footcell_field9' => array( 'model' => 'footcell_field',
700
+ 'items' => array( ) ),
701
+ 'headcell_field10' => array( 'model' => 'headcell_field',
702
+ 'items' => array( 'simple_grid_field25' ),
703
+ 'field' => 'condition_rating',
704
+ 'columnName' => 'field' ),
705
+ 'cell_field10' => array( 'model' => 'cell_field',
706
+ 'items' => array( 'simple_grid_field10' ),
707
+ 'field' => 'condition_rating',
708
+ 'columnName' => 'field' ),
709
+ 'footcell_field10' => array( 'model' => 'footcell_field',
710
+ 'items' => array( ) ),
711
+ 'headcell_field11' => array( 'model' => 'headcell_field',
712
+ 'items' => array( 'simple_grid_field26' ),
713
+ 'field' => 'metal_purity',
714
+ 'columnName' => 'field' ),
715
+ 'cell_field11' => array( 'model' => 'cell_field',
716
+ 'items' => array( 'simple_grid_field11' ),
717
+ 'field' => 'metal_purity',
718
+ 'columnName' => 'field' ),
719
+ 'footcell_field11' => array( 'model' => 'footcell_field',
720
+ 'items' => array( ) ),
721
+ 'headcell_field12' => array( 'model' => 'headcell_field',
722
+ 'items' => array( 'simple_grid_field27' ),
723
+ 'field' => 'metal_weight',
724
+ 'columnName' => 'field' ),
725
+ 'cell_field12' => array( 'model' => 'cell_field',
726
+ 'items' => array( 'simple_grid_field12' ),
727
+ 'field' => 'metal_weight',
728
+ 'columnName' => 'field' ),
729
+ 'footcell_field12' => array( 'model' => 'footcell_field',
730
+ 'items' => array( ) ),
731
+ 'headcell_field13' => array( 'model' => 'headcell_field',
732
+ 'items' => array( 'simple_grid_field28' ),
733
+ 'field' => 'gemstone_certification',
734
+ 'columnName' => 'field' ),
735
+ 'cell_field13' => array( 'model' => 'cell_field',
736
+ 'items' => array( 'simple_grid_field13' ),
737
+ 'field' => 'gemstone_certification',
738
+ 'columnName' => 'field' ),
739
+ 'footcell_field13' => array( 'model' => 'footcell_field',
740
+ 'items' => array( ) ),
741
+ 'headcell_field14' => array( 'model' => 'headcell_field',
742
+ 'items' => array( 'simple_grid_field29' ),
743
+ 'field' => 'initial',
744
+ 'columnName' => 'field' ),
745
+ 'cell_field14' => array( 'model' => 'cell_field',
746
+ 'items' => array( 'simple_grid_field14' ),
747
+ 'field' => 'initial',
748
+ 'columnName' => 'field' ),
749
+ 'footcell_field14' => array( 'model' => 'footcell_field',
750
+ 'items' => array( ) ) ),
751
+ 'deferredItems' => array( ),
752
+ 'recsPerRow' => 1 ) ),
753
+ 'items' => array( 'print_header' => array( 'type' => 'print_header' ),
754
+ 'print_subheader' => array( 'type' => 'print_subheader' ),
755
+ 'print_pages' => array( 'type' => 'print_pages' ),
756
+ 'simple_grid_field' => array( 'field' => 'id',
757
+ 'type' => 'grid_field' ),
758
+ 'simple_grid_field15' => array( 'type' => 'grid_field_label',
759
+ 'field' => 'id' ),
760
+ 'simple_grid_field1' => array( 'field' => 'date',
761
+ 'type' => 'grid_field' ),
762
+ 'simple_grid_field16' => array( 'type' => 'grid_field_label',
763
+ 'field' => 'date' ),
764
+ 'simple_grid_field2' => array( 'field' => 'time',
765
+ 'type' => 'grid_field' ),
766
+ 'simple_grid_field17' => array( 'type' => 'grid_field_label',
767
+ 'field' => 'time' ),
768
+ 'simple_grid_field3' => array( 'field' => 'customer_name',
769
+ 'type' => 'grid_field' ),
770
+ 'simple_grid_field18' => array( 'type' => 'grid_field_label',
771
+ 'field' => 'customer_name' ),
772
+ 'simple_grid_field4' => array( 'field' => 'product_type',
773
+ 'type' => 'grid_field' ),
774
+ 'simple_grid_field19' => array( 'type' => 'grid_field_label',
775
+ 'field' => 'product_type' ),
776
+ 'simple_grid_field5' => array( 'field' => 'product_brand',
777
+ 'type' => 'grid_field' ),
778
+ 'simple_grid_field20' => array( 'type' => 'grid_field_label',
779
+ 'field' => 'product_brand' ),
780
+ 'simple_grid_field6' => array( 'field' => 'product_model',
781
+ 'type' => 'grid_field' ),
782
+ 'simple_grid_field21' => array( 'type' => 'grid_field_label',
783
+ 'field' => 'product_model' ),
784
+ 'simple_grid_field7' => array( 'field' => 'product_serial_number',
785
+ 'type' => 'grid_field' ),
786
+ 'simple_grid_field22' => array( 'type' => 'grid_field_label',
787
+ 'field' => 'product_serial_number' ),
788
+ 'simple_grid_field8' => array( 'field' => 'purchase_date',
789
+ 'type' => 'grid_field' ),
790
+ 'simple_grid_field23' => array( 'type' => 'grid_field_label',
791
+ 'field' => 'purchase_date' ),
792
+ 'simple_grid_field9' => array( 'field' => 'purchase_price',
793
+ 'type' => 'grid_field' ),
794
+ 'simple_grid_field24' => array( 'type' => 'grid_field_label',
795
+ 'field' => 'purchase_price' ),
796
+ 'simple_grid_field10' => array( 'field' => 'condition_rating',
797
+ 'type' => 'grid_field' ),
798
+ 'simple_grid_field25' => array( 'type' => 'grid_field_label',
799
+ 'field' => 'condition_rating' ),
800
+ 'simple_grid_field11' => array( 'field' => 'metal_purity',
801
+ 'type' => 'grid_field' ),
802
+ 'simple_grid_field26' => array( 'type' => 'grid_field_label',
803
+ 'field' => 'metal_purity' ),
804
+ 'simple_grid_field12' => array( 'field' => 'metal_weight',
805
+ 'type' => 'grid_field' ),
806
+ 'simple_grid_field27' => array( 'type' => 'grid_field_label',
807
+ 'field' => 'metal_weight' ),
808
+ 'simple_grid_field13' => array( 'field' => 'gemstone_certification',
809
+ 'type' => 'grid_field' ),
810
+ 'simple_grid_field28' => array( 'type' => 'grid_field_label',
811
+ 'field' => 'gemstone_certification' ),
812
+ 'simple_grid_field14' => array( 'field' => 'initial',
813
+ 'type' => 'grid_field' ),
814
+ 'simple_grid_field29' => array( 'type' => 'grid_field_label',
815
+ 'field' => 'initial' ) ),
816
+ 'dbProps' => array( ),
817
+ 'version' => 14,
818
+ 'imageItem' => array( 'type' => 'page_image' ),
819
+ 'imageBgColor' => '#f2f2f2',
820
+ 'controlsBgColor' => 'white',
821
+ 'imagePosition' => 'right',
822
+ 'listTotals' => 1 );
823
+ ?>
php/include/pages/appointments_search.php ADDED
@@ -0,0 +1,292 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ $optionsArray = array( 'fields' => array( 'gridFields' => array( 'id',
3
+ 'date',
4
+ 'time',
5
+ 'customer_name',
6
+ 'product_type',
7
+ 'product_brand',
8
+ 'product_model',
9
+ 'product_serial_number',
10
+ 'purchase_date',
11
+ 'purchase_price',
12
+ 'condition_rating',
13
+ 'metal_purity',
14
+ 'metal_weight',
15
+ 'gemstone_certification',
16
+ 'initial' ),
17
+ 'searchRequiredFields' => array( ),
18
+ 'searchPanelFields' => array( ),
19
+ 'fieldItems' => array( 'id' => array( 'integrated_search_field' ),
20
+ 'date' => array( 'integrated_search_field1' ),
21
+ 'time' => array( 'integrated_search_field2' ),
22
+ 'customer_name' => array( 'integrated_search_field3' ),
23
+ 'product_type' => array( 'integrated_search_field4' ),
24
+ 'product_brand' => array( 'integrated_search_field5' ),
25
+ 'product_model' => array( 'integrated_search_field6' ),
26
+ 'product_serial_number' => array( 'integrated_search_field7' ),
27
+ 'purchase_date' => array( 'integrated_search_field8' ),
28
+ 'purchase_price' => array( 'integrated_search_field9' ),
29
+ 'condition_rating' => array( 'integrated_search_field10' ),
30
+ 'metal_purity' => array( 'integrated_search_field11' ),
31
+ 'metal_weight' => array( 'integrated_search_field12' ),
32
+ 'gemstone_certification' => array( 'integrated_search_field13' ),
33
+ 'initial' => array( 'integrated_search_field14' ) ) ),
34
+ 'pageLinks' => array( 'edit' => false,
35
+ 'add' => false,
36
+ 'view' => false,
37
+ 'print' => false ),
38
+ 'layoutHelper' => array( 'formItems' => array( 'formItems' => array( 'above-grid' => array( ),
39
+ 'below-grid' => array( 'search_search',
40
+ 'search_reset',
41
+ 'search_back_list',
42
+ 'search_cancel' ),
43
+ 'top' => array( 'search_header' ),
44
+ 'grid' => array( 'integrated_search_field',
45
+ 'integrated_search_field1',
46
+ 'integrated_search_field2',
47
+ 'integrated_search_field3',
48
+ 'integrated_search_field4',
49
+ 'integrated_search_field5',
50
+ 'integrated_search_field6',
51
+ 'integrated_search_field7',
52
+ 'integrated_search_field8',
53
+ 'integrated_search_field9',
54
+ 'integrated_search_field10',
55
+ 'integrated_search_field11',
56
+ 'integrated_search_field12',
57
+ 'integrated_search_field13',
58
+ 'integrated_search_field14' ) ),
59
+ 'formXtTags' => array( 'above-grid' => array( ) ),
60
+ 'itemForms' => array( 'search_search' => 'below-grid',
61
+ 'search_reset' => 'below-grid',
62
+ 'search_back_list' => 'below-grid',
63
+ 'search_cancel' => 'below-grid',
64
+ 'search_header' => 'top',
65
+ 'integrated_search_field' => 'grid',
66
+ 'integrated_search_field1' => 'grid',
67
+ 'integrated_search_field2' => 'grid',
68
+ 'integrated_search_field3' => 'grid',
69
+ 'integrated_search_field4' => 'grid',
70
+ 'integrated_search_field5' => 'grid',
71
+ 'integrated_search_field6' => 'grid',
72
+ 'integrated_search_field7' => 'grid',
73
+ 'integrated_search_field8' => 'grid',
74
+ 'integrated_search_field9' => 'grid',
75
+ 'integrated_search_field10' => 'grid',
76
+ 'integrated_search_field11' => 'grid',
77
+ 'integrated_search_field12' => 'grid',
78
+ 'integrated_search_field13' => 'grid',
79
+ 'integrated_search_field14' => 'grid' ),
80
+ 'itemLocations' => array( 'integrated_search_field' => array( 'location' => 'grid',
81
+ 'cellId' => 'c3' ),
82
+ 'integrated_search_field1' => array( 'location' => 'grid',
83
+ 'cellId' => 'c3' ),
84
+ 'integrated_search_field2' => array( 'location' => 'grid',
85
+ 'cellId' => 'c3' ),
86
+ 'integrated_search_field3' => array( 'location' => 'grid',
87
+ 'cellId' => 'c3' ),
88
+ 'integrated_search_field4' => array( 'location' => 'grid',
89
+ 'cellId' => 'c3' ),
90
+ 'integrated_search_field5' => array( 'location' => 'grid',
91
+ 'cellId' => 'c3' ),
92
+ 'integrated_search_field6' => array( 'location' => 'grid',
93
+ 'cellId' => 'c3' ),
94
+ 'integrated_search_field7' => array( 'location' => 'grid',
95
+ 'cellId' => 'c3' ),
96
+ 'integrated_search_field8' => array( 'location' => 'grid',
97
+ 'cellId' => 'c3' ),
98
+ 'integrated_search_field9' => array( 'location' => 'grid',
99
+ 'cellId' => 'c3' ),
100
+ 'integrated_search_field10' => array( 'location' => 'grid',
101
+ 'cellId' => 'c3' ),
102
+ 'integrated_search_field11' => array( 'location' => 'grid',
103
+ 'cellId' => 'c3' ),
104
+ 'integrated_search_field12' => array( 'location' => 'grid',
105
+ 'cellId' => 'c3' ),
106
+ 'integrated_search_field13' => array( 'location' => 'grid',
107
+ 'cellId' => 'c3' ),
108
+ 'integrated_search_field14' => array( 'location' => 'grid',
109
+ 'cellId' => 'c3' ) ),
110
+ 'itemVisiblity' => array( ) ),
111
+ 'itemsByType' => array( 'search_header' => array( 'search_header' ),
112
+ 'search_reset' => array( 'search_reset' ),
113
+ 'search_back_list' => array( 'search_back_list' ),
114
+ 'search_search' => array( 'search_search' ),
115
+ 'search_cancel' => array( 'search_cancel' ),
116
+ 'integrated_search_field' => array( 'integrated_search_field',
117
+ 'integrated_search_field1',
118
+ 'integrated_search_field2',
119
+ 'integrated_search_field3',
120
+ 'integrated_search_field4',
121
+ 'integrated_search_field5',
122
+ 'integrated_search_field6',
123
+ 'integrated_search_field7',
124
+ 'integrated_search_field8',
125
+ 'integrated_search_field9',
126
+ 'integrated_search_field10',
127
+ 'integrated_search_field11',
128
+ 'integrated_search_field12',
129
+ 'integrated_search_field13',
130
+ 'integrated_search_field14' ) ),
131
+ 'cellMaps' => array( 'grid' => array( 'cells' => array( 'c3' => array( 'cols' => array( 0 ),
132
+ 'rows' => array( 0 ),
133
+ 'tags' => array( ),
134
+ 'items' => array( 'integrated_search_field',
135
+ 'integrated_search_field1',
136
+ 'integrated_search_field2',
137
+ 'integrated_search_field3',
138
+ 'integrated_search_field4',
139
+ 'integrated_search_field5',
140
+ 'integrated_search_field6',
141
+ 'integrated_search_field7',
142
+ 'integrated_search_field8',
143
+ 'integrated_search_field9',
144
+ 'integrated_search_field10',
145
+ 'integrated_search_field11',
146
+ 'integrated_search_field12',
147
+ 'integrated_search_field13',
148
+ 'integrated_search_field14' ),
149
+ 'fixedAtServer' => true,
150
+ 'fixedAtClient' => false ) ),
151
+ 'width' => 1,
152
+ 'height' => 1 ) ) ),
153
+ 'loginForm' => array( 'loginForm' => 3 ),
154
+ 'page' => array( 'verticalBar' => false,
155
+ 'labeledButtons' => array( 'update_records' => array( ),
156
+ 'print_pages' => array( ),
157
+ 'register_activate_message' => array( ),
158
+ 'details_found' => array( ) ),
159
+ 'hasCustomButtons' => false,
160
+ 'customButtons' => array( ),
161
+ 'hasNotifications' => false,
162
+ 'menus' => array( ),
163
+ 'calcTotalsFor' => 1 ),
164
+ 'misc' => array( 'type' => 'search',
165
+ 'breadcrumb' => false ),
166
+ 'events' => array( 'maps' => array( ),
167
+ 'mapsData' => array( ),
168
+ 'buttons' => array( ) ) );
169
+ $pageArray = array( 'id' => 'search',
170
+ 'type' => 'search',
171
+ 'layoutId' => 'nomenu',
172
+ 'disabled' => 0,
173
+ 'default' => 0,
174
+ 'forms' => array( 'above-grid' => array( 'modelId' => 'search-above-grid',
175
+ 'grid' => array( array( 'cells' => array( array( 'cell' => 'c1',
176
+ 'colspan' => 2 ) ),
177
+ 'section' => '' ) ),
178
+ 'cells' => array( 'c1' => array( 'model' => 'c1',
179
+ 'items' => array( ) ) ),
180
+ 'deferredItems' => array( ),
181
+ 'recsPerRow' => 1 ),
182
+ 'below-grid' => array( 'modelId' => 'search-below-grid',
183
+ 'grid' => array( array( 'cells' => array( array( 'cell' => 'c1' ) ),
184
+ 'section' => '' ) ),
185
+ 'cells' => array( 'c1' => array( 'model' => 'c1',
186
+ 'items' => array( 'search_search',
187
+ 'search_reset',
188
+ 'search_back_list',
189
+ 'search_cancel' ) ) ),
190
+ 'deferredItems' => array( ),
191
+ 'recsPerRow' => 1 ),
192
+ 'top' => array( 'modelId' => 'search-header',
193
+ 'grid' => array( array( 'cells' => array( array( 'cell' => 'c1' ) ),
194
+ 'section' => '' ) ),
195
+ 'cells' => array( 'c1' => array( 'model' => 'c1',
196
+ 'items' => array( 'search_header' ) ) ),
197
+ 'deferredItems' => array( ),
198
+ 'recsPerRow' => 1 ),
199
+ 'grid' => array( 'modelId' => 'simple-search',
200
+ 'grid' => array( array( 'cells' => array( array( 'cell' => 'c3' ) ),
201
+ 'section' => '' ) ),
202
+ 'cells' => array( 'c3' => array( 'model' => 'c3',
203
+ 'items' => array( 'integrated_search_field',
204
+ 'integrated_search_field1',
205
+ 'integrated_search_field2',
206
+ 'integrated_search_field3',
207
+ 'integrated_search_field4',
208
+ 'integrated_search_field5',
209
+ 'integrated_search_field6',
210
+ 'integrated_search_field7',
211
+ 'integrated_search_field8',
212
+ 'integrated_search_field9',
213
+ 'integrated_search_field10',
214
+ 'integrated_search_field11',
215
+ 'integrated_search_field12',
216
+ 'integrated_search_field13',
217
+ 'integrated_search_field14' ) ) ),
218
+ 'deferredItems' => array( ),
219
+ 'separateLabels' => false ) ),
220
+ 'items' => array( 'search_header' => array( 'type' => 'search_header' ),
221
+ 'search_reset' => array( 'type' => 'search_reset' ),
222
+ 'search_back_list' => array( 'type' => 'search_back_list' ),
223
+ 'search_search' => array( 'type' => 'search_search' ),
224
+ 'search_cancel' => array( 'type' => 'search_cancel' ),
225
+ 'integrated_search_field' => array( 'field' => 'id',
226
+ 'type' => 'integrated_search_field',
227
+ 'orientation' => 0,
228
+ 'required' => false ),
229
+ 'integrated_search_field1' => array( 'field' => 'date',
230
+ 'type' => 'integrated_search_field',
231
+ 'orientation' => 0,
232
+ 'required' => false ),
233
+ 'integrated_search_field2' => array( 'field' => 'time',
234
+ 'type' => 'integrated_search_field',
235
+ 'orientation' => 0,
236
+ 'required' => false ),
237
+ 'integrated_search_field3' => array( 'field' => 'customer_name',
238
+ 'type' => 'integrated_search_field',
239
+ 'orientation' => 0,
240
+ 'required' => false ),
241
+ 'integrated_search_field4' => array( 'field' => 'product_type',
242
+ 'type' => 'integrated_search_field',
243
+ 'orientation' => 0,
244
+ 'required' => false ),
245
+ 'integrated_search_field5' => array( 'field' => 'product_brand',
246
+ 'type' => 'integrated_search_field',
247
+ 'orientation' => 0,
248
+ 'required' => false ),
249
+ 'integrated_search_field6' => array( 'field' => 'product_model',
250
+ 'type' => 'integrated_search_field',
251
+ 'orientation' => 0,
252
+ 'required' => false ),
253
+ 'integrated_search_field7' => array( 'field' => 'product_serial_number',
254
+ 'type' => 'integrated_search_field',
255
+ 'orientation' => 0,
256
+ 'required' => false ),
257
+ 'integrated_search_field8' => array( 'field' => 'purchase_date',
258
+ 'type' => 'integrated_search_field',
259
+ 'orientation' => 0,
260
+ 'required' => false ),
261
+ 'integrated_search_field9' => array( 'field' => 'purchase_price',
262
+ 'type' => 'integrated_search_field',
263
+ 'orientation' => 0,
264
+ 'required' => false ),
265
+ 'integrated_search_field10' => array( 'field' => 'condition_rating',
266
+ 'type' => 'integrated_search_field',
267
+ 'orientation' => 0,
268
+ 'required' => false ),
269
+ 'integrated_search_field11' => array( 'field' => 'metal_purity',
270
+ 'type' => 'integrated_search_field',
271
+ 'orientation' => 0,
272
+ 'required' => false ),
273
+ 'integrated_search_field12' => array( 'field' => 'metal_weight',
274
+ 'type' => 'integrated_search_field',
275
+ 'orientation' => 0,
276
+ 'required' => false ),
277
+ 'integrated_search_field13' => array( 'field' => 'gemstone_certification',
278
+ 'type' => 'integrated_search_field',
279
+ 'orientation' => 0,
280
+ 'required' => false ),
281
+ 'integrated_search_field14' => array( 'field' => 'initial',
282
+ 'type' => 'integrated_search_field',
283
+ 'orientation' => 0,
284
+ 'required' => false ) ),
285
+ 'dbProps' => array( ),
286
+ 'version' => 14,
287
+ 'imageItem' => array( 'type' => 'page_image' ),
288
+ 'imageBgColor' => '#f2f2f2',
289
+ 'controlsBgColor' => 'white',
290
+ 'imagePosition' => 'right',
291
+ 'listTotals' => 1 );
292
+ ?>
php/include/pages/appointments_view.php ADDED
@@ -0,0 +1,321 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ $optionsArray = array( 'pdf' => array( 'pdfView' => false ),
3
+ 'fields' => array( 'gridFields' => array( 'id',
4
+ 'date',
5
+ 'time',
6
+ 'customer_name',
7
+ 'product_type',
8
+ 'product_brand',
9
+ 'product_model',
10
+ 'product_serial_number',
11
+ 'purchase_date',
12
+ 'purchase_price',
13
+ 'condition_rating',
14
+ 'metal_purity',
15
+ 'metal_weight',
16
+ 'gemstone_certification',
17
+ 'initial' ),
18
+ 'searchRequiredFields' => array( ),
19
+ 'searchPanelFields' => array( ),
20
+ 'fieldItems' => array( 'id' => array( 'integrated_edit_field' ),
21
+ 'date' => array( 'integrated_edit_field1' ),
22
+ 'time' => array( 'integrated_edit_field2' ),
23
+ 'customer_name' => array( 'integrated_edit_field3' ),
24
+ 'product_type' => array( 'integrated_edit_field4' ),
25
+ 'product_brand' => array( 'integrated_edit_field5' ),
26
+ 'product_model' => array( 'integrated_edit_field6' ),
27
+ 'product_serial_number' => array( 'integrated_edit_field7' ),
28
+ 'purchase_date' => array( 'integrated_edit_field8' ),
29
+ 'purchase_price' => array( 'integrated_edit_field9' ),
30
+ 'condition_rating' => array( 'integrated_edit_field10' ),
31
+ 'metal_purity' => array( 'integrated_edit_field11' ),
32
+ 'metal_weight' => array( 'integrated_edit_field12' ),
33
+ 'gemstone_certification' => array( 'integrated_edit_field13' ),
34
+ 'initial' => array( 'integrated_edit_field14' ) ) ),
35
+ 'pageLinks' => array( 'edit' => true,
36
+ 'add' => false,
37
+ 'view' => false,
38
+ 'print' => false ),
39
+ 'layoutHelper' => array( 'formItems' => array( 'formItems' => array( 'above-grid' => array( ),
40
+ 'below-grid' => array( 'view_back_list',
41
+ 'view_close',
42
+ 'hamburger' ),
43
+ 'supertop' => array( 'logo',
44
+ 'menu',
45
+ 'loginform_login',
46
+ 'username_button' ),
47
+ 'top' => array( 'view_header' ),
48
+ 'grid' => array( 'integrated_edit_field',
49
+ 'integrated_edit_field1',
50
+ 'integrated_edit_field2',
51
+ 'integrated_edit_field3',
52
+ 'integrated_edit_field4',
53
+ 'integrated_edit_field5',
54
+ 'integrated_edit_field6',
55
+ 'integrated_edit_field7',
56
+ 'integrated_edit_field8',
57
+ 'integrated_edit_field9',
58
+ 'integrated_edit_field10',
59
+ 'integrated_edit_field11',
60
+ 'integrated_edit_field12',
61
+ 'integrated_edit_field13',
62
+ 'integrated_edit_field14' ) ),
63
+ 'formXtTags' => array( 'above-grid' => array( ) ),
64
+ 'itemForms' => array( 'view_back_list' => 'below-grid',
65
+ 'view_close' => 'below-grid',
66
+ 'hamburger' => 'below-grid',
67
+ 'logo' => 'supertop',
68
+ 'menu' => 'supertop',
69
+ 'loginform_login' => 'supertop',
70
+ 'username_button' => 'supertop',
71
+ 'view_header' => 'top',
72
+ 'integrated_edit_field' => 'grid',
73
+ 'integrated_edit_field1' => 'grid',
74
+ 'integrated_edit_field2' => 'grid',
75
+ 'integrated_edit_field3' => 'grid',
76
+ 'integrated_edit_field4' => 'grid',
77
+ 'integrated_edit_field5' => 'grid',
78
+ 'integrated_edit_field6' => 'grid',
79
+ 'integrated_edit_field7' => 'grid',
80
+ 'integrated_edit_field8' => 'grid',
81
+ 'integrated_edit_field9' => 'grid',
82
+ 'integrated_edit_field10' => 'grid',
83
+ 'integrated_edit_field11' => 'grid',
84
+ 'integrated_edit_field12' => 'grid',
85
+ 'integrated_edit_field13' => 'grid',
86
+ 'integrated_edit_field14' => 'grid' ),
87
+ 'itemLocations' => array( 'integrated_edit_field' => array( 'location' => 'grid',
88
+ 'cellId' => 'c3' ),
89
+ 'integrated_edit_field1' => array( 'location' => 'grid',
90
+ 'cellId' => 'c3' ),
91
+ 'integrated_edit_field2' => array( 'location' => 'grid',
92
+ 'cellId' => 'c3' ),
93
+ 'integrated_edit_field3' => array( 'location' => 'grid',
94
+ 'cellId' => 'c3' ),
95
+ 'integrated_edit_field4' => array( 'location' => 'grid',
96
+ 'cellId' => 'c3' ),
97
+ 'integrated_edit_field5' => array( 'location' => 'grid',
98
+ 'cellId' => 'c3' ),
99
+ 'integrated_edit_field6' => array( 'location' => 'grid',
100
+ 'cellId' => 'c3' ),
101
+ 'integrated_edit_field7' => array( 'location' => 'grid',
102
+ 'cellId' => 'c3' ),
103
+ 'integrated_edit_field8' => array( 'location' => 'grid',
104
+ 'cellId' => 'c3' ),
105
+ 'integrated_edit_field9' => array( 'location' => 'grid',
106
+ 'cellId' => 'c3' ),
107
+ 'integrated_edit_field10' => array( 'location' => 'grid',
108
+ 'cellId' => 'c3' ),
109
+ 'integrated_edit_field11' => array( 'location' => 'grid',
110
+ 'cellId' => 'c3' ),
111
+ 'integrated_edit_field12' => array( 'location' => 'grid',
112
+ 'cellId' => 'c3' ),
113
+ 'integrated_edit_field13' => array( 'location' => 'grid',
114
+ 'cellId' => 'c3' ),
115
+ 'integrated_edit_field14' => array( 'location' => 'grid',
116
+ 'cellId' => 'c3' ) ),
117
+ 'itemVisiblity' => array( 'menu' => 3,
118
+ 'username_button' => 3,
119
+ 'loginform_login' => 3 ) ),
120
+ 'itemsByType' => array( 'view_header' => array( 'view_header' ),
121
+ 'view_back_list' => array( 'view_back_list' ),
122
+ 'view_close' => array( 'view_close' ),
123
+ 'logo' => array( 'logo' ),
124
+ 'menu' => array( 'menu' ),
125
+ 'username_button' => array( 'username_button' ),
126
+ 'loginform_login' => array( 'loginform_login' ),
127
+ 'userinfo_link' => array( 'userinfo_link' ),
128
+ 'logout_link' => array( 'logout_link' ),
129
+ 'hamburger' => array( 'hamburger' ),
130
+ 'view_edit' => array( 'view_edit' ),
131
+ 'integrated_edit_field' => array( 'integrated_edit_field',
132
+ 'integrated_edit_field1',
133
+ 'integrated_edit_field2',
134
+ 'integrated_edit_field3',
135
+ 'integrated_edit_field4',
136
+ 'integrated_edit_field5',
137
+ 'integrated_edit_field6',
138
+ 'integrated_edit_field7',
139
+ 'integrated_edit_field8',
140
+ 'integrated_edit_field9',
141
+ 'integrated_edit_field10',
142
+ 'integrated_edit_field11',
143
+ 'integrated_edit_field12',
144
+ 'integrated_edit_field13',
145
+ 'integrated_edit_field14' ) ),
146
+ 'cellMaps' => array( 'grid' => array( 'cells' => array( 'c3' => array( 'cols' => array( 0 ),
147
+ 'rows' => array( 0 ),
148
+ 'tags' => array( ),
149
+ 'items' => array( 'integrated_edit_field',
150
+ 'integrated_edit_field1',
151
+ 'integrated_edit_field2',
152
+ 'integrated_edit_field3',
153
+ 'integrated_edit_field4',
154
+ 'integrated_edit_field5',
155
+ 'integrated_edit_field6',
156
+ 'integrated_edit_field7',
157
+ 'integrated_edit_field8',
158
+ 'integrated_edit_field9',
159
+ 'integrated_edit_field10',
160
+ 'integrated_edit_field11',
161
+ 'integrated_edit_field12',
162
+ 'integrated_edit_field13',
163
+ 'integrated_edit_field14' ),
164
+ 'fixedAtServer' => true,
165
+ 'fixedAtClient' => false ) ),
166
+ 'width' => 1,
167
+ 'height' => 1 ) ) ),
168
+ 'loginForm' => array( 'loginForm' => 0 ),
169
+ 'page' => array( 'verticalBar' => false,
170
+ 'labeledButtons' => array( 'update_records' => array( ),
171
+ 'print_pages' => array( ),
172
+ 'register_activate_message' => array( ),
173
+ 'details_found' => array( ) ),
174
+ 'hasCustomButtons' => false,
175
+ 'customButtons' => array( ),
176
+ 'hasNotifications' => false,
177
+ 'menus' => array( array( 'id' => 'main',
178
+ 'horizontal' => true ) ),
179
+ 'calcTotalsFor' => 1 ),
180
+ 'misc' => array( 'type' => 'view',
181
+ 'breadcrumb' => false,
182
+ 'nextPrev' => false ),
183
+ 'events' => array( 'maps' => array( ),
184
+ 'mapsData' => array( ),
185
+ 'buttons' => array( ) ) );
186
+ $pageArray = array( 'id' => 'view',
187
+ 'type' => 'view',
188
+ 'layoutId' => 'topbar',
189
+ 'disabled' => 0,
190
+ 'default' => 0,
191
+ 'forms' => array( 'above-grid' => array( 'modelId' => 'view-above-grid',
192
+ 'grid' => array( array( 'cells' => array( array( 'cell' => 'c1',
193
+ 'colspan' => 2 ) ),
194
+ 'section' => '' ) ),
195
+ 'cells' => array( 'c1' => array( 'model' => 'c1',
196
+ 'items' => array( ) ) ),
197
+ 'deferredItems' => array( ),
198
+ 'recsPerRow' => 1 ),
199
+ 'below-grid' => array( 'modelId' => 'view-below-grid',
200
+ 'grid' => array( array( 'cells' => array( array( 'cell' => 'c1' ),
201
+ array( 'cell' => 'c2' ) ),
202
+ 'section' => '' ) ),
203
+ 'cells' => array( 'c1' => array( 'model' => 'c1',
204
+ 'items' => array( 'view_back_list',
205
+ 'view_close' ) ),
206
+ 'c2' => array( 'model' => 'c2',
207
+ 'items' => array( 'hamburger' ) ) ),
208
+ 'deferredItems' => array( ),
209
+ 'recsPerRow' => 1 ),
210
+ 'supertop' => array( 'modelId' => 'topbar-edit',
211
+ 'grid' => array( array( 'cells' => array( array( 'cell' => 'c1' ),
212
+ array( 'cell' => 'c2' ),
213
+ array( 'cell' => 'c3' ) ),
214
+ 'section' => '' ) ),
215
+ 'cells' => array( 'c1' => array( 'model' => 'c1',
216
+ 'items' => array( 'logo' ) ),
217
+ 'c2' => array( 'model' => 'c2',
218
+ 'items' => array( 'menu' ) ),
219
+ 'c3' => array( 'model' => 'c3',
220
+ 'items' => array( 'loginform_login',
221
+ 'username_button' ) ) ),
222
+ 'deferredItems' => array( ),
223
+ 'recsPerRow' => 1 ),
224
+ 'top' => array( 'modelId' => 'view-header',
225
+ 'grid' => array( array( 'cells' => array( array( 'cell' => 'c1' ) ),
226
+ 'section' => '' ) ),
227
+ 'cells' => array( 'c1' => array( 'model' => 'c1',
228
+ 'items' => array( 'view_header' ) ) ),
229
+ 'deferredItems' => array( ),
230
+ 'recsPerRow' => 1 ),
231
+ 'grid' => array( 'modelId' => 'simple-edit',
232
+ 'grid' => array( array( 'cells' => array( array( 'cell' => 'c3' ) ),
233
+ 'section' => '' ) ),
234
+ 'cells' => array( 'c3' => array( 'model' => 'c3',
235
+ 'items' => array( 'integrated_edit_field',
236
+ 'integrated_edit_field1',
237
+ 'integrated_edit_field2',
238
+ 'integrated_edit_field3',
239
+ 'integrated_edit_field4',
240
+ 'integrated_edit_field5',
241
+ 'integrated_edit_field6',
242
+ 'integrated_edit_field7',
243
+ 'integrated_edit_field8',
244
+ 'integrated_edit_field9',
245
+ 'integrated_edit_field10',
246
+ 'integrated_edit_field11',
247
+ 'integrated_edit_field12',
248
+ 'integrated_edit_field13',
249
+ 'integrated_edit_field14' ) ) ),
250
+ 'deferredItems' => array( ),
251
+ 'columnCount' => 1,
252
+ 'inlineLabels' => false,
253
+ 'separateLabels' => false ) ),
254
+ 'items' => array( 'view_header' => array( 'type' => 'view_header' ),
255
+ 'view_back_list' => array( 'type' => 'view_back_list' ),
256
+ 'view_close' => array( 'type' => 'view_close' ),
257
+ 'logo' => array( 'type' => 'logo' ),
258
+ 'menu' => array( 'type' => 'menu' ),
259
+ 'username_button' => array( 'type' => 'username_button',
260
+ 'items' => array( 'userinfo_link',
261
+ 'logout_link' ) ),
262
+ 'loginform_login' => array( 'type' => 'loginform_login',
263
+ 'popup' => false ),
264
+ 'userinfo_link' => array( 'type' => 'userinfo_link' ),
265
+ 'logout_link' => array( 'type' => 'logout_link' ),
266
+ 'hamburger' => array( 'type' => 'hamburger',
267
+ 'items' => array( 'view_edit' ) ),
268
+ 'view_edit' => array( 'type' => 'view_edit' ),
269
+ 'integrated_edit_field' => array( 'field' => 'id',
270
+ 'type' => 'integrated_edit_field',
271
+ 'orientation' => 0 ),
272
+ 'integrated_edit_field1' => array( 'field' => 'date',
273
+ 'type' => 'integrated_edit_field',
274
+ 'orientation' => 0 ),
275
+ 'integrated_edit_field2' => array( 'field' => 'time',
276
+ 'type' => 'integrated_edit_field',
277
+ 'orientation' => 0 ),
278
+ 'integrated_edit_field3' => array( 'field' => 'customer_name',
279
+ 'type' => 'integrated_edit_field',
280
+ 'orientation' => 0 ),
281
+ 'integrated_edit_field4' => array( 'field' => 'product_type',
282
+ 'type' => 'integrated_edit_field',
283
+ 'orientation' => 0 ),
284
+ 'integrated_edit_field5' => array( 'field' => 'product_brand',
285
+ 'type' => 'integrated_edit_field',
286
+ 'orientation' => 0 ),
287
+ 'integrated_edit_field6' => array( 'field' => 'product_model',
288
+ 'type' => 'integrated_edit_field',
289
+ 'orientation' => 0 ),
290
+ 'integrated_edit_field7' => array( 'field' => 'product_serial_number',
291
+ 'type' => 'integrated_edit_field',
292
+ 'orientation' => 0 ),
293
+ 'integrated_edit_field8' => array( 'field' => 'purchase_date',
294
+ 'type' => 'integrated_edit_field',
295
+ 'orientation' => 0 ),
296
+ 'integrated_edit_field9' => array( 'field' => 'purchase_price',
297
+ 'type' => 'integrated_edit_field',
298
+ 'orientation' => 0 ),
299
+ 'integrated_edit_field10' => array( 'field' => 'condition_rating',
300
+ 'type' => 'integrated_edit_field',
301
+ 'orientation' => 0 ),
302
+ 'integrated_edit_field11' => array( 'field' => 'metal_purity',
303
+ 'type' => 'integrated_edit_field',
304
+ 'orientation' => 0 ),
305
+ 'integrated_edit_field12' => array( 'field' => 'metal_weight',
306
+ 'type' => 'integrated_edit_field',
307
+ 'orientation' => 0 ),
308
+ 'integrated_edit_field13' => array( 'field' => 'gemstone_certification',
309
+ 'type' => 'integrated_edit_field',
310
+ 'orientation' => 0 ),
311
+ 'integrated_edit_field14' => array( 'field' => 'initial',
312
+ 'type' => 'integrated_edit_field',
313
+ 'orientation' => 0 ) ),
314
+ 'dbProps' => array( ),
315
+ 'version' => 14,
316
+ 'imageItem' => array( 'type' => 'page_image' ),
317
+ 'imageBgColor' => '#f2f2f2',
318
+ 'controlsBgColor' => 'white',
319
+ 'imagePosition' => 'right',
320
+ 'listTotals' => 1 );
321
+ ?>
php/include/pages/items_add.php CHANGED
@@ -7,11 +7,12 @@
7
  'purchase_date',
8
  'purchase_price',
9
  'condition',
10
- 'precious_metal_type',
11
- 'precious_metal_weight',
12
  'diamond_certification',
13
  'accessories',
14
- 'initial' ),
 
15
  'searchRequiredFields' => array( ),
16
  'searchPanelFields' => array( ),
17
  'fieldItems' => array( 'id' => array( 'integrated_edit_field' ),
@@ -21,11 +22,12 @@
21
  'purchase_date' => array( 'integrated_edit_field4' ),
22
  'purchase_price' => array( 'integrated_edit_field5' ),
23
  'condition' => array( 'integrated_edit_field6' ),
24
- 'precious_metal_type' => array( 'integrated_edit_field7' ),
25
- 'precious_metal_weight' => array( 'integrated_edit_field8' ),
26
  'diamond_certification' => array( 'integrated_edit_field9' ),
27
  'accessories' => array( 'integrated_edit_field10' ),
28
- 'initial' => array( 'integrated_edit_field11' ) ) ),
 
29
  'pageLinks' => array( 'edit' => false,
30
  'add' => false,
31
  'view' => false,
@@ -43,11 +45,12 @@
43
  'integrated_edit_field4',
44
  'integrated_edit_field5',
45
  'integrated_edit_field6',
46
- 'integrated_edit_field7',
47
- 'integrated_edit_field8',
48
  'integrated_edit_field9',
49
  'integrated_edit_field10',
50
- 'integrated_edit_field11' ) ),
 
 
 
51
  'formXtTags' => array( 'above-grid' => array( 'message_block' ) ),
52
  'itemForms' => array( 'add_message' => 'above-grid',
53
  'add_save' => 'below-grid',
@@ -62,11 +65,12 @@
62
  'integrated_edit_field4' => 'grid',
63
  'integrated_edit_field5' => 'grid',
64
  'integrated_edit_field6' => 'grid',
65
- 'integrated_edit_field7' => 'grid',
66
- 'integrated_edit_field8' => 'grid',
67
  'integrated_edit_field9' => 'grid',
68
  'integrated_edit_field10' => 'grid',
69
- 'integrated_edit_field11' => 'grid' ),
 
 
 
70
  'itemLocations' => array( 'integrated_edit_field' => array( 'location' => 'grid',
71
  'cellId' => 'c3' ),
72
  'integrated_edit_field1' => array( 'location' => 'grid',
@@ -81,15 +85,17 @@
81
  'cellId' => 'c3' ),
82
  'integrated_edit_field6' => array( 'location' => 'grid',
83
  'cellId' => 'c3' ),
84
- 'integrated_edit_field7' => array( 'location' => 'grid',
85
- 'cellId' => 'c3' ),
86
- 'integrated_edit_field8' => array( 'location' => 'grid',
87
- 'cellId' => 'c3' ),
88
  'integrated_edit_field9' => array( 'location' => 'grid',
89
  'cellId' => 'c3' ),
90
  'integrated_edit_field10' => array( 'location' => 'grid',
91
  'cellId' => 'c3' ),
92
  'integrated_edit_field11' => array( 'location' => 'grid',
 
 
 
 
 
 
93
  'cellId' => 'c3' ) ),
94
  'itemVisiblity' => array( ) ),
95
  'itemsByType' => array( 'add_header' => array( 'add_header' ),
@@ -109,7 +115,8 @@
109
  'integrated_edit_field8',
110
  'integrated_edit_field9',
111
  'integrated_edit_field10',
112
- 'integrated_edit_field11' ) ),
 
113
  'cellMaps' => array( 'grid' => array( 'cells' => array( 'c3' => array( 'cols' => array( 0 ),
114
  'rows' => array( 0 ),
115
  'tags' => array( ),
@@ -120,11 +127,12 @@
120
  'integrated_edit_field4',
121
  'integrated_edit_field5',
122
  'integrated_edit_field6',
123
- 'integrated_edit_field7',
124
- 'integrated_edit_field8',
125
  'integrated_edit_field9',
126
  'integrated_edit_field10',
127
- 'integrated_edit_field11' ),
 
 
 
128
  'fixedAtServer' => true,
129
  'fixedAtClient' => false ) ),
130
  'width' => 1,
@@ -185,11 +193,12 @@
185
  'integrated_edit_field4',
186
  'integrated_edit_field5',
187
  'integrated_edit_field6',
188
- 'integrated_edit_field7',
189
- 'integrated_edit_field8',
190
  'integrated_edit_field9',
191
  'integrated_edit_field10',
192
- 'integrated_edit_field11' ) ) ),
 
 
 
193
  'deferredItems' => array( ),
194
  'columnCount' => 1,
195
  'inlineLabels' => false,
@@ -221,10 +230,10 @@
221
  'integrated_edit_field6' => array( 'field' => 'condition',
222
  'type' => 'integrated_edit_field',
223
  'orientation' => 0 ),
224
- 'integrated_edit_field7' => array( 'field' => 'precious_metal_type',
225
  'type' => 'integrated_edit_field',
226
  'orientation' => 0 ),
227
- 'integrated_edit_field8' => array( 'field' => 'precious_metal_weight',
228
  'type' => 'integrated_edit_field',
229
  'orientation' => 0 ),
230
  'integrated_edit_field9' => array( 'field' => 'diamond_certification',
@@ -235,6 +244,9 @@
235
  'orientation' => 0 ),
236
  'integrated_edit_field11' => array( 'field' => 'initial',
237
  'type' => 'integrated_edit_field',
 
 
 
238
  'orientation' => 0 ) ),
239
  'dbProps' => array( ),
240
  'version' => 14,
 
7
  'purchase_date',
8
  'purchase_price',
9
  'condition',
10
+ 'purchase_store',
11
+ 'metal_type',
12
  'diamond_certification',
13
  'accessories',
14
+ 'initial',
15
+ 'metal_weight' ),
16
  'searchRequiredFields' => array( ),
17
  'searchPanelFields' => array( ),
18
  'fieldItems' => array( 'id' => array( 'integrated_edit_field' ),
 
22
  'purchase_date' => array( 'integrated_edit_field4' ),
23
  'purchase_price' => array( 'integrated_edit_field5' ),
24
  'condition' => array( 'integrated_edit_field6' ),
25
+ 'purchase_store' => array( 'integrated_edit_field7' ),
26
+ 'metal_type' => array( 'integrated_edit_field8' ),
27
  'diamond_certification' => array( 'integrated_edit_field9' ),
28
  'accessories' => array( 'integrated_edit_field10' ),
29
+ 'initial' => array( 'integrated_edit_field11' ),
30
+ 'metal_weight' => array( 'integrated_edit_field12' ) ) ),
31
  'pageLinks' => array( 'edit' => false,
32
  'add' => false,
33
  'view' => false,
 
45
  'integrated_edit_field4',
46
  'integrated_edit_field5',
47
  'integrated_edit_field6',
 
 
48
  'integrated_edit_field9',
49
  'integrated_edit_field10',
50
+ 'integrated_edit_field11',
51
+ 'integrated_edit_field7',
52
+ 'integrated_edit_field8',
53
+ 'integrated_edit_field12' ) ),
54
  'formXtTags' => array( 'above-grid' => array( 'message_block' ) ),
55
  'itemForms' => array( 'add_message' => 'above-grid',
56
  'add_save' => 'below-grid',
 
65
  'integrated_edit_field4' => 'grid',
66
  'integrated_edit_field5' => 'grid',
67
  'integrated_edit_field6' => 'grid',
 
 
68
  'integrated_edit_field9' => 'grid',
69
  'integrated_edit_field10' => 'grid',
70
+ 'integrated_edit_field11' => 'grid',
71
+ 'integrated_edit_field7' => 'grid',
72
+ 'integrated_edit_field8' => 'grid',
73
+ 'integrated_edit_field12' => 'grid' ),
74
  'itemLocations' => array( 'integrated_edit_field' => array( 'location' => 'grid',
75
  'cellId' => 'c3' ),
76
  'integrated_edit_field1' => array( 'location' => 'grid',
 
85
  'cellId' => 'c3' ),
86
  'integrated_edit_field6' => array( 'location' => 'grid',
87
  'cellId' => 'c3' ),
 
 
 
 
88
  'integrated_edit_field9' => array( 'location' => 'grid',
89
  'cellId' => 'c3' ),
90
  'integrated_edit_field10' => array( 'location' => 'grid',
91
  'cellId' => 'c3' ),
92
  'integrated_edit_field11' => array( 'location' => 'grid',
93
+ 'cellId' => 'c3' ),
94
+ 'integrated_edit_field7' => array( 'location' => 'grid',
95
+ 'cellId' => 'c3' ),
96
+ 'integrated_edit_field8' => array( 'location' => 'grid',
97
+ 'cellId' => 'c3' ),
98
+ 'integrated_edit_field12' => array( 'location' => 'grid',
99
  'cellId' => 'c3' ) ),
100
  'itemVisiblity' => array( ) ),
101
  'itemsByType' => array( 'add_header' => array( 'add_header' ),
 
115
  'integrated_edit_field8',
116
  'integrated_edit_field9',
117
  'integrated_edit_field10',
118
+ 'integrated_edit_field11',
119
+ 'integrated_edit_field12' ) ),
120
  'cellMaps' => array( 'grid' => array( 'cells' => array( 'c3' => array( 'cols' => array( 0 ),
121
  'rows' => array( 0 ),
122
  'tags' => array( ),
 
127
  'integrated_edit_field4',
128
  'integrated_edit_field5',
129
  'integrated_edit_field6',
 
 
130
  'integrated_edit_field9',
131
  'integrated_edit_field10',
132
+ 'integrated_edit_field11',
133
+ 'integrated_edit_field7',
134
+ 'integrated_edit_field8',
135
+ 'integrated_edit_field12' ),
136
  'fixedAtServer' => true,
137
  'fixedAtClient' => false ) ),
138
  'width' => 1,
 
193
  'integrated_edit_field4',
194
  'integrated_edit_field5',
195
  'integrated_edit_field6',
 
 
196
  'integrated_edit_field9',
197
  'integrated_edit_field10',
198
+ 'integrated_edit_field11',
199
+ 'integrated_edit_field7',
200
+ 'integrated_edit_field8',
201
+ 'integrated_edit_field12' ) ) ),
202
  'deferredItems' => array( ),
203
  'columnCount' => 1,
204
  'inlineLabels' => false,
 
230
  'integrated_edit_field6' => array( 'field' => 'condition',
231
  'type' => 'integrated_edit_field',
232
  'orientation' => 0 ),
233
+ 'integrated_edit_field7' => array( 'field' => 'purchase_store',
234
  'type' => 'integrated_edit_field',
235
  'orientation' => 0 ),
236
+ 'integrated_edit_field8' => array( 'field' => 'metal_type',
237
  'type' => 'integrated_edit_field',
238
  'orientation' => 0 ),
239
  'integrated_edit_field9' => array( 'field' => 'diamond_certification',
 
244
  'orientation' => 0 ),
245
  'integrated_edit_field11' => array( 'field' => 'initial',
246
  'type' => 'integrated_edit_field',
247
+ 'orientation' => 0 ),
248
+ 'integrated_edit_field12' => array( 'field' => 'metal_weight',
249
+ 'type' => 'integrated_edit_field',
250
  'orientation' => 0 ) ),
251
  'dbProps' => array( ),
252
  'version' => 14,
php/include/pages/items_edit.php CHANGED
@@ -7,11 +7,12 @@
7
  'purchase_date',
8
  'purchase_price',
9
  'condition',
10
- 'precious_metal_type',
11
- 'precious_metal_weight',
12
  'diamond_certification',
13
  'accessories',
14
- 'initial' ),
 
15
  'searchRequiredFields' => array( ),
16
  'searchPanelFields' => array( ),
17
  'updateOnEditFields' => array( ),
@@ -22,11 +23,12 @@
22
  'purchase_date' => array( 'integrated_edit_field4' ),
23
  'purchase_price' => array( 'integrated_edit_field5' ),
24
  'condition' => array( 'integrated_edit_field6' ),
25
- 'precious_metal_type' => array( 'integrated_edit_field7' ),
26
- 'precious_metal_weight' => array( 'integrated_edit_field8' ),
27
  'diamond_certification' => array( 'integrated_edit_field9' ),
28
  'accessories' => array( 'integrated_edit_field10' ),
29
- 'initial' => array( 'integrated_edit_field11' ) ) ),
 
30
  'pageLinks' => array( 'edit' => false,
31
  'add' => false,
32
  'view' => true,
@@ -44,11 +46,12 @@
44
  'integrated_edit_field4',
45
  'integrated_edit_field5',
46
  'integrated_edit_field6',
47
- 'integrated_edit_field7',
48
- 'integrated_edit_field8',
49
  'integrated_edit_field9',
50
  'integrated_edit_field10',
51
- 'integrated_edit_field11' ) ),
 
 
 
52
  'formXtTags' => array( 'above-grid' => array( 'message_block' ) ),
53
  'itemForms' => array( 'edit_message' => 'above-grid',
54
  'edit_save' => 'below-grid',
@@ -63,11 +66,12 @@
63
  'integrated_edit_field4' => 'grid',
64
  'integrated_edit_field5' => 'grid',
65
  'integrated_edit_field6' => 'grid',
66
- 'integrated_edit_field7' => 'grid',
67
- 'integrated_edit_field8' => 'grid',
68
  'integrated_edit_field9' => 'grid',
69
  'integrated_edit_field10' => 'grid',
70
- 'integrated_edit_field11' => 'grid' ),
 
 
 
71
  'itemLocations' => array( 'integrated_edit_field' => array( 'location' => 'grid',
72
  'cellId' => 'c3' ),
73
  'integrated_edit_field1' => array( 'location' => 'grid',
@@ -82,15 +86,17 @@
82
  'cellId' => 'c3' ),
83
  'integrated_edit_field6' => array( 'location' => 'grid',
84
  'cellId' => 'c3' ),
85
- 'integrated_edit_field7' => array( 'location' => 'grid',
86
- 'cellId' => 'c3' ),
87
- 'integrated_edit_field8' => array( 'location' => 'grid',
88
- 'cellId' => 'c3' ),
89
  'integrated_edit_field9' => array( 'location' => 'grid',
90
  'cellId' => 'c3' ),
91
  'integrated_edit_field10' => array( 'location' => 'grid',
92
  'cellId' => 'c3' ),
93
  'integrated_edit_field11' => array( 'location' => 'grid',
 
 
 
 
 
 
94
  'cellId' => 'c3' ) ),
95
  'itemVisiblity' => array( ) ),
96
  'itemsByType' => array( 'edit_header' => array( 'edit_header' ),
@@ -112,7 +118,8 @@
112
  'integrated_edit_field8',
113
  'integrated_edit_field9',
114
  'integrated_edit_field10',
115
- 'integrated_edit_field11' ) ),
 
116
  'cellMaps' => array( 'grid' => array( 'cells' => array( 'c3' => array( 'cols' => array( 0 ),
117
  'rows' => array( 0 ),
118
  'tags' => array( ),
@@ -123,11 +130,12 @@
123
  'integrated_edit_field4',
124
  'integrated_edit_field5',
125
  'integrated_edit_field6',
126
- 'integrated_edit_field7',
127
- 'integrated_edit_field8',
128
  'integrated_edit_field9',
129
  'integrated_edit_field10',
130
- 'integrated_edit_field11' ),
 
 
 
131
  'fixedAtServer' => true,
132
  'fixedAtClient' => false ) ),
133
  'width' => 1,
@@ -192,11 +200,12 @@ array( 'cell' => 'c2' ) ),
192
  'integrated_edit_field4',
193
  'integrated_edit_field5',
194
  'integrated_edit_field6',
195
- 'integrated_edit_field7',
196
- 'integrated_edit_field8',
197
  'integrated_edit_field9',
198
  'integrated_edit_field10',
199
- 'integrated_edit_field11' ) ) ),
 
 
 
200
  'deferredItems' => array( ),
201
  'columnCount' => 1,
202
  'inlineLabels' => false,
@@ -232,10 +241,10 @@ array( 'cell' => 'c2' ) ),
232
  'integrated_edit_field6' => array( 'field' => 'condition',
233
  'type' => 'integrated_edit_field',
234
  'orientation' => 0 ),
235
- 'integrated_edit_field7' => array( 'field' => 'precious_metal_type',
236
  'type' => 'integrated_edit_field',
237
  'orientation' => 0 ),
238
- 'integrated_edit_field8' => array( 'field' => 'precious_metal_weight',
239
  'type' => 'integrated_edit_field',
240
  'orientation' => 0 ),
241
  'integrated_edit_field9' => array( 'field' => 'diamond_certification',
@@ -246,6 +255,9 @@ array( 'cell' => 'c2' ) ),
246
  'orientation' => 0 ),
247
  'integrated_edit_field11' => array( 'field' => 'initial',
248
  'type' => 'integrated_edit_field',
 
 
 
249
  'orientation' => 0 ) ),
250
  'dbProps' => array( ),
251
  'version' => 14,
 
7
  'purchase_date',
8
  'purchase_price',
9
  'condition',
10
+ 'purchase_store',
11
+ 'metal_type',
12
  'diamond_certification',
13
  'accessories',
14
+ 'initial',
15
+ 'metal_weight' ),
16
  'searchRequiredFields' => array( ),
17
  'searchPanelFields' => array( ),
18
  'updateOnEditFields' => array( ),
 
23
  'purchase_date' => array( 'integrated_edit_field4' ),
24
  'purchase_price' => array( 'integrated_edit_field5' ),
25
  'condition' => array( 'integrated_edit_field6' ),
26
+ 'purchase_store' => array( 'integrated_edit_field7' ),
27
+ 'metal_type' => array( 'integrated_edit_field8' ),
28
  'diamond_certification' => array( 'integrated_edit_field9' ),
29
  'accessories' => array( 'integrated_edit_field10' ),
30
+ 'initial' => array( 'integrated_edit_field11' ),
31
+ 'metal_weight' => array( 'integrated_edit_field12' ) ) ),
32
  'pageLinks' => array( 'edit' => false,
33
  'add' => false,
34
  'view' => true,
 
46
  'integrated_edit_field4',
47
  'integrated_edit_field5',
48
  'integrated_edit_field6',
 
 
49
  'integrated_edit_field9',
50
  'integrated_edit_field10',
51
+ 'integrated_edit_field11',
52
+ 'integrated_edit_field7',
53
+ 'integrated_edit_field8',
54
+ 'integrated_edit_field12' ) ),
55
  'formXtTags' => array( 'above-grid' => array( 'message_block' ) ),
56
  'itemForms' => array( 'edit_message' => 'above-grid',
57
  'edit_save' => 'below-grid',
 
66
  'integrated_edit_field4' => 'grid',
67
  'integrated_edit_field5' => 'grid',
68
  'integrated_edit_field6' => 'grid',
 
 
69
  'integrated_edit_field9' => 'grid',
70
  'integrated_edit_field10' => 'grid',
71
+ 'integrated_edit_field11' => 'grid',
72
+ 'integrated_edit_field7' => 'grid',
73
+ 'integrated_edit_field8' => 'grid',
74
+ 'integrated_edit_field12' => 'grid' ),
75
  'itemLocations' => array( 'integrated_edit_field' => array( 'location' => 'grid',
76
  'cellId' => 'c3' ),
77
  'integrated_edit_field1' => array( 'location' => 'grid',
 
86
  'cellId' => 'c3' ),
87
  'integrated_edit_field6' => array( 'location' => 'grid',
88
  'cellId' => 'c3' ),
 
 
 
 
89
  'integrated_edit_field9' => array( 'location' => 'grid',
90
  'cellId' => 'c3' ),
91
  'integrated_edit_field10' => array( 'location' => 'grid',
92
  'cellId' => 'c3' ),
93
  'integrated_edit_field11' => array( 'location' => 'grid',
94
+ 'cellId' => 'c3' ),
95
+ 'integrated_edit_field7' => array( 'location' => 'grid',
96
+ 'cellId' => 'c3' ),
97
+ 'integrated_edit_field8' => array( 'location' => 'grid',
98
+ 'cellId' => 'c3' ),
99
+ 'integrated_edit_field12' => array( 'location' => 'grid',
100
  'cellId' => 'c3' ) ),
101
  'itemVisiblity' => array( ) ),
102
  'itemsByType' => array( 'edit_header' => array( 'edit_header' ),
 
118
  'integrated_edit_field8',
119
  'integrated_edit_field9',
120
  'integrated_edit_field10',
121
+ 'integrated_edit_field11',
122
+ 'integrated_edit_field12' ) ),
123
  'cellMaps' => array( 'grid' => array( 'cells' => array( 'c3' => array( 'cols' => array( 0 ),
124
  'rows' => array( 0 ),
125
  'tags' => array( ),
 
130
  'integrated_edit_field4',
131
  'integrated_edit_field5',
132
  'integrated_edit_field6',
 
 
133
  'integrated_edit_field9',
134
  'integrated_edit_field10',
135
+ 'integrated_edit_field11',
136
+ 'integrated_edit_field7',
137
+ 'integrated_edit_field8',
138
+ 'integrated_edit_field12' ),
139
  'fixedAtServer' => true,
140
  'fixedAtClient' => false ) ),
141
  'width' => 1,
 
200
  'integrated_edit_field4',
201
  'integrated_edit_field5',
202
  'integrated_edit_field6',
 
 
203
  'integrated_edit_field9',
204
  'integrated_edit_field10',
205
+ 'integrated_edit_field11',
206
+ 'integrated_edit_field7',
207
+ 'integrated_edit_field8',
208
+ 'integrated_edit_field12' ) ) ),
209
  'deferredItems' => array( ),
210
  'columnCount' => 1,
211
  'inlineLabels' => false,
 
241
  'integrated_edit_field6' => array( 'field' => 'condition',
242
  'type' => 'integrated_edit_field',
243
  'orientation' => 0 ),
244
+ 'integrated_edit_field7' => array( 'field' => 'purchase_store',
245
  'type' => 'integrated_edit_field',
246
  'orientation' => 0 ),
247
+ 'integrated_edit_field8' => array( 'field' => 'metal_type',
248
  'type' => 'integrated_edit_field',
249
  'orientation' => 0 ),
250
  'integrated_edit_field9' => array( 'field' => 'diamond_certification',
 
255
  'orientation' => 0 ),
256
  'integrated_edit_field11' => array( 'field' => 'initial',
257
  'type' => 'integrated_edit_field',
258
+ 'orientation' => 0 ),
259
+ 'integrated_edit_field12' => array( 'field' => 'metal_weight',
260
+ 'type' => 'integrated_edit_field',
261
  'orientation' => 0 ) ),
262
  'dbProps' => array( ),
263
  'version' => 14,
php/include/pages/items_export.php CHANGED
@@ -3,13 +3,14 @@
3
  'brand_name' => array( 'totalsType' => '' ),
4
  'model_name' => array( 'totalsType' => '' ),
5
  'product_number' => array( 'totalsType' => '' ),
 
6
  'purchase_date' => array( 'totalsType' => '' ),
7
  'purchase_price' => array( 'totalsType' => '' ),
 
8
  'condition' => array( 'totalsType' => '' ),
9
- 'precious_metal_type' => array( 'totalsType' => '' ),
10
- 'precious_metal_weight' => array( 'totalsType' => '' ),
11
  'diamond_certification' => array( 'totalsType' => '' ),
12
- 'accessories' => array( 'totalsType' => '' ),
13
  'initial' => array( 'totalsType' => '' ) ),
14
  'fields' => array( 'gridFields' => array( 'id',
15
  'brand_name',
@@ -18,11 +19,12 @@
18
  'purchase_date',
19
  'purchase_price',
20
  'condition',
21
- 'precious_metal_type',
22
- 'precious_metal_weight',
23
  'diamond_certification',
24
  'accessories',
25
- 'initial' ),
 
26
  'exportFields' => array( 'id',
27
  'brand_name',
28
  'model_name',
@@ -30,11 +32,12 @@
30
  'purchase_date',
31
  'purchase_price',
32
  'condition',
33
- 'precious_metal_type',
34
- 'precious_metal_weight',
35
  'diamond_certification',
36
  'accessories',
37
- 'initial' ),
 
 
 
38
  'searchRequiredFields' => array( ),
39
  'searchPanelFields' => array( ),
40
  'fieldItems' => array( 'id' => array( 'export_field' ),
@@ -44,11 +47,12 @@
44
  'purchase_date' => array( 'export_field4' ),
45
  'purchase_price' => array( 'export_field5' ),
46
  'condition' => array( 'export_field6' ),
47
- 'precious_metal_type' => array( 'export_field7' ),
48
- 'precious_metal_weight' => array( 'export_field8' ),
49
  'diamond_certification' => array( 'export_field9' ),
50
  'accessories' => array( 'export_field10' ),
51
- 'initial' => array( 'export_field11' ) ) ),
 
52
  'pageLinks' => array( 'edit' => false,
53
  'add' => false,
54
  'view' => false,
@@ -62,11 +66,12 @@
62
  'export_field4',
63
  'export_field5',
64
  'export_field6',
65
- 'export_field7',
66
- 'export_field8',
67
  'export_field9',
68
  'export_field10',
69
- 'export_field11' ),
 
 
 
70
  'footer' => array( 'export_export',
71
  'export_cancel' ) ),
72
  'formXtTags' => array( 'supertop' => array( ) ),
@@ -78,11 +83,12 @@
78
  'export_field4' => 'grid',
79
  'export_field5' => 'grid',
80
  'export_field6' => 'grid',
81
- 'export_field7' => 'grid',
82
- 'export_field8' => 'grid',
83
  'export_field9' => 'grid',
84
  'export_field10' => 'grid',
85
  'export_field11' => 'grid',
 
 
 
86
  'export_export' => 'footer',
87
  'export_cancel' => 'footer' ),
88
  'itemLocations' => array( ),
@@ -101,7 +107,8 @@
101
  'export_field8',
102
  'export_field9',
103
  'export_field10',
104
- 'export_field11' ) ),
 
105
  'cellMaps' => array( ) ),
106
  'loginForm' => array( 'loginForm' => 3 ),
107
  'page' => array( 'verticalBar' => false,
@@ -155,11 +162,12 @@
155
  'export_field4',
156
  'export_field5',
157
  'export_field6',
158
- 'export_field7',
159
- 'export_field8',
160
  'export_field9',
161
  'export_field10',
162
- 'export_field11' ) ) ),
 
 
 
163
  'deferredItems' => array( ),
164
  'recsPerRow' => 1 ),
165
  'footer' => array( 'modelId' => 'export-footer',
@@ -190,15 +198,17 @@ array( 'cell' => 'c2' ) ),
190
  'type' => 'export_field' ),
191
  'export_field6' => array( 'field' => 'condition',
192
  'type' => 'export_field' ),
193
- 'export_field7' => array( 'field' => 'precious_metal_type',
194
  'type' => 'export_field' ),
195
- 'export_field8' => array( 'field' => 'precious_metal_weight',
196
  'type' => 'export_field' ),
197
  'export_field9' => array( 'field' => 'diamond_certification',
198
  'type' => 'export_field' ),
199
  'export_field10' => array( 'field' => 'accessories',
200
  'type' => 'export_field' ),
201
  'export_field11' => array( 'field' => 'initial',
 
 
202
  'type' => 'export_field' ) ),
203
  'dbProps' => array( ),
204
  'version' => 14,
 
3
  'brand_name' => array( 'totalsType' => '' ),
4
  'model_name' => array( 'totalsType' => '' ),
5
  'product_number' => array( 'totalsType' => '' ),
6
+ 'purchase_store' => array( 'totalsType' => '' ),
7
  'purchase_date' => array( 'totalsType' => '' ),
8
  'purchase_price' => array( 'totalsType' => '' ),
9
+ 'accessories' => array( 'totalsType' => '' ),
10
  'condition' => array( 'totalsType' => '' ),
11
+ 'metal_type' => array( 'totalsType' => '' ),
12
+ 'metal_weight' => array( 'totalsType' => '' ),
13
  'diamond_certification' => array( 'totalsType' => '' ),
 
14
  'initial' => array( 'totalsType' => '' ) ),
15
  'fields' => array( 'gridFields' => array( 'id',
16
  'brand_name',
 
19
  'purchase_date',
20
  'purchase_price',
21
  'condition',
22
+ 'purchase_store',
23
+ 'metal_type',
24
  'diamond_certification',
25
  'accessories',
26
+ 'initial',
27
+ 'metal_weight' ),
28
  'exportFields' => array( 'id',
29
  'brand_name',
30
  'model_name',
 
32
  'purchase_date',
33
  'purchase_price',
34
  'condition',
 
 
35
  'diamond_certification',
36
  'accessories',
37
+ 'initial',
38
+ 'purchase_store',
39
+ 'metal_type',
40
+ 'metal_weight' ),
41
  'searchRequiredFields' => array( ),
42
  'searchPanelFields' => array( ),
43
  'fieldItems' => array( 'id' => array( 'export_field' ),
 
47
  'purchase_date' => array( 'export_field4' ),
48
  'purchase_price' => array( 'export_field5' ),
49
  'condition' => array( 'export_field6' ),
50
+ 'purchase_store' => array( 'export_field7' ),
51
+ 'metal_type' => array( 'export_field8' ),
52
  'diamond_certification' => array( 'export_field9' ),
53
  'accessories' => array( 'export_field10' ),
54
+ 'initial' => array( 'export_field11' ),
55
+ 'metal_weight' => array( 'export_field12' ) ) ),
56
  'pageLinks' => array( 'edit' => false,
57
  'add' => false,
58
  'view' => false,
 
66
  'export_field4',
67
  'export_field5',
68
  'export_field6',
 
 
69
  'export_field9',
70
  'export_field10',
71
+ 'export_field11',
72
+ 'export_field7',
73
+ 'export_field8',
74
+ 'export_field12' ),
75
  'footer' => array( 'export_export',
76
  'export_cancel' ) ),
77
  'formXtTags' => array( 'supertop' => array( ) ),
 
83
  'export_field4' => 'grid',
84
  'export_field5' => 'grid',
85
  'export_field6' => 'grid',
 
 
86
  'export_field9' => 'grid',
87
  'export_field10' => 'grid',
88
  'export_field11' => 'grid',
89
+ 'export_field7' => 'grid',
90
+ 'export_field8' => 'grid',
91
+ 'export_field12' => 'grid',
92
  'export_export' => 'footer',
93
  'export_cancel' => 'footer' ),
94
  'itemLocations' => array( ),
 
107
  'export_field8',
108
  'export_field9',
109
  'export_field10',
110
+ 'export_field11',
111
+ 'export_field12' ) ),
112
  'cellMaps' => array( ) ),
113
  'loginForm' => array( 'loginForm' => 3 ),
114
  'page' => array( 'verticalBar' => false,
 
162
  'export_field4',
163
  'export_field5',
164
  'export_field6',
 
 
165
  'export_field9',
166
  'export_field10',
167
+ 'export_field11',
168
+ 'export_field7',
169
+ 'export_field8',
170
+ 'export_field12' ) ) ),
171
  'deferredItems' => array( ),
172
  'recsPerRow' => 1 ),
173
  'footer' => array( 'modelId' => 'export-footer',
 
198
  'type' => 'export_field' ),
199
  'export_field6' => array( 'field' => 'condition',
200
  'type' => 'export_field' ),
201
+ 'export_field7' => array( 'field' => 'purchase_store',
202
  'type' => 'export_field' ),
203
+ 'export_field8' => array( 'field' => 'metal_type',
204
  'type' => 'export_field' ),
205
  'export_field9' => array( 'field' => 'diamond_certification',
206
  'type' => 'export_field' ),
207
  'export_field10' => array( 'field' => 'accessories',
208
  'type' => 'export_field' ),
209
  'export_field11' => array( 'field' => 'initial',
210
+ 'type' => 'export_field' ),
211
+ 'export_field12' => array( 'field' => 'metal_weight',
212
  'type' => 'export_field' ) ),
213
  'dbProps' => array( ),
214
  'version' => 14,
php/include/pages/items_import.php CHANGED
@@ -6,11 +6,12 @@
6
  'purchase_date',
7
  'purchase_price',
8
  'condition',
9
- 'precious_metal_type',
10
- 'precious_metal_weight',
11
  'diamond_certification',
12
  'accessories',
13
- 'initial' ),
 
 
 
14
  'searchRequiredFields' => array( ),
15
  'searchPanelFields' => array( ),
16
  'fieldItems' => array( 'id' => array( 'import_field' ),
@@ -20,11 +21,12 @@
20
  'purchase_date' => array( 'import_field4' ),
21
  'purchase_price' => array( 'import_field5' ),
22
  'condition' => array( 'import_field6' ),
23
- 'precious_metal_type' => array( 'import_field7' ),
24
- 'precious_metal_weight' => array( 'import_field8' ),
25
  'diamond_certification' => array( 'import_field9' ),
26
  'accessories' => array( 'import_field10' ),
27
- 'initial' => array( 'import_field11' ) ) ),
 
28
  'pageLinks' => array( 'edit' => false,
29
  'add' => false,
30
  'view' => false,
@@ -38,11 +40,12 @@
38
  'import_field4',
39
  'import_field5',
40
  'import_field6',
41
- 'import_field7',
42
- 'import_field8',
43
  'import_field9',
44
  'import_field10',
45
- 'import_field11' ) ),
 
 
 
46
  'formXtTags' => array( 'supertop' => array( ) ),
47
  'itemForms' => array( 'import_header' => 'top',
48
  'import_field' => 'grid',
@@ -52,11 +55,12 @@
52
  'import_field4' => 'grid',
53
  'import_field5' => 'grid',
54
  'import_field6' => 'grid',
55
- 'import_field7' => 'grid',
56
- 'import_field8' => 'grid',
57
  'import_field9' => 'grid',
58
  'import_field10' => 'grid',
59
- 'import_field11' => 'grid' ),
 
 
 
60
  'itemLocations' => array( ),
61
  'itemVisiblity' => array( ) ),
62
  'itemsByType' => array( 'import_header' => array( 'import_header' ),
@@ -71,7 +75,8 @@
71
  'import_field8',
72
  'import_field9',
73
  'import_field10',
74
- 'import_field11' ) ),
 
75
  'cellMaps' => array( ) ),
76
  'loginForm' => array( 'loginForm' => 3 ),
77
  'page' => array( 'verticalBar' => false,
@@ -117,11 +122,12 @@
117
  'import_field4',
118
  'import_field5',
119
  'import_field6',
120
- 'import_field7',
121
- 'import_field8',
122
  'import_field9',
123
  'import_field10',
124
- 'import_field11' ) ) ),
 
 
 
125
  'deferredItems' => array( ),
126
  'recsPerRow' => 1 ) ),
127
  'items' => array( 'import_header' => array( 'type' => 'import_header' ),
@@ -139,15 +145,17 @@
139
  'type' => 'import_field' ),
140
  'import_field6' => array( 'field' => 'condition',
141
  'type' => 'import_field' ),
142
- 'import_field7' => array( 'field' => 'precious_metal_type',
143
  'type' => 'import_field' ),
144
- 'import_field8' => array( 'field' => 'precious_metal_weight',
145
  'type' => 'import_field' ),
146
  'import_field9' => array( 'field' => 'diamond_certification',
147
  'type' => 'import_field' ),
148
  'import_field10' => array( 'field' => 'accessories',
149
  'type' => 'import_field' ),
150
  'import_field11' => array( 'field' => 'initial',
 
 
151
  'type' => 'import_field' ) ),
152
  'dbProps' => array( ),
153
  'version' => 14,
 
6
  'purchase_date',
7
  'purchase_price',
8
  'condition',
 
 
9
  'diamond_certification',
10
  'accessories',
11
+ 'initial',
12
+ 'purchase_store',
13
+ 'metal_type',
14
+ 'metal_weight' ),
15
  'searchRequiredFields' => array( ),
16
  'searchPanelFields' => array( ),
17
  'fieldItems' => array( 'id' => array( 'import_field' ),
 
21
  'purchase_date' => array( 'import_field4' ),
22
  'purchase_price' => array( 'import_field5' ),
23
  'condition' => array( 'import_field6' ),
24
+ 'purchase_store' => array( 'import_field7' ),
25
+ 'metal_type' => array( 'import_field8' ),
26
  'diamond_certification' => array( 'import_field9' ),
27
  'accessories' => array( 'import_field10' ),
28
+ 'initial' => array( 'import_field11' ),
29
+ 'metal_weight' => array( 'import_field12' ) ) ),
30
  'pageLinks' => array( 'edit' => false,
31
  'add' => false,
32
  'view' => false,
 
40
  'import_field4',
41
  'import_field5',
42
  'import_field6',
 
 
43
  'import_field9',
44
  'import_field10',
45
+ 'import_field11',
46
+ 'import_field7',
47
+ 'import_field8',
48
+ 'import_field12' ) ),
49
  'formXtTags' => array( 'supertop' => array( ) ),
50
  'itemForms' => array( 'import_header' => 'top',
51
  'import_field' => 'grid',
 
55
  'import_field4' => 'grid',
56
  'import_field5' => 'grid',
57
  'import_field6' => 'grid',
 
 
58
  'import_field9' => 'grid',
59
  'import_field10' => 'grid',
60
+ 'import_field11' => 'grid',
61
+ 'import_field7' => 'grid',
62
+ 'import_field8' => 'grid',
63
+ 'import_field12' => 'grid' ),
64
  'itemLocations' => array( ),
65
  'itemVisiblity' => array( ) ),
66
  'itemsByType' => array( 'import_header' => array( 'import_header' ),
 
75
  'import_field8',
76
  'import_field9',
77
  'import_field10',
78
+ 'import_field11',
79
+ 'import_field12' ) ),
80
  'cellMaps' => array( ) ),
81
  'loginForm' => array( 'loginForm' => 3 ),
82
  'page' => array( 'verticalBar' => false,
 
122
  'import_field4',
123
  'import_field5',
124
  'import_field6',
 
 
125
  'import_field9',
126
  'import_field10',
127
+ 'import_field11',
128
+ 'import_field7',
129
+ 'import_field8',
130
+ 'import_field12' ) ) ),
131
  'deferredItems' => array( ),
132
  'recsPerRow' => 1 ) ),
133
  'items' => array( 'import_header' => array( 'type' => 'import_header' ),
 
145
  'type' => 'import_field' ),
146
  'import_field6' => array( 'field' => 'condition',
147
  'type' => 'import_field' ),
148
+ 'import_field7' => array( 'field' => 'purchase_store',
149
  'type' => 'import_field' ),
150
+ 'import_field8' => array( 'field' => 'metal_type',
151
  'type' => 'import_field' ),
152
  'import_field9' => array( 'field' => 'diamond_certification',
153
  'type' => 'import_field' ),
154
  'import_field10' => array( 'field' => 'accessories',
155
  'type' => 'import_field' ),
156
  'import_field11' => array( 'field' => 'initial',
157
+ 'type' => 'import_field' ),
158
+ 'import_field12' => array( 'field' => 'metal_weight',
159
  'type' => 'import_field' ) ),
160
  'dbProps' => array( ),
161
  'version' => 14,
php/include/pages/items_list.php CHANGED
@@ -20,13 +20,14 @@
20
  'brand_name' => array( 'totalsType' => '' ),
21
  'model_name' => array( 'totalsType' => '' ),
22
  'product_number' => array( 'totalsType' => '' ),
 
23
  'purchase_date' => array( 'totalsType' => '' ),
24
  'purchase_price' => array( 'totalsType' => '' ),
 
25
  'condition' => array( 'totalsType' => '' ),
26
- 'precious_metal_type' => array( 'totalsType' => '' ),
27
- 'precious_metal_weight' => array( 'totalsType' => '' ),
28
  'diamond_certification' => array( 'totalsType' => '' ),
29
- 'accessories' => array( 'totalsType' => '' ),
30
  'initial' => array( 'totalsType' => '' ) ),
31
  'fields' => array( 'gridFields' => array( 'id',
32
  'brand_name',
@@ -35,18 +36,20 @@
35
  'purchase_date',
36
  'purchase_price',
37
  'condition',
38
- 'precious_metal_type',
39
- 'precious_metal_weight',
40
  'diamond_certification',
41
  'accessories',
42
- 'initial' ),
 
 
 
43
  'searchRequiredFields' => array( ),
44
  'searchPanelFields' => array( 'accessories',
 
 
 
45
  'purchase_price',
46
  'purchase_date',
47
  'product_number',
48
- 'precious_metal_weight',
49
- 'precious_metal_type',
50
  'model_name',
51
  'initial',
52
  'id',
@@ -61,11 +64,12 @@
61
  'purchase_date',
62
  'purchase_price',
63
  'condition',
64
- 'precious_metal_type',
65
- 'precious_metal_weight',
66
  'diamond_certification',
67
  'accessories',
68
- 'initial' ),
 
 
 
69
  'inlineEditFields' => array( 'id',
70
  'brand_name',
71
  'model_name',
@@ -73,35 +77,38 @@
73
  'purchase_date',
74
  'purchase_price',
75
  'condition',
76
- 'precious_metal_type',
77
- 'precious_metal_weight',
78
  'diamond_certification',
79
  'accessories',
80
- 'initial' ),
 
 
 
81
  'fieldItems' => array( 'id' => array( 'simple_grid_field',
82
- 'simple_grid_field12' ),
83
- 'brand_name' => array( 'simple_grid_field1',
84
  'simple_grid_field13' ),
85
- 'model_name' => array( 'simple_grid_field2',
86
  'simple_grid_field14' ),
87
- 'product_number' => array( 'simple_grid_field3',
88
  'simple_grid_field15' ),
89
- 'purchase_date' => array( 'simple_grid_field4',
90
  'simple_grid_field16' ),
91
- 'purchase_price' => array( 'simple_grid_field5',
92
  'simple_grid_field17' ),
93
- 'condition' => array( 'simple_grid_field6',
94
  'simple_grid_field18' ),
95
- 'precious_metal_type' => array( 'simple_grid_field7',
96
  'simple_grid_field19' ),
97
- 'precious_metal_weight' => array( 'simple_grid_field8',
98
- 'simple_grid_field20' ),
99
  'diamond_certification' => array( 'simple_grid_field9',
100
- 'simple_grid_field21' ),
101
  'accessories' => array( 'simple_grid_field10',
102
- 'simple_grid_field22' ),
103
  'initial' => array( 'simple_grid_field11',
104
- 'simple_grid_field23' ) ),
 
 
 
 
 
 
105
  'hideEmptyFields' => array( ),
106
  'fieldFilterFields' => array( ) ),
107
  'pageLinks' => array( 'edit' => true,
@@ -122,30 +129,32 @@
122
  'username_button' ),
123
  'left' => array( 'search_panel' ),
124
  'top' => array( 'breadcrumb' ),
125
- 'grid' => array( 'simple_grid_field12',
126
  'simple_grid_field',
127
- 'simple_grid_field13',
128
- 'simple_grid_field1',
129
  'simple_grid_field14',
130
- 'simple_grid_field2',
131
  'simple_grid_field15',
132
- 'simple_grid_field3',
133
  'simple_grid_field16',
134
- 'simple_grid_field4',
135
  'simple_grid_field17',
136
- 'simple_grid_field5',
137
  'simple_grid_field18',
138
- 'simple_grid_field6',
139
  'simple_grid_field19',
140
- 'simple_grid_field7',
141
  'simple_grid_field20',
142
- 'simple_grid_field8',
143
- 'simple_grid_field21',
144
  'simple_grid_field9',
145
- 'simple_grid_field22',
146
  'simple_grid_field10',
147
- 'simple_grid_field23',
148
  'simple_grid_field11',
 
 
 
 
 
 
149
  'grid_checkbox_head',
150
  'grid_checkbox',
151
  'grid_edit',
@@ -171,82 +180,88 @@
171
  'username_button' => 'supertop',
172
  'search_panel' => 'left',
173
  'breadcrumb' => 'top',
174
- 'simple_grid_field12' => 'grid',
175
- 'simple_grid_field' => 'grid',
176
  'simple_grid_field13' => 'grid',
177
- 'simple_grid_field1' => 'grid',
178
  'simple_grid_field14' => 'grid',
179
- 'simple_grid_field2' => 'grid',
180
  'simple_grid_field15' => 'grid',
181
- 'simple_grid_field3' => 'grid',
182
  'simple_grid_field16' => 'grid',
183
- 'simple_grid_field4' => 'grid',
184
  'simple_grid_field17' => 'grid',
185
- 'simple_grid_field5' => 'grid',
186
  'simple_grid_field18' => 'grid',
187
- 'simple_grid_field6' => 'grid',
188
  'simple_grid_field19' => 'grid',
189
- 'simple_grid_field7' => 'grid',
190
  'simple_grid_field20' => 'grid',
191
- 'simple_grid_field8' => 'grid',
192
- 'simple_grid_field21' => 'grid',
193
  'simple_grid_field9' => 'grid',
194
- 'simple_grid_field22' => 'grid',
195
  'simple_grid_field10' => 'grid',
196
- 'simple_grid_field23' => 'grid',
197
  'simple_grid_field11' => 'grid',
 
 
 
 
 
 
198
  'grid_checkbox_head' => 'grid',
199
  'grid_checkbox' => 'grid',
200
  'grid_edit' => 'grid',
201
  'grid_view' => 'grid' ),
202
- 'itemLocations' => array( 'simple_grid_field12' => array( 'location' => 'grid',
203
  'cellId' => 'headcell_field' ),
204
  'simple_grid_field' => array( 'location' => 'grid',
205
  'cellId' => 'cell_field' ),
206
- 'simple_grid_field13' => array( 'location' => 'grid',
207
  'cellId' => 'headcell_field1' ),
208
  'simple_grid_field1' => array( 'location' => 'grid',
209
  'cellId' => 'cell_field1' ),
210
- 'simple_grid_field14' => array( 'location' => 'grid',
211
  'cellId' => 'headcell_field2' ),
212
  'simple_grid_field2' => array( 'location' => 'grid',
213
  'cellId' => 'cell_field2' ),
214
- 'simple_grid_field15' => array( 'location' => 'grid',
215
  'cellId' => 'headcell_field3' ),
216
  'simple_grid_field3' => array( 'location' => 'grid',
217
  'cellId' => 'cell_field3' ),
218
- 'simple_grid_field16' => array( 'location' => 'grid',
219
  'cellId' => 'headcell_field4' ),
220
  'simple_grid_field4' => array( 'location' => 'grid',
221
  'cellId' => 'cell_field4' ),
222
- 'simple_grid_field17' => array( 'location' => 'grid',
223
  'cellId' => 'headcell_field5' ),
224
  'simple_grid_field5' => array( 'location' => 'grid',
225
  'cellId' => 'cell_field5' ),
226
- 'simple_grid_field18' => array( 'location' => 'grid',
227
  'cellId' => 'headcell_field6' ),
228
  'simple_grid_field6' => array( 'location' => 'grid',
229
  'cellId' => 'cell_field6' ),
230
- 'simple_grid_field19' => array( 'location' => 'grid',
231
  'cellId' => 'headcell_field7' ),
232
- 'simple_grid_field7' => array( 'location' => 'grid',
233
  'cellId' => 'cell_field7' ),
234
- 'simple_grid_field20' => array( 'location' => 'grid',
235
  'cellId' => 'headcell_field8' ),
236
- 'simple_grid_field8' => array( 'location' => 'grid',
237
  'cellId' => 'cell_field8' ),
238
- 'simple_grid_field21' => array( 'location' => 'grid',
239
  'cellId' => 'headcell_field9' ),
240
- 'simple_grid_field9' => array( 'location' => 'grid',
241
  'cellId' => 'cell_field9' ),
242
- 'simple_grid_field22' => array( 'location' => 'grid',
243
  'cellId' => 'headcell_field10' ),
244
- 'simple_grid_field10' => array( 'location' => 'grid',
245
  'cellId' => 'cell_field10' ),
246
- 'simple_grid_field23' => array( 'location' => 'grid',
247
  'cellId' => 'headcell_field11' ),
248
- 'simple_grid_field11' => array( 'location' => 'grid',
249
  'cellId' => 'cell_field11' ),
 
 
 
 
250
  'grid_checkbox_head' => array( 'location' => 'grid',
251
  'cellId' => 'headcell_checkbox' ),
252
  'grid_checkbox' => array( 'location' => 'grid',
@@ -284,7 +299,8 @@
284
  'search_panel_field8',
285
  'search_panel_field9',
286
  'search_panel_field10',
287
- 'search_panel_field11' ),
 
288
  'username_button' => array( 'username_button' ),
289
  'loginform_login' => array( 'loginform_login' ),
290
  'userinfo_link' => array( 'userinfo_link' ),
@@ -311,13 +327,13 @@
311
  'simple_grid_field4',
312
  'simple_grid_field5',
313
  'simple_grid_field6',
314
- 'simple_grid_field7',
315
- 'simple_grid_field8',
316
  'simple_grid_field9',
317
  'simple_grid_field10',
318
- 'simple_grid_field11' ),
319
- 'grid_field_label' => array( 'simple_grid_field12',
320
- 'simple_grid_field13',
 
 
321
  'simple_grid_field14',
322
  'simple_grid_field15',
323
  'simple_grid_field16',
@@ -327,7 +343,9 @@
327
  'simple_grid_field20',
328
  'simple_grid_field21',
329
  'simple_grid_field22',
330
- 'simple_grid_field23' ),
 
 
331
  'grid_checkbox' => array( 'grid_checkbox' ),
332
  'grid_checkbox_head' => array( 'grid_checkbox_head' ),
333
  'grid_edit' => array( 'grid_edit' ),
@@ -347,73 +365,79 @@
347
  'headcell_field' => array( 'cols' => array( 2 ),
348
  'rows' => array( 0 ),
349
  'tags' => array( 'id_fieldheadercolumn' ),
350
- 'items' => array( 'simple_grid_field12' ),
351
  'fixedAtServer' => false,
352
  'fixedAtClient' => false ),
353
  'headcell_field1' => array( 'cols' => array( 3 ),
354
  'rows' => array( 0 ),
355
  'tags' => array( 'brand_name_fieldheadercolumn' ),
356
- 'items' => array( 'simple_grid_field13' ),
357
  'fixedAtServer' => false,
358
  'fixedAtClient' => false ),
359
  'headcell_field2' => array( 'cols' => array( 4 ),
360
  'rows' => array( 0 ),
361
  'tags' => array( 'model_name_fieldheadercolumn' ),
362
- 'items' => array( 'simple_grid_field14' ),
363
  'fixedAtServer' => false,
364
  'fixedAtClient' => false ),
365
  'headcell_field3' => array( 'cols' => array( 5 ),
366
  'rows' => array( 0 ),
367
  'tags' => array( 'product_number_fieldheadercolumn' ),
368
- 'items' => array( 'simple_grid_field15' ),
369
  'fixedAtServer' => false,
370
  'fixedAtClient' => false ),
371
  'headcell_field4' => array( 'cols' => array( 6 ),
372
  'rows' => array( 0 ),
373
  'tags' => array( 'purchase_date_fieldheadercolumn' ),
374
- 'items' => array( 'simple_grid_field16' ),
375
  'fixedAtServer' => false,
376
  'fixedAtClient' => false ),
377
  'headcell_field5' => array( 'cols' => array( 7 ),
378
  'rows' => array( 0 ),
379
  'tags' => array( 'purchase_price_fieldheadercolumn' ),
380
- 'items' => array( 'simple_grid_field17' ),
381
  'fixedAtServer' => false,
382
  'fixedAtClient' => false ),
383
  'headcell_field6' => array( 'cols' => array( 8 ),
384
  'rows' => array( 0 ),
385
  'tags' => array( 'condition_fieldheadercolumn' ),
386
- 'items' => array( 'simple_grid_field18' ),
387
  'fixedAtServer' => false,
388
  'fixedAtClient' => false ),
389
  'headcell_field7' => array( 'cols' => array( 9 ),
390
  'rows' => array( 0 ),
391
- 'tags' => array( 'precious_metal_type_fieldheadercolumn' ),
392
- 'items' => array( 'simple_grid_field19' ),
393
  'fixedAtServer' => false,
394
  'fixedAtClient' => false ),
395
  'headcell_field8' => array( 'cols' => array( 10 ),
396
  'rows' => array( 0 ),
397
- 'tags' => array( 'precious_metal_weight_fieldheadercolumn' ),
398
- 'items' => array( 'simple_grid_field20' ),
399
  'fixedAtServer' => false,
400
  'fixedAtClient' => false ),
401
  'headcell_field9' => array( 'cols' => array( 11 ),
402
  'rows' => array( 0 ),
403
- 'tags' => array( 'diamond_certification_fieldheadercolumn' ),
404
- 'items' => array( 'simple_grid_field21' ),
405
  'fixedAtServer' => false,
406
  'fixedAtClient' => false ),
407
  'headcell_field10' => array( 'cols' => array( 12 ),
408
  'rows' => array( 0 ),
409
- 'tags' => array( 'accessories_fieldheadercolumn' ),
410
- 'items' => array( 'simple_grid_field22' ),
411
  'fixedAtServer' => false,
412
  'fixedAtClient' => false ),
413
  'headcell_field11' => array( 'cols' => array( 13 ),
414
  'rows' => array( 0 ),
415
- 'tags' => array( 'initial_fieldheadercolumn' ),
416
- 'items' => array( 'simple_grid_field23' ),
 
 
 
 
 
 
417
  'fixedAtServer' => false,
418
  'fixedAtClient' => false ),
419
  'cell_icons' => array( 'cols' => array( 0 ),
@@ -474,32 +498,38 @@
474
  'fixedAtClient' => false ),
475
  'cell_field7' => array( 'cols' => array( 9 ),
476
  'rows' => array( 1 ),
477
- 'tags' => array( 'precious_metal_type_fieldcolumn' ),
478
- 'items' => array( 'simple_grid_field7' ),
479
  'fixedAtServer' => false,
480
  'fixedAtClient' => false ),
481
  'cell_field8' => array( 'cols' => array( 10 ),
482
  'rows' => array( 1 ),
483
- 'tags' => array( 'precious_metal_weight_fieldcolumn' ),
484
- 'items' => array( 'simple_grid_field8' ),
485
  'fixedAtServer' => false,
486
  'fixedAtClient' => false ),
487
  'cell_field9' => array( 'cols' => array( 11 ),
488
  'rows' => array( 1 ),
489
- 'tags' => array( 'diamond_certification_fieldcolumn' ),
490
- 'items' => array( 'simple_grid_field9' ),
491
  'fixedAtServer' => false,
492
  'fixedAtClient' => false ),
493
  'cell_field10' => array( 'cols' => array( 12 ),
494
  'rows' => array( 1 ),
495
- 'tags' => array( 'accessories_fieldcolumn' ),
496
- 'items' => array( 'simple_grid_field10' ),
497
  'fixedAtServer' => false,
498
  'fixedAtClient' => false ),
499
  'cell_field11' => array( 'cols' => array( 13 ),
500
  'rows' => array( 1 ),
501
- 'tags' => array( 'initial_fieldcolumn' ),
502
- 'items' => array( 'simple_grid_field11' ),
 
 
 
 
 
 
503
  'fixedAtServer' => false,
504
  'fixedAtClient' => false ),
505
  'footcell_icons' => array( 'cols' => array( 0 ),
@@ -585,8 +615,14 @@
585
  'tags' => array( ),
586
  'items' => array( ),
587
  'fixedAtServer' => false,
 
 
 
 
 
 
588
  'fixedAtClient' => false ) ),
589
- 'width' => 14,
590
  'height' => 3 ) ) ),
591
  'loginForm' => array( 'loginForm' => 0 ),
592
  'page' => array( 'verticalBar' => false,
@@ -677,7 +713,8 @@ array( 'cell' => 'headcell_field7' ),
677
  array( 'cell' => 'headcell_field8' ),
678
  array( 'cell' => 'headcell_field9' ),
679
  array( 'cell' => 'headcell_field10' ),
680
- array( 'cell' => 'headcell_field11' ) ) ),
 
681
  array( 'section' => 'body',
682
  'cells' => array( array( 'cell' => 'cell_icons' ),
683
  array( 'cell' => 'cell_checkbox' ),
@@ -692,7 +729,8 @@ array( 'cell' => 'cell_field7' ),
692
  array( 'cell' => 'cell_field8' ),
693
  array( 'cell' => 'cell_field9' ),
694
  array( 'cell' => 'cell_field10' ),
695
- array( 'cell' => 'cell_field11' ) ) ),
 
696
  array( 'section' => 'foot',
697
  'cells' => array( array( 'cell' => 'footcell_icons' ),
698
  array( 'cell' => 'footcell_checkbox' ),
@@ -707,9 +745,10 @@ array( 'cell' => 'footcell_field7' ),
707
  array( 'cell' => 'footcell_field8' ),
708
  array( 'cell' => 'footcell_field9' ),
709
  array( 'cell' => 'footcell_field10' ),
710
- array( 'cell' => 'footcell_field11' ) ) ) ),
 
711
  'cells' => array( 'headcell_field' => array( 'model' => 'headcell_field',
712
- 'items' => array( 'simple_grid_field12' ),
713
  'field' => 'id',
714
  'columnName' => 'field' ),
715
  'cell_field' => array( 'model' => 'cell_field',
@@ -719,7 +758,7 @@ array( 'cell' => 'footcell_field11' ) ) ) ),
719
  'footcell_field' => array( 'model' => 'footcell_field',
720
  'items' => array( ) ),
721
  'headcell_field1' => array( 'model' => 'headcell_field',
722
- 'items' => array( 'simple_grid_field13' ),
723
  'field' => 'brand_name',
724
  'columnName' => 'field' ),
725
  'cell_field1' => array( 'model' => 'cell_field',
@@ -729,7 +768,7 @@ array( 'cell' => 'footcell_field11' ) ) ) ),
729
  'footcell_field1' => array( 'model' => 'footcell_field',
730
  'items' => array( ) ),
731
  'headcell_field2' => array( 'model' => 'headcell_field',
732
- 'items' => array( 'simple_grid_field14' ),
733
  'field' => 'model_name',
734
  'columnName' => 'field' ),
735
  'cell_field2' => array( 'model' => 'cell_field',
@@ -739,7 +778,7 @@ array( 'cell' => 'footcell_field11' ) ) ) ),
739
  'footcell_field2' => array( 'model' => 'footcell_field',
740
  'items' => array( ) ),
741
  'headcell_field3' => array( 'model' => 'headcell_field',
742
- 'items' => array( 'simple_grid_field15' ),
743
  'field' => 'product_number',
744
  'columnName' => 'field' ),
745
  'cell_field3' => array( 'model' => 'cell_field',
@@ -749,7 +788,7 @@ array( 'cell' => 'footcell_field11' ) ) ) ),
749
  'footcell_field3' => array( 'model' => 'footcell_field',
750
  'items' => array( ) ),
751
  'headcell_field4' => array( 'model' => 'headcell_field',
752
- 'items' => array( 'simple_grid_field16' ),
753
  'field' => 'purchase_date',
754
  'columnName' => 'field' ),
755
  'cell_field4' => array( 'model' => 'cell_field',
@@ -759,7 +798,7 @@ array( 'cell' => 'footcell_field11' ) ) ) ),
759
  'footcell_field4' => array( 'model' => 'footcell_field',
760
  'items' => array( ) ),
761
  'headcell_field5' => array( 'model' => 'headcell_field',
762
- 'items' => array( 'simple_grid_field17' ),
763
  'field' => 'purchase_price',
764
  'columnName' => 'field' ),
765
  'cell_field5' => array( 'model' => 'cell_field',
@@ -769,7 +808,7 @@ array( 'cell' => 'footcell_field11' ) ) ) ),
769
  'footcell_field5' => array( 'model' => 'footcell_field',
770
  'items' => array( ) ),
771
  'headcell_field6' => array( 'model' => 'headcell_field',
772
- 'items' => array( 'simple_grid_field18' ),
773
  'field' => 'condition',
774
  'columnName' => 'field' ),
775
  'cell_field6' => array( 'model' => 'cell_field',
@@ -779,55 +818,65 @@ array( 'cell' => 'footcell_field11' ) ) ) ),
779
  'footcell_field6' => array( 'model' => 'footcell_field',
780
  'items' => array( ) ),
781
  'headcell_field7' => array( 'model' => 'headcell_field',
782
- 'items' => array( 'simple_grid_field19' ),
783
- 'field' => 'precious_metal_type',
784
  'columnName' => 'field' ),
785
  'cell_field7' => array( 'model' => 'cell_field',
786
- 'items' => array( 'simple_grid_field7' ),
787
- 'field' => 'precious_metal_type',
788
  'columnName' => 'field' ),
789
  'footcell_field7' => array( 'model' => 'footcell_field',
790
  'items' => array( ) ),
791
  'headcell_field8' => array( 'model' => 'headcell_field',
792
- 'items' => array( 'simple_grid_field20' ),
793
- 'field' => 'precious_metal_weight',
794
  'columnName' => 'field' ),
795
  'cell_field8' => array( 'model' => 'cell_field',
796
- 'items' => array( 'simple_grid_field8' ),
797
- 'field' => 'precious_metal_weight',
798
  'columnName' => 'field' ),
799
  'footcell_field8' => array( 'model' => 'footcell_field',
800
  'items' => array( ) ),
801
  'headcell_field9' => array( 'model' => 'headcell_field',
802
- 'items' => array( 'simple_grid_field21' ),
803
- 'field' => 'diamond_certification',
804
  'columnName' => 'field' ),
805
  'cell_field9' => array( 'model' => 'cell_field',
806
- 'items' => array( 'simple_grid_field9' ),
807
- 'field' => 'diamond_certification',
808
  'columnName' => 'field' ),
809
  'footcell_field9' => array( 'model' => 'footcell_field',
810
  'items' => array( ) ),
811
  'headcell_field10' => array( 'model' => 'headcell_field',
812
- 'items' => array( 'simple_grid_field22' ),
813
- 'field' => 'accessories',
814
  'columnName' => 'field' ),
815
  'cell_field10' => array( 'model' => 'cell_field',
816
- 'items' => array( 'simple_grid_field10' ),
817
- 'field' => 'accessories',
818
  'columnName' => 'field' ),
819
  'footcell_field10' => array( 'model' => 'footcell_field',
820
  'items' => array( ) ),
821
  'headcell_field11' => array( 'model' => 'headcell_field',
822
- 'items' => array( 'simple_grid_field23' ),
823
- 'field' => 'initial',
824
  'columnName' => 'field' ),
825
  'cell_field11' => array( 'model' => 'cell_field',
826
- 'items' => array( 'simple_grid_field11' ),
827
- 'field' => 'initial',
828
  'columnName' => 'field' ),
829
  'footcell_field11' => array( 'model' => 'footcell_field',
830
  'items' => array( ) ),
 
 
 
 
 
 
 
 
 
 
831
  'headcell_checkbox' => array( 'model' => 'headcell_checkbox',
832
  'items' => array( 'grid_checkbox_head' ) ),
833
  'cell_checkbox' => array( 'model' => 'cell_checkbox',
@@ -852,11 +901,12 @@ array( 'cell' => 'footcell_field11' ) ) ) ),
852
  'details_found' => array( 'type' => 'details_found' ),
853
  'search_panel' => array( 'type' => 'search_panel',
854
  'items' => array( 'search_panel_field',
 
 
 
855
  'search_panel_field11',
856
  'search_panel_field10',
857
  'search_panel_field9',
858
- 'search_panel_field8',
859
- 'search_panel_field7',
860
  'search_panel_field6',
861
  'search_panel_field5',
862
  'search_panel_field4',
@@ -897,10 +947,10 @@ array( 'cell' => 'footcell_field11' ) ) ) ),
897
  'search_panel_field6' => array( 'field' => 'model_name',
898
  'type' => 'search_panel_field',
899
  'required' => false ),
900
- 'search_panel_field7' => array( 'field' => 'precious_metal_type',
901
  'type' => 'search_panel_field',
902
  'required' => false ),
903
- 'search_panel_field8' => array( 'field' => 'precious_metal_weight',
904
  'type' => 'search_panel_field',
905
  'required' => false ),
906
  'search_panel_field9' => array( 'field' => 'product_number',
@@ -937,78 +987,87 @@ array( 'cell' => 'footcell_field11' ) ) ) ),
937
  'delete_selected' => array( 'type' => 'delete_selected' ),
938
  'advsearch_link' => array( 'type' => 'advsearch_link' ),
939
  '-3' => array( 'type' => '-' ),
 
 
 
940
  'simple_grid_field' => array( 'field' => 'id',
941
  'type' => 'grid_field',
942
  'inlineAdd' => true,
943
  'inlineEdit' => true ),
944
- 'simple_grid_field12' => array( 'type' => 'grid_field_label',
945
  'field' => 'id' ),
946
  'simple_grid_field1' => array( 'field' => 'brand_name',
947
  'type' => 'grid_field',
948
  'inlineAdd' => true,
949
  'inlineEdit' => true ),
950
- 'simple_grid_field13' => array( 'type' => 'grid_field_label',
951
  'field' => 'brand_name' ),
952
  'simple_grid_field2' => array( 'field' => 'model_name',
953
  'type' => 'grid_field',
954
  'inlineAdd' => true,
955
  'inlineEdit' => true ),
956
- 'simple_grid_field14' => array( 'type' => 'grid_field_label',
957
  'field' => 'model_name' ),
958
  'simple_grid_field3' => array( 'field' => 'product_number',
959
  'type' => 'grid_field',
960
  'inlineAdd' => true,
961
  'inlineEdit' => true ),
962
- 'simple_grid_field15' => array( 'type' => 'grid_field_label',
963
  'field' => 'product_number' ),
964
  'simple_grid_field4' => array( 'field' => 'purchase_date',
965
  'type' => 'grid_field',
966
  'inlineAdd' => true,
967
  'inlineEdit' => true ),
968
- 'simple_grid_field16' => array( 'type' => 'grid_field_label',
969
  'field' => 'purchase_date' ),
970
  'simple_grid_field5' => array( 'field' => 'purchase_price',
971
  'type' => 'grid_field',
972
  'inlineAdd' => true,
973
  'inlineEdit' => true ),
974
- 'simple_grid_field17' => array( 'type' => 'grid_field_label',
975
  'field' => 'purchase_price' ),
976
  'simple_grid_field6' => array( 'field' => 'condition',
977
  'type' => 'grid_field',
978
  'inlineAdd' => true,
979
  'inlineEdit' => true ),
980
- 'simple_grid_field18' => array( 'type' => 'grid_field_label',
981
- 'field' => 'condition' ),
982
- 'simple_grid_field7' => array( 'field' => 'precious_metal_type',
983
- 'type' => 'grid_field',
984
- 'inlineAdd' => true,
985
- 'inlineEdit' => true ),
986
  'simple_grid_field19' => array( 'type' => 'grid_field_label',
987
- 'field' => 'precious_metal_type' ),
988
- 'simple_grid_field8' => array( 'field' => 'precious_metal_weight',
989
  'type' => 'grid_field',
990
  'inlineAdd' => true,
991
  'inlineEdit' => true ),
992
  'simple_grid_field20' => array( 'type' => 'grid_field_label',
993
- 'field' => 'precious_metal_weight' ),
994
- 'simple_grid_field9' => array( 'field' => 'diamond_certification',
995
  'type' => 'grid_field',
996
  'inlineAdd' => true,
997
  'inlineEdit' => true ),
998
  'simple_grid_field21' => array( 'type' => 'grid_field_label',
999
- 'field' => 'diamond_certification' ),
1000
- 'simple_grid_field10' => array( 'field' => 'accessories',
1001
  'type' => 'grid_field',
1002
  'inlineAdd' => true,
1003
  'inlineEdit' => true ),
1004
  'simple_grid_field22' => array( 'type' => 'grid_field_label',
1005
- 'field' => 'accessories' ),
1006
- 'simple_grid_field11' => array( 'field' => 'initial',
1007
  'type' => 'grid_field',
1008
  'inlineAdd' => true,
1009
  'inlineEdit' => true ),
1010
  'simple_grid_field23' => array( 'type' => 'grid_field_label',
1011
- 'field' => 'initial' ),
 
 
 
 
 
 
 
 
 
 
 
 
1012
  'grid_checkbox' => array( 'type' => 'grid_checkbox' ),
1013
  'grid_checkbox_head' => array( 'type' => 'grid_checkbox_head' ),
1014
  'grid_edit' => array( 'type' => 'grid_edit' ),
 
20
  'brand_name' => array( 'totalsType' => '' ),
21
  'model_name' => array( 'totalsType' => '' ),
22
  'product_number' => array( 'totalsType' => '' ),
23
+ 'purchase_store' => array( 'totalsType' => '' ),
24
  'purchase_date' => array( 'totalsType' => '' ),
25
  'purchase_price' => array( 'totalsType' => '' ),
26
+ 'accessories' => array( 'totalsType' => '' ),
27
  'condition' => array( 'totalsType' => '' ),
28
+ 'metal_type' => array( 'totalsType' => '' ),
29
+ 'metal_weight' => array( 'totalsType' => '' ),
30
  'diamond_certification' => array( 'totalsType' => '' ),
 
31
  'initial' => array( 'totalsType' => '' ) ),
32
  'fields' => array( 'gridFields' => array( 'id',
33
  'brand_name',
 
36
  'purchase_date',
37
  'purchase_price',
38
  'condition',
 
 
39
  'diamond_certification',
40
  'accessories',
41
+ 'initial',
42
+ 'purchase_store',
43
+ 'metal_type',
44
+ 'metal_weight' ),
45
  'searchRequiredFields' => array( ),
46
  'searchPanelFields' => array( 'accessories',
47
+ 'metal_weight',
48
+ 'metal_type',
49
+ 'purchase_store',
50
  'purchase_price',
51
  'purchase_date',
52
  'product_number',
 
 
53
  'model_name',
54
  'initial',
55
  'id',
 
64
  'purchase_date',
65
  'purchase_price',
66
  'condition',
 
 
67
  'diamond_certification',
68
  'accessories',
69
+ 'initial',
70
+ 'purchase_store',
71
+ 'metal_type',
72
+ 'metal_weight' ),
73
  'inlineEditFields' => array( 'id',
74
  'brand_name',
75
  'model_name',
 
77
  'purchase_date',
78
  'purchase_price',
79
  'condition',
 
 
80
  'diamond_certification',
81
  'accessories',
82
+ 'initial',
83
+ 'purchase_store',
84
+ 'metal_type',
85
+ 'metal_weight' ),
86
  'fieldItems' => array( 'id' => array( 'simple_grid_field',
 
 
87
  'simple_grid_field13' ),
88
+ 'brand_name' => array( 'simple_grid_field1',
89
  'simple_grid_field14' ),
90
+ 'model_name' => array( 'simple_grid_field2',
91
  'simple_grid_field15' ),
92
+ 'product_number' => array( 'simple_grid_field3',
93
  'simple_grid_field16' ),
94
+ 'purchase_date' => array( 'simple_grid_field4',
95
  'simple_grid_field17' ),
96
+ 'purchase_price' => array( 'simple_grid_field5',
97
  'simple_grid_field18' ),
98
+ 'condition' => array( 'simple_grid_field6',
99
  'simple_grid_field19' ),
 
 
100
  'diamond_certification' => array( 'simple_grid_field9',
101
+ 'simple_grid_field20' ),
102
  'accessories' => array( 'simple_grid_field10',
103
+ 'simple_grid_field21' ),
104
  'initial' => array( 'simple_grid_field11',
105
+ 'simple_grid_field22' ),
106
+ 'purchase_store' => array( 'simple_grid_field7',
107
+ 'simple_grid_field23' ),
108
+ 'metal_type' => array( 'simple_grid_field8',
109
+ 'simple_grid_field24' ),
110
+ 'metal_weight' => array( 'simple_grid_field12',
111
+ 'simple_grid_field25' ) ),
112
  'hideEmptyFields' => array( ),
113
  'fieldFilterFields' => array( ) ),
114
  'pageLinks' => array( 'edit' => true,
 
129
  'username_button' ),
130
  'left' => array( 'search_panel' ),
131
  'top' => array( 'breadcrumb' ),
132
+ 'grid' => array( 'simple_grid_field13',
133
  'simple_grid_field',
 
 
134
  'simple_grid_field14',
135
+ 'simple_grid_field1',
136
  'simple_grid_field15',
137
+ 'simple_grid_field2',
138
  'simple_grid_field16',
139
+ 'simple_grid_field3',
140
  'simple_grid_field17',
141
+ 'simple_grid_field4',
142
  'simple_grid_field18',
143
+ 'simple_grid_field5',
144
  'simple_grid_field19',
145
+ 'simple_grid_field6',
146
  'simple_grid_field20',
 
 
147
  'simple_grid_field9',
148
+ 'simple_grid_field21',
149
  'simple_grid_field10',
150
+ 'simple_grid_field22',
151
  'simple_grid_field11',
152
+ 'simple_grid_field23',
153
+ 'simple_grid_field7',
154
+ 'simple_grid_field24',
155
+ 'simple_grid_field8',
156
+ 'simple_grid_field25',
157
+ 'simple_grid_field12',
158
  'grid_checkbox_head',
159
  'grid_checkbox',
160
  'grid_edit',
 
180
  'username_button' => 'supertop',
181
  'search_panel' => 'left',
182
  'breadcrumb' => 'top',
 
 
183
  'simple_grid_field13' => 'grid',
184
+ 'simple_grid_field' => 'grid',
185
  'simple_grid_field14' => 'grid',
186
+ 'simple_grid_field1' => 'grid',
187
  'simple_grid_field15' => 'grid',
188
+ 'simple_grid_field2' => 'grid',
189
  'simple_grid_field16' => 'grid',
190
+ 'simple_grid_field3' => 'grid',
191
  'simple_grid_field17' => 'grid',
192
+ 'simple_grid_field4' => 'grid',
193
  'simple_grid_field18' => 'grid',
194
+ 'simple_grid_field5' => 'grid',
195
  'simple_grid_field19' => 'grid',
196
+ 'simple_grid_field6' => 'grid',
197
  'simple_grid_field20' => 'grid',
 
 
198
  'simple_grid_field9' => 'grid',
199
+ 'simple_grid_field21' => 'grid',
200
  'simple_grid_field10' => 'grid',
201
+ 'simple_grid_field22' => 'grid',
202
  'simple_grid_field11' => 'grid',
203
+ 'simple_grid_field23' => 'grid',
204
+ 'simple_grid_field7' => 'grid',
205
+ 'simple_grid_field24' => 'grid',
206
+ 'simple_grid_field8' => 'grid',
207
+ 'simple_grid_field25' => 'grid',
208
+ 'simple_grid_field12' => 'grid',
209
  'grid_checkbox_head' => 'grid',
210
  'grid_checkbox' => 'grid',
211
  'grid_edit' => 'grid',
212
  'grid_view' => 'grid' ),
213
+ 'itemLocations' => array( 'simple_grid_field13' => array( 'location' => 'grid',
214
  'cellId' => 'headcell_field' ),
215
  'simple_grid_field' => array( 'location' => 'grid',
216
  'cellId' => 'cell_field' ),
217
+ 'simple_grid_field14' => array( 'location' => 'grid',
218
  'cellId' => 'headcell_field1' ),
219
  'simple_grid_field1' => array( 'location' => 'grid',
220
  'cellId' => 'cell_field1' ),
221
+ 'simple_grid_field15' => array( 'location' => 'grid',
222
  'cellId' => 'headcell_field2' ),
223
  'simple_grid_field2' => array( 'location' => 'grid',
224
  'cellId' => 'cell_field2' ),
225
+ 'simple_grid_field16' => array( 'location' => 'grid',
226
  'cellId' => 'headcell_field3' ),
227
  'simple_grid_field3' => array( 'location' => 'grid',
228
  'cellId' => 'cell_field3' ),
229
+ 'simple_grid_field17' => array( 'location' => 'grid',
230
  'cellId' => 'headcell_field4' ),
231
  'simple_grid_field4' => array( 'location' => 'grid',
232
  'cellId' => 'cell_field4' ),
233
+ 'simple_grid_field18' => array( 'location' => 'grid',
234
  'cellId' => 'headcell_field5' ),
235
  'simple_grid_field5' => array( 'location' => 'grid',
236
  'cellId' => 'cell_field5' ),
237
+ 'simple_grid_field19' => array( 'location' => 'grid',
238
  'cellId' => 'headcell_field6' ),
239
  'simple_grid_field6' => array( 'location' => 'grid',
240
  'cellId' => 'cell_field6' ),
241
+ 'simple_grid_field20' => array( 'location' => 'grid',
242
  'cellId' => 'headcell_field7' ),
243
+ 'simple_grid_field9' => array( 'location' => 'grid',
244
  'cellId' => 'cell_field7' ),
245
+ 'simple_grid_field21' => array( 'location' => 'grid',
246
  'cellId' => 'headcell_field8' ),
247
+ 'simple_grid_field10' => array( 'location' => 'grid',
248
  'cellId' => 'cell_field8' ),
249
+ 'simple_grid_field22' => array( 'location' => 'grid',
250
  'cellId' => 'headcell_field9' ),
251
+ 'simple_grid_field11' => array( 'location' => 'grid',
252
  'cellId' => 'cell_field9' ),
253
+ 'simple_grid_field23' => array( 'location' => 'grid',
254
  'cellId' => 'headcell_field10' ),
255
+ 'simple_grid_field7' => array( 'location' => 'grid',
256
  'cellId' => 'cell_field10' ),
257
+ 'simple_grid_field24' => array( 'location' => 'grid',
258
  'cellId' => 'headcell_field11' ),
259
+ 'simple_grid_field8' => array( 'location' => 'grid',
260
  'cellId' => 'cell_field11' ),
261
+ 'simple_grid_field25' => array( 'location' => 'grid',
262
+ 'cellId' => 'headcell_field12' ),
263
+ 'simple_grid_field12' => array( 'location' => 'grid',
264
+ 'cellId' => 'cell_field12' ),
265
  'grid_checkbox_head' => array( 'location' => 'grid',
266
  'cellId' => 'headcell_checkbox' ),
267
  'grid_checkbox' => array( 'location' => 'grid',
 
299
  'search_panel_field8',
300
  'search_panel_field9',
301
  'search_panel_field10',
302
+ 'search_panel_field11',
303
+ 'search_panel_field12' ),
304
  'username_button' => array( 'username_button' ),
305
  'loginform_login' => array( 'loginform_login' ),
306
  'userinfo_link' => array( 'userinfo_link' ),
 
327
  'simple_grid_field4',
328
  'simple_grid_field5',
329
  'simple_grid_field6',
 
 
330
  'simple_grid_field9',
331
  'simple_grid_field10',
332
+ 'simple_grid_field11',
333
+ 'simple_grid_field7',
334
+ 'simple_grid_field8',
335
+ 'simple_grid_field12' ),
336
+ 'grid_field_label' => array( 'simple_grid_field13',
337
  'simple_grid_field14',
338
  'simple_grid_field15',
339
  'simple_grid_field16',
 
343
  'simple_grid_field20',
344
  'simple_grid_field21',
345
  'simple_grid_field22',
346
+ 'simple_grid_field23',
347
+ 'simple_grid_field24',
348
+ 'simple_grid_field25' ),
349
  'grid_checkbox' => array( 'grid_checkbox' ),
350
  'grid_checkbox_head' => array( 'grid_checkbox_head' ),
351
  'grid_edit' => array( 'grid_edit' ),
 
365
  'headcell_field' => array( 'cols' => array( 2 ),
366
  'rows' => array( 0 ),
367
  'tags' => array( 'id_fieldheadercolumn' ),
368
+ 'items' => array( 'simple_grid_field13' ),
369
  'fixedAtServer' => false,
370
  'fixedAtClient' => false ),
371
  'headcell_field1' => array( 'cols' => array( 3 ),
372
  'rows' => array( 0 ),
373
  'tags' => array( 'brand_name_fieldheadercolumn' ),
374
+ 'items' => array( 'simple_grid_field14' ),
375
  'fixedAtServer' => false,
376
  'fixedAtClient' => false ),
377
  'headcell_field2' => array( 'cols' => array( 4 ),
378
  'rows' => array( 0 ),
379
  'tags' => array( 'model_name_fieldheadercolumn' ),
380
+ 'items' => array( 'simple_grid_field15' ),
381
  'fixedAtServer' => false,
382
  'fixedAtClient' => false ),
383
  'headcell_field3' => array( 'cols' => array( 5 ),
384
  'rows' => array( 0 ),
385
  'tags' => array( 'product_number_fieldheadercolumn' ),
386
+ 'items' => array( 'simple_grid_field16' ),
387
  'fixedAtServer' => false,
388
  'fixedAtClient' => false ),
389
  'headcell_field4' => array( 'cols' => array( 6 ),
390
  'rows' => array( 0 ),
391
  'tags' => array( 'purchase_date_fieldheadercolumn' ),
392
+ 'items' => array( 'simple_grid_field17' ),
393
  'fixedAtServer' => false,
394
  'fixedAtClient' => false ),
395
  'headcell_field5' => array( 'cols' => array( 7 ),
396
  'rows' => array( 0 ),
397
  'tags' => array( 'purchase_price_fieldheadercolumn' ),
398
+ 'items' => array( 'simple_grid_field18' ),
399
  'fixedAtServer' => false,
400
  'fixedAtClient' => false ),
401
  'headcell_field6' => array( 'cols' => array( 8 ),
402
  'rows' => array( 0 ),
403
  'tags' => array( 'condition_fieldheadercolumn' ),
404
+ 'items' => array( 'simple_grid_field19' ),
405
  'fixedAtServer' => false,
406
  'fixedAtClient' => false ),
407
  'headcell_field7' => array( 'cols' => array( 9 ),
408
  'rows' => array( 0 ),
409
+ 'tags' => array( 'diamond_certification_fieldheadercolumn' ),
410
+ 'items' => array( 'simple_grid_field20' ),
411
  'fixedAtServer' => false,
412
  'fixedAtClient' => false ),
413
  'headcell_field8' => array( 'cols' => array( 10 ),
414
  'rows' => array( 0 ),
415
+ 'tags' => array( 'accessories_fieldheadercolumn' ),
416
+ 'items' => array( 'simple_grid_field21' ),
417
  'fixedAtServer' => false,
418
  'fixedAtClient' => false ),
419
  'headcell_field9' => array( 'cols' => array( 11 ),
420
  'rows' => array( 0 ),
421
+ 'tags' => array( 'initial_fieldheadercolumn' ),
422
+ 'items' => array( 'simple_grid_field22' ),
423
  'fixedAtServer' => false,
424
  'fixedAtClient' => false ),
425
  'headcell_field10' => array( 'cols' => array( 12 ),
426
  'rows' => array( 0 ),
427
+ 'tags' => array( 'purchase_store_fieldheadercolumn' ),
428
+ 'items' => array( 'simple_grid_field23' ),
429
  'fixedAtServer' => false,
430
  'fixedAtClient' => false ),
431
  'headcell_field11' => array( 'cols' => array( 13 ),
432
  'rows' => array( 0 ),
433
+ 'tags' => array( 'metal_type_fieldheadercolumn' ),
434
+ 'items' => array( 'simple_grid_field24' ),
435
+ 'fixedAtServer' => false,
436
+ 'fixedAtClient' => false ),
437
+ 'headcell_field12' => array( 'cols' => array( 14 ),
438
+ 'rows' => array( 0 ),
439
+ 'tags' => array( 'metal_weight_fieldheadercolumn' ),
440
+ 'items' => array( 'simple_grid_field25' ),
441
  'fixedAtServer' => false,
442
  'fixedAtClient' => false ),
443
  'cell_icons' => array( 'cols' => array( 0 ),
 
498
  'fixedAtClient' => false ),
499
  'cell_field7' => array( 'cols' => array( 9 ),
500
  'rows' => array( 1 ),
501
+ 'tags' => array( 'diamond_certification_fieldcolumn' ),
502
+ 'items' => array( 'simple_grid_field9' ),
503
  'fixedAtServer' => false,
504
  'fixedAtClient' => false ),
505
  'cell_field8' => array( 'cols' => array( 10 ),
506
  'rows' => array( 1 ),
507
+ 'tags' => array( 'accessories_fieldcolumn' ),
508
+ 'items' => array( 'simple_grid_field10' ),
509
  'fixedAtServer' => false,
510
  'fixedAtClient' => false ),
511
  'cell_field9' => array( 'cols' => array( 11 ),
512
  'rows' => array( 1 ),
513
+ 'tags' => array( 'initial_fieldcolumn' ),
514
+ 'items' => array( 'simple_grid_field11' ),
515
  'fixedAtServer' => false,
516
  'fixedAtClient' => false ),
517
  'cell_field10' => array( 'cols' => array( 12 ),
518
  'rows' => array( 1 ),
519
+ 'tags' => array( 'purchase_store_fieldcolumn' ),
520
+ 'items' => array( 'simple_grid_field7' ),
521
  'fixedAtServer' => false,
522
  'fixedAtClient' => false ),
523
  'cell_field11' => array( 'cols' => array( 13 ),
524
  'rows' => array( 1 ),
525
+ 'tags' => array( 'metal_type_fieldcolumn' ),
526
+ 'items' => array( 'simple_grid_field8' ),
527
+ 'fixedAtServer' => false,
528
+ 'fixedAtClient' => false ),
529
+ 'cell_field12' => array( 'cols' => array( 14 ),
530
+ 'rows' => array( 1 ),
531
+ 'tags' => array( 'metal_weight_fieldcolumn' ),
532
+ 'items' => array( 'simple_grid_field12' ),
533
  'fixedAtServer' => false,
534
  'fixedAtClient' => false ),
535
  'footcell_icons' => array( 'cols' => array( 0 ),
 
615
  'tags' => array( ),
616
  'items' => array( ),
617
  'fixedAtServer' => false,
618
+ 'fixedAtClient' => false ),
619
+ 'footcell_field12' => array( 'cols' => array( 14 ),
620
+ 'rows' => array( 2 ),
621
+ 'tags' => array( ),
622
+ 'items' => array( ),
623
+ 'fixedAtServer' => false,
624
  'fixedAtClient' => false ) ),
625
+ 'width' => 15,
626
  'height' => 3 ) ) ),
627
  'loginForm' => array( 'loginForm' => 0 ),
628
  'page' => array( 'verticalBar' => false,
 
713
  array( 'cell' => 'headcell_field8' ),
714
  array( 'cell' => 'headcell_field9' ),
715
  array( 'cell' => 'headcell_field10' ),
716
+ array( 'cell' => 'headcell_field11' ),
717
+ array( 'cell' => 'headcell_field12' ) ) ),
718
  array( 'section' => 'body',
719
  'cells' => array( array( 'cell' => 'cell_icons' ),
720
  array( 'cell' => 'cell_checkbox' ),
 
729
  array( 'cell' => 'cell_field8' ),
730
  array( 'cell' => 'cell_field9' ),
731
  array( 'cell' => 'cell_field10' ),
732
+ array( 'cell' => 'cell_field11' ),
733
+ array( 'cell' => 'cell_field12' ) ) ),
734
  array( 'section' => 'foot',
735
  'cells' => array( array( 'cell' => 'footcell_icons' ),
736
  array( 'cell' => 'footcell_checkbox' ),
 
745
  array( 'cell' => 'footcell_field8' ),
746
  array( 'cell' => 'footcell_field9' ),
747
  array( 'cell' => 'footcell_field10' ),
748
+ array( 'cell' => 'footcell_field11' ),
749
+ array( 'cell' => 'footcell_field12' ) ) ) ),
750
  'cells' => array( 'headcell_field' => array( 'model' => 'headcell_field',
751
+ 'items' => array( 'simple_grid_field13' ),
752
  'field' => 'id',
753
  'columnName' => 'field' ),
754
  'cell_field' => array( 'model' => 'cell_field',
 
758
  'footcell_field' => array( 'model' => 'footcell_field',
759
  'items' => array( ) ),
760
  'headcell_field1' => array( 'model' => 'headcell_field',
761
+ 'items' => array( 'simple_grid_field14' ),
762
  'field' => 'brand_name',
763
  'columnName' => 'field' ),
764
  'cell_field1' => array( 'model' => 'cell_field',
 
768
  'footcell_field1' => array( 'model' => 'footcell_field',
769
  'items' => array( ) ),
770
  'headcell_field2' => array( 'model' => 'headcell_field',
771
+ 'items' => array( 'simple_grid_field15' ),
772
  'field' => 'model_name',
773
  'columnName' => 'field' ),
774
  'cell_field2' => array( 'model' => 'cell_field',
 
778
  'footcell_field2' => array( 'model' => 'footcell_field',
779
  'items' => array( ) ),
780
  'headcell_field3' => array( 'model' => 'headcell_field',
781
+ 'items' => array( 'simple_grid_field16' ),
782
  'field' => 'product_number',
783
  'columnName' => 'field' ),
784
  'cell_field3' => array( 'model' => 'cell_field',
 
788
  'footcell_field3' => array( 'model' => 'footcell_field',
789
  'items' => array( ) ),
790
  'headcell_field4' => array( 'model' => 'headcell_field',
791
+ 'items' => array( 'simple_grid_field17' ),
792
  'field' => 'purchase_date',
793
  'columnName' => 'field' ),
794
  'cell_field4' => array( 'model' => 'cell_field',
 
798
  'footcell_field4' => array( 'model' => 'footcell_field',
799
  'items' => array( ) ),
800
  'headcell_field5' => array( 'model' => 'headcell_field',
801
+ 'items' => array( 'simple_grid_field18' ),
802
  'field' => 'purchase_price',
803
  'columnName' => 'field' ),
804
  'cell_field5' => array( 'model' => 'cell_field',
 
808
  'footcell_field5' => array( 'model' => 'footcell_field',
809
  'items' => array( ) ),
810
  'headcell_field6' => array( 'model' => 'headcell_field',
811
+ 'items' => array( 'simple_grid_field19' ),
812
  'field' => 'condition',
813
  'columnName' => 'field' ),
814
  'cell_field6' => array( 'model' => 'cell_field',
 
818
  'footcell_field6' => array( 'model' => 'footcell_field',
819
  'items' => array( ) ),
820
  'headcell_field7' => array( 'model' => 'headcell_field',
821
+ 'items' => array( 'simple_grid_field20' ),
822
+ 'field' => 'diamond_certification',
823
  'columnName' => 'field' ),
824
  'cell_field7' => array( 'model' => 'cell_field',
825
+ 'items' => array( 'simple_grid_field9' ),
826
+ 'field' => 'diamond_certification',
827
  'columnName' => 'field' ),
828
  'footcell_field7' => array( 'model' => 'footcell_field',
829
  'items' => array( ) ),
830
  'headcell_field8' => array( 'model' => 'headcell_field',
831
+ 'items' => array( 'simple_grid_field21' ),
832
+ 'field' => 'accessories',
833
  'columnName' => 'field' ),
834
  'cell_field8' => array( 'model' => 'cell_field',
835
+ 'items' => array( 'simple_grid_field10' ),
836
+ 'field' => 'accessories',
837
  'columnName' => 'field' ),
838
  'footcell_field8' => array( 'model' => 'footcell_field',
839
  'items' => array( ) ),
840
  'headcell_field9' => array( 'model' => 'headcell_field',
841
+ 'items' => array( 'simple_grid_field22' ),
842
+ 'field' => 'initial',
843
  'columnName' => 'field' ),
844
  'cell_field9' => array( 'model' => 'cell_field',
845
+ 'items' => array( 'simple_grid_field11' ),
846
+ 'field' => 'initial',
847
  'columnName' => 'field' ),
848
  'footcell_field9' => array( 'model' => 'footcell_field',
849
  'items' => array( ) ),
850
  'headcell_field10' => array( 'model' => 'headcell_field',
851
+ 'items' => array( 'simple_grid_field23' ),
852
+ 'field' => 'purchase_store',
853
  'columnName' => 'field' ),
854
  'cell_field10' => array( 'model' => 'cell_field',
855
+ 'items' => array( 'simple_grid_field7' ),
856
+ 'field' => 'purchase_store',
857
  'columnName' => 'field' ),
858
  'footcell_field10' => array( 'model' => 'footcell_field',
859
  'items' => array( ) ),
860
  'headcell_field11' => array( 'model' => 'headcell_field',
861
+ 'items' => array( 'simple_grid_field24' ),
862
+ 'field' => 'metal_type',
863
  'columnName' => 'field' ),
864
  'cell_field11' => array( 'model' => 'cell_field',
865
+ 'items' => array( 'simple_grid_field8' ),
866
+ 'field' => 'metal_type',
867
  'columnName' => 'field' ),
868
  'footcell_field11' => array( 'model' => 'footcell_field',
869
  'items' => array( ) ),
870
+ 'headcell_field12' => array( 'model' => 'headcell_field',
871
+ 'items' => array( 'simple_grid_field25' ),
872
+ 'field' => 'metal_weight',
873
+ 'columnName' => 'field' ),
874
+ 'cell_field12' => array( 'model' => 'cell_field',
875
+ 'items' => array( 'simple_grid_field12' ),
876
+ 'field' => 'metal_weight',
877
+ 'columnName' => 'field' ),
878
+ 'footcell_field12' => array( 'model' => 'footcell_field',
879
+ 'items' => array( ) ),
880
  'headcell_checkbox' => array( 'model' => 'headcell_checkbox',
881
  'items' => array( 'grid_checkbox_head' ) ),
882
  'cell_checkbox' => array( 'model' => 'cell_checkbox',
 
901
  'details_found' => array( 'type' => 'details_found' ),
902
  'search_panel' => array( 'type' => 'search_panel',
903
  'items' => array( 'search_panel_field',
904
+ 'search_panel_field12',
905
+ 'search_panel_field8',
906
+ 'search_panel_field7',
907
  'search_panel_field11',
908
  'search_panel_field10',
909
  'search_panel_field9',
 
 
910
  'search_panel_field6',
911
  'search_panel_field5',
912
  'search_panel_field4',
 
947
  'search_panel_field6' => array( 'field' => 'model_name',
948
  'type' => 'search_panel_field',
949
  'required' => false ),
950
+ 'search_panel_field7' => array( 'field' => 'purchase_store',
951
  'type' => 'search_panel_field',
952
  'required' => false ),
953
+ 'search_panel_field8' => array( 'field' => 'metal_type',
954
  'type' => 'search_panel_field',
955
  'required' => false ),
956
  'search_panel_field9' => array( 'field' => 'product_number',
 
987
  'delete_selected' => array( 'type' => 'delete_selected' ),
988
  'advsearch_link' => array( 'type' => 'advsearch_link' ),
989
  '-3' => array( 'type' => '-' ),
990
+ 'search_panel_field12' => array( 'field' => 'metal_weight',
991
+ 'type' => 'search_panel_field',
992
+ 'required' => false ),
993
  'simple_grid_field' => array( 'field' => 'id',
994
  'type' => 'grid_field',
995
  'inlineAdd' => true,
996
  'inlineEdit' => true ),
997
+ 'simple_grid_field13' => array( 'type' => 'grid_field_label',
998
  'field' => 'id' ),
999
  'simple_grid_field1' => array( 'field' => 'brand_name',
1000
  'type' => 'grid_field',
1001
  'inlineAdd' => true,
1002
  'inlineEdit' => true ),
1003
+ 'simple_grid_field14' => array( 'type' => 'grid_field_label',
1004
  'field' => 'brand_name' ),
1005
  'simple_grid_field2' => array( 'field' => 'model_name',
1006
  'type' => 'grid_field',
1007
  'inlineAdd' => true,
1008
  'inlineEdit' => true ),
1009
+ 'simple_grid_field15' => array( 'type' => 'grid_field_label',
1010
  'field' => 'model_name' ),
1011
  'simple_grid_field3' => array( 'field' => 'product_number',
1012
  'type' => 'grid_field',
1013
  'inlineAdd' => true,
1014
  'inlineEdit' => true ),
1015
+ 'simple_grid_field16' => array( 'type' => 'grid_field_label',
1016
  'field' => 'product_number' ),
1017
  'simple_grid_field4' => array( 'field' => 'purchase_date',
1018
  'type' => 'grid_field',
1019
  'inlineAdd' => true,
1020
  'inlineEdit' => true ),
1021
+ 'simple_grid_field17' => array( 'type' => 'grid_field_label',
1022
  'field' => 'purchase_date' ),
1023
  'simple_grid_field5' => array( 'field' => 'purchase_price',
1024
  'type' => 'grid_field',
1025
  'inlineAdd' => true,
1026
  'inlineEdit' => true ),
1027
+ 'simple_grid_field18' => array( 'type' => 'grid_field_label',
1028
  'field' => 'purchase_price' ),
1029
  'simple_grid_field6' => array( 'field' => 'condition',
1030
  'type' => 'grid_field',
1031
  'inlineAdd' => true,
1032
  'inlineEdit' => true ),
 
 
 
 
 
 
1033
  'simple_grid_field19' => array( 'type' => 'grid_field_label',
1034
+ 'field' => 'condition' ),
1035
+ 'simple_grid_field9' => array( 'field' => 'diamond_certification',
1036
  'type' => 'grid_field',
1037
  'inlineAdd' => true,
1038
  'inlineEdit' => true ),
1039
  'simple_grid_field20' => array( 'type' => 'grid_field_label',
1040
+ 'field' => 'diamond_certification' ),
1041
+ 'simple_grid_field10' => array( 'field' => 'accessories',
1042
  'type' => 'grid_field',
1043
  'inlineAdd' => true,
1044
  'inlineEdit' => true ),
1045
  'simple_grid_field21' => array( 'type' => 'grid_field_label',
1046
+ 'field' => 'accessories' ),
1047
+ 'simple_grid_field11' => array( 'field' => 'initial',
1048
  'type' => 'grid_field',
1049
  'inlineAdd' => true,
1050
  'inlineEdit' => true ),
1051
  'simple_grid_field22' => array( 'type' => 'grid_field_label',
1052
+ 'field' => 'initial' ),
1053
+ 'simple_grid_field7' => array( 'field' => 'purchase_store',
1054
  'type' => 'grid_field',
1055
  'inlineAdd' => true,
1056
  'inlineEdit' => true ),
1057
  'simple_grid_field23' => array( 'type' => 'grid_field_label',
1058
+ 'field' => 'purchase_store' ),
1059
+ 'simple_grid_field8' => array( 'field' => 'metal_type',
1060
+ 'type' => 'grid_field',
1061
+ 'inlineAdd' => true,
1062
+ 'inlineEdit' => true ),
1063
+ 'simple_grid_field24' => array( 'type' => 'grid_field_label',
1064
+ 'field' => 'metal_type' ),
1065
+ 'simple_grid_field12' => array( 'field' => 'metal_weight',
1066
+ 'type' => 'grid_field',
1067
+ 'inlineAdd' => true,
1068
+ 'inlineEdit' => true ),
1069
+ 'simple_grid_field25' => array( 'type' => 'grid_field_label',
1070
+ 'field' => 'metal_weight' ),
1071
  'grid_checkbox' => array( 'type' => 'grid_checkbox' ),
1072
  'grid_checkbox_head' => array( 'type' => 'grid_checkbox_head' ),
1073
  'grid_edit' => array( 'type' => 'grid_edit' ),
php/include/pages/items_print.php CHANGED
@@ -4,13 +4,14 @@
4
  'brand_name' => array( 'totalsType' => '' ),
5
  'model_name' => array( 'totalsType' => '' ),
6
  'product_number' => array( 'totalsType' => '' ),
 
7
  'purchase_date' => array( 'totalsType' => '' ),
8
  'purchase_price' => array( 'totalsType' => '' ),
 
9
  'condition' => array( 'totalsType' => '' ),
10
- 'precious_metal_type' => array( 'totalsType' => '' ),
11
- 'precious_metal_weight' => array( 'totalsType' => '' ),
12
  'diamond_certification' => array( 'totalsType' => '' ),
13
- 'accessories' => array( 'totalsType' => '' ),
14
  'initial' => array( 'totalsType' => '' ) ),
15
  'fields' => array( 'gridFields' => array( 'id',
16
  'brand_name',
@@ -19,37 +20,40 @@
19
  'purchase_date',
20
  'purchase_price',
21
  'condition',
22
- 'precious_metal_type',
23
- 'precious_metal_weight',
24
  'diamond_certification',
25
  'accessories',
26
- 'initial' ),
 
 
 
27
  'searchRequiredFields' => array( ),
28
  'searchPanelFields' => array( ),
29
  'fieldItems' => array( 'id' => array( 'simple_grid_field',
30
- 'simple_grid_field12' ),
31
- 'brand_name' => array( 'simple_grid_field1',
32
  'simple_grid_field13' ),
33
- 'model_name' => array( 'simple_grid_field2',
34
  'simple_grid_field14' ),
35
- 'product_number' => array( 'simple_grid_field3',
36
  'simple_grid_field15' ),
37
- 'purchase_date' => array( 'simple_grid_field4',
38
  'simple_grid_field16' ),
39
- 'purchase_price' => array( 'simple_grid_field5',
40
  'simple_grid_field17' ),
41
- 'condition' => array( 'simple_grid_field6',
42
  'simple_grid_field18' ),
43
- 'precious_metal_type' => array( 'simple_grid_field7',
44
  'simple_grid_field19' ),
45
- 'precious_metal_weight' => array( 'simple_grid_field8',
46
- 'simple_grid_field20' ),
47
  'diamond_certification' => array( 'simple_grid_field9',
48
- 'simple_grid_field21' ),
49
  'accessories' => array( 'simple_grid_field10',
50
- 'simple_grid_field22' ),
51
  'initial' => array( 'simple_grid_field11',
52
- 'simple_grid_field23' ) ),
 
 
 
 
 
 
53
  'hideEmptyFields' => array( ) ),
54
  'pageLinks' => array( 'edit' => false,
55
  'add' => false,
@@ -59,107 +63,115 @@
59
  'below-grid' => array( ),
60
  'top' => array( 'print_header',
61
  'print_subheader' ),
62
- 'grid' => array( 'simple_grid_field12',
63
  'simple_grid_field',
64
- 'simple_grid_field13',
65
- 'simple_grid_field1',
66
  'simple_grid_field14',
67
- 'simple_grid_field2',
68
  'simple_grid_field15',
69
- 'simple_grid_field3',
70
  'simple_grid_field16',
71
- 'simple_grid_field4',
72
  'simple_grid_field17',
73
- 'simple_grid_field5',
74
  'simple_grid_field18',
75
- 'simple_grid_field6',
76
  'simple_grid_field19',
77
- 'simple_grid_field7',
78
  'simple_grid_field20',
79
- 'simple_grid_field8',
80
- 'simple_grid_field21',
81
  'simple_grid_field9',
82
- 'simple_grid_field22',
83
  'simple_grid_field10',
 
 
84
  'simple_grid_field23',
85
- 'simple_grid_field11' ) ),
 
 
 
 
86
  'formXtTags' => array( 'above-grid' => array( 'print_pages' ),
87
  'below-grid' => array( ) ),
88
  'itemForms' => array( 'print_pages' => 'above-grid',
89
  'print_header' => 'top',
90
  'print_subheader' => 'top',
91
- 'simple_grid_field12' => 'grid',
92
- 'simple_grid_field' => 'grid',
93
  'simple_grid_field13' => 'grid',
94
- 'simple_grid_field1' => 'grid',
95
  'simple_grid_field14' => 'grid',
96
- 'simple_grid_field2' => 'grid',
97
  'simple_grid_field15' => 'grid',
98
- 'simple_grid_field3' => 'grid',
99
  'simple_grid_field16' => 'grid',
100
- 'simple_grid_field4' => 'grid',
101
  'simple_grid_field17' => 'grid',
102
- 'simple_grid_field5' => 'grid',
103
  'simple_grid_field18' => 'grid',
104
- 'simple_grid_field6' => 'grid',
105
  'simple_grid_field19' => 'grid',
106
- 'simple_grid_field7' => 'grid',
107
  'simple_grid_field20' => 'grid',
108
- 'simple_grid_field8' => 'grid',
109
- 'simple_grid_field21' => 'grid',
110
  'simple_grid_field9' => 'grid',
111
- 'simple_grid_field22' => 'grid',
112
  'simple_grid_field10' => 'grid',
 
 
113
  'simple_grid_field23' => 'grid',
114
- 'simple_grid_field11' => 'grid' ),
115
- 'itemLocations' => array( 'simple_grid_field12' => array( 'location' => 'grid',
 
 
 
 
116
  'cellId' => 'headcell_field' ),
117
  'simple_grid_field' => array( 'location' => 'grid',
118
  'cellId' => 'cell_field' ),
119
- 'simple_grid_field13' => array( 'location' => 'grid',
120
  'cellId' => 'headcell_field1' ),
121
  'simple_grid_field1' => array( 'location' => 'grid',
122
  'cellId' => 'cell_field1' ),
123
- 'simple_grid_field14' => array( 'location' => 'grid',
124
  'cellId' => 'headcell_field2' ),
125
  'simple_grid_field2' => array( 'location' => 'grid',
126
  'cellId' => 'cell_field2' ),
127
- 'simple_grid_field15' => array( 'location' => 'grid',
128
  'cellId' => 'headcell_field3' ),
129
  'simple_grid_field3' => array( 'location' => 'grid',
130
  'cellId' => 'cell_field3' ),
131
- 'simple_grid_field16' => array( 'location' => 'grid',
132
  'cellId' => 'headcell_field4' ),
133
  'simple_grid_field4' => array( 'location' => 'grid',
134
  'cellId' => 'cell_field4' ),
135
- 'simple_grid_field17' => array( 'location' => 'grid',
136
  'cellId' => 'headcell_field5' ),
137
  'simple_grid_field5' => array( 'location' => 'grid',
138
  'cellId' => 'cell_field5' ),
139
- 'simple_grid_field18' => array( 'location' => 'grid',
140
  'cellId' => 'headcell_field6' ),
141
  'simple_grid_field6' => array( 'location' => 'grid',
142
  'cellId' => 'cell_field6' ),
143
- 'simple_grid_field19' => array( 'location' => 'grid',
144
  'cellId' => 'headcell_field7' ),
145
- 'simple_grid_field7' => array( 'location' => 'grid',
146
  'cellId' => 'cell_field7' ),
147
- 'simple_grid_field20' => array( 'location' => 'grid',
148
  'cellId' => 'headcell_field8' ),
149
- 'simple_grid_field8' => array( 'location' => 'grid',
150
  'cellId' => 'cell_field8' ),
151
- 'simple_grid_field21' => array( 'location' => 'grid',
152
  'cellId' => 'headcell_field9' ),
153
- 'simple_grid_field9' => array( 'location' => 'grid',
154
  'cellId' => 'cell_field9' ),
155
- 'simple_grid_field22' => array( 'location' => 'grid',
156
  'cellId' => 'headcell_field10' ),
157
- 'simple_grid_field10' => array( 'location' => 'grid',
158
  'cellId' => 'cell_field10' ),
159
- 'simple_grid_field23' => array( 'location' => 'grid',
160
  'cellId' => 'headcell_field11' ),
161
- 'simple_grid_field11' => array( 'location' => 'grid',
162
- 'cellId' => 'cell_field11' ) ),
 
 
 
 
163
  'itemVisiblity' => array( ) ),
164
  'itemsByType' => array( 'print_header' => array( 'print_header' ),
165
  'print_subheader' => array( 'print_subheader' ),
@@ -171,13 +183,13 @@
171
  'simple_grid_field4',
172
  'simple_grid_field5',
173
  'simple_grid_field6',
174
- 'simple_grid_field7',
175
- 'simple_grid_field8',
176
  'simple_grid_field9',
177
  'simple_grid_field10',
178
- 'simple_grid_field11' ),
179
- 'grid_field_label' => array( 'simple_grid_field12',
180
- 'simple_grid_field13',
 
 
181
  'simple_grid_field14',
182
  'simple_grid_field15',
183
  'simple_grid_field16',
@@ -187,77 +199,85 @@
187
  'simple_grid_field20',
188
  'simple_grid_field21',
189
  'simple_grid_field22',
190
- 'simple_grid_field23' ) ),
 
 
191
  'cellMaps' => array( 'grid' => array( 'cells' => array( 'headcell_field' => array( 'cols' => array( 0 ),
192
  'rows' => array( 0 ),
193
  'tags' => array( 'id_fieldheadercolumn' ),
194
- 'items' => array( 'simple_grid_field12' ),
195
  'fixedAtServer' => false,
196
  'fixedAtClient' => false ),
197
  'headcell_field1' => array( 'cols' => array( 1 ),
198
  'rows' => array( 0 ),
199
  'tags' => array( 'brand_name_fieldheadercolumn' ),
200
- 'items' => array( 'simple_grid_field13' ),
201
  'fixedAtServer' => false,
202
  'fixedAtClient' => false ),
203
  'headcell_field2' => array( 'cols' => array( 2 ),
204
  'rows' => array( 0 ),
205
  'tags' => array( 'model_name_fieldheadercolumn' ),
206
- 'items' => array( 'simple_grid_field14' ),
207
  'fixedAtServer' => false,
208
  'fixedAtClient' => false ),
209
  'headcell_field3' => array( 'cols' => array( 3 ),
210
  'rows' => array( 0 ),
211
  'tags' => array( 'product_number_fieldheadercolumn' ),
212
- 'items' => array( 'simple_grid_field15' ),
213
  'fixedAtServer' => false,
214
  'fixedAtClient' => false ),
215
  'headcell_field4' => array( 'cols' => array( 4 ),
216
  'rows' => array( 0 ),
217
  'tags' => array( 'purchase_date_fieldheadercolumn' ),
218
- 'items' => array( 'simple_grid_field16' ),
219
  'fixedAtServer' => false,
220
  'fixedAtClient' => false ),
221
  'headcell_field5' => array( 'cols' => array( 5 ),
222
  'rows' => array( 0 ),
223
  'tags' => array( 'purchase_price_fieldheadercolumn' ),
224
- 'items' => array( 'simple_grid_field17' ),
225
  'fixedAtServer' => false,
226
  'fixedAtClient' => false ),
227
  'headcell_field6' => array( 'cols' => array( 6 ),
228
  'rows' => array( 0 ),
229
  'tags' => array( 'condition_fieldheadercolumn' ),
230
- 'items' => array( 'simple_grid_field18' ),
231
  'fixedAtServer' => false,
232
  'fixedAtClient' => false ),
233
  'headcell_field7' => array( 'cols' => array( 7 ),
234
  'rows' => array( 0 ),
235
- 'tags' => array( 'precious_metal_type_fieldheadercolumn' ),
236
- 'items' => array( 'simple_grid_field19' ),
237
  'fixedAtServer' => false,
238
  'fixedAtClient' => false ),
239
  'headcell_field8' => array( 'cols' => array( 8 ),
240
  'rows' => array( 0 ),
241
- 'tags' => array( 'precious_metal_weight_fieldheadercolumn' ),
242
- 'items' => array( 'simple_grid_field20' ),
243
  'fixedAtServer' => false,
244
  'fixedAtClient' => false ),
245
  'headcell_field9' => array( 'cols' => array( 9 ),
246
  'rows' => array( 0 ),
247
- 'tags' => array( 'diamond_certification_fieldheadercolumn' ),
248
- 'items' => array( 'simple_grid_field21' ),
249
  'fixedAtServer' => false,
250
  'fixedAtClient' => false ),
251
  'headcell_field10' => array( 'cols' => array( 10 ),
252
  'rows' => array( 0 ),
253
- 'tags' => array( 'accessories_fieldheadercolumn' ),
254
- 'items' => array( 'simple_grid_field22' ),
255
  'fixedAtServer' => false,
256
  'fixedAtClient' => false ),
257
  'headcell_field11' => array( 'cols' => array( 11 ),
258
  'rows' => array( 0 ),
259
- 'tags' => array( 'initial_fieldheadercolumn' ),
260
- 'items' => array( 'simple_grid_field23' ),
 
 
 
 
 
 
261
  'fixedAtServer' => false,
262
  'fixedAtClient' => false ),
263
  'cell_field' => array( 'cols' => array( 0 ),
@@ -304,32 +324,38 @@
304
  'fixedAtClient' => false ),
305
  'cell_field7' => array( 'cols' => array( 7 ),
306
  'rows' => array( 1 ),
307
- 'tags' => array( 'precious_metal_type_fieldcolumn' ),
308
- 'items' => array( 'simple_grid_field7' ),
309
  'fixedAtServer' => false,
310
  'fixedAtClient' => false ),
311
  'cell_field8' => array( 'cols' => array( 8 ),
312
  'rows' => array( 1 ),
313
- 'tags' => array( 'precious_metal_weight_fieldcolumn' ),
314
- 'items' => array( 'simple_grid_field8' ),
315
  'fixedAtServer' => false,
316
  'fixedAtClient' => false ),
317
  'cell_field9' => array( 'cols' => array( 9 ),
318
  'rows' => array( 1 ),
319
- 'tags' => array( 'diamond_certification_fieldcolumn' ),
320
- 'items' => array( 'simple_grid_field9' ),
321
  'fixedAtServer' => false,
322
  'fixedAtClient' => false ),
323
  'cell_field10' => array( 'cols' => array( 10 ),
324
  'rows' => array( 1 ),
325
- 'tags' => array( 'accessories_fieldcolumn' ),
326
- 'items' => array( 'simple_grid_field10' ),
327
  'fixedAtServer' => false,
328
  'fixedAtClient' => false ),
329
  'cell_field11' => array( 'cols' => array( 11 ),
330
  'rows' => array( 1 ),
331
- 'tags' => array( 'initial_fieldcolumn' ),
332
- 'items' => array( 'simple_grid_field11' ),
 
 
 
 
 
 
333
  'fixedAtServer' => false,
334
  'fixedAtClient' => false ),
335
  'footcell_field' => array( 'cols' => array( 0 ),
@@ -403,8 +429,14 @@
403
  'tags' => array( ),
404
  'items' => array( ),
405
  'fixedAtServer' => false,
 
 
 
 
 
 
406
  'fixedAtClient' => false ) ),
407
- 'width' => 12,
408
  'height' => 3 ) ) ),
409
  'loginForm' => array( 'loginForm' => 3 ),
410
  'page' => array( 'verticalBar' => false,
@@ -466,7 +498,8 @@ array( 'cell' => 'headcell_field7' ),
466
  array( 'cell' => 'headcell_field8' ),
467
  array( 'cell' => 'headcell_field9' ),
468
  array( 'cell' => 'headcell_field10' ),
469
- array( 'cell' => 'headcell_field11' ) ) ),
 
470
  array( 'section' => 'body',
471
  'cells' => array( array( 'cell' => 'cell_field' ),
472
  array( 'cell' => 'cell_field1' ),
@@ -479,7 +512,8 @@ array( 'cell' => 'cell_field7' ),
479
  array( 'cell' => 'cell_field8' ),
480
  array( 'cell' => 'cell_field9' ),
481
  array( 'cell' => 'cell_field10' ),
482
- array( 'cell' => 'cell_field11' ) ) ),
 
483
  array( 'section' => 'foot',
484
  'cells' => array( array( 'cell' => 'footcell_field' ),
485
  array( 'cell' => 'footcell_field1' ),
@@ -492,9 +526,10 @@ array( 'cell' => 'footcell_field7' ),
492
  array( 'cell' => 'footcell_field8' ),
493
  array( 'cell' => 'footcell_field9' ),
494
  array( 'cell' => 'footcell_field10' ),
495
- array( 'cell' => 'footcell_field11' ) ) ) ),
 
496
  'cells' => array( 'headcell_field' => array( 'model' => 'headcell_field',
497
- 'items' => array( 'simple_grid_field12' ),
498
  'field' => 'id',
499
  'columnName' => 'field' ),
500
  'cell_field' => array( 'model' => 'cell_field',
@@ -504,7 +539,7 @@ array( 'cell' => 'footcell_field11' ) ) ) ),
504
  'footcell_field' => array( 'model' => 'footcell_field',
505
  'items' => array( ) ),
506
  'headcell_field1' => array( 'model' => 'headcell_field',
507
- 'items' => array( 'simple_grid_field13' ),
508
  'field' => 'brand_name',
509
  'columnName' => 'field' ),
510
  'cell_field1' => array( 'model' => 'cell_field',
@@ -514,7 +549,7 @@ array( 'cell' => 'footcell_field11' ) ) ) ),
514
  'footcell_field1' => array( 'model' => 'footcell_field',
515
  'items' => array( ) ),
516
  'headcell_field2' => array( 'model' => 'headcell_field',
517
- 'items' => array( 'simple_grid_field14' ),
518
  'field' => 'model_name',
519
  'columnName' => 'field' ),
520
  'cell_field2' => array( 'model' => 'cell_field',
@@ -524,7 +559,7 @@ array( 'cell' => 'footcell_field11' ) ) ) ),
524
  'footcell_field2' => array( 'model' => 'footcell_field',
525
  'items' => array( ) ),
526
  'headcell_field3' => array( 'model' => 'headcell_field',
527
- 'items' => array( 'simple_grid_field15' ),
528
  'field' => 'product_number',
529
  'columnName' => 'field' ),
530
  'cell_field3' => array( 'model' => 'cell_field',
@@ -534,7 +569,7 @@ array( 'cell' => 'footcell_field11' ) ) ) ),
534
  'footcell_field3' => array( 'model' => 'footcell_field',
535
  'items' => array( ) ),
536
  'headcell_field4' => array( 'model' => 'headcell_field',
537
- 'items' => array( 'simple_grid_field16' ),
538
  'field' => 'purchase_date',
539
  'columnName' => 'field' ),
540
  'cell_field4' => array( 'model' => 'cell_field',
@@ -544,7 +579,7 @@ array( 'cell' => 'footcell_field11' ) ) ) ),
544
  'footcell_field4' => array( 'model' => 'footcell_field',
545
  'items' => array( ) ),
546
  'headcell_field5' => array( 'model' => 'headcell_field',
547
- 'items' => array( 'simple_grid_field17' ),
548
  'field' => 'purchase_price',
549
  'columnName' => 'field' ),
550
  'cell_field5' => array( 'model' => 'cell_field',
@@ -554,7 +589,7 @@ array( 'cell' => 'footcell_field11' ) ) ) ),
554
  'footcell_field5' => array( 'model' => 'footcell_field',
555
  'items' => array( ) ),
556
  'headcell_field6' => array( 'model' => 'headcell_field',
557
- 'items' => array( 'simple_grid_field18' ),
558
  'field' => 'condition',
559
  'columnName' => 'field' ),
560
  'cell_field6' => array( 'model' => 'cell_field',
@@ -564,54 +599,64 @@ array( 'cell' => 'footcell_field11' ) ) ) ),
564
  'footcell_field6' => array( 'model' => 'footcell_field',
565
  'items' => array( ) ),
566
  'headcell_field7' => array( 'model' => 'headcell_field',
567
- 'items' => array( 'simple_grid_field19' ),
568
- 'field' => 'precious_metal_type',
569
  'columnName' => 'field' ),
570
  'cell_field7' => array( 'model' => 'cell_field',
571
- 'items' => array( 'simple_grid_field7' ),
572
- 'field' => 'precious_metal_type',
573
  'columnName' => 'field' ),
574
  'footcell_field7' => array( 'model' => 'footcell_field',
575
  'items' => array( ) ),
576
  'headcell_field8' => array( 'model' => 'headcell_field',
577
- 'items' => array( 'simple_grid_field20' ),
578
- 'field' => 'precious_metal_weight',
579
  'columnName' => 'field' ),
580
  'cell_field8' => array( 'model' => 'cell_field',
581
- 'items' => array( 'simple_grid_field8' ),
582
- 'field' => 'precious_metal_weight',
583
  'columnName' => 'field' ),
584
  'footcell_field8' => array( 'model' => 'footcell_field',
585
  'items' => array( ) ),
586
  'headcell_field9' => array( 'model' => 'headcell_field',
587
- 'items' => array( 'simple_grid_field21' ),
588
- 'field' => 'diamond_certification',
589
  'columnName' => 'field' ),
590
  'cell_field9' => array( 'model' => 'cell_field',
591
- 'items' => array( 'simple_grid_field9' ),
592
- 'field' => 'diamond_certification',
593
  'columnName' => 'field' ),
594
  'footcell_field9' => array( 'model' => 'footcell_field',
595
  'items' => array( ) ),
596
  'headcell_field10' => array( 'model' => 'headcell_field',
597
- 'items' => array( 'simple_grid_field22' ),
598
- 'field' => 'accessories',
599
  'columnName' => 'field' ),
600
  'cell_field10' => array( 'model' => 'cell_field',
601
- 'items' => array( 'simple_grid_field10' ),
602
- 'field' => 'accessories',
603
  'columnName' => 'field' ),
604
  'footcell_field10' => array( 'model' => 'footcell_field',
605
  'items' => array( ) ),
606
  'headcell_field11' => array( 'model' => 'headcell_field',
607
- 'items' => array( 'simple_grid_field23' ),
608
- 'field' => 'initial',
609
  'columnName' => 'field' ),
610
  'cell_field11' => array( 'model' => 'cell_field',
611
- 'items' => array( 'simple_grid_field11' ),
612
- 'field' => 'initial',
613
  'columnName' => 'field' ),
614
  'footcell_field11' => array( 'model' => 'footcell_field',
 
 
 
 
 
 
 
 
 
 
615
  'items' => array( ) ) ),
616
  'deferredItems' => array( ),
617
  'recsPerRow' => 1 ) ),
@@ -620,52 +665,56 @@ array( 'cell' => 'footcell_field11' ) ) ) ),
620
  'print_pages' => array( 'type' => 'print_pages' ),
621
  'simple_grid_field' => array( 'field' => 'id',
622
  'type' => 'grid_field' ),
623
- 'simple_grid_field12' => array( 'type' => 'grid_field_label',
624
  'field' => 'id' ),
625
  'simple_grid_field1' => array( 'field' => 'brand_name',
626
  'type' => 'grid_field' ),
627
- 'simple_grid_field13' => array( 'type' => 'grid_field_label',
628
  'field' => 'brand_name' ),
629
  'simple_grid_field2' => array( 'field' => 'model_name',
630
  'type' => 'grid_field' ),
631
- 'simple_grid_field14' => array( 'type' => 'grid_field_label',
632
  'field' => 'model_name' ),
633
  'simple_grid_field3' => array( 'field' => 'product_number',
634
  'type' => 'grid_field' ),
635
- 'simple_grid_field15' => array( 'type' => 'grid_field_label',
636
  'field' => 'product_number' ),
637
  'simple_grid_field4' => array( 'field' => 'purchase_date',
638
  'type' => 'grid_field' ),
639
- 'simple_grid_field16' => array( 'type' => 'grid_field_label',
640
  'field' => 'purchase_date' ),
641
  'simple_grid_field5' => array( 'field' => 'purchase_price',
642
  'type' => 'grid_field' ),
643
- 'simple_grid_field17' => array( 'type' => 'grid_field_label',
644
  'field' => 'purchase_price' ),
645
  'simple_grid_field6' => array( 'field' => 'condition',
646
  'type' => 'grid_field' ),
647
- 'simple_grid_field18' => array( 'type' => 'grid_field_label',
648
- 'field' => 'condition' ),
649
- 'simple_grid_field7' => array( 'field' => 'precious_metal_type',
650
- 'type' => 'grid_field' ),
651
  'simple_grid_field19' => array( 'type' => 'grid_field_label',
652
- 'field' => 'precious_metal_type' ),
653
- 'simple_grid_field8' => array( 'field' => 'precious_metal_weight',
654
- 'type' => 'grid_field' ),
655
- 'simple_grid_field20' => array( 'type' => 'grid_field_label',
656
- 'field' => 'precious_metal_weight' ),
657
  'simple_grid_field9' => array( 'field' => 'diamond_certification',
658
  'type' => 'grid_field' ),
659
- 'simple_grid_field21' => array( 'type' => 'grid_field_label',
660
  'field' => 'diamond_certification' ),
661
  'simple_grid_field10' => array( 'field' => 'accessories',
662
  'type' => 'grid_field' ),
663
- 'simple_grid_field22' => array( 'type' => 'grid_field_label',
664
  'field' => 'accessories' ),
665
  'simple_grid_field11' => array( 'field' => 'initial',
666
  'type' => 'grid_field' ),
 
 
 
 
667
  'simple_grid_field23' => array( 'type' => 'grid_field_label',
668
- 'field' => 'initial' ) ),
 
 
 
 
 
 
 
 
669
  'dbProps' => array( ),
670
  'version' => 14,
671
  'imageItem' => array( 'type' => 'page_image' ),
 
4
  'brand_name' => array( 'totalsType' => '' ),
5
  'model_name' => array( 'totalsType' => '' ),
6
  'product_number' => array( 'totalsType' => '' ),
7
+ 'purchase_store' => array( 'totalsType' => '' ),
8
  'purchase_date' => array( 'totalsType' => '' ),
9
  'purchase_price' => array( 'totalsType' => '' ),
10
+ 'accessories' => array( 'totalsType' => '' ),
11
  'condition' => array( 'totalsType' => '' ),
12
+ 'metal_type' => array( 'totalsType' => '' ),
13
+ 'metal_weight' => array( 'totalsType' => '' ),
14
  'diamond_certification' => array( 'totalsType' => '' ),
 
15
  'initial' => array( 'totalsType' => '' ) ),
16
  'fields' => array( 'gridFields' => array( 'id',
17
  'brand_name',
 
20
  'purchase_date',
21
  'purchase_price',
22
  'condition',
 
 
23
  'diamond_certification',
24
  'accessories',
25
+ 'initial',
26
+ 'purchase_store',
27
+ 'metal_type',
28
+ 'metal_weight' ),
29
  'searchRequiredFields' => array( ),
30
  'searchPanelFields' => array( ),
31
  'fieldItems' => array( 'id' => array( 'simple_grid_field',
 
 
32
  'simple_grid_field13' ),
33
+ 'brand_name' => array( 'simple_grid_field1',
34
  'simple_grid_field14' ),
35
+ 'model_name' => array( 'simple_grid_field2',
36
  'simple_grid_field15' ),
37
+ 'product_number' => array( 'simple_grid_field3',
38
  'simple_grid_field16' ),
39
+ 'purchase_date' => array( 'simple_grid_field4',
40
  'simple_grid_field17' ),
41
+ 'purchase_price' => array( 'simple_grid_field5',
42
  'simple_grid_field18' ),
43
+ 'condition' => array( 'simple_grid_field6',
44
  'simple_grid_field19' ),
 
 
45
  'diamond_certification' => array( 'simple_grid_field9',
46
+ 'simple_grid_field20' ),
47
  'accessories' => array( 'simple_grid_field10',
48
+ 'simple_grid_field21' ),
49
  'initial' => array( 'simple_grid_field11',
50
+ 'simple_grid_field22' ),
51
+ 'purchase_store' => array( 'simple_grid_field7',
52
+ 'simple_grid_field23' ),
53
+ 'metal_type' => array( 'simple_grid_field8',
54
+ 'simple_grid_field24' ),
55
+ 'metal_weight' => array( 'simple_grid_field12',
56
+ 'simple_grid_field25' ) ),
57
  'hideEmptyFields' => array( ) ),
58
  'pageLinks' => array( 'edit' => false,
59
  'add' => false,
 
63
  'below-grid' => array( ),
64
  'top' => array( 'print_header',
65
  'print_subheader' ),
66
+ 'grid' => array( 'simple_grid_field13',
67
  'simple_grid_field',
 
 
68
  'simple_grid_field14',
69
+ 'simple_grid_field1',
70
  'simple_grid_field15',
71
+ 'simple_grid_field2',
72
  'simple_grid_field16',
73
+ 'simple_grid_field3',
74
  'simple_grid_field17',
75
+ 'simple_grid_field4',
76
  'simple_grid_field18',
77
+ 'simple_grid_field5',
78
  'simple_grid_field19',
79
+ 'simple_grid_field6',
80
  'simple_grid_field20',
 
 
81
  'simple_grid_field9',
82
+ 'simple_grid_field21',
83
  'simple_grid_field10',
84
+ 'simple_grid_field22',
85
+ 'simple_grid_field11',
86
  'simple_grid_field23',
87
+ 'simple_grid_field7',
88
+ 'simple_grid_field24',
89
+ 'simple_grid_field8',
90
+ 'simple_grid_field25',
91
+ 'simple_grid_field12' ) ),
92
  'formXtTags' => array( 'above-grid' => array( 'print_pages' ),
93
  'below-grid' => array( ) ),
94
  'itemForms' => array( 'print_pages' => 'above-grid',
95
  'print_header' => 'top',
96
  'print_subheader' => 'top',
 
 
97
  'simple_grid_field13' => 'grid',
98
+ 'simple_grid_field' => 'grid',
99
  'simple_grid_field14' => 'grid',
100
+ 'simple_grid_field1' => 'grid',
101
  'simple_grid_field15' => 'grid',
102
+ 'simple_grid_field2' => 'grid',
103
  'simple_grid_field16' => 'grid',
104
+ 'simple_grid_field3' => 'grid',
105
  'simple_grid_field17' => 'grid',
106
+ 'simple_grid_field4' => 'grid',
107
  'simple_grid_field18' => 'grid',
108
+ 'simple_grid_field5' => 'grid',
109
  'simple_grid_field19' => 'grid',
110
+ 'simple_grid_field6' => 'grid',
111
  'simple_grid_field20' => 'grid',
 
 
112
  'simple_grid_field9' => 'grid',
113
+ 'simple_grid_field21' => 'grid',
114
  'simple_grid_field10' => 'grid',
115
+ 'simple_grid_field22' => 'grid',
116
+ 'simple_grid_field11' => 'grid',
117
  'simple_grid_field23' => 'grid',
118
+ 'simple_grid_field7' => 'grid',
119
+ 'simple_grid_field24' => 'grid',
120
+ 'simple_grid_field8' => 'grid',
121
+ 'simple_grid_field25' => 'grid',
122
+ 'simple_grid_field12' => 'grid' ),
123
+ 'itemLocations' => array( 'simple_grid_field13' => array( 'location' => 'grid',
124
  'cellId' => 'headcell_field' ),
125
  'simple_grid_field' => array( 'location' => 'grid',
126
  'cellId' => 'cell_field' ),
127
+ 'simple_grid_field14' => array( 'location' => 'grid',
128
  'cellId' => 'headcell_field1' ),
129
  'simple_grid_field1' => array( 'location' => 'grid',
130
  'cellId' => 'cell_field1' ),
131
+ 'simple_grid_field15' => array( 'location' => 'grid',
132
  'cellId' => 'headcell_field2' ),
133
  'simple_grid_field2' => array( 'location' => 'grid',
134
  'cellId' => 'cell_field2' ),
135
+ 'simple_grid_field16' => array( 'location' => 'grid',
136
  'cellId' => 'headcell_field3' ),
137
  'simple_grid_field3' => array( 'location' => 'grid',
138
  'cellId' => 'cell_field3' ),
139
+ 'simple_grid_field17' => array( 'location' => 'grid',
140
  'cellId' => 'headcell_field4' ),
141
  'simple_grid_field4' => array( 'location' => 'grid',
142
  'cellId' => 'cell_field4' ),
143
+ 'simple_grid_field18' => array( 'location' => 'grid',
144
  'cellId' => 'headcell_field5' ),
145
  'simple_grid_field5' => array( 'location' => 'grid',
146
  'cellId' => 'cell_field5' ),
147
+ 'simple_grid_field19' => array( 'location' => 'grid',
148
  'cellId' => 'headcell_field6' ),
149
  'simple_grid_field6' => array( 'location' => 'grid',
150
  'cellId' => 'cell_field6' ),
151
+ 'simple_grid_field20' => array( 'location' => 'grid',
152
  'cellId' => 'headcell_field7' ),
153
+ 'simple_grid_field9' => array( 'location' => 'grid',
154
  'cellId' => 'cell_field7' ),
155
+ 'simple_grid_field21' => array( 'location' => 'grid',
156
  'cellId' => 'headcell_field8' ),
157
+ 'simple_grid_field10' => array( 'location' => 'grid',
158
  'cellId' => 'cell_field8' ),
159
+ 'simple_grid_field22' => array( 'location' => 'grid',
160
  'cellId' => 'headcell_field9' ),
161
+ 'simple_grid_field11' => array( 'location' => 'grid',
162
  'cellId' => 'cell_field9' ),
163
+ 'simple_grid_field23' => array( 'location' => 'grid',
164
  'cellId' => 'headcell_field10' ),
165
+ 'simple_grid_field7' => array( 'location' => 'grid',
166
  'cellId' => 'cell_field10' ),
167
+ 'simple_grid_field24' => array( 'location' => 'grid',
168
  'cellId' => 'headcell_field11' ),
169
+ 'simple_grid_field8' => array( 'location' => 'grid',
170
+ 'cellId' => 'cell_field11' ),
171
+ 'simple_grid_field25' => array( 'location' => 'grid',
172
+ 'cellId' => 'headcell_field12' ),
173
+ 'simple_grid_field12' => array( 'location' => 'grid',
174
+ 'cellId' => 'cell_field12' ) ),
175
  'itemVisiblity' => array( ) ),
176
  'itemsByType' => array( 'print_header' => array( 'print_header' ),
177
  'print_subheader' => array( 'print_subheader' ),
 
183
  'simple_grid_field4',
184
  'simple_grid_field5',
185
  'simple_grid_field6',
 
 
186
  'simple_grid_field9',
187
  'simple_grid_field10',
188
+ 'simple_grid_field11',
189
+ 'simple_grid_field7',
190
+ 'simple_grid_field8',
191
+ 'simple_grid_field12' ),
192
+ 'grid_field_label' => array( 'simple_grid_field13',
193
  'simple_grid_field14',
194
  'simple_grid_field15',
195
  'simple_grid_field16',
 
199
  'simple_grid_field20',
200
  'simple_grid_field21',
201
  'simple_grid_field22',
202
+ 'simple_grid_field23',
203
+ 'simple_grid_field24',
204
+ 'simple_grid_field25' ) ),
205
  'cellMaps' => array( 'grid' => array( 'cells' => array( 'headcell_field' => array( 'cols' => array( 0 ),
206
  'rows' => array( 0 ),
207
  'tags' => array( 'id_fieldheadercolumn' ),
208
+ 'items' => array( 'simple_grid_field13' ),
209
  'fixedAtServer' => false,
210
  'fixedAtClient' => false ),
211
  'headcell_field1' => array( 'cols' => array( 1 ),
212
  'rows' => array( 0 ),
213
  'tags' => array( 'brand_name_fieldheadercolumn' ),
214
+ 'items' => array( 'simple_grid_field14' ),
215
  'fixedAtServer' => false,
216
  'fixedAtClient' => false ),
217
  'headcell_field2' => array( 'cols' => array( 2 ),
218
  'rows' => array( 0 ),
219
  'tags' => array( 'model_name_fieldheadercolumn' ),
220
+ 'items' => array( 'simple_grid_field15' ),
221
  'fixedAtServer' => false,
222
  'fixedAtClient' => false ),
223
  'headcell_field3' => array( 'cols' => array( 3 ),
224
  'rows' => array( 0 ),
225
  'tags' => array( 'product_number_fieldheadercolumn' ),
226
+ 'items' => array( 'simple_grid_field16' ),
227
  'fixedAtServer' => false,
228
  'fixedAtClient' => false ),
229
  'headcell_field4' => array( 'cols' => array( 4 ),
230
  'rows' => array( 0 ),
231
  'tags' => array( 'purchase_date_fieldheadercolumn' ),
232
+ 'items' => array( 'simple_grid_field17' ),
233
  'fixedAtServer' => false,
234
  'fixedAtClient' => false ),
235
  'headcell_field5' => array( 'cols' => array( 5 ),
236
  'rows' => array( 0 ),
237
  'tags' => array( 'purchase_price_fieldheadercolumn' ),
238
+ 'items' => array( 'simple_grid_field18' ),
239
  'fixedAtServer' => false,
240
  'fixedAtClient' => false ),
241
  'headcell_field6' => array( 'cols' => array( 6 ),
242
  'rows' => array( 0 ),
243
  'tags' => array( 'condition_fieldheadercolumn' ),
244
+ 'items' => array( 'simple_grid_field19' ),
245
  'fixedAtServer' => false,
246
  'fixedAtClient' => false ),
247
  'headcell_field7' => array( 'cols' => array( 7 ),
248
  'rows' => array( 0 ),
249
+ 'tags' => array( 'diamond_certification_fieldheadercolumn' ),
250
+ 'items' => array( 'simple_grid_field20' ),
251
  'fixedAtServer' => false,
252
  'fixedAtClient' => false ),
253
  'headcell_field8' => array( 'cols' => array( 8 ),
254
  'rows' => array( 0 ),
255
+ 'tags' => array( 'accessories_fieldheadercolumn' ),
256
+ 'items' => array( 'simple_grid_field21' ),
257
  'fixedAtServer' => false,
258
  'fixedAtClient' => false ),
259
  'headcell_field9' => array( 'cols' => array( 9 ),
260
  'rows' => array( 0 ),
261
+ 'tags' => array( 'initial_fieldheadercolumn' ),
262
+ 'items' => array( 'simple_grid_field22' ),
263
  'fixedAtServer' => false,
264
  'fixedAtClient' => false ),
265
  'headcell_field10' => array( 'cols' => array( 10 ),
266
  'rows' => array( 0 ),
267
+ 'tags' => array( 'purchase_store_fieldheadercolumn' ),
268
+ 'items' => array( 'simple_grid_field23' ),
269
  'fixedAtServer' => false,
270
  'fixedAtClient' => false ),
271
  'headcell_field11' => array( 'cols' => array( 11 ),
272
  'rows' => array( 0 ),
273
+ 'tags' => array( 'metal_type_fieldheadercolumn' ),
274
+ 'items' => array( 'simple_grid_field24' ),
275
+ 'fixedAtServer' => false,
276
+ 'fixedAtClient' => false ),
277
+ 'headcell_field12' => array( 'cols' => array( 12 ),
278
+ 'rows' => array( 0 ),
279
+ 'tags' => array( 'metal_weight_fieldheadercolumn' ),
280
+ 'items' => array( 'simple_grid_field25' ),
281
  'fixedAtServer' => false,
282
  'fixedAtClient' => false ),
283
  'cell_field' => array( 'cols' => array( 0 ),
 
324
  'fixedAtClient' => false ),
325
  'cell_field7' => array( 'cols' => array( 7 ),
326
  'rows' => array( 1 ),
327
+ 'tags' => array( 'diamond_certification_fieldcolumn' ),
328
+ 'items' => array( 'simple_grid_field9' ),
329
  'fixedAtServer' => false,
330
  'fixedAtClient' => false ),
331
  'cell_field8' => array( 'cols' => array( 8 ),
332
  'rows' => array( 1 ),
333
+ 'tags' => array( 'accessories_fieldcolumn' ),
334
+ 'items' => array( 'simple_grid_field10' ),
335
  'fixedAtServer' => false,
336
  'fixedAtClient' => false ),
337
  'cell_field9' => array( 'cols' => array( 9 ),
338
  'rows' => array( 1 ),
339
+ 'tags' => array( 'initial_fieldcolumn' ),
340
+ 'items' => array( 'simple_grid_field11' ),
341
  'fixedAtServer' => false,
342
  'fixedAtClient' => false ),
343
  'cell_field10' => array( 'cols' => array( 10 ),
344
  'rows' => array( 1 ),
345
+ 'tags' => array( 'purchase_store_fieldcolumn' ),
346
+ 'items' => array( 'simple_grid_field7' ),
347
  'fixedAtServer' => false,
348
  'fixedAtClient' => false ),
349
  'cell_field11' => array( 'cols' => array( 11 ),
350
  'rows' => array( 1 ),
351
+ 'tags' => array( 'metal_type_fieldcolumn' ),
352
+ 'items' => array( 'simple_grid_field8' ),
353
+ 'fixedAtServer' => false,
354
+ 'fixedAtClient' => false ),
355
+ 'cell_field12' => array( 'cols' => array( 12 ),
356
+ 'rows' => array( 1 ),
357
+ 'tags' => array( 'metal_weight_fieldcolumn' ),
358
+ 'items' => array( 'simple_grid_field12' ),
359
  'fixedAtServer' => false,
360
  'fixedAtClient' => false ),
361
  'footcell_field' => array( 'cols' => array( 0 ),
 
429
  'tags' => array( ),
430
  'items' => array( ),
431
  'fixedAtServer' => false,
432
+ 'fixedAtClient' => false ),
433
+ 'footcell_field12' => array( 'cols' => array( 12 ),
434
+ 'rows' => array( 2 ),
435
+ 'tags' => array( ),
436
+ 'items' => array( ),
437
+ 'fixedAtServer' => false,
438
  'fixedAtClient' => false ) ),
439
+ 'width' => 13,
440
  'height' => 3 ) ) ),
441
  'loginForm' => array( 'loginForm' => 3 ),
442
  'page' => array( 'verticalBar' => false,
 
498
  array( 'cell' => 'headcell_field8' ),
499
  array( 'cell' => 'headcell_field9' ),
500
  array( 'cell' => 'headcell_field10' ),
501
+ array( 'cell' => 'headcell_field11' ),
502
+ array( 'cell' => 'headcell_field12' ) ) ),
503
  array( 'section' => 'body',
504
  'cells' => array( array( 'cell' => 'cell_field' ),
505
  array( 'cell' => 'cell_field1' ),
 
512
  array( 'cell' => 'cell_field8' ),
513
  array( 'cell' => 'cell_field9' ),
514
  array( 'cell' => 'cell_field10' ),
515
+ array( 'cell' => 'cell_field11' ),
516
+ array( 'cell' => 'cell_field12' ) ) ),
517
  array( 'section' => 'foot',
518
  'cells' => array( array( 'cell' => 'footcell_field' ),
519
  array( 'cell' => 'footcell_field1' ),
 
526
  array( 'cell' => 'footcell_field8' ),
527
  array( 'cell' => 'footcell_field9' ),
528
  array( 'cell' => 'footcell_field10' ),
529
+ array( 'cell' => 'footcell_field11' ),
530
+ array( 'cell' => 'footcell_field12' ) ) ) ),
531
  'cells' => array( 'headcell_field' => array( 'model' => 'headcell_field',
532
+ 'items' => array( 'simple_grid_field13' ),
533
  'field' => 'id',
534
  'columnName' => 'field' ),
535
  'cell_field' => array( 'model' => 'cell_field',
 
539
  'footcell_field' => array( 'model' => 'footcell_field',
540
  'items' => array( ) ),
541
  'headcell_field1' => array( 'model' => 'headcell_field',
542
+ 'items' => array( 'simple_grid_field14' ),
543
  'field' => 'brand_name',
544
  'columnName' => 'field' ),
545
  'cell_field1' => array( 'model' => 'cell_field',
 
549
  'footcell_field1' => array( 'model' => 'footcell_field',
550
  'items' => array( ) ),
551
  'headcell_field2' => array( 'model' => 'headcell_field',
552
+ 'items' => array( 'simple_grid_field15' ),
553
  'field' => 'model_name',
554
  'columnName' => 'field' ),
555
  'cell_field2' => array( 'model' => 'cell_field',
 
559
  'footcell_field2' => array( 'model' => 'footcell_field',
560
  'items' => array( ) ),
561
  'headcell_field3' => array( 'model' => 'headcell_field',
562
+ 'items' => array( 'simple_grid_field16' ),
563
  'field' => 'product_number',
564
  'columnName' => 'field' ),
565
  'cell_field3' => array( 'model' => 'cell_field',
 
569
  'footcell_field3' => array( 'model' => 'footcell_field',
570
  'items' => array( ) ),
571
  'headcell_field4' => array( 'model' => 'headcell_field',
572
+ 'items' => array( 'simple_grid_field17' ),
573
  'field' => 'purchase_date',
574
  'columnName' => 'field' ),
575
  'cell_field4' => array( 'model' => 'cell_field',
 
579
  'footcell_field4' => array( 'model' => 'footcell_field',
580
  'items' => array( ) ),
581
  'headcell_field5' => array( 'model' => 'headcell_field',
582
+ 'items' => array( 'simple_grid_field18' ),
583
  'field' => 'purchase_price',
584
  'columnName' => 'field' ),
585
  'cell_field5' => array( 'model' => 'cell_field',
 
589
  'footcell_field5' => array( 'model' => 'footcell_field',
590
  'items' => array( ) ),
591
  'headcell_field6' => array( 'model' => 'headcell_field',
592
+ 'items' => array( 'simple_grid_field19' ),
593
  'field' => 'condition',
594
  'columnName' => 'field' ),
595
  'cell_field6' => array( 'model' => 'cell_field',
 
599
  'footcell_field6' => array( 'model' => 'footcell_field',
600
  'items' => array( ) ),
601
  'headcell_field7' => array( 'model' => 'headcell_field',
602
+ 'items' => array( 'simple_grid_field20' ),
603
+ 'field' => 'diamond_certification',
604
  'columnName' => 'field' ),
605
  'cell_field7' => array( 'model' => 'cell_field',
606
+ 'items' => array( 'simple_grid_field9' ),
607
+ 'field' => 'diamond_certification',
608
  'columnName' => 'field' ),
609
  'footcell_field7' => array( 'model' => 'footcell_field',
610
  'items' => array( ) ),
611
  'headcell_field8' => array( 'model' => 'headcell_field',
612
+ 'items' => array( 'simple_grid_field21' ),
613
+ 'field' => 'accessories',
614
  'columnName' => 'field' ),
615
  'cell_field8' => array( 'model' => 'cell_field',
616
+ 'items' => array( 'simple_grid_field10' ),
617
+ 'field' => 'accessories',
618
  'columnName' => 'field' ),
619
  'footcell_field8' => array( 'model' => 'footcell_field',
620
  'items' => array( ) ),
621
  'headcell_field9' => array( 'model' => 'headcell_field',
622
+ 'items' => array( 'simple_grid_field22' ),
623
+ 'field' => 'initial',
624
  'columnName' => 'field' ),
625
  'cell_field9' => array( 'model' => 'cell_field',
626
+ 'items' => array( 'simple_grid_field11' ),
627
+ 'field' => 'initial',
628
  'columnName' => 'field' ),
629
  'footcell_field9' => array( 'model' => 'footcell_field',
630
  'items' => array( ) ),
631
  'headcell_field10' => array( 'model' => 'headcell_field',
632
+ 'items' => array( 'simple_grid_field23' ),
633
+ 'field' => 'purchase_store',
634
  'columnName' => 'field' ),
635
  'cell_field10' => array( 'model' => 'cell_field',
636
+ 'items' => array( 'simple_grid_field7' ),
637
+ 'field' => 'purchase_store',
638
  'columnName' => 'field' ),
639
  'footcell_field10' => array( 'model' => 'footcell_field',
640
  'items' => array( ) ),
641
  'headcell_field11' => array( 'model' => 'headcell_field',
642
+ 'items' => array( 'simple_grid_field24' ),
643
+ 'field' => 'metal_type',
644
  'columnName' => 'field' ),
645
  'cell_field11' => array( 'model' => 'cell_field',
646
+ 'items' => array( 'simple_grid_field8' ),
647
+ 'field' => 'metal_type',
648
  'columnName' => 'field' ),
649
  'footcell_field11' => array( 'model' => 'footcell_field',
650
+ 'items' => array( ) ),
651
+ 'headcell_field12' => array( 'model' => 'headcell_field',
652
+ 'items' => array( 'simple_grid_field25' ),
653
+ 'field' => 'metal_weight',
654
+ 'columnName' => 'field' ),
655
+ 'cell_field12' => array( 'model' => 'cell_field',
656
+ 'items' => array( 'simple_grid_field12' ),
657
+ 'field' => 'metal_weight',
658
+ 'columnName' => 'field' ),
659
+ 'footcell_field12' => array( 'model' => 'footcell_field',
660
  'items' => array( ) ) ),
661
  'deferredItems' => array( ),
662
  'recsPerRow' => 1 ) ),
 
665
  'print_pages' => array( 'type' => 'print_pages' ),
666
  'simple_grid_field' => array( 'field' => 'id',
667
  'type' => 'grid_field' ),
668
+ 'simple_grid_field13' => array( 'type' => 'grid_field_label',
669
  'field' => 'id' ),
670
  'simple_grid_field1' => array( 'field' => 'brand_name',
671
  'type' => 'grid_field' ),
672
+ 'simple_grid_field14' => array( 'type' => 'grid_field_label',
673
  'field' => 'brand_name' ),
674
  'simple_grid_field2' => array( 'field' => 'model_name',
675
  'type' => 'grid_field' ),
676
+ 'simple_grid_field15' => array( 'type' => 'grid_field_label',
677
  'field' => 'model_name' ),
678
  'simple_grid_field3' => array( 'field' => 'product_number',
679
  'type' => 'grid_field' ),
680
+ 'simple_grid_field16' => array( 'type' => 'grid_field_label',
681
  'field' => 'product_number' ),
682
  'simple_grid_field4' => array( 'field' => 'purchase_date',
683
  'type' => 'grid_field' ),
684
+ 'simple_grid_field17' => array( 'type' => 'grid_field_label',
685
  'field' => 'purchase_date' ),
686
  'simple_grid_field5' => array( 'field' => 'purchase_price',
687
  'type' => 'grid_field' ),
688
+ 'simple_grid_field18' => array( 'type' => 'grid_field_label',
689
  'field' => 'purchase_price' ),
690
  'simple_grid_field6' => array( 'field' => 'condition',
691
  'type' => 'grid_field' ),
 
 
 
 
692
  'simple_grid_field19' => array( 'type' => 'grid_field_label',
693
+ 'field' => 'condition' ),
 
 
 
 
694
  'simple_grid_field9' => array( 'field' => 'diamond_certification',
695
  'type' => 'grid_field' ),
696
+ 'simple_grid_field20' => array( 'type' => 'grid_field_label',
697
  'field' => 'diamond_certification' ),
698
  'simple_grid_field10' => array( 'field' => 'accessories',
699
  'type' => 'grid_field' ),
700
+ 'simple_grid_field21' => array( 'type' => 'grid_field_label',
701
  'field' => 'accessories' ),
702
  'simple_grid_field11' => array( 'field' => 'initial',
703
  'type' => 'grid_field' ),
704
+ 'simple_grid_field22' => array( 'type' => 'grid_field_label',
705
+ 'field' => 'initial' ),
706
+ 'simple_grid_field7' => array( 'field' => 'purchase_store',
707
+ 'type' => 'grid_field' ),
708
  'simple_grid_field23' => array( 'type' => 'grid_field_label',
709
+ 'field' => 'purchase_store' ),
710
+ 'simple_grid_field8' => array( 'field' => 'metal_type',
711
+ 'type' => 'grid_field' ),
712
+ 'simple_grid_field24' => array( 'type' => 'grid_field_label',
713
+ 'field' => 'metal_type' ),
714
+ 'simple_grid_field12' => array( 'field' => 'metal_weight',
715
+ 'type' => 'grid_field' ),
716
+ 'simple_grid_field25' => array( 'type' => 'grid_field_label',
717
+ 'field' => 'metal_weight' ) ),
718
  'dbProps' => array( ),
719
  'version' => 14,
720
  'imageItem' => array( 'type' => 'page_image' ),
php/include/pages/items_search.php CHANGED
@@ -6,11 +6,12 @@
6
  'purchase_date',
7
  'purchase_price',
8
  'condition',
9
- 'precious_metal_type',
10
- 'precious_metal_weight',
11
  'diamond_certification',
12
  'accessories',
13
- 'initial' ),
 
14
  'searchRequiredFields' => array( ),
15
  'searchPanelFields' => array( ),
16
  'fieldItems' => array( 'id' => array( 'integrated_search_field' ),
@@ -20,11 +21,12 @@
20
  'purchase_date' => array( 'integrated_search_field4' ),
21
  'purchase_price' => array( 'integrated_search_field5' ),
22
  'condition' => array( 'integrated_search_field6' ),
23
- 'precious_metal_type' => array( 'integrated_search_field7' ),
24
- 'precious_metal_weight' => array( 'integrated_search_field8' ),
25
  'diamond_certification' => array( 'integrated_search_field9' ),
26
  'accessories' => array( 'integrated_search_field10' ),
27
- 'initial' => array( 'integrated_search_field11' ) ) ),
 
28
  'pageLinks' => array( 'edit' => false,
29
  'add' => false,
30
  'view' => false,
@@ -42,11 +44,12 @@
42
  'integrated_search_field4',
43
  'integrated_search_field5',
44
  'integrated_search_field6',
45
- 'integrated_search_field7',
46
- 'integrated_search_field8',
47
  'integrated_search_field9',
48
  'integrated_search_field10',
49
- 'integrated_search_field11' ) ),
 
 
 
50
  'formXtTags' => array( 'above-grid' => array( ) ),
51
  'itemForms' => array( 'search_search' => 'below-grid',
52
  'search_reset' => 'below-grid',
@@ -60,11 +63,12 @@
60
  'integrated_search_field4' => 'grid',
61
  'integrated_search_field5' => 'grid',
62
  'integrated_search_field6' => 'grid',
63
- 'integrated_search_field7' => 'grid',
64
- 'integrated_search_field8' => 'grid',
65
  'integrated_search_field9' => 'grid',
66
  'integrated_search_field10' => 'grid',
67
- 'integrated_search_field11' => 'grid' ),
 
 
 
68
  'itemLocations' => array( 'integrated_search_field' => array( 'location' => 'grid',
69
  'cellId' => 'c3' ),
70
  'integrated_search_field1' => array( 'location' => 'grid',
@@ -79,15 +83,17 @@
79
  'cellId' => 'c3' ),
80
  'integrated_search_field6' => array( 'location' => 'grid',
81
  'cellId' => 'c3' ),
82
- 'integrated_search_field7' => array( 'location' => 'grid',
83
- 'cellId' => 'c3' ),
84
- 'integrated_search_field8' => array( 'location' => 'grid',
85
- 'cellId' => 'c3' ),
86
  'integrated_search_field9' => array( 'location' => 'grid',
87
  'cellId' => 'c3' ),
88
  'integrated_search_field10' => array( 'location' => 'grid',
89
  'cellId' => 'c3' ),
90
  'integrated_search_field11' => array( 'location' => 'grid',
 
 
 
 
 
 
91
  'cellId' => 'c3' ) ),
92
  'itemVisiblity' => array( ) ),
93
  'itemsByType' => array( 'search_header' => array( 'search_header' ),
@@ -106,7 +112,8 @@
106
  'integrated_search_field8',
107
  'integrated_search_field9',
108
  'integrated_search_field10',
109
- 'integrated_search_field11' ) ),
 
110
  'cellMaps' => array( 'grid' => array( 'cells' => array( 'c3' => array( 'cols' => array( 0 ),
111
  'rows' => array( 0 ),
112
  'tags' => array( ),
@@ -117,11 +124,12 @@
117
  'integrated_search_field4',
118
  'integrated_search_field5',
119
  'integrated_search_field6',
120
- 'integrated_search_field7',
121
- 'integrated_search_field8',
122
  'integrated_search_field9',
123
  'integrated_search_field10',
124
- 'integrated_search_field11' ),
 
 
 
125
  'fixedAtServer' => true,
126
  'fixedAtClient' => false ) ),
127
  'width' => 1,
@@ -183,11 +191,12 @@
183
  'integrated_search_field4',
184
  'integrated_search_field5',
185
  'integrated_search_field6',
186
- 'integrated_search_field7',
187
- 'integrated_search_field8',
188
  'integrated_search_field9',
189
  'integrated_search_field10',
190
- 'integrated_search_field11' ) ) ),
 
 
 
191
  'deferredItems' => array( ),
192
  'separateLabels' => false ) ),
193
  'items' => array( 'search_header' => array( 'type' => 'search_header' ),
@@ -223,11 +232,11 @@
223
  'type' => 'integrated_search_field',
224
  'orientation' => 0,
225
  'required' => false ),
226
- 'integrated_search_field7' => array( 'field' => 'precious_metal_type',
227
  'type' => 'integrated_search_field',
228
  'orientation' => 0,
229
  'required' => false ),
230
- 'integrated_search_field8' => array( 'field' => 'precious_metal_weight',
231
  'type' => 'integrated_search_field',
232
  'orientation' => 0,
233
  'required' => false ),
@@ -242,6 +251,10 @@
242
  'integrated_search_field11' => array( 'field' => 'initial',
243
  'type' => 'integrated_search_field',
244
  'orientation' => 0,
 
 
 
 
245
  'required' => false ) ),
246
  'dbProps' => array( ),
247
  'version' => 14,
 
6
  'purchase_date',
7
  'purchase_price',
8
  'condition',
9
+ 'purchase_store',
10
+ 'metal_type',
11
  'diamond_certification',
12
  'accessories',
13
+ 'initial',
14
+ 'metal_weight' ),
15
  'searchRequiredFields' => array( ),
16
  'searchPanelFields' => array( ),
17
  'fieldItems' => array( 'id' => array( 'integrated_search_field' ),
 
21
  'purchase_date' => array( 'integrated_search_field4' ),
22
  'purchase_price' => array( 'integrated_search_field5' ),
23
  'condition' => array( 'integrated_search_field6' ),
24
+ 'purchase_store' => array( 'integrated_search_field7' ),
25
+ 'metal_type' => array( 'integrated_search_field8' ),
26
  'diamond_certification' => array( 'integrated_search_field9' ),
27
  'accessories' => array( 'integrated_search_field10' ),
28
+ 'initial' => array( 'integrated_search_field11' ),
29
+ 'metal_weight' => array( 'integrated_search_field12' ) ) ),
30
  'pageLinks' => array( 'edit' => false,
31
  'add' => false,
32
  'view' => false,
 
44
  'integrated_search_field4',
45
  'integrated_search_field5',
46
  'integrated_search_field6',
 
 
47
  'integrated_search_field9',
48
  'integrated_search_field10',
49
+ 'integrated_search_field11',
50
+ 'integrated_search_field7',
51
+ 'integrated_search_field8',
52
+ 'integrated_search_field12' ) ),
53
  'formXtTags' => array( 'above-grid' => array( ) ),
54
  'itemForms' => array( 'search_search' => 'below-grid',
55
  'search_reset' => 'below-grid',
 
63
  'integrated_search_field4' => 'grid',
64
  'integrated_search_field5' => 'grid',
65
  'integrated_search_field6' => 'grid',
 
 
66
  'integrated_search_field9' => 'grid',
67
  'integrated_search_field10' => 'grid',
68
+ 'integrated_search_field11' => 'grid',
69
+ 'integrated_search_field7' => 'grid',
70
+ 'integrated_search_field8' => 'grid',
71
+ 'integrated_search_field12' => 'grid' ),
72
  'itemLocations' => array( 'integrated_search_field' => array( 'location' => 'grid',
73
  'cellId' => 'c3' ),
74
  'integrated_search_field1' => array( 'location' => 'grid',
 
83
  'cellId' => 'c3' ),
84
  'integrated_search_field6' => array( 'location' => 'grid',
85
  'cellId' => 'c3' ),
 
 
 
 
86
  'integrated_search_field9' => array( 'location' => 'grid',
87
  'cellId' => 'c3' ),
88
  'integrated_search_field10' => array( 'location' => 'grid',
89
  'cellId' => 'c3' ),
90
  'integrated_search_field11' => array( 'location' => 'grid',
91
+ 'cellId' => 'c3' ),
92
+ 'integrated_search_field7' => array( 'location' => 'grid',
93
+ 'cellId' => 'c3' ),
94
+ 'integrated_search_field8' => array( 'location' => 'grid',
95
+ 'cellId' => 'c3' ),
96
+ 'integrated_search_field12' => array( 'location' => 'grid',
97
  'cellId' => 'c3' ) ),
98
  'itemVisiblity' => array( ) ),
99
  'itemsByType' => array( 'search_header' => array( 'search_header' ),
 
112
  'integrated_search_field8',
113
  'integrated_search_field9',
114
  'integrated_search_field10',
115
+ 'integrated_search_field11',
116
+ 'integrated_search_field12' ) ),
117
  'cellMaps' => array( 'grid' => array( 'cells' => array( 'c3' => array( 'cols' => array( 0 ),
118
  'rows' => array( 0 ),
119
  'tags' => array( ),
 
124
  'integrated_search_field4',
125
  'integrated_search_field5',
126
  'integrated_search_field6',
 
 
127
  'integrated_search_field9',
128
  'integrated_search_field10',
129
+ 'integrated_search_field11',
130
+ 'integrated_search_field7',
131
+ 'integrated_search_field8',
132
+ 'integrated_search_field12' ),
133
  'fixedAtServer' => true,
134
  'fixedAtClient' => false ) ),
135
  'width' => 1,
 
191
  'integrated_search_field4',
192
  'integrated_search_field5',
193
  'integrated_search_field6',
 
 
194
  'integrated_search_field9',
195
  'integrated_search_field10',
196
+ 'integrated_search_field11',
197
+ 'integrated_search_field7',
198
+ 'integrated_search_field8',
199
+ 'integrated_search_field12' ) ) ),
200
  'deferredItems' => array( ),
201
  'separateLabels' => false ) ),
202
  'items' => array( 'search_header' => array( 'type' => 'search_header' ),
 
232
  'type' => 'integrated_search_field',
233
  'orientation' => 0,
234
  'required' => false ),
235
+ 'integrated_search_field7' => array( 'field' => 'purchase_store',
236
  'type' => 'integrated_search_field',
237
  'orientation' => 0,
238
  'required' => false ),
239
+ 'integrated_search_field8' => array( 'field' => 'metal_type',
240
  'type' => 'integrated_search_field',
241
  'orientation' => 0,
242
  'required' => false ),
 
251
  'integrated_search_field11' => array( 'field' => 'initial',
252
  'type' => 'integrated_search_field',
253
  'orientation' => 0,
254
+ 'required' => false ),
255
+ 'integrated_search_field12' => array( 'field' => 'metal_weight',
256
+ 'type' => 'integrated_search_field',
257
+ 'orientation' => 0,
258
  'required' => false ) ),
259
  'dbProps' => array( ),
260
  'version' => 14,
php/include/pages/items_view.php CHANGED
@@ -7,11 +7,12 @@
7
  'purchase_date',
8
  'purchase_price',
9
  'condition',
10
- 'precious_metal_type',
11
- 'precious_metal_weight',
12
  'diamond_certification',
13
  'accessories',
14
- 'initial' ),
 
15
  'searchRequiredFields' => array( ),
16
  'searchPanelFields' => array( ),
17
  'fieldItems' => array( 'id' => array( 'integrated_edit_field' ),
@@ -21,11 +22,12 @@
21
  'purchase_date' => array( 'integrated_edit_field4' ),
22
  'purchase_price' => array( 'integrated_edit_field5' ),
23
  'condition' => array( 'integrated_edit_field6' ),
24
- 'precious_metal_type' => array( 'integrated_edit_field7' ),
25
- 'precious_metal_weight' => array( 'integrated_edit_field8' ),
26
  'diamond_certification' => array( 'integrated_edit_field9' ),
27
  'accessories' => array( 'integrated_edit_field10' ),
28
- 'initial' => array( 'integrated_edit_field11' ) ) ),
 
29
  'pageLinks' => array( 'edit' => true,
30
  'add' => false,
31
  'view' => false,
@@ -46,11 +48,12 @@
46
  'integrated_edit_field4',
47
  'integrated_edit_field5',
48
  'integrated_edit_field6',
49
- 'integrated_edit_field7',
50
- 'integrated_edit_field8',
51
  'integrated_edit_field9',
52
  'integrated_edit_field10',
53
- 'integrated_edit_field11' ) ),
 
 
 
54
  'formXtTags' => array( 'above-grid' => array( ) ),
55
  'itemForms' => array( 'view_back_list' => 'below-grid',
56
  'view_close' => 'below-grid',
@@ -67,11 +70,12 @@
67
  'integrated_edit_field4' => 'grid',
68
  'integrated_edit_field5' => 'grid',
69
  'integrated_edit_field6' => 'grid',
70
- 'integrated_edit_field7' => 'grid',
71
- 'integrated_edit_field8' => 'grid',
72
  'integrated_edit_field9' => 'grid',
73
  'integrated_edit_field10' => 'grid',
74
- 'integrated_edit_field11' => 'grid' ),
 
 
 
75
  'itemLocations' => array( 'integrated_edit_field' => array( 'location' => 'grid',
76
  'cellId' => 'c3' ),
77
  'integrated_edit_field1' => array( 'location' => 'grid',
@@ -86,15 +90,17 @@
86
  'cellId' => 'c3' ),
87
  'integrated_edit_field6' => array( 'location' => 'grid',
88
  'cellId' => 'c3' ),
89
- 'integrated_edit_field7' => array( 'location' => 'grid',
90
- 'cellId' => 'c3' ),
91
- 'integrated_edit_field8' => array( 'location' => 'grid',
92
- 'cellId' => 'c3' ),
93
  'integrated_edit_field9' => array( 'location' => 'grid',
94
  'cellId' => 'c3' ),
95
  'integrated_edit_field10' => array( 'location' => 'grid',
96
  'cellId' => 'c3' ),
97
  'integrated_edit_field11' => array( 'location' => 'grid',
 
 
 
 
 
 
98
  'cellId' => 'c3' ) ),
99
  'itemVisiblity' => array( 'menu' => 3,
100
  'username_button' => 3,
@@ -121,7 +127,8 @@
121
  'integrated_edit_field8',
122
  'integrated_edit_field9',
123
  'integrated_edit_field10',
124
- 'integrated_edit_field11' ) ),
 
125
  'cellMaps' => array( 'grid' => array( 'cells' => array( 'c3' => array( 'cols' => array( 0 ),
126
  'rows' => array( 0 ),
127
  'tags' => array( ),
@@ -132,11 +139,12 @@
132
  'integrated_edit_field4',
133
  'integrated_edit_field5',
134
  'integrated_edit_field6',
135
- 'integrated_edit_field7',
136
- 'integrated_edit_field8',
137
  'integrated_edit_field9',
138
  'integrated_edit_field10',
139
- 'integrated_edit_field11' ),
 
 
 
140
  'fixedAtServer' => true,
141
  'fixedAtClient' => false ) ),
142
  'width' => 1,
@@ -215,11 +223,12 @@ array( 'cell' => 'c3' ) ),
215
  'integrated_edit_field4',
216
  'integrated_edit_field5',
217
  'integrated_edit_field6',
218
- 'integrated_edit_field7',
219
- 'integrated_edit_field8',
220
  'integrated_edit_field9',
221
  'integrated_edit_field10',
222
- 'integrated_edit_field11' ) ) ),
 
 
 
223
  'deferredItems' => array( ),
224
  'columnCount' => 1,
225
  'inlineLabels' => false,
@@ -260,10 +269,10 @@ array( 'cell' => 'c3' ) ),
260
  'integrated_edit_field6' => array( 'field' => 'condition',
261
  'type' => 'integrated_edit_field',
262
  'orientation' => 0 ),
263
- 'integrated_edit_field7' => array( 'field' => 'precious_metal_type',
264
  'type' => 'integrated_edit_field',
265
  'orientation' => 0 ),
266
- 'integrated_edit_field8' => array( 'field' => 'precious_metal_weight',
267
  'type' => 'integrated_edit_field',
268
  'orientation' => 0 ),
269
  'integrated_edit_field9' => array( 'field' => 'diamond_certification',
@@ -274,6 +283,9 @@ array( 'cell' => 'c3' ) ),
274
  'orientation' => 0 ),
275
  'integrated_edit_field11' => array( 'field' => 'initial',
276
  'type' => 'integrated_edit_field',
 
 
 
277
  'orientation' => 0 ) ),
278
  'dbProps' => array( ),
279
  'version' => 14,
 
7
  'purchase_date',
8
  'purchase_price',
9
  'condition',
10
+ 'purchase_store',
11
+ 'metal_type',
12
  'diamond_certification',
13
  'accessories',
14
+ 'initial',
15
+ 'metal_weight' ),
16
  'searchRequiredFields' => array( ),
17
  'searchPanelFields' => array( ),
18
  'fieldItems' => array( 'id' => array( 'integrated_edit_field' ),
 
22
  'purchase_date' => array( 'integrated_edit_field4' ),
23
  'purchase_price' => array( 'integrated_edit_field5' ),
24
  'condition' => array( 'integrated_edit_field6' ),
25
+ 'purchase_store' => array( 'integrated_edit_field7' ),
26
+ 'metal_type' => array( 'integrated_edit_field8' ),
27
  'diamond_certification' => array( 'integrated_edit_field9' ),
28
  'accessories' => array( 'integrated_edit_field10' ),
29
+ 'initial' => array( 'integrated_edit_field11' ),
30
+ 'metal_weight' => array( 'integrated_edit_field12' ) ) ),
31
  'pageLinks' => array( 'edit' => true,
32
  'add' => false,
33
  'view' => false,
 
48
  'integrated_edit_field4',
49
  'integrated_edit_field5',
50
  'integrated_edit_field6',
 
 
51
  'integrated_edit_field9',
52
  'integrated_edit_field10',
53
+ 'integrated_edit_field11',
54
+ 'integrated_edit_field7',
55
+ 'integrated_edit_field8',
56
+ 'integrated_edit_field12' ) ),
57
  'formXtTags' => array( 'above-grid' => array( ) ),
58
  'itemForms' => array( 'view_back_list' => 'below-grid',
59
  'view_close' => 'below-grid',
 
70
  'integrated_edit_field4' => 'grid',
71
  'integrated_edit_field5' => 'grid',
72
  'integrated_edit_field6' => 'grid',
 
 
73
  'integrated_edit_field9' => 'grid',
74
  'integrated_edit_field10' => 'grid',
75
+ 'integrated_edit_field11' => 'grid',
76
+ 'integrated_edit_field7' => 'grid',
77
+ 'integrated_edit_field8' => 'grid',
78
+ 'integrated_edit_field12' => 'grid' ),
79
  'itemLocations' => array( 'integrated_edit_field' => array( 'location' => 'grid',
80
  'cellId' => 'c3' ),
81
  'integrated_edit_field1' => array( 'location' => 'grid',
 
90
  'cellId' => 'c3' ),
91
  'integrated_edit_field6' => array( 'location' => 'grid',
92
  'cellId' => 'c3' ),
 
 
 
 
93
  'integrated_edit_field9' => array( 'location' => 'grid',
94
  'cellId' => 'c3' ),
95
  'integrated_edit_field10' => array( 'location' => 'grid',
96
  'cellId' => 'c3' ),
97
  'integrated_edit_field11' => array( 'location' => 'grid',
98
+ 'cellId' => 'c3' ),
99
+ 'integrated_edit_field7' => array( 'location' => 'grid',
100
+ 'cellId' => 'c3' ),
101
+ 'integrated_edit_field8' => array( 'location' => 'grid',
102
+ 'cellId' => 'c3' ),
103
+ 'integrated_edit_field12' => array( 'location' => 'grid',
104
  'cellId' => 'c3' ) ),
105
  'itemVisiblity' => array( 'menu' => 3,
106
  'username_button' => 3,
 
127
  'integrated_edit_field8',
128
  'integrated_edit_field9',
129
  'integrated_edit_field10',
130
+ 'integrated_edit_field11',
131
+ 'integrated_edit_field12' ) ),
132
  'cellMaps' => array( 'grid' => array( 'cells' => array( 'c3' => array( 'cols' => array( 0 ),
133
  'rows' => array( 0 ),
134
  'tags' => array( ),
 
139
  'integrated_edit_field4',
140
  'integrated_edit_field5',
141
  'integrated_edit_field6',
 
 
142
  'integrated_edit_field9',
143
  'integrated_edit_field10',
144
+ 'integrated_edit_field11',
145
+ 'integrated_edit_field7',
146
+ 'integrated_edit_field8',
147
+ 'integrated_edit_field12' ),
148
  'fixedAtServer' => true,
149
  'fixedAtClient' => false ) ),
150
  'width' => 1,
 
223
  'integrated_edit_field4',
224
  'integrated_edit_field5',
225
  'integrated_edit_field6',
 
 
226
  'integrated_edit_field9',
227
  'integrated_edit_field10',
228
+ 'integrated_edit_field11',
229
+ 'integrated_edit_field7',
230
+ 'integrated_edit_field8',
231
+ 'integrated_edit_field12' ) ) ),
232
  'deferredItems' => array( ),
233
  'columnCount' => 1,
234
  'inlineLabels' => false,
 
269
  'integrated_edit_field6' => array( 'field' => 'condition',
270
  'type' => 'integrated_edit_field',
271
  'orientation' => 0 ),
272
+ 'integrated_edit_field7' => array( 'field' => 'purchase_store',
273
  'type' => 'integrated_edit_field',
274
  'orientation' => 0 ),
275
+ 'integrated_edit_field8' => array( 'field' => 'metal_type',
276
  'type' => 'integrated_edit_field',
277
  'orientation' => 0 ),
278
  'integrated_edit_field9' => array( 'field' => 'diamond_certification',
 
283
  'orientation' => 0 ),
284
  'integrated_edit_field11' => array( 'field' => 'initial',
285
  'type' => 'integrated_edit_field',
286
+ 'orientation' => 0 ),
287
+ 'integrated_edit_field12' => array( 'field' => 'metal_weight',
288
+ 'type' => 'integrated_edit_field',
289
  'orientation' => 0 ) ),
290
  'dbProps' => array( ),
291
  'version' => 14,
php/include/pages/pages.json CHANGED
@@ -1 +1 @@
1
- {"<global>":{"login":["login_KnowledgeBase"],"menu":["menu_KnowledgeBase"],"register":["register_KnowledgeBase"],"register_success":["register_success_KnowledgeBase"],"userinfo":["userinfo_KnowledgeBase1"]},"admin_comments":{"delete":[],"inline_edit":[],"list":["list"]},"faicons":{"list":["list"],"search":["search"]},"kbarticles":{"add":["add"],"delete":[],"edit":["edit"],"list":["list"],"masterlist":["masterlist"],"masterprint":["masterprint"],"search":["search"]},"kbcategories":{"delete":[],"inline_add":[],"inline_edit":[],"list":["list"],"search":["search"]},"kbcomments":{"add":["add"],"list":["list"]},"main":{"edit":["edit"],"export":["export"],"list":["mainpage","category"],"masterlist":["masterlist"],"masterprint":["masterprint"],"print":["print"],"search":["search"],"view":["view"]},"public.diamondprice":{"export":["export"],"import":["import"],"list":["list"],"print":["print"],"search":["search"]},"public.fasis_chat_history":{"add":["add"],"delete":[],"edit":["edit"],"export":["export"],"import":["import"],"inline_add":[],"inline_edit":[],"list":["list"],"print":["print"],"search":["search"],"view":["view"]},"public.items":{"add":["add"],"delete":[],"edit":["edit"],"export":["export"],"import":["import"],"list":["list"],"print":["print"],"search":["search"],"view":["view"]},"public.kbusers":{"add":["add"],"delete":[],"edit":["edit"],"list":["list"],"search":["search"]},"public.products":{"add":["add"],"delete":[],"edit":["edit"],"export":["export"],"import":["import"],"list":["list"],"print":["print"],"search":["search"],"view":["view"]}}
 
1
+ {"<global>":{"login":["login_KnowledgeBase"],"menu":["menu_KnowledgeBase"],"register":["register_KnowledgeBase"],"register_success":["register_success_KnowledgeBase"],"userinfo":["userinfo_KnowledgeBase1"]},"admin_comments":{"delete":[],"inline_edit":[],"list":["list"]},"faicons":{"list":["list"],"search":["search"]},"kbarticles":{"add":["add"],"delete":[],"edit":["edit"],"list":["list"],"masterlist":["masterlist"],"masterprint":["masterprint"],"search":["search"]},"kbcategories":{"delete":[],"inline_add":[],"inline_edit":[],"list":["list"],"search":["search"]},"kbcomments":{"add":["add"],"list":["list"]},"main":{"edit":["edit"],"export":["export"],"list":["mainpage","category"],"masterlist":["masterlist"],"masterprint":["masterprint"],"print":["print"],"search":["search"],"view":["view"]},"public.appointments":{"add":["add"],"delete":[],"edit":["edit"],"export":["export"],"import":["import"],"list":["list"],"print":["print"],"search":["search"],"view":["view"]},"public.diamondprice":{"export":["export"],"import":["import"],"list":["list"],"print":["print"],"search":["search"]},"public.fasis_chat_history":{"add":["add"],"delete":[],"edit":["edit"],"export":["export"],"import":["import"],"inline_add":[],"inline_edit":[],"list":["list"],"print":["print"],"search":["search"],"view":["view"]},"public.items":{"add":["add"],"delete":[],"edit":["edit"],"export":["export"],"import":["import"],"list":["list"],"print":["print"],"search":["search"],"view":["view"]},"public.kbusers":{"add":["add"],"delete":[],"edit":["edit"],"list":["list"],"search":["search"]},"public.products":{"add":["add"],"delete":[],"edit":["edit"],"export":["export"],"import":["import"],"list":["list"],"print":["print"],"search":["search"],"view":["view"]}}
php/include/pages/products_add.php CHANGED
@@ -12,7 +12,9 @@
12
  'metal_purity',
13
  'metal_weight',
14
  'diamond_certification',
15
- 'initial_existence' ),
 
 
16
  'searchRequiredFields' => array( ),
17
  'searchPanelFields' => array( ),
18
  'fieldItems' => array( 'id' => array( 'integrated_edit_field' ),
@@ -27,7 +29,9 @@
27
  'metal_purity' => array( 'integrated_edit_field9' ),
28
  'metal_weight' => array( 'integrated_edit_field10' ),
29
  'diamond_certification' => array( 'integrated_edit_field11' ),
30
- 'initial_existence' => array( 'integrated_edit_field12' ) ) ),
 
 
31
  'pageLinks' => array( 'edit' => false,
32
  'add' => false,
33
  'view' => false,
@@ -50,7 +54,9 @@
50
  'integrated_edit_field9',
51
  'integrated_edit_field10',
52
  'integrated_edit_field11',
53
- 'integrated_edit_field12' ) ),
 
 
54
  'formXtTags' => array( 'above-grid' => array( 'message_block' ) ),
55
  'itemForms' => array( 'add_message' => 'above-grid',
56
  'add_save' => 'below-grid',
@@ -70,7 +76,9 @@
70
  'integrated_edit_field9' => 'grid',
71
  'integrated_edit_field10' => 'grid',
72
  'integrated_edit_field11' => 'grid',
73
- 'integrated_edit_field12' => 'grid' ),
 
 
74
  'itemLocations' => array( 'integrated_edit_field' => array( 'location' => 'grid',
75
  'cellId' => 'c3' ),
76
  'integrated_edit_field1' => array( 'location' => 'grid',
@@ -96,6 +104,10 @@
96
  'integrated_edit_field11' => array( 'location' => 'grid',
97
  'cellId' => 'c3' ),
98
  'integrated_edit_field12' => array( 'location' => 'grid',
 
 
 
 
99
  'cellId' => 'c3' ) ),
100
  'itemVisiblity' => array( ) ),
101
  'itemsByType' => array( 'add_header' => array( 'add_header' ),
@@ -116,7 +128,9 @@
116
  'integrated_edit_field9',
117
  'integrated_edit_field10',
118
  'integrated_edit_field11',
119
- 'integrated_edit_field12' ) ),
 
 
120
  'cellMaps' => array( 'grid' => array( 'cells' => array( 'c3' => array( 'cols' => array( 0 ),
121
  'rows' => array( 0 ),
122
  'tags' => array( ),
@@ -132,7 +146,9 @@
132
  'integrated_edit_field9',
133
  'integrated_edit_field10',
134
  'integrated_edit_field11',
135
- 'integrated_edit_field12' ),
 
 
136
  'fixedAtServer' => true,
137
  'fixedAtClient' => false ) ),
138
  'width' => 1,
@@ -198,7 +214,9 @@
198
  'integrated_edit_field9',
199
  'integrated_edit_field10',
200
  'integrated_edit_field11',
201
- 'integrated_edit_field12' ) ) ),
 
 
202
  'deferredItems' => array( ),
203
  'columnCount' => 1,
204
  'inlineLabels' => false,
@@ -247,6 +265,12 @@
247
  'orientation' => 0 ),
248
  'integrated_edit_field12' => array( 'field' => 'initial_existence',
249
  'type' => 'integrated_edit_field',
 
 
 
 
 
 
250
  'orientation' => 0 ) ),
251
  'dbProps' => array( ),
252
  'version' => 14,
 
12
  'metal_purity',
13
  'metal_weight',
14
  'diamond_certification',
15
+ 'initial_existence',
16
+ 'vector',
17
+ 'vector_text' ),
18
  'searchRequiredFields' => array( ),
19
  'searchPanelFields' => array( ),
20
  'fieldItems' => array( 'id' => array( 'integrated_edit_field' ),
 
29
  'metal_purity' => array( 'integrated_edit_field9' ),
30
  'metal_weight' => array( 'integrated_edit_field10' ),
31
  'diamond_certification' => array( 'integrated_edit_field11' ),
32
+ 'initial_existence' => array( 'integrated_edit_field12' ),
33
+ 'vector' => array( 'integrated_edit_field13' ),
34
+ 'vector_text' => array( 'integrated_edit_field14' ) ) ),
35
  'pageLinks' => array( 'edit' => false,
36
  'add' => false,
37
  'view' => false,
 
54
  'integrated_edit_field9',
55
  'integrated_edit_field10',
56
  'integrated_edit_field11',
57
+ 'integrated_edit_field12',
58
+ 'integrated_edit_field13',
59
+ 'integrated_edit_field14' ) ),
60
  'formXtTags' => array( 'above-grid' => array( 'message_block' ) ),
61
  'itemForms' => array( 'add_message' => 'above-grid',
62
  'add_save' => 'below-grid',
 
76
  'integrated_edit_field9' => 'grid',
77
  'integrated_edit_field10' => 'grid',
78
  'integrated_edit_field11' => 'grid',
79
+ 'integrated_edit_field12' => 'grid',
80
+ 'integrated_edit_field13' => 'grid',
81
+ 'integrated_edit_field14' => 'grid' ),
82
  'itemLocations' => array( 'integrated_edit_field' => array( 'location' => 'grid',
83
  'cellId' => 'c3' ),
84
  'integrated_edit_field1' => array( 'location' => 'grid',
 
104
  'integrated_edit_field11' => array( 'location' => 'grid',
105
  'cellId' => 'c3' ),
106
  'integrated_edit_field12' => array( 'location' => 'grid',
107
+ 'cellId' => 'c3' ),
108
+ 'integrated_edit_field13' => array( 'location' => 'grid',
109
+ 'cellId' => 'c3' ),
110
+ 'integrated_edit_field14' => array( 'location' => 'grid',
111
  'cellId' => 'c3' ) ),
112
  'itemVisiblity' => array( ) ),
113
  'itemsByType' => array( 'add_header' => array( 'add_header' ),
 
128
  'integrated_edit_field9',
129
  'integrated_edit_field10',
130
  'integrated_edit_field11',
131
+ 'integrated_edit_field12',
132
+ 'integrated_edit_field13',
133
+ 'integrated_edit_field14' ) ),
134
  'cellMaps' => array( 'grid' => array( 'cells' => array( 'c3' => array( 'cols' => array( 0 ),
135
  'rows' => array( 0 ),
136
  'tags' => array( ),
 
146
  'integrated_edit_field9',
147
  'integrated_edit_field10',
148
  'integrated_edit_field11',
149
+ 'integrated_edit_field12',
150
+ 'integrated_edit_field13',
151
+ 'integrated_edit_field14' ),
152
  'fixedAtServer' => true,
153
  'fixedAtClient' => false ) ),
154
  'width' => 1,
 
214
  'integrated_edit_field9',
215
  'integrated_edit_field10',
216
  'integrated_edit_field11',
217
+ 'integrated_edit_field12',
218
+ 'integrated_edit_field13',
219
+ 'integrated_edit_field14' ) ) ),
220
  'deferredItems' => array( ),
221
  'columnCount' => 1,
222
  'inlineLabels' => false,
 
265
  'orientation' => 0 ),
266
  'integrated_edit_field12' => array( 'field' => 'initial_existence',
267
  'type' => 'integrated_edit_field',
268
+ 'orientation' => 0 ),
269
+ 'integrated_edit_field13' => array( 'field' => 'vector',
270
+ 'type' => 'integrated_edit_field',
271
+ 'orientation' => 0 ),
272
+ 'integrated_edit_field14' => array( 'field' => 'vector_text',
273
+ 'type' => 'integrated_edit_field',
274
  'orientation' => 0 ) ),
275
  'dbProps' => array( ),
276
  'version' => 14,