Changeset 700 for trunk/phpbms
- Timestamp:
- 01/01/10 13:45:44 (2 years ago)
- Location:
- trunk/phpbms
- Files:
-
- 7 modified
-
ChangeLog (modified) (1 diff)
-
common/stylesheet/mozilla/pages/quickview.css (modified) (1 diff)
-
common/stylesheet/mozilla/sizes.css (modified) (1 diff)
-
info.php (modified) (2 diffs)
-
modules/bms/javascript/quickview.js (modified) (5 diffs)
-
modules/bms/quickview.php (modified) (2 diffs)
-
modules/bms/quickview_ajax.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/phpbms/ChangeLog
r513 r700 6 6 * Snapshot is customizable based on user's preference 7 7 * Centralized posting for receipts and invoices 8 * Menu system now uses a uuid instead of an id, making module development easier. 8 * System now uses UUIDs in addition to the mysql id, making module and API development easier. 9 * Formal API system that utilizes JSON to interact with other applications 10 * Push technology allows phpBMS to push data to other systems. 11 * True payment encryption/obfuscation for credit cards 12 * Reports now administratively configurable allowing for flexible report creation/modification without need for customization 13 * MailChimp module allows synchronization of clients with MailChimp e-mail marketing and e-mail list manager 14 * Easier to use configuration screen 15 * Automatically check for updates 16 * Increased security and security logging 9 17 10 18 The complete list of closed tickets can be found here: http://phpbms.org/query?status=closed&milestone=0.98 -
trunk/phpbms/common/stylesheet/mozilla/pages/quickview.css
r442 r700 3 3 4 4 .SBResults A.client{ 5 padding-left:30px;6 background-image:url("../image/client.png");5 padding-left:30px; 6 background-image:url("../image/client.png"); 7 7 } 8 8 9 9 .SBResults A.prospect{ 10 padding-left:30px;11 background-image:url("../image/prospect.png");10 padding-left:30px; 11 background-image:url("../image/prospect.png"); 12 12 } 13 13 14 14 #viewButton, #addButton{ 15 width:70px15 width:70px 16 16 } 17 17 18 18 #clientIDDiv{ 19 width:100%; 20 margin-right:200px; 21 margin-left: 170px; 22 background:red; 23 } 19 width:100%; 20 margin-right:200px; 21 margin-left: 170px; 22 background:red; 23 } 24 24 25 #ds-clientid{ 25 width:55%; 26 } 27 28 29 26 width:55%; 27 } 30 28 31 29 #crTile.fsclient{ 32 background-image:url("../image/client.png");30 background-image:url("../image/client.png"); 33 31 } 34 32 35 33 #crTile.fsprospect{ 36 background-image:url("../image/prospect.png");34 background-image:url("../image/prospect.png"); 37 35 } 38 36 39 37 #crTile{ 40 background:white no-repeat 13px 13px;38 background:white no-repeat 13px 13px; 41 39 } 42 40 43 41 #crTile H1 { 44 background:none;45 padding-left:26px;46 font-weight:bold;42 background:none; 43 padding-left:26px; 44 font-weight:bold; 47 45 } 48 46 49 47 #crTile P{ 50 margin: 5px 0 5px 42px;51 padding: 0;48 margin: 5px 0 5px 42px; 49 padding: 0; 52 50 } 53 51 54 52 #crName{ 55 font-size:14px;56 font-weight:bold;57 margin-top:0;53 font-size:14px; 54 font-weight:bold; 55 margin-top:0; 58 56 } 59 57 60 58 #crLocation{ 61 font-size:10px;59 font-size:10px; 62 60 } 63 61 64 62 .RDNames{ 63 float:left; 64 width:100px; 65 text-align:right; 66 font-weight:bold; 67 } 68 69 .RDData{ 70 margin-left:120px; 71 } 72 73 .RDData UL { 74 margin:0; 75 padding:0; 76 padding-left:15px; 77 } 78 79 .RDData LI { 80 margin:0; 81 padding:0px 0px 5px 0; 82 } 83 84 #theclear{ 85 clear:both; 86 } 87 88 89 .disabledP{ 90 display:none; 91 } 92 93 #theDetails{ 94 margin-top:15px; 95 } 96 97 #rightSideDiv{ 98 float:right; 99 width:300px; 100 margin-top:0; 101 } 102 103 #leftSideDiv{ 104 margin-right:308px; 105 padding-top:1px; 106 } 107 108 H2{ 109 margin-top:5px; 110 } 111 112 .RDNames{ 113 float:left; 114 width:100px; 115 text-align:right; 116 } 117 118 .RDData{ 119 margin-left:120px; 120 } 121 122 #editClient{ 123 display:block; 124 width:75px; 125 float:right; 126 } 127 128 #endClient{ 129 clear:both; 130 } 131 132 .salesNotesButtons{ 133 float:right; 134 margin-top:4px; 135 width:46px; 136 text-align:left; 137 } 138 139 #salesTable{ 140 height:140px; 141 overflow:auto; 142 } 143 144 #notesTable{ 145 height:140px; 146 overflow:auto; 147 } 148 149 .recordContainers{ 150 clear:both; 151 } 152 153 .recordCommands{ 154 background:url("../image/search-toolbar-back.png") repeat-x; 155 height:32px; 65 156 float:left; 66 width:100px; 67 text-align:right; 68 font-weight:bold; 69 } 70 71 .RDData{ 72 margin-left:120px; 73 } 74 75 .RDData UL { 76 margin:0; 77 padding:0; 78 padding-left:15px; 79 } 80 81 .RDData LI { 82 margin:0; 83 padding:0px 0px 5px 0; 84 } 85 86 #theclear{ 87 clear:both; 88 } 89 90 91 .disabledP{display:none;} 92 93 #theDetails{margin-top:15px;} 94 #rightSideDiv{float:right;width:300px;margin-top:0;} 95 #leftSideDiv{margin-right:308px;padding-top:1px;} 96 97 H2{margin-top:5px;} 98 99 .RDNames{float:left; width:100px;text-align:right;} 100 .RDData{margin-left:120px;} 101 102 #editClient{display:block;width:75px;float:right;} 103 104 #endClient{clear:both;} 105 106 .salesNotesButtons{ 107 float:right; 108 margin-top:4px; 109 width:46px; 110 text-align:left; 111 } 112 113 #salesTable{height:140px;overflow:auto;} 114 #notesTable{height:140px;overflow:auto;} 157 margin:0;padding:0; 158 } 159 160 .recordCommands li{ 161 float:left; 162 list-style-type:none; 163 padding:0; 164 margin:0; 165 background:url("../image/search-toolbar-itemback.png") no-repeat; 166 width:32px; 167 } 168 169 .recordCommands li a{ 170 display:block; 171 margin:2px 0 0 2px; 172 width:26px; 173 height:26px; 174 background-repeat:no-repeat; 175 } 176 177 .recordCommands a span{ 178 display:none; 179 } 180 181 .recordCommands .firstToolbarItem{ 182 background-image:url("../image/search-toolbar-firstback.png") 183 } 184 185 .newRecord{ 186 background-image: url("../image/search-toolbar-new.png") 187 } 188 189 .editRecord{ 190 background-image: url("../image/search-toolbar-edit.png") 191 } 192 193 .editRecordDisabled{ 194 background-image: url("../image/search-toolbar-edit-db.png") 195 } 196 197 .deleteRecord{ 198 background-image: url("../image/search-toolbar-delete.png") 199 } 200 201 .deleteRecordDisabled{ 202 background-image: url("../image/search-toolbar-delete-db.png") 203 } 204 -
trunk/phpbms/common/stylesheet/mozilla/sizes.css
r526 r700 74 74 } 75 75 76 .big input, .big button {76 .big input, .big button, .big select{ 77 77 font-size: 15px; 78 78 } -
trunk/phpbms/info.php
r485 r700 151 151 152 152 <li> 153 <h3>fpdf (<a href="http://www. fpdf.org">www.fpdf.org</a>)</h3>153 <h3>fpdf (<a href="http://www.setasign.de/products/pdf-php-solutions/fpdi/">www.setasign.de</a>)</h3> 154 154 <p>A PHP class which allows to generate PDF files with pure PHP</p> 155 </li> 156 157 <li> 158 <h3>FPDI (<a href="http://www.fpdf.org">www.fpdf.org</a>)</h3> 159 <p>Extends FPDF to read pages from an existing PDF document and use them as templates in FPDF</p> 155 160 </li> 156 161 … … 169 174 <p>An easy to use PHP class to read and write CSV data properly.</p> 170 175 </li> 176 177 <li> 178 <h3>MailChimp API(<a href="http://mailchip.com/">MailChimp.com</a>)</h3> 179 <p>Email Marketing and Email List Manager</p> 180 </li> 171 181 </ul> 172 182 -
trunk/phpbms/modules/bms/javascript/quickview.js
r617 r700 46 46 47 47 var clientid = getObjectFromID("theuuid"); 48 var clientrealid = getObjectFromID("theid"); 48 49 var theURL = addeditfile; 49 50 … … 65 66 66 67 case "client": 67 theid = client id.value;68 theid = clientrealid.value; 68 69 break; 69 70 … … 72 73 theURL += "?backurl=" + encodeURIComponent(currentURL + "?cid=" + clientid.value) 73 74 74 if(newedit == "edit") 75 theURL += "&id=" + encodeURIComponent(theid); 76 else 75 if(newedit == "edit"){ 76 77 if(!theid) 78 return false; 79 else 80 theURL += "&id=" + encodeURIComponent(theid); 81 82 } else 77 83 theURL += "&cid=" + encodeURIComponent(clientid.value); 78 84 79 //console.log(theURL);80 //return false;81 85 document.location = theURL; 82 86 87 return false; 88 83 89 }//end function addEditRecord 84 90 91 85 92 function selectEdit(thetr,id,noteinvoice){ 93 86 94 var theeditbutton=getObjectFromID(noteinvoice+"edit"); 87 95 var theSelected; 96 88 97 if(noteinvoice=="note") 89 98 theSelected=selectedNote; … … 91 100 theSelected=selectedInvoice; 92 101 93 94 102 if(theSelected==id){ 95 theeditbutton.className="graphicButtons buttonEditDisabled"; 96 theeditbutton. disabled = true;103 104 theeditbutton.className="editRecordDisabled"; 97 105 theSelected=""; 98 106 thetr.className="" 107 99 108 } else { 100 109 for(var i=0; i<thetr.parentNode.childNodes.length;i++){ … … 105 114 thetr.className="smallQueryTableSelected"; 106 115 theSelected=id; 107 theeditbutton.className="graphicButtons buttonEdit"; 108 theeditbutton.disabled = false; 116 theeditbutton.className="editRecord"; 109 117 } 110 118 if(noteinvoice=="note") -
trunk/phpbms/modules/bms/quickview.php
r617 r700 40 40 require_once("include/fields.php"); 41 41 42 $pagetitle=" Quick View";42 $pagetitle="Search Clients and Prospects"; 43 43 44 44 $phpbms->cssIncludes[] = "pages/quickview.css"; … … 75 75 <h1><?php echo $pagetitle?></h1> 76 76 77 <div class="fauxDiv"> 78 79 <label for="lookupby">search by</label><br /> 77 <div class="fauxDiv big"> 80 78 81 79 <select id="lookupby"> -
trunk/phpbms/modules/bms/quickview_ajax.php
r617 r700 141 141 <fieldset> 142 142 <legend>sales</legend> 143 < p>144 <button type="button" class="graphicButtons buttonNew" onclick="addEditRecord('new','invoice','<?php echo getAddEditFile($this->db, "tbld:62fe599d-c18f-3674-9e54-b62c2d6b1883","add")?>')"><span>new</span></button>145 <button id="invoiceedit" type="button" disabled="disabled" class="graphicButtons buttonEditDisabled" onclick="addEditRecord('edit','invoice','<?php echo $invoiceEditFile?>')"><span>edit</span></button>146 </ p>147 <div class=" fauxP">143 <ul class="recordCommands"> 144 <li class="firstToolbarItem"><a href="#" class="newRecord" onclick="addEditRecord('new','invoice','<?php echo getAddEditFile($this->db, "tbld:62fe599d-c18f-3674-9e54-b62c2d6b1883","add")?>')" title="new sales order"><span>new</span></a></li> 145 <li><a href="#" id="invoiceedit" class="editRecordDisabled" onclick="addEditRecord('edit','invoice','<?php echo $invoiceEditFile?>')" title="edit"><span>edit</span></a></li> 146 </ul> 147 <div class="recordContainers"> 148 148 <div id="salesTable" class="smallQueryTableHolder"> 149 149 <?php if(!count($clientInfo["invoices"])) {?> … … 175 175 <legend>notes</legend> 176 176 177 <div class="fauxP"> 178 <p> 179 <button type="button" class="graphicButtons buttonNew" onclick="addEditRecord('new','note','<?php echo getAddEditFile($this->db, "tbld:a4cdd991-cf0a-916f-1240-49428ea1bdd1","add")?>')"><span>new</span></button> 180 <button id="noteedit" type="button" class="graphicButtons buttonEditDisabled" disabled="disabled" onclick="addEditRecord('edit','note','<?php echo $noteEditFile?>')"><span>edit</span></button> 181 </p> 177 178 <ul class="recordCommands"> 179 <li class="firstToolbarItem"><a href="#" title="new note" class="newRecord" onclick="addEditRecord('new','note','<?php echo getAddEditFile($this->db, "tbld:a4cdd991-cf0a-916f-1240-49428ea1bdd1","add")?>')"><span>new</span></a></li> 180 <li><a href="#" title="edit" id="noteedit" class="editRecordDisabled" onclick="addEditRecord('edit','note','<?php echo $noteEditFile?>')"><span>edit</span></a></li> 181 </ul> 182 <div class="recordContainers"> 183 182 184 <div id="notesTable" class="smallQueryTableHolder"> 183 185 <?php if(!count($clientInfo["notes"])) {?>