More tidying up, added category to invoices, invoice delete now deletes invoice, pyaments, history and items associated with invoice. Exclude Cancelled invoice under dashboard income recieveables

This commit is contained in:
root
2019-05-17 15:33:01 -04:00
parent 9683d9f9f0
commit 9634d7a1e4
29 changed files with 1195 additions and 45 deletions

View File

@@ -73,7 +73,7 @@
<select class="form-control" name="vendor" required>
<?php
$sql2 = mysqli_query($mysqli,"SELECT * FROM vendors");
$sql2 = mysqli_query($mysqli,"SELECT * FROM vendors WHERE client_id = 0 ORDER BY vendor_name ASC");
while($row = mysqli_fetch_array($sql2)){
$vendor_id2 = $row['vendor_id'];
$vendor_name = $row['vendor_name'];