Browse Source

This closes #11 by turning shop_id into a link.

* transaction.css was too low a priority so added style in transaction_log.
devel
Jonathan Rosenbaum 7 years ago
parent
commit
57c7bcd615
  1. 7
      css/transactions.css
  2. 4
      transaction_log.php

7
css/transactions.css

@ -139,3 +139,10 @@ input[value=Save]:focus, input[value=Close]:focus {
display: none;
color: blueviolet;
}
//.css({color: "#1b691e", textDecoration: "none", cursor: "crosshair"});
.shop_id a {
background-color: #1b691e;
cursor: crosshair;
text-decoration: none;
}

4
transaction_log.php

@ -665,7 +665,9 @@ if ((isset($_POST["MM_insert"])) && ($_POST["MM_insert"] == "ChangeDate")) {
if ($row_Recordset1['paid'] == 1) { echo "bgcolor='#E6E7E6'"; }
if ($row_Recordset1['transaction_type'] == "Deposit") { echo "class='deposit'"; }
?> >
<td><?php echo $row_Recordset1['shop_id']; ?></td>
<td class="shop_id">
<a style="color: rgb(27, 105, 30); text-decoration: none; cursor: crosshair;" href="./shop_log.php?shop_id=<?php echo $row_Recordset1['shop_id']; ?>">
<?php echo $row_Recordset1['shop_id']; ?></a></td>
<td><span id="wday" style="font-size:96%;"><?php echo $row_Recordset1['date_wday']; ?></span></td>
<td><?php echo $row_Recordset1['transaction_type']; ?></td>

Loading…
Cancel
Save