mirror of
https://github.com/fspc/Yellow-Bike-Database.git
synced 2026-09-03 02:11:38 -04:00
Closes #85
Also, counts returned transactions for both stats_monthlysalestax.php and stats_shoptransactiontotals.php .. no more guessing required.
This commit is contained in:
@@ -62,7 +62,9 @@ $totalRows_Recordset1 = mysql_num_rows($Recordset1);
|
||||
<?php } else { // end if EDIT RECORD ?>
|
||||
<tr>
|
||||
<td><?php echo $row_Recordset1['Year']; ?></td>
|
||||
<td><?php echo $row_Recordset1['Month']; ?></td>
|
||||
<td>
|
||||
<?php echo '<a href="/transaction_log.php?month_search=' . $row_Recordset1['Year'] . '-' . $row_Recordset1['Month'] . '-01">' . $row_Recordset1['Month'] . '</a>'; ?>
|
||||
</td>
|
||||
<td class="yb_standardRIGHT"><?php currency_format($row_Recordset1['TotalSales'],2);?></td>
|
||||
<td><?php echo $row_Recordset1['AccountingGroup']; ?></td>
|
||||
</tr>
|
||||
|
||||
@@ -65,7 +65,7 @@ $totalRows_Recordset1 = mysql_num_rows($Recordset1);
|
||||
<?php } else { // end if EDIT RECORD ?>
|
||||
<tr>
|
||||
<td><?php echo $row_Recordset1['ShopDate']; ?></td>
|
||||
<td><?php echo '<a href="/transaction_log.php?shop_id_search=' . $row_Recordset1['ShopID'] . '&record_count=500">' . $row_Recordset1['ShopID'] . '</a>'; ?></td>
|
||||
<td><?php echo '<a href="/transaction_log.php?shop_id_search=' . $row_Recordset1['ShopID'] . '">' . $row_Recordset1['ShopID'] . '</a>'; ?></td>
|
||||
<td valign="middle"><?php echo $row_Recordset1['Day']; ?></td>
|
||||
<td valign="middle"><?php echo $row_Recordset1['ShopType']; ?></td>
|
||||
<td class="yb_standardRIGHT"><?php currency_format($row_Recordset1['Total'],2);?></td>
|
||||
|
||||
Reference in New Issue
Block a user