Combined client_quotes.php and quotes.php into one file quotes.php checks if get client_id var is set and which chooses to display client top header and client side nav or global nav

This commit is contained in:
johnnyq
2025-02-18 17:04:49 -05:00
parent f6e33d5892
commit 43b50c44b1
9 changed files with 340 additions and 430 deletions

View File

@@ -122,14 +122,14 @@ if (isset($_GET['quote_id'])) {
<a href="client_overview.php?client_id=<?php echo $client_id; ?>"><?php echo $client_name; ?></a>
</li>
<li class="breadcrumb-item">
<a href="client_quotes.php?client_id=<?php echo $client_id; ?>">Quotes</a>
<a href="quotes.php?client_id=<?php echo $client_id; ?>">Quotes</a>
</li>
<?php } else { ?>
<li class="breadcrumb-item">
<a href="quotes.php">Quotes</a>
<a href="quotes.php">Global Quotes</a>
</li>
<li class="breadcrumb-item">
<a href="client_quotes.php?client_id=<?php echo $client_id; ?>"><?php echo $client_name; ?></a>
<a href="quotes.php?client_id=<?php echo $client_id; ?>"><?php echo $client_name; ?>Quotes</a>
</li>
<?php } ?>
<li class="breadcrumb-item active"><?php echo "$quote_prefix$quote_number"; ?></li>