Changeset 419
- Timestamp:
- 07/11/08 11:49:24
- Files:
-
- trunk/phpbms/modules/base/adminsettings.php (modified) (2 diffs)
- trunk/phpbms/modules/bms/clients_addedit.php (modified) (2 diffs)
- trunk/phpbms/modules/bms/install/createtables.sql (modified) (1 diff)
- trunk/phpbms/modules/bms/install/modules.sql (modified) (1 diff)
- trunk/phpbms/modules/bms/install/settings.sql (modified) (1 diff)
- trunk/phpbms/modules/bms/install/update.php (modified) (1 diff)
- trunk/phpbms/modules/bms/install/updatev0.98.sql (added)
- trunk/phpbms/modules/bms/install/version.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/phpbms/modules/base/adminsettings.php
r403 r419 147 147 <span class="notes"> 148 148 <strong>Example:</strong> Replace this with your comapny name + BMS (e.g. "Kreotek BMS"). Replacing 149 the ap lication name will reset the session cookie, and require you to log in again.149 the application name will reset the session cookie, and require you to log in again. 150 150 </span> 151 151 </p> … … 188 188 <label for="company_phone">phone number</label><br /> 189 189 <input id="company_phone" name="company_phone" type="text" value="<?php echo htmlQuotes($therecord["company_phone"]) ?>" size="40" maxlength="128" /> 190 </p> 191 192 <p> 193 <label for="company_taxid">company tax id</label><br /> 194 <input id="company_taxid" name="company_taxid" type="text" value="<?php echo htmlQuotes($therecord["company_taxid"]) ?>" size="40" maxlength="128" /> 190 195 </p> 191 196 trunk/phpbms/modules/bms/clients_addedit.php
r384 r419 133 133 $theinput = new inputField("webaddress",$therecord["webaddress"],"web address",false,"www",68,128); 134 134 $theform->addField($theinput); 135 136 $theinput = new inputField("taxid", $therecord["taxid"], "tax id", false, "", 25, 32); 137 $theform->addField($theinput); 135 138 136 139 $theform->jsMerge(); … … 251 254 252 255 <p><?php $theform->showField("webaddress")?></p> 256 257 <p><?php $theform->showField("taxid")?></p> 253 258 </fieldset> 254 259 trunk/phpbms/modules/bms/install/createtables.sql
r386 r419 27 27 `email` varchar(128) default NULL, 28 28 `webaddress` varchar(128) default NULL, 29 `taxid` VARCHAR(64) default NULL, 29 30 `salesmanagerid` int(11) default NULL, 30 31 `leadsource` varchar(64) default NULL, trunk/phpbms/modules/bms/install/modules.sql
r397 r419 1 INSERT INTO modules VALUES (2,'BMS Module','bms','The Business Magagement functionality of phpBMS. This module includes clients/propsetcs, quote/order/invoice, and products sections.','0.9 6');1 INSERT INTO modules VALUES (2,'BMS Module','bms','The Business Magagement functionality of phpBMS. This module includes clients/propsetcs, quote/order/invoice, and products sections.','0.98'); trunk/phpbms/modules/bms/install/settings.sql
r384 r419 17 17 INSERT INTO `settings` (`name`, `value`) VALUES ('prospects_on_orders','1'); 18 18 INSERT INTO `settings` (`name`, `value`) VALUES ('clear_payment_on_invoice','1'); 19 INSERT INTO `settings` (`name`, `value`) VALUES ('company_taxid', ''); trunk/phpbms/modules/bms/install/update.php
r386 r419 327 327 328 328 break; 329 330 // ================================================================================================ 331 case "0.96"; 332 333 $thereturn.= processSQLfile($db,"updatev0.98.sql"); 334 335 //Updating Module Table 336 $updatestatement = " 337 UPDATE 338 modules 339 SET 340 version='0.98' 341 WHERE 342 name='bms';"; 343 344 $db->query($updatestatement); 345 346 $thereturn .= "Update of Business Management System Module to 0.98 Finished\n\n"; 347 348 $ver["version"] = "0.98"; 349 350 break; 329 351 330 352 }//end switch trunk/phpbms/modules/bms/install/version.php
r384 r419 3 3 $modules["bms"]["name"] = "Buisness Management System (BMS)"; 4 4 5 $modules["bms"]["version"] = 0.9 6;5 $modules["bms"]["version"] = 0.98; 6 6 7 7 $modules["bms"]["description"] = 8 8 "The Business Magagement functionality of phpBMS. This module includes clients/propsetcs, quote/order/invoice, and products sections."; 9 9 10 $modules["bms"]["requirements"] = "phpBMS Core v0.9 6";10 $modules["bms"]["requirements"] = "phpBMS Core v0.98"; 11 11 12 12 ?>