Changeset 643
- Timestamp:
- 09/02/09 14:00:56 (3 years ago)
- Location:
- trunk/phpbms
- Files:
-
- 29 modified
-
common/javascript/fields.js (modified) (1 diff)
-
common/javascript/queryfunctions.js (modified) (7 diffs)
-
common/javascript/smartsearch.js (modified) (1 diff)
-
dbgraphic.php (modified) (3 diffs)
-
include/fields.php (modified) (1 diff)
-
include/print_class.php (modified) (2 diffs)
-
include/search_class.php (modified) (3 diffs)
-
include/tables.php (modified) (1 diff)
-
install/choices.sql (modified) (1 diff)
-
install/reports.sql (modified) (1 diff)
-
modules/base/adminsettings.php (modified) (1 diff)
-
modules/base/javascript/notes.js (modified) (2 diffs)
-
modules/base/javascript/snapshot.js (modified) (1 diff)
-
modules/base/report/notes_summary.php (modified) (4 diffs)
-
modules/base/smartsearches_addedit.php (modified) (1 diff)
-
modules/bms/aritems_view.php (modified) (1 diff)
-
modules/bms/include/post.php (modified) (1 diff)
-
modules/bms/install/modules.sql (modified) (1 diff)
-
modules/bms/install/reports.sql (modified) (2 diffs)
-
modules/bms/invoicestatuses_addedit.php (modified) (1 diff)
-
modules/bms/invoices_discount_ajax.php (modified) (1 diff)
-
modules/bms/javascript/invoice.js (modified) (2 diffs)
-
modules/bms/paymentmethods_addedit.php (modified) (1 diff)
-
modules/bms/tax_addedit.php (modified) (1 diff)
-
modules/recurringinvoices/javascript/recurringinvoices.js (modified) (1 diff)
-
modules/sample/sampletable_addedit.php (modified) (1 diff)
-
phpbmsversion.php (modified) (1 diff)
-
print.php (modified) (2 diffs)
-
report/general_labels.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/phpbms/common/javascript/fields.js
r510 r643 49 49 50 50 //need to itterate though all fields... if you find 51 // --not found-- anywhere.... inv laidate the form51 // --not found-- anywhere.... invalidate the form 52 52 for(i=0;i<theform.length;i++){ 53 53 if(theform[i].value && theform[i].value=="--not found--"){ -
trunk/phpbms/common/javascript/queryfunctions.js
r559 r643 322 322 } 323 323 324 // Pass the Sort Parameters and sub it the form324 // Pass the Sort Parameters and submit the form 325 325 function doSort(i){ 326 326 var theform=document.forms["search"]; … … 330 330 } 331 331 332 // Pass the Sort Parameters and sub it the form332 // Pass the Sort Parameters and submit the form 333 333 function doDescSort(){ 334 334 theform=document.forms["search"]; … … 364 364 365 365 366 function perf romToSelection(option){366 function performToSelection(option){ 367 367 368 368 var thereset=getObjectFromID("reset"); … … 582 582 var searchname=getObjectFromID("LSSelectedSearch"); 583 583 var sqlbox=getObjectFromID("LSSQL"); 584 var re ultbox=getObjectFromID("LSResults");584 var resultbox=getObjectFromID("LSResults"); 585 585 if (theselect.value=="NA"){ 586 586 loadbutton.disabled=true; … … 589 589 sqlbox.value=""; 590 590 } else { 591 re ultbox.innerHTML="<img src=\""+base+"common/image/spinner.gif\" alt=\"0\" width=\"16\" height=\"16\" align=\"absmiddle\"> <strong>Loading...</strong>";591 resultbox.innerHTML="<img src=\""+base+"common/image/spinner.gif\" alt=\"0\" width=\"16\" height=\"16\" align=\"absmiddle\"> <strong>Loading...</strong>"; 592 592 var theURL=base+"loadsearch.php?cmd=getsearch&id="+theselect.value; 593 593 loadXMLDoc(theURL,null,false); … … 603 603 else 604 604 deletebutton.disabled=true; 605 re ultbox.innerHTML="";605 resultbox.innerHTML=""; 606 606 } 607 607 } … … 615 615 function LSDeleteSearch(base){ 616 616 var theselect=getObjectFromID("LSList"); 617 var re ultbox=getObjectFromID("LSResults");618 619 re ultbox.innerHTML="<img src=\""+base+"common/image/spinner.gif\" alt=\"0\" width=\"16\" height=\"16\" align=\"absmiddle\"> <strong>Loading...</strong>";617 var resultbox=getObjectFromID("LSResults"); 618 619 resultbox.innerHTML="<img src=\""+base+"common/image/spinner.gif\" alt=\"0\" width=\"16\" height=\"16\" align=\"absmiddle\"> <strong>Loading...</strong>"; 620 620 var theURL=base+"loadsearch.php?cmd=deletesearch&id="+theselect.value; 621 621 loadXMLDoc(theURL,null,false); 622 622 if(req.responseText=="success"){ 623 re ultbox.innerHTML="";623 resultbox.innerHTML=""; 624 624 theselect.options[theselect.selectedIndex]=null; 625 625 if(theselect.options.length==1){ -
trunk/phpbms/common/javascript/smartsearch.js
r493 r643 68 68 69 69 } else { 70 //it 's possible they hit the down, up arrow, or the return button70 //it is possible they hit the down, up arrow, or the return button 71 71 72 72 var key = e.event().keyCode; -
trunk/phpbms/dbgraphic.php
r285 r643 1 <?php 1 <?php 2 2 /* 3 3 $Rev$ | $LastChangedBy$ … … 39 39 session_cache_limiter('private'); 40 40 require_once("include/session.php"); 41 42 if(!isset($_GET["t"]) or !isset($_GET["r"]) or !isset($_GET["f"]) or !isset($_GET["mf"])) die("Inv laid Paramateers Set");43 41 42 if(!isset($_GET["t"]) or !isset($_GET["r"]) or !isset($_GET["f"]) or !isset($_GET["mf"])) die("Invalid Parameters Set"); 43 44 44 $querystatement="SELECT ".$_GET["f"].",".$_GET["mf"]." FROM ".$_GET["t"]." WHERE id=".$_GET["r"]; 45 45 $queryresult=$db->query($querystatement); … … 48 48 $therecord=$db->fetchArray($queryresult); 49 49 header('Content-type: '.$therecord[$_GET["mf"]]); 50 50 51 51 echo $therecord[$_GET["f"]]; 52 52 } -
trunk/phpbms/include/fields.php
r622 r643 171 171 $this->fields[$fieldname]->display(); 172 172 else 173 echo "Error in form con truction (wrong object): ".$fieldname;173 echo "Error in form construction (wrong object): ".$fieldname; 174 174 175 175 } else 176 echo "Error in form con truction: ".$fieldname;176 echo "Error in form construction: ".$fieldname; 177 177 178 178 }else -
trunk/phpbms/include/print_class.php
r575 r643 63 63 "; 64 64 $queryresult = $this->db->query($querystatement); 65 if(!$queryresult) $error = new appError(500,"Error retr eving table info.");65 if(!$queryresult) $error = new appError(500,"Error retrieving table info."); 66 66 $therecord = $this->db->fetchArray($queryresult); 67 67 $this->maintable = $therecord["maintable"]; … … 99 99 100 100 $queryresult = $this->db->query($querystatement); 101 if(!$queryresult) $error = new appError(500,"Error retr eving reports.");101 if(!$queryresult) $error = new appError(500,"Error retrieving reports."); 102 102 $this->reports = $queryresult; 103 103 -
trunk/phpbms/include/search_class.php
r621 r643 882 882 <div id="searchSelectionDropDown" class="toolbarDropDowns" style="display:none"> 883 883 <ul> 884 <li><a href="#" onclick="perf romToSelection('selectall');return false;" accesskey="a" title="select all (alt + a)">select all</a></li>885 <li><a href="#" onclick="perf romToSelection('selectnone');return false;" accesskey="x" title="select none (alt + x)">select none</a></li>886 <li class="menuSep"><a href="#" onclick="perf romToSelection('keepselected');return false;" accesskey="k" title="keep selected (alt + k)">show only selected records</a></li>887 <li><a href="#" onclick="perf romToSelection('omitselected');return false;" accesskey="o" title="omit selected (alt + o)">remove selected records from view</a></li>884 <li><a href="#" onclick="performToSelection('selectall');return false;" accesskey="a" title="select all (alt + a)">select all</a></li> 885 <li><a href="#" onclick="performToSelection('selectnone');return false;" accesskey="x" title="select none (alt + x)">select none</a></li> 886 <li class="menuSep"><a href="#" onclick="performToSelection('keepselected');return false;" accesskey="k" title="keep selected (alt + k)">show only selected records</a></li> 887 <li><a href="#" onclick="performToSelection('omitselected');return false;" accesskey="o" title="omit selected (alt + o)">remove selected records from view</a></li> 888 888 </ul> 889 889 </div> … … 1099 1099 function resetQuery(){ 1100 1100 // reset query... this requires a call to the function that should be 1101 // defined in the same place the table param aters are.1101 // defined in the same place the table parameters are. 1102 1102 //===================================================================================================== 1103 1103 $this->querytype="search"; … … 1237 1237 $endmessage=" deleted"; 1238 1238 } 1239 1239 1240 1240 $queryresult = $this->db->query($querystatement); 1241 1241 $message = $this->buildStatusMessage().$endmessage; -
trunk/phpbms/include/tables.php
r639 r643 526 526 if(isset($variables["id"])) 527 527 if(!is_numeric($variables["id"]) && $variables["id"]) 528 $this->verifyErrors[] = "The `id` field must be numeric or equivalent to zero (although positive is rec comended).";528 $this->verifyErrors[] = "The `id` field must be numeric or equivalent to zero (although positive is recommended)."; 529 529 530 530 if(isset($variables["uuid"])) -
trunk/phpbms/install/choices.sql
r215 r643 3 3 INSERT INTO choices VALUES (3,'department',''); 4 4 INSERT INTO choices VALUES (4,'notestatus','cancelled'); 5 INSERT INTO choices VALUES (5,'notestatus','ten ative');5 INSERT INTO choices VALUES (5,'notestatus','tentative'); 6 6 INSERT INTO choices VALUES (6,'notestatus','confirmed'); 7 7 INSERT INTO choices VALUES (7,'notestatus',''); -
trunk/phpbms/install/reports.sql
r613 r643 1 INSERT INTO `reports` (`uuid`, `name`, `type`, `tabledefid`, `displayorder`, `roleid`, `reportfile`, `description`, `createdby`, `creationdate`, `modifiedby`, `modifieddate`) VALUES ('rpt:37cee478-b57e-2d53-d951-baf3937ba9e0', 'Raw Table Print', 'report', '', '0', 'role:259ead9f-100b-55b5-508a-27e33a6216bf', 'report/general_tableprint.php', 'This report will print s out of every field for the table for the given records. The report is displayedHTML format.', 1, NOW(), 1, NOW());1 INSERT INTO `reports` (`uuid`, `name`, `type`, `tabledefid`, `displayorder`, `roleid`, `reportfile`, `description`, `createdby`, `creationdate`, `modifiedby`, `modifieddate`) VALUES ('rpt:37cee478-b57e-2d53-d951-baf3937ba9e0', 'Raw Table Print', 'report', '', '0', 'role:259ead9f-100b-55b5-508a-27e33a6216bf', 'report/general_tableprint.php', 'This report will print out of every field for the table for the given records. The report is displayed in HTML format.', 1, NOW(), 1, NOW()); 2 2 INSERT INTO `reports` (`uuid`, `name`, `type`, `tabledefid`, `displayorder`, `roleid`, `reportfile`, `description`, `createdby`, `creationdate`, `modifiedby`, `modifieddate`) VALUES ('rpt:dac75fb9-91d2-cb1e-9213-9fab6d32f4c8', 'Raw Table Export', 'export', '', '0', 'role:259ead9f-100b-55b5-508a-27e33a6216bf', 'report/general_export.php', 'This report will generate a comma-delimited text file. Values are encapsulated in quotes, and the first line lists the field names.', 1, NOW(), 1, NOW()); 3 INSERT INTO `reports` (`uuid`, `name`, `type`, `tabledefid`, `displayorder`, `roleid`, `reportfile`, `description`, `createdby`, `creationdate`, `modifiedby`, `modifieddate`) VALUES ('rpt:a6999cc3-59bb-6af3-460e-d5d791afb842', 'Note Summary', 'PDF Report', 'tbld:a4cdd991-cf0a-916f-1240-49428ea1bdd1', '50', '', 'modules/base/report/notes_summary.php', 'PDF report giving basic note information (subject,dates,content) . By de ault, the notes are shown in chronological order.', 1, NOW(), 1, NOW());3 INSERT INTO `reports` (`uuid`, `name`, `type`, `tabledefid`, `displayorder`, `roleid`, `reportfile`, `description`, `createdby`, `creationdate`, `modifiedby`, `modifieddate`) VALUES ('rpt:a6999cc3-59bb-6af3-460e-d5d791afb842', 'Note Summary', 'PDF Report', 'tbld:a4cdd991-cf0a-916f-1240-49428ea1bdd1', '50', '', 'modules/base/report/notes_summary.php', 'PDF report giving basic note information (subject,dates,content) . By default, the notes are shown in chronological order.', 1, NOW(), 1, NOW()); 4 4 INSERT INTO `reports` (`uuid`, `name`, `type`, `tabledefid`, `displayorder`, `roleid`, `reportfile`, `description`, `createdby`, `creationdate`, `modifiedby`, `modifieddate`) VALUES ('rpt:2944b204-5967-348a-8679-6835f45f0d79', 'SQL Export', 'export', '', '0', 'Admin', 'report/general_sql.php', 'Generate SQL INSERT statements for records.', 1, NOW(), 1, NOW()); 5 5 INSERT INTO `reports` (`uuid`, `name`, `type`, `tabledefid`, `displayorder`, `roleid`, `reportfile`, `description`, `createdby`, `creationdate`, `modifiedby`, `modifieddate`) VALUES ('rpt:37a299d1-d795-ad83-4b47-0778c16a381c', 'Support Tables SQL Export', 'export', 'tbld:5c9d645f-26ab-5003-b98e-89e9049f8ac3', '0', '', 'modules/base/report/tabledefs_sqlexport.php', 'Insert statements for all support table records for table definition records.', 1, NOW(), 1, NOW()); -
trunk/phpbms/modules/base/adminsettings.php
r631 r643 197 197 198 198 <p class="notes"> 199 <strong>Example:</strong> Replace this with your com apny name + BMS (e.g. "Kreotek BMS"). Replacing199 <strong>Example:</strong> Replace this with your company name + BMS (e.g. "Kreotek BMS"). Replacing 200 200 the application name will reset the session cookie, and require you to log in again. 201 201 </p> -
trunk/phpbms/modules/base/javascript/notes.js
r495 r643 270 270 var i; 271 271 272 //first let 's set the eachlist if necassary272 //first let us set the eachlist if necessary 273 273 switch(typeSelect.value){ 274 274 case "Weekly": … … 322 322 content +='<p align="right"><input type="button" class="Buttons" value="continue save" onclick="continueSubmit()" > <input type="button" class="Buttons" value="cancel" onclick="closeModal()" style="width:70px"></p>'; 323 323 324 showModal(content,"Conf rim Change of Repeatable Task",400);324 showModal(content,"Confirm Change of Repeatable Task",400); 325 325 return false; 326 326 }else -
trunk/phpbms/modules/base/javascript/snapshot.js
r495 r643 89 89 var widget = getObjectFromID(uuid); 90 90 91 //need to get widget's name91 //need to get the name of the widget 92 92 var widgetTitle = ""; 93 93 -
trunk/phpbms/modules/base/report/notes_summary.php
r285 r643 41 41 //turn debug borders on to troubleshoot PDF creation (1 or 0) 42 42 $border_debug=0; 43 43 44 44 require("../../../fpdf/fpdf.php"); 45 45 46 46 if($_SESSION["printing"]["sortorder"]) 47 47 $sortorder=$_SESSION["printing"]["sortorder"]; … … 51 51 //Generate the notes Query 52 52 $querystatement="SELECT users.firstname, users.lastname, notes.id, notes.creationdate, 53 notes.subject,notes.content 53 notes.subject,notes.content 54 54 FROM notes INNER JOIN users on notes.createdby=users.id ".$_SESSION["printing"]["whereclause"].$sortorder; 55 55 $thequery=$db->query($querystatement); 56 if(!$thequery) die("No records, or inv laid SQL statement:<br />".$querystatement);56 if(!$thequery) die("No records, or invalid SQL statement:<br />".$querystatement); 57 57 //=================================================================================================== 58 58 // Generating PDF File. 59 59 //=================================================================================================== 60 60 61 61 $leftmargin=.5; 62 62 $rightmargin=.5; … … 64 64 $paperwidth=8.5; 65 65 $paperlength=11; 66 66 67 67 //define the documents and margins 68 68 $pdf=new FPDF("P","in","Letter"); 69 69 $pdf->SetMargins($leftmargin,$topmargin,$rightmargin); 70 70 $pdf->Open(); 71 71 72 72 $pdf->AddPage(); 73 73 74 74 $tempwidth=$paperwidth-$leftmargin-$rightmargin; 75 75 $tempheight=.25; 76 76 $pdf->SetXY($leftmargin,$topmargin); 77 77 78 78 //Report Title 79 79 $pdf->SetFont("Arial","B",16); … … 83 83 $pdf->SetLineWidth(.04); 84 84 $pdf->Line($leftmargin,$pdf->GetY(),$paperwidth-$rightmargin,$pdf->GetY()); 85 85 86 86 $pdf->SetY($topmargin+.43+.1); 87 87 $pdf->SetLineWidth(.01); -
trunk/phpbms/modules/base/smartsearches_addedit.php
r574 r643 110 110 <div id="rightSideDiv"> 111 111 <fieldset> 112 <legend>attribu es</legend>112 <legend>attributes</legend> 113 113 <p><?php $theform->showField("moduleid");?></p> 114 114 <p><?php $theform->showField("tabledefid");?></p> -
trunk/phpbms/modules/bms/aritems_view.php
r609 r643 117 117 <div id="rightSideDiv"> 118 118 <fieldset id="fsAttributes"> 119 <legend>attribu es</legend>119 <legend>attributes</legend> 120 120 121 121 <p><?php $theform->showField("theid")?></p> -
trunk/phpbms/modules/bms/include/post.php
r501 r643 102 102 tabledefs.maintable 103 103 FROM 104 tabledefs INNER JOIN modules ON tabledefs.moduleid = modules. id104 tabledefs INNER JOIN modules ON tabledefs.moduleid = modules.uuid 105 105 WHERE 106 106 tabledefs.canpost = 1"; -
trunk/phpbms/modules/bms/install/modules.sql
r613 r643 1 INSERT INTO modules (`uuid`, `displayname`, `name`, `description`, `version`) VALUES ('mod:0aa9cca0-7388-0eae-81b9-9935f9d127cc', 'BMS Module','bms','The Business Ma gagement functionality of phpBMS. This module includes clients/propsetcs, quote/order/invoice, and products sections.','0.98');1 INSERT INTO modules (`uuid`, `displayname`, `name`, `description`, `version`) VALUES ('mod:0aa9cca0-7388-0eae-81b9-9935f9d127cc', 'BMS Module','bms','The Business Management functionality of phpBMS. This module includes clients/prospetcs, quote/order/invoice, and products sections.','0.98'); -
trunk/phpbms/modules/bms/install/reports.sql
r615 r643 1 INSERT INTO `reports` (`uuid`, `name`, `type`, `tabledefid`, `displayorder`, `roleid`, `reportfile`, `description`, `createdby`, `creationdate`, `modifiedby`, `modifieddate`) VALUES ('rpt:bac1d6eb-b2bb-9aa0-77c0-ff7f9046ca75', 'Invoice', 'PDF Report', 'tbld:62fe599d-c18f-3674-9e54-b62c2d6b1883', '100', '', 'modules/bms/report/invoices_pdfinvoice.php', 'This report will ge rneate and display an invoice in PDF format (which can be printed or saved). The PDF file will contain one page per invoice.', 1, NOW(), 1, NOW());2 INSERT INTO `reports` (`uuid`, `name`, `type`, `tabledefid`, `displayorder`, `roleid`, `reportfile`, `description`, `createdby`, `creationdate`, `modifiedby`, `modifieddate`) VALUES ('rpt:a34dd4b5-6942-2b14-4a58-74345dce48de', 'Work Order', 'PDF Report', 'tbld:62fe599d-c18f-3674-9e54-b62c2d6b1883', '100', 'role:de7e6679-8bb2-29ee-4883-2fcd756fb120', 'modules/bms/report/invoices_pdfworkorder.php', 'This report will ge rneate and display a work orderin PDF format (which can be printed or saved). The PDF file will contain one page per work order.', 1, NOW(), 1, NOW());3 INSERT INTO `reports` (`uuid`, `name`, `type`, `tabledefid`, `displayorder`, `roleid`, `reportfile`, `description`, `createdby`, `creationdate`, `modifiedby`, `modifieddate`) VALUES ('rpt:34a69580-6fbc-d04c-ed3e-f0e497a9a9b2', 'Packing List', 'PDF Report', 'tbld:62fe599d-c18f-3674-9e54-b62c2d6b1883', '100', '', 'modules/bms/report/invoices_pdfpackinglist.php', 'This report will ge rneate and display an invoice packing list in PDF format (which can be printed or saved). The PDF file will contain one page per invoice packing list.', 1, NOW(), 1, NOW());1 INSERT INTO `reports` (`uuid`, `name`, `type`, `tabledefid`, `displayorder`, `roleid`, `reportfile`, `description`, `createdby`, `creationdate`, `modifiedby`, `modifieddate`) VALUES ('rpt:bac1d6eb-b2bb-9aa0-77c0-ff7f9046ca75', 'Invoice', 'PDF Report', 'tbld:62fe599d-c18f-3674-9e54-b62c2d6b1883', '100', '', 'modules/bms/report/invoices_pdfinvoice.php', 'This report will generate and display an invoice in PDF format (which can be printed or saved). The PDF file will contain one page per invoice.', 1, NOW(), 1, NOW()); 2 INSERT INTO `reports` (`uuid`, `name`, `type`, `tabledefid`, `displayorder`, `roleid`, `reportfile`, `description`, `createdby`, `creationdate`, `modifiedby`, `modifieddate`) VALUES ('rpt:a34dd4b5-6942-2b14-4a58-74345dce48de', 'Work Order', 'PDF Report', 'tbld:62fe599d-c18f-3674-9e54-b62c2d6b1883', '100', 'role:de7e6679-8bb2-29ee-4883-2fcd756fb120', 'modules/bms/report/invoices_pdfworkorder.php', 'This report will generate and display a work order in PDF format (which can be printed or saved). The PDF file will contain one page per work order.', 1, NOW(), 1, NOW()); 3 INSERT INTO `reports` (`uuid`, `name`, `type`, `tabledefid`, `displayorder`, `roleid`, `reportfile`, `description`, `createdby`, `creationdate`, `modifiedby`, `modifieddate`) VALUES ('rpt:34a69580-6fbc-d04c-ed3e-f0e497a9a9b2', 'Packing List', 'PDF Report', 'tbld:62fe599d-c18f-3674-9e54-b62c2d6b1883', '100', '', 'modules/bms/report/invoices_pdfpackinglist.php', 'This report will generate and display an invoice packing list in PDF format (which can be printed or saved). The PDF file will contain one page per invoice packing list.', 1, NOW(), 1, NOW()); 4 4 INSERT INTO `reports` (`uuid`, `name`, `type`, `tabledefid`, `displayorder`, `roleid`, `reportfile`, `description`, `createdby`, `creationdate`, `modifiedby`, `modifieddate`) VALUES ('rpt:07f58303-d6e9-a032-01ad-0097d59b3c04', 'Labels - Folder', 'PDF Report', 'tbld:6d290174-8b73-e199-fe6c-bcf3d4b61083', '50', '', 'modules/bms/report/clients_folderlabels.php', 'Avery 5160 or compatible (3x10) Instructor Folder labels. \r\n\r\n **MAKE SURE when printing the pdf file, to TURN OFF the option \"shrink oversized pages to paper size\".**', 1, NOW(), 1, NOW()); 5 5 INSERT INTO `reports` (`uuid`, `name`, `type`, `tabledefid`, `displayorder`, `roleid`, `reportfile`, `description`, `createdby`, `creationdate`, `modifiedby`, `modifieddate`) VALUES ('rpt:030e7d95-4542-b37c-3cac-a18ff5f4b8ff', 'Labels - Mailing', 'PDF Report', 'tbld:6d290174-8b73-e199-fe6c-bcf3d4b61083', '50', '', 'modules/bms/report/clients_mailinglabels.php', 'Avery 5160 or compatible (3x10) Instructor Folder labels. \r\n\r\n **MAKE SURE when printing the pdf file, to TURN OFF the option \"shrink oversized pages to paper size\".**', 1, NOW(), 1, NOW()); … … 16 16 INSERT INTO `reports` (`uuid`, `name`, `type`, `tabledefid`, `displayorder`, `roleid`, `reportfile`, `description`, `createdby`, `creationdate`, `modifiedby`, `modifieddate`) VALUES ('rpt:a278af28-9c34-da2e-d81b-4caa36dfa29f', 'Sales History', 'report', 'tbld:7a9e87ed-d165-c4a4-d9b9-0a4adc3c5a34', '100', 'role:259ead9f-100b-55b5-508a-27e33a6216bf', 'modules/bms/report/products_saleshistory.php', 'Sales History for product including costs, average price and quantities.', 1, NOW(), 1, NOW()); 17 17 INSERT INTO `reports` (`uuid`, `name`, `type`, `tabledefid`, `displayorder`, `roleid`, `reportfile`, `description`, `createdby`, `creationdate`, `modifiedby`, `modifieddate`) VALUES ('rpt:1908b03c-cacc-f03a-6d22-21fdef123f65', 'Purchase History', 'report', 'tbld:6d290174-8b73-e199-fe6c-bcf3d4b61083', '10', '', 'modules/bms/report/clients_purchasehistory.php', 'Client purchase history', 1, NOW(), 1, NOW()); 18 INSERT INTO `reports` (`uuid`, `name`, `type`, `tabledefid`, `displayorder`, `roleid`, `reportfile`, `description`, `createdby`, `creationdate`, `modifiedby`, `modifieddate`) VALUES ('rpt:858702da-1b85-3a62-c20f-6b1593140a64', 'Totals - Custom', 'report', 'tbld:31423480-a9b0-f0ff-749e-b3b5e18ca93c', '50', 'role:259ead9f-100b-55b5-508a-27e33a6216bf', 'modules/bms/report/lineitems_totals.php', 'Creat your own custom line item totaling report, specify groupings, totals, averages and whether to display summary, invoice, and invoice detail information.', 1, NOW(), 1, NOW());18 INSERT INTO `reports` (`uuid`, `name`, `type`, `tabledefid`, `displayorder`, `roleid`, `reportfile`, `description`, `createdby`, `creationdate`, `modifiedby`, `modifieddate`) VALUES ('rpt:858702da-1b85-3a62-c20f-6b1593140a64', 'Totals - Custom', 'report', 'tbld:31423480-a9b0-f0ff-749e-b3b5e18ca93c', '50', 'role:259ead9f-100b-55b5-508a-27e33a6216bf', 'modules/bms/report/lineitems_totals.php', 'Create your own custom line item totaling report, specify groupings, totals, averages and whether to display summary, invoice, and invoice detail information.', 1, NOW(), 1, NOW()); 19 19 INSERT INTO `reports` (`uuid`, `name`, `type`, `tabledefid`, `displayorder`, `roleid`, `reportfile`, `description`, `createdby`, `creationdate`, `modifiedby`, `modifieddate`) VALUES ('rpt:28cf69cb-60de-bbed-df15-ea98842b6924', 'Totals - Product Categories', 'report', 'tbld:31423480-a9b0-f0ff-749e-b3b5e18ca93c', '50', 'role:259ead9f-100b-55b5-508a-27e33a6216bf', 'modules/bms/report/lineitems_totals_productcategories.php', 'Totals report grouped first by product category and then by product.', 1, NOW(), 1, NOW()); 20 20 INSERT INTO `reports` (`uuid`, `name`, `type`, `tabledefid`, `displayorder`, `roleid`, `reportfile`, `description`, `createdby`, `creationdate`, `modifiedby`, `modifieddate`) VALUES ('rpt:274d3dfa-ec52-74d2-630f-0c432a6e1ea5', 'Totals - Product', 'report', 'tbld:31423480-a9b0-f0ff-749e-b3b5e18ca93c', '50', 'role:259ead9f-100b-55b5-508a-27e33a6216bf', 'modules/bms/report/lineitems_totals_products.php', 'Totals report grouped by product displaying line items', 1, NOW(), 1, NOW()); 21 21 INSERT INTO `reports` (`uuid`, `name`, `type`, `tabledefid`, `displayorder`, `roleid`, `reportfile`, `description`, `createdby`, `creationdate`, `modifiedby`, `modifieddate`) VALUES ('rpt:68b6258a-6902-f705-19f5-d2707bd78b35', 'Totals - Lead Source', 'report', 'tbld:31423480-a9b0-f0ff-749e-b3b5e18ca93c', '50', 'role:259ead9f-100b-55b5-508a-27e33a6216bf', 'modules/bms/report/lineitems_totals_leadsource.php', 'Totals grouped by invoice lead source and product', 1, NOW(), 1, NOW()); 22 INSERT INTO `reports` (`uuid`, `name`, `type`, `tabledefid`, `displayorder`, `roleid`, `reportfile`, `description`, `createdby`, `creationdate`, `modifiedby`, `modifieddate`) VALUES ('rpt:b552c34f-64b9-5a89-15b3-c5d717644b81', 'Client Notes Summary', 'PDF Report', 'tbld:6d290174-8b73-e199-fe6c-bcf3d4b61083', '10', '', 'modules/bms/report/clients_notesummary.php', 'Print all notes associated with he client and any notes associated with client invoices.', 1, NOW(), 1, NOW());22 INSERT INTO `reports` (`uuid`, `name`, `type`, `tabledefid`, `displayorder`, `roleid`, `reportfile`, `description`, `createdby`, `creationdate`, `modifiedby`, `modifieddate`) VALUES ('rpt:b552c34f-64b9-5a89-15b3-c5d717644b81', 'Client Notes Summary', 'PDF Report', 'tbld:6d290174-8b73-e199-fe6c-bcf3d4b61083', '10', '', 'modules/bms/report/clients_notesummary.php', 'Print all notes associated with the client and any notes associated with client invoices.', 1, NOW(), 1, NOW()); 23 23 INSERT INTO `reports` (`uuid`, `name`, `type`, `tabledefid`, `displayorder`, `roleid`, `reportfile`, `description`, `createdby`, `creationdate`, `modifiedby`, `modifieddate`) VALUES ('rpt:aca42dbe-68c9-e966-c174-ed938e9b880a', 'Totals - Tax', 'report', 'tbld:62fe599d-c18f-3674-9e54-b62c2d6b1883', '50', 'role:259ead9f-100b-55b5-508a-27e33a6216bf', 'modules/bms/report/invoices_totals_tax.php', 'Tax Totals', 1, NOW(), 1, NOW()); 24 24 INSERT INTO `reports` (`uuid`, `name`, `type`, `tabledefid`, `displayorder`, `roleid`, `reportfile`, `description`, `createdby`, `creationdate`, `modifiedby`, `modifieddate`) VALUES ('rpt:e54cee32-b3c9-82cc-50c8-14848ece8e90', 'Receipt', 'PDF Report', 'tbld:43678406-be25-909b-c715-7e2afc7db601', '10', 'role:c9439c3c-499b-7bcc-ee14-fec5bfcf5fc2', 'modules/bms/report/receipts_pdf.php', 'PDF print out of receipt for processing or client records', 1, NOW(), 1, NOW()); -
trunk/phpbms/modules/bms/invoicestatuses_addedit.php
r621 r643 88 88 89 89 <fieldset id="fsAttributes"> 90 <legend>attribu es</legend>90 <legend>attributes</legend> 91 91 92 92 <p><br /><?php $theform->showField("inactive")?></p> -
trunk/phpbms/modules/bms/invoices_discount_ajax.php
r592 r643 40 40 require("../../include/session.php"); 41 41 42 if(!isset($_GET["id"])) $error = new appError(300,"Passed v eriable not set (id)");42 if(!isset($_GET["id"])) $error = new appError(300,"Passed variable not set (id)"); 43 43 44 44 $querystatement = " -
trunk/phpbms/modules/bms/javascript/invoice.js
r638 r643 1434 1434 1435 1435 case "receivable": 1436 //first let 's check to make sure they can charge to AR1436 //first let us check to make sure they can charge to AR 1437 1437 var hascredit = getObjectFromID("hascredit"); 1438 1438 var creditleft = getObjectFromID("creditleft"); … … 1446 1446 1447 1447 if(hascredit.value == 0 && error == "" && type.value != "Invoice" && type.value != "VOID") 1448 error = "This client is not curren lty set up with a line of credit.";1448 error = "This client is not currently set up with a line of credit."; 1449 1449 1450 1450 if(currencyToNumber(creditleft.value) < currencyToNumber(totalti.value) && error == "" && type.value != "Invoice" && type.value != "VOID") -
trunk/phpbms/modules/bms/paymentmethods_addedit.php
r575 r643 82 82 83 83 <fieldset id="fsAttributes"> 84 <legend>attribu es</legend>84 <legend>attributes</legend> 85 85 86 86 <p><br /><?php $theform->showField("inactive")?></p> -
trunk/phpbms/modules/bms/tax_addedit.php
r575 r643 78 78 79 79 <fieldset id="fsAttributes"> 80 <legend>attribu es</legend>80 <legend>attributes</legend> 81 81 <p><br /><?php $theform->showField("inactive");?></p> 82 82 </fieldset> -
trunk/phpbms/modules/recurringinvoices/javascript/recurringinvoices.js
r627 r643 207 207 var i; 208 208 209 //first let 's set the eachlist if necassary209 //first let us set the eachlist if necessary 210 210 switch(typeSelect.value){ 211 211 case "Weekly": -
trunk/phpbms/modules/sample/sampletable_addedit.php
r541 r643 153 153 154 154 <fieldset id="fsAttributes"> 155 <legend>attribu es</legend>155 <legend>attributes</legend> 156 156 <p> 157 157 <label for="id">id</label><br /> -
trunk/phpbms/phpbmsversion.php
r485 r643 2 2 3 3 $modules["base"]["name"] = "phpBMS base"; 4 4 5 5 $modules["base"]["version"] = 0.98; 6 7 $modules["base"]["description"] = 8 "The basic phpBMS fram kework. This is the minimum module required in order for the web applicatoin to work.";9 6 7 $modules["base"]["description"] = 8 "The basic phpBMS framework. This is the minimum module required in order for the web application to work."; 9 10 10 $modules["base"]["requirements"] = ""; 11 11 -
trunk/phpbms/print.php
r607 r643 105 105 $querystatement="SELECT reportfile,type from reports where id=".$_POST["choosereport"][$i].";"; 106 106 $queryresult=$db->query($querystatement); 107 if(!$queryresult) $error = new appError(100,"Could not Retr eive Report Information");107 if(!$queryresult) $error = new appError(100,"Could not Retrieve Report Information"); 108 108 $reportrecord=$db->fetchArray($queryresult); 109 109 $fakeExtForIE=""; … … 227 227 </fieldset> 228 228 <fieldset> 229 <legend>customiz ng reports</legend>229 <legend>customizing reports</legend> 230 230 <p class="notes"> 231 Many reports feature a logo and your company inf romation. This information can be set administratively in the configuration area231 Many reports feature a logo and your company information. This information can be set administratively in the configuration area 232 232 </p> 233 233 <p class="notes"> 234 Need more reports, or want to cu ztomize an existing report to meet your specific needs? <br />234 Need more reports, or want to customize an existing report to meet your specific needs? <br /> 235 235 if you are unfamiliar with PHP, or programming phpBMS, you can try visiting the 236 236 <a href="http://www.phpbms.org">phpBMS project site</a>, or visit <a href="http://kreotek.com">Kreotek's website</a> for more information. -
trunk/phpbms/report/general_labels.php
r605 r643 66 66 $reportquerystatement.=$_SESSION["printing"]["whereclause"].$sortorder; 67 67 $thequery=$db->query($reportquerystatement); 68 if(!$thequery) die("No records, or inv laid SQL statement:<br />".$reportquerystatement);68 if(!$thequery) die("No records, or invalid SQL statement:<br />".$reportquerystatement); 69 69 //=================================================================================================== 70 70 // Generating PDF File.