Changeset 205 for trunk/phpbms/modules/bms/clients_purchasehistory.php
- Timestamp:
- 03/26/07 16:50:25 (5 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
trunk/phpbms/modules/bms/clients_purchasehistory.php
r204 r205 123 123 <label for="status">type</label><br /> 124 124 <select name="status" id="status"> 125 <option value="Orders/Invoices" <?php if($_POST["status"]=="Orders/Invoices") echo "selected "?>>Orders/Invoices</option>126 <option value="Invoices" <?php if($_POST["status"]=="Invoices") echo "selected "?>>Invoices</option>127 <option value="Orders" <?php if($_POST["status"]=="Orders") echo "selected "?>>Orders</option>125 <option value="Orders/Invoices" <?php if($_POST["status"]=="Orders/Invoices") echo "selected=\"selected\""?>>Orders/Invoices</option> 126 <option value="Invoices" <?php if($_POST["status"]=="Invoices") echo "selected=\"selected\""?>>Invoices</option> 127 <option value="Orders" <?php if($_POST["status"]=="Orders") echo "selected=\"selected\""?>>Orders</option> 128 128 </select> 129 129 </p> … … 145 145 <table border="0" cellpadding="0" cellspacing="0" class="querytable"> 146 146 <tr> 147 <th align="left" nowrap class="queryheader" colspan="4">invoice</th>148 <th align="left" nowrap class="queryheader" colspan="3">product</th>149 <th align="left" nowrap class="queryheader" colspan="2">line item</th>147 <th align="left" nowrap="nowrap" class="queryheader" colspan="4">invoice</th> 148 <th align="left" nowrap="nowrap" class="queryheader" colspan="3">product</th> 149 <th align="left" nowrap="nowrap" class="queryheader" colspan="2">line item</th> 150 150 </tr> 151 151 <tr> 152 <th align="center" nowrap class="queryheader" colspan=2>id</th>153 <th align="left" nowrap class="queryheader">type</th>154 <th align="left" nowrap class="queryheader">date</th>155 <th nowrap class="queryheader" align="left">part num. </th>152 <th align="center" nowrap="nowrap" class="queryheader" colspan="2">id</th> 153 <th align="left" nowrap="nowrap" class="queryheader">type</th> 154 <th align="left" nowrap="nowrap" class="queryheader">date</th> 155 <th nowrap="nowrap" class="queryheader" align="left">part num. </th> 156 156 <th width="100%" class="queryheader" align="left">name</th> 157 <th align="right" nowrap class="queryheader">price</th>158 <th align="center" nowrap class="queryheader">qty.</th>159 <th align="right" nowrap class="queryheader">ext.</th>157 <th align="right" nowrap="nowrap" class="queryheader">price</th> 158 <th align="center" nowrap="nowrap" class="queryheader">qty.</th> 159 <th align="right" nowrap="nowrap" class="queryheader">ext.</th> 160 160 </tr> 161 161 <?php … … 168 168 <tr class="row<?php echo $row?>"> 169 169 <td > 170 <button type="button" class="invisibleButtons" on Click="location.href='<?php echo getAddEditFile(3) ?>?id=<?php echo $therecord["id"]?>'"><img src="<?php echo $_SESSION["app_path"] ?>common/stylesheet/<?php echo $_SESSION["stylesheet"] ?>/image/button-edit.png" align="middle" alt="edit" width="16" height="16" border="0" /></button>170 <button type="button" class="invisibleButtons" onclick="location.href='<?php echo getAddEditFile(3) ?>?id=<?php echo $therecord["id"]?>'"><img src="<?php echo $_SESSION["app_path"] ?>common/stylesheet/<?php echo $_SESSION["stylesheet"] ?>/image/button-edit.png" align="middle" alt="edit" width="16" height="16" border="0" /></button> 171 171 </td> 172 <td align="left" nowrap ><?php echo $therecord["id"]?$therecord["id"]:" " ?></td>173 <td align="left" nowrap ><?php echo $therecord["type"]?$therecord["type"]:" " ?></td>174 <td align="left" nowrap ><?php echo $therecord["thedate"]?formatFromSQLDate($therecord["thedate"]):" " ?></td>175 <td nowrap ><?php echo $therecord["partnumber"]?></td>172 <td align="left" nowrap="nowrap"><?php echo $therecord["id"]?$therecord["id"]:" " ?></td> 173 <td align="left" nowrap="nowrap"><?php echo $therecord["type"]?$therecord["type"]:" " ?></td> 174 <td align="left" nowrap="nowrap"><?php echo $therecord["thedate"]?formatFromSQLDate($therecord["thedate"]):" " ?></td> 175 <td nowrap="nowrap"><?php echo $therecord["partnumber"]?></td> 176 176 <td ><?php echo $therecord["partname"]?></td> 177 <td align="right" nowrap ><?php echo "\$".number_format($therecord["price"],2)?></td>178 <td align="center" nowrap ><?php echo $therecord["qty"]?></td>179 <td align="right" nowrap ><?php echo "\$".number_format($therecord["extended"],2)?></td>177 <td align="right" nowrap="nowrap"><?php echo "\$".number_format($therecord["price"],2)?></td> 178 <td align="center" nowrap="nowrap"><?php echo $therecord["qty"]?></td> 179 <td align="right" nowrap="nowrap"><?php echo "\$".number_format($therecord["extended"],2)?></td> 180 180 </tr> 181 181 <?php }//end while ?> … … 184 184 <?php }?> 185 185 <tr> 186 <td align="center" class="queryfooter" colspan= 2> </td>186 <td align="center" class="queryfooter" colspan="2"> </td> 187 187 <td align="center" class="queryfooter"> </td> 188 188 <td align="center" class="queryfooter"> </td>