Changeset 722 for trunk/phpbms/modules
- Timestamp:
- 01/06/10 17:35:36 (2 years ago)
- Location:
- trunk/phpbms/modules
- Files:
-
- 3 modified
-
bms/install/settings.sql (modified) (1 diff)
-
bms/install/updatev0.98.sql (modified) (1 diff)
-
recurringinvoices/scheduler_recurr.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/phpbms/modules/bms/install/settings.sql
r657 r722 2 2 INSERT INTO `settings` (`name`, `value`) VALUES ('shipping_postalcode','87124'); 3 3 INSERT INTO `settings` (`name`, `value`) VALUES ('invoice_default_printinstruc','Thank You For Your Order.'); 4 INSERT INTO `settings` (`name`, `value`) VALUES ('default_payment',' 0');5 INSERT INTO `settings` (`name`, `value`) VALUES ('default_shipping',' 0');6 INSERT INTO `settings` (`name`, `value`) VALUES ('default_discount',' 0');7 INSERT INTO `settings` (`name`, `value`) VALUES ('default_taxarea',' 0');4 INSERT INTO `settings` (`name`, `value`) VALUES ('default_payment',''); 5 INSERT INTO `settings` (`name`, `value`) VALUES ('default_shipping',''); 6 INSERT INTO `settings` (`name`, `value`) VALUES ('default_discount',''); 7 INSERT INTO `settings` (`name`, `value`) VALUES ('default_taxarea',''); 8 8 INSERT INTO `settings` (`name`, `value`) VALUES ('default_hascredit','0'); 9 9 INSERT INTO `settings` (`name`, `value`) VALUES ('default_creditlimit','0'); -
trunk/phpbms/modules/bms/install/updatev0.98.sql
r719 r722 848 848 INSERT INTO `widgets` (`uuid`, `type`, `title`, `file`, `roleid`, `moduleid`, `default`, `createdby`, `creationdate`, `modifiedby`, `modifieddate`) VALUES ('wdgt:06a30e04-55ad-75da-7bd6-0c4203210ac8', 'little', 'Accounts Receivable Statistics', '../bms/widgets/arstats/class.php', 'role:c9439c3c-499b-7bcc-ee14-fec5bfcf5fc2', 'mod:0aa9cca0-7388-0eae-81b9-9935f9d127cc', '1', 1, NOW(), 1, NOW()); 849 849 --end widgets INSERT-- 850 UPDATE `settings` SET `value` ='' WHERE `name` = 'default_payment' OR `name` = 'default_shipping' OR `name` = 'default_discount' OR `name` = 'default_taxarea'; -
trunk/phpbms/modules/recurringinvoices/scheduler_recurr.php
r674 r722 209 209 210 210 $fieldList = array(); 211 211 212 foreach($therecord as $name=>$value){ 212 213 switch($name){ … … 293 294 $theid = $this->db->insertId(); 294 295 295 $this->copyLineItems($therecord["uuid"],$theid); 296 $this->insertHistory($theid,$therecord["statusid"],$therecord["statusdate"],$therecord["assignedtoid"]); 296 $this->copyLineItems($therecord["id"], $theid); 297 298 $this->insertHistory($therecord["uuid"], $therecord["statusid"], $therecord["statusdate"], $therecord["assignedtoid"]); 297 299 298 300 $this->updateReccurence($therecord["recurrid"],$therecord["firstrepeat"]); … … 323 325 324 326 case "invoiceid": 325 $therecord[$name] = "'".$newInvoiceID."'";327 $therecord[$name] = $newInvoiceID; 326 328 $fieldlist[] = $name; 327 329 break;