Changeset 64
- Timestamp:
- 11/22/05 21:00:19
- Files:
-
- trunk/modules/bms/install/tablecolumns.sql (modified) (1 diff)
- trunk/modules/bms/products_addedit.php (modified) (4 diffs)
- trunk/report/defaultlogo.png (deleted)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/modules/bms/install/tablecolumns.sql
r63 r64 10 10 INSERT INTO tablecolumns VALUES (46,3,'date','if(invoices.type=\"Invoice\",invoices.invoicedate,invoices.orderdate)','left','',4,'',0,'','date'); 11 11 INSERT INTO tablecolumns VALUES (47,3,'client name / company','concat(\"<strong>\",if(clients.lastname!=\"\",concat(clients.lastname,\", \",clients.firstname,if(clients.company!=\"\",concat(\" (\",clients.company,\")\"),\"\")),clients.company),\"</strong>\")','left','',5,'concat(clients.lastname,clients.firstname,clients.company)',0,'100%',NULL); 12 INSERT INTO tablecolumns VALUES (48,3,'total','if(invoices.type!=\"VOID\",invoices.totalti,\"-----\")','right','sum(if(invoices.type!=\"VOID\",invoices.totalti,0))',6,'',0,'','currency');13 12 INSERT INTO tablecolumns VALUES (139,5,'id','lineitems.id','left','',0,'',0,'',NULL); 14 INSERT INTO tablecolumns VALUES (49,3,'due','if(invoices.type!=\"VOID\",invoices.totalti-invoices.amountpaid,\"-----\")','right','sum(if(invoices.type!=\"VOID\",(invoices.totalti-invoices.amountpaid),0))',7,'',0,'','currency'); 13 INSERT INTO tablecolumns VALUES (48,3,'total','if(invoices.type!=\"VOID\",invoices.totalti,\"-----\")','right','sum(if(invoices.type!=\"VOID\",invoices.totalti,0))',6,'if(invoices.type!=\"VOID\",invoices.totalti,0)',0,'','currency'); 14 INSERT INTO tablecolumns VALUES (49,3,'due','if(invoices.type!=\"VOID\",invoices.totalti-invoices.amountpaid,\"-----\")','right','sum(if(invoices.type!=\"VOID\",(invoices.totalti-invoices.amountpaid),0))',7,'if(invoices.type!=\"VOID\",invoices.totalti-invoices.amountpaid,0)',0,'','currency'); 15 15 INSERT INTO tablecolumns VALUES (51,5,'invoice id','lineitems.invoiceid','left','',1,'',0,'',NULL); 16 16 INSERT INTO tablecolumns VALUES (52,5,'part #','products.partnumber','left','',4,'',0,'',NULL); trunk/modules/bms/products_addedit.php
r53 r64 108 108 <td width="100%"> 109 109 <label for="partnumber" > 110 <strong>part number</strong> < em>(must be unique)</em><br/>110 <strong>part number</strong> <span class="notes"><em>(must be unique)</em></span><br/> 111 111 <?PHP field_text("partnumber",$therecord["partnumber"],1,"Part number name cannot be blank.","",Array("size"=>"28","maxlength"=>"32","style"=>"width:98%","class"=>"important","tabindex"=>"20","onChange"=>"checkUnique('../../',this.value,this.name,'products','partnumber','".$therecord["id"]."')")); ?> 112 112 </label> … … 128 128 <input name="description" type="text" id="description" style="width:98%" value="<?php echo htmlQuotes($therecord["description"])?>" size="34" maxlength="255" tabindex="40" /> 129 129 </label> 130 <div class=" small"><em>The description will show by default in the memo field of invoice131 line items, but can be modified on the invoice.</ em></div>130 <div class="notes"><strong>Note:</strong> The description will show by default in the memo field of invoice 131 line items, but can be modified on the invoice.</div> 132 132 </fieldset> 133 133 … … 178 178 </tr> 179 179 </table> 180 <div class=" small"><em>Weight must be in lbs. in order for shipping to be estimated correctly.</em></div>180 <div class="notes"><strong>Note:</strong> Weight must be in lbs. in order for shipping to be estimated correctly.</div> 181 181 </fieldset> 182 182 … … 193 193 </label> 194 194 <label for="isprepackaged"> 195 <?PHP field_checkbox("isprepackaged",$therecord["isprepackaged"],false,Array("tabindex"=>"210"))?>pre-packaged < em>(product is not packed with any other product.)</em>195 <?PHP field_checkbox("isprepackaged",$therecord["isprepackaged"],false,Array("tabindex"=>"210"))?>pre-packaged <span class="notes"><em>(product is not packed with any other product.)</em></span> 196 196 </label> 197 197 <label for="isoversized"> 198 <?PHP field_checkbox("isoversized",$therecord["isoversized"],false,Array("tabindex"=>"210"))?>oversized < em>(product must be delivered in a oversized box.)</em>198 <?PHP field_checkbox("isoversized",$therecord["isoversized"],false,Array("tabindex"=>"210"))?>oversized <span class="notes"><em>(product must be delivered in a oversized box.)</em></span> 199 199 </label> 200 200 </fieldset>