navigation  interaction  search

 other resources

Changeset 64

Show
Ignore:
Timestamp:
11/22/05 21:00:19
Author:
brieb
Message:

Fixed sort problems with invoices.
Formated notes on product screen.
Removed defaultlogo.png.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/modules/bms/install/tablecolumns.sql

    r63 r64  
    1010INSERT INTO tablecolumns VALUES (46,3,'date','if(invoices.type=\"Invoice\",invoices.invoicedate,invoices.orderdate)','left','',4,'',0,'','date'); 
    1111INSERT 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'); 
    1312INSERT 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'); 
     13INSERT 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'); 
     14INSERT 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'); 
    1515INSERT INTO tablecolumns VALUES (51,5,'invoice id','lineitems.invoiceid','left','',1,'',0,'',NULL); 
    1616INSERT INTO tablecolumns VALUES (52,5,'part #','products.partnumber','left','',4,'',0,'',NULL); 
  • trunk/modules/bms/products_addedit.php

    r53 r64  
    108108                                        <td width="100%"> 
    109109                                                <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/> 
    111111                                                        <?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"]."')")); ?> 
    112112                                                </label> 
     
    128128                                <input name="description" type="text" id="description" style="width:98%" value="<?php echo htmlQuotes($therecord["description"])?>" size="34" maxlength="255" tabindex="40" /> 
    129129                        </label> 
    130                         <div class="small"><em>The description will show by default in the memo field of invoice 
    131                                                                         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> 
    132132                </fieldset> 
    133133                 
     
    178178                                </tr> 
    179179                        </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> 
    181181                </fieldset> 
    182182                 
     
    193193                        </label> 
    194194                        <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
    196196                        </label> 
    197197                        <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
    199199                        </label> 
    200200                        </fieldset> 
Copyright © 2006-2007 Kreotek, LLC. All Rights reserved.