mirror of
https://github.com/fspc/Yellow-Bike-Database.git
synced 2025-02-22 00:53:22 -05:00
This closes #11 by turning shop_id into a link.
* transaction.css was too low a priority so added style in transaction_log.
This commit is contained in:
parent
3c5eea235a
commit
57c7bcd615
@ -138,4 +138,11 @@ input[value=Save]:focus, input[value=Close]:focus {
|
||||
#original_price, #membership_discount, #membership_discount_price {
|
||||
display: none;
|
||||
color: blueviolet;
|
||||
}
|
||||
|
||||
//.css({color: "#1b691e", textDecoration: "none", cursor: "crosshair"});
|
||||
.shop_id a {
|
||||
background-color: #1b691e;
|
||||
cursor: crosshair;
|
||||
text-decoration: none;
|
||||
}
|
@ -660,12 +660,14 @@ if ((isset($_POST["MM_insert"])) && ($_POST["MM_insert"] == "ChangeDate")) {
|
||||
<?php while ($row_Recordset1 = mysql_fetch_assoc($Recordset1)) { //do { ?>
|
||||
|
||||
<form method="post" name="FormView_<?php echo $row_Recordset1['transaction_id']; ?>" action="<?php echo $editFormAction; ?>">
|
||||
<tr bordercolor='#CCCCCC' <?php echo "title='Transaction ID: " . $row_Recordset1['transaction_id'] . "'";
|
||||
<tr bordercolor='#CCCCCC' <?php echo "title='Transaction ID: " . $row_Recordset1['transaction_id'] . "'";
|
||||
echo ((intval($row_Recordset1['transaction_id']) == intval($trans_id)) ? "bgcolor='#CCCC33'" : "");
|
||||
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…
x
Reference in New Issue
Block a user