Add 'all' button

This commit is contained in:
o-psi 2023-10-15 00:00:03 -05:00
parent 26fc756175
commit 845b2397fb
1 changed files with 5 additions and 0 deletions

View File

@ -55,6 +55,11 @@ $num_rows = mysqli_num_rows($sql);
<div class="card-body">
<div class="col-sm-8">
<div class="btn-group float-right">
<a href="settings_account_types.php" class="btn <?php if (!isset($_GET['account_type']) && !isset($_GET['archived'])) {
echo 'btn-primary';
} else {
echo 'btn-default';
} ?>">All</a>
<a href="?account_type=Assets" class="btn <?php if ($account_type == 'Assets') {
echo 'btn-primary';
} else {