Changeset 205 for trunk/phpbms/modules/bms/report/lineitems_totals.php
- Timestamp:
- 03/26/07 16:50:25 (5 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
trunk/phpbms/modules/bms/report/lineitems_totals.php
r204 r205 92 92 93 93 function showReportTable(){ 94 ?><table border= 0 cellspacing=0 cellpadding=0>94 ?><table border="0" cellspacing="0" cellpadding="0"> 95 95 <tr> 96 96 <th> </th> 97 97 <?php 98 98 foreach($this->selectcolumns as $name=>$column){ 99 ?><th align=right nowrap ><?php echo $name?></td><?php99 ?><th align=right nowrap="nowrap"><?php echo $name?></td><?php 100 100 }//end foreach 101 101 ?> … … 193 193 ?> 194 194 <tr><td colspan="<?php echo (count($this->selectcolumns)+1)?>" class="invoices" style="padding-right:10px;padding-left:<?php echo ($indent+2)?>px;"> 195 <table border= 0 cellspacing=0 cellpadding=0style="border:0px;">195 <table border="0" cellspacing="0" cellpadding="0" style="border:0px;"> 196 196 <?php 197 197 … … 199 199 ?> 200 200 <tr> 201 <td class="lineitems" nowrap ><?php echo $therecord["invoiceid"]?></td>202 <td class="lineitems" nowrap ><?php if($therecord["invoicedate"]) echo formatFromSQLDate($therecord["invoicedate"]); else echo " "?></td>201 <td class="lineitems" nowrap="nowrap"><?php echo $therecord["invoiceid"]?></td> 202 <td class="lineitems" nowrap="nowrap"><?php if($therecord["invoicedate"]) echo formatFromSQLDate($therecord["invoicedate"]); else echo " "?></td> 203 203 <td class="lineitems" width="20%"><?php echo $therecord["thename"]?></td> 204 <td width="60%" class="lineitems" nowrap ><?php echo $therecord["partnumber"]?> <?php echo $therecord["partname"]?></td>205 <td width="9%" class="lineitems" align="right" nowrap ><?php echo "\$".number_format($therecord["unitprice"],2)?></td>206 <td width="8%" class="lineitems" align="center" nowrap ><?php echo number_format($therecord["quantity"],2)?></td>207 <td width="7%" class="lineitems" align="right" nowrap ><?php echo "\$".number_format($therecord["extended"],2)?></td>204 <td width="60%" class="lineitems" nowrap="nowrap"><?php echo $therecord["partnumber"]?> <?php echo $therecord["partname"]?></td> 205 <td width="9%" class="lineitems" align="right" nowrap="nowrap"><?php echo "\$".number_format($therecord["unitprice"],2)?></td> 206 <td width="8%" class="lineitems" align="center" nowrap="nowrap"><?php echo number_format($therecord["quantity"],2)?></td> 207 <td width="7%" class="lineitems" align="right" nowrap="nowrap"><?php echo "\$".number_format($therecord["extended"],2)?></td> 208 208 </tr> 209 209 <?php … … 344 344 <div class="bodyline" style="width:550px;padding:4px;"> 345 345 <h1>Line Item Total Options</h1> 346 <form action="<?php echo $_SERVER["PHP_SELF"]?>" method="post" name="totals" on Submit="return submitForm(this)">346 <form action="<?php echo $_SERVER["PHP_SELF"]?>" method="post" name="totals" onsubmit="return submitForm(this)"> 347 347 <div> 348 348 report title<br /> … … 351 351 <div class="box"> 352 352 <strong>Grouping</strong><br /> 353 <table border= 0 cellspacing=0 cellpadding=0>353 <table border="0" cellspacing="0" cellpadding="0"> 354 354 <tr> 355 355 <td width="50%"> … … 361 361 <td> 362 362 <div><br /> 363 <input type="button" value="<<" class="Buttons" on Click="moveItem('groupings','to',this.form);"><br /><br />364 <input type="button" value=">>" class="Buttons" on Click="moveItem('groupings','from',this.form);">363 <input type="button" value="<<" class="Buttons" onclick="moveItem('groupings','to',this.form);"><br /><br /> 364 <input type="button" value=">>" class="Buttons" onclick="moveItem('groupings','from',this.form);"> 365 365 </div> 366 366 </td> … … 400 400 <div class="box"> 401 401 <strong>Columns</strong><br /> 402 <table border= 0 cellspacing=0 cellpadding=0>402 <table border="0" cellspacing="0" cellpadding="0"> 403 403 <tr> 404 404 <td width="50%"> … … 411 411 <td> 412 412 <div><br /> 413 <input type="button" value="<<" class="Buttons" on Click="moveItem('columns','to',this.form);"><br /><br />414 <input type="button" value=">>" class="Buttons" on Click="moveItem('columns','from',this.form);">413 <input type="button" value="<<" class="Buttons" onclick="moveItem('columns','to',this.form);"><br /><br /> 414 <input type="button" value=">>" class="Buttons" onclick="moveItem('columns','from',this.form);"> 415 415 </div> 416 416 </td> … … 436 436 </table> 437 437 </div> 438 <div class= box>438 <div class="box"> 439 439 <strong>Additional Options</strong><br /> 440 440 information shown<br /> 441 441 <select name="showwhat"> 442 <option selected value="totals">Totals Only</option>442 <option selected="selected" value="totals">Totals Only</option> 443 443 <option value="lineitems">Line Items</option> 444 444 </select> … … 448 448 <div align="right" class="box"> 449 449 <input name="command" type="submit" class="Buttons" id="print" value="print" style="width:75px;margin-right:3px;"> 450 <input name="cancel" type="button" class="Buttons" id="cancel" value="cancel" style="width:75px;" on Click="window.close();">450 <input name="cancel" type="button" class="Buttons" id="cancel" value="cancel" style="width:75px;" onclick="window.close();"> 451 451 </div> 452 452 </form>