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

@@ -93,6 +93,11 @@ $num_rows = mysqli_fetch_row(mysqli_query($mysqli,"SELECT FOUND_ROWS()"));
$payment_date = $row['payment_date'];
$payment_method = $row['payment_method'];
$payment_reference = $row['payment_reference'];
if(empty($payment_reference)){
$payment_reference_display = "-";
}else{
$payment_reference_display = $payment_reference;
}
$payment_amount = $row['payment_amount'];
$account_name = $row['account_name'];
@@ -105,7 +110,7 @@ $num_rows = mysqli_fetch_row(mysqli_query($mysqli,"SELECT FOUND_ROWS()"));
<td class="text-right">$<?php echo number_format($invoice_amount,2); ?></td>
<td class="text-right">$<?php echo number_format($payment_amount,2); ?></td>
<td><?php echo $payment_method; ?></td>
<td><?php echo $payment_reference; ?></td>
<td><?php echo $payment_reference_display; ?></td>
<td><?php echo $account_name; ?></td>
</tr>