Added - filler to blank fields in all data listing, some other fixups of required fields etc

This commit is contained in:
johnnyq
2021-08-19 01:48:19 -04:00
parent 1dc66433ef
commit bf69d02cba
24 changed files with 177 additions and 52 deletions

View File

@@ -89,6 +89,11 @@ $num_rows = mysqli_fetch_row(mysqli_query($mysqli,"SELECT FOUND_ROWS()"));
$quote_prefix = $row['quote_prefix'];
$quote_number = $row['quote_number'];
$quote_scope = $row['quote_scope'];
if(empty($quote_scope)){
$quote_scope_display = "-";
}else{
$quote_scope_display = $quote_scope;
}
$quote_status = $row['quote_status'];
$quote_date = $row['quote_date'];
$quote_amount = $row['quote_amount'];
@@ -116,7 +121,7 @@ $num_rows = mysqli_fetch_row(mysqli_query($mysqli,"SELECT FOUND_ROWS()"));
<tr>
<td><a href="quote.php?quote_id=<?php echo $quote_id; ?>"><?php echo "$quote_prefix$quote_number"; ?></a></td>
<td><?php echo $quote_scope; ?></td>
<td><?php echo $quote_scope_display; ?></td>
<td class="text-right">$<?php echo number_format($quote_amount,2); ?></td>
<td><?php echo $quote_date; ?></td>
<td><?php echo $category_name; ?></td>